/* Font imports */
@import url("https://fonts.googleapis.com/css?family=Lato:300,400,700,900");

/* Base styles */
* {
    box-sizing: border-box;
    font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body {
    margin: 0;
    font-family: "Lato", sans-serif;
}

h2 {
    color: #2c2c2c;
    font-family: "Lato", sans-serif;
    font-size: 32px;
    font-weight: 800;
    line-height: 44px;
    letter-spacing: 1px;
    margin-bottom: 0;
}

p {
    color: #616161;
    font-family: "Lato", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

/* Footer styles */
.footer {
    border-top: 1px solid #e8eaec;
    padding: 25px 0 55px;
}

.footer_items {
    display: flex;
}

.footer_items .copyright {
    color: #868686;
    font-family: "Lato", sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.4px;
}

.footer_items nav {
    margin-left: auto;
}

.footer_items nav ul {
    display: flex;
    margin-bottom: 0;
    padding-left: 0;
}

.footer_items nav ul li {
    list-style: none;
    margin-right: 10px;
    padding-right: 10px;
    border-right: 1px solid #cdcdcd;
}

.footer_items nav ul li:last-child {
    margin-right: 0;
    border-right: 0;
}

.footer_items nav ul li a {
    color: #868686;
    font-family: "Lato", sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.44px;
    text-decoration: none;
}

@media only screen and (max-width: 770px) {
    .footer_items {
        flex-direction: column;
    }

    .footer_items nav {
        margin-left: initial;
        margin-top: 15px;
    }
}

/* Pricing page specific styles */
.pricing-section {
    padding: 60px 0;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.pricing-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: #007bff;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 5px;
}

.plan-price-currency {
    font-size: 1.2rem;
    font-weight: 400;
}

.plan-period {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 25px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    text-align: left;
}

.plan-features li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
    color: #555;
}

.plan-features li:last-child {
    border-bottom: none;
}

.feature-label {
    font-weight: 600;
    color: #333;
}

.feature-value {
    float: right;
    color: #007bff;
    font-weight: 600;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #0056b3;
    color: #fff;
    text-decoration: none;
}

.pricing-note {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.pricing-note p {
    margin: 5px 0;
    color: #666;
    font-size: 0.95rem;
}

.pricing-note a {
    color: #007bff;
    text-decoration: none;
}

.pricing-note a:hover {
    text-decoration: underline;
}

/* Popular badge styling - can be applied to any plan */
.pricing-card.popular-plan::before {
    content: "POPULAR";
    position: absolute;
    top: -12px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 1;
}

/* Free plan styling */
.pricing-card.free-plan {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 3px solid #667eea;
    color: #fff;
    position: relative;
}

.pricing-card.free-plan .plan-name {
    color: #fff;
    font-size: 1.8rem;
}

.pricing-card.free-plan .plan-price {
    color: #fff;
}

.pricing-card.free-plan .free-label {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 2px;
}

.pricing-card.free-plan .plan-period {
    color: rgba(255, 255, 255, 0.9);
}

.pricing-card.free-plan .plan-features li {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.pricing-card.free-plan .feature-label {
    color: #fff;
}

.pricing-card.free-plan .feature-value {
    color: #fff;
}

.pricing-card.free-plan .cta-button {
    background-color: #fff;
    color: #667eea;
    font-weight: 700;
}

.pricing-card.free-plan .cta-button:hover {
    background-color: #f8f9fa;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.pricing-card.free-plan:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.3);
}
