/* Reset and Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #1565C0;
    --primary-dark: #0D47A1;
    --primary-light: #E3F2FD;
    --success: #4CAF50;
    --success-light: #E8F5E9;
    --text: #212121;
    --text-secondary: #666666;
    --background: #FFFFFF;
    --surface: #F5F5F5;
    --border: #E0E0E0;
    --shadow: rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--background);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--background);
    box-shadow: 0 2px 4px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    padding-bottom: 16px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.nav {
    display: flex;
    gap: 24px;
}

.nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav a:hover {
    color: var(--primary);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, rgba(21, 101, 192, 0.85) 0%, rgba(13, 71, 161, 0.9) 100%),
                url('https://images.unsplash.com/photo-1571019614242-c5c5dee9f50b?w=1920&q=80') center/cover no-repeat;
    padding: 100px 0;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.95);
    max-width: 600px;
    margin: 0 auto 24px;
}

.hero-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    backdrop-filter: blur(4px);
}

.badge-icon {
    font-weight: 700;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.hero .btn-primary {
    background: white;
    color: var(--primary);
    border-color: white;
}

.hero .btn-primary:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.125rem;
}

button.btn {
    font-family: inherit;
    width: 100%;
}

/* About Section */
.about {
    padding: 80px 0;
    text-align: center;
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.about > .container > p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 48px;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature {
    display: flex;
    align-items: center;
    background: var(--background);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px var(--shadow);
}

.feature:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-image {
    width: 40%;
    min-width: 280px;
    height: 220px;
    object-fit: cover;
    flex-shrink: 0;
}

.feature-content {
    padding: 32px;
    flex: 1;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text);
}

.feature p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .feature {
        flex-direction: column !important;
    }

    .feature-image {
        width: 100%;
        min-width: unset;
        height: 200px;
    }

    .feature-content {
        padding: 24px;
        text-align: center;
    }
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: var(--surface);
}

.pricing h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 8px;
}

.pricing-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.pricing-rows {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pricing-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 32px;
    background: var(--background);
    border-radius: 12px;
    padding: 20px 28px;
    box-shadow: 0 2px 8px var(--shadow);
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.pricing-row:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--shadow);
}

.pricing-row.featured {
    border: 2px solid var(--primary);
    box-shadow: 0 4px 16px rgba(21, 101, 192, 0.15);
    padding-top: 28px;
}

.pricing-row.featured:hover {
    box-shadow: 0 8px 32px rgba(21, 101, 192, 0.25);
}

.row-badge {
    position: absolute;
    top: -10px;
    left: 28px;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-row-info h3 {
    font-size: 1.1rem;
    margin-bottom: 2px;
    color: var(--text);
}

.pricing-row-info p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0;
}

.row-savings {
    display: inline-block;
    background: var(--success-light);
    color: var(--success);
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 4px;
}

.row-savings.highlight {
    background: var(--primary-light);
    color: var(--primary);
}

.pricing-row-price .price-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

.pricing-row .btn {
    padding: 10px 24px;
    white-space: nowrap;
}

.pricing-note {
    text-align: center;
    margin-top: 32px;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

@media (max-width: 640px) {
    .pricing-row {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 12px;
        padding: 20px;
    }

    .pricing-row-price {
        text-align: center;
    }

    .pricing-row .btn {
        width: 100%;
    }

    .row-badge {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Contact Section */
.contact {
    padding: 80px 0;
    text-align: center;
    background: var(--primary);
    color: white;
}

.contact h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.contact > .container > p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

.contact-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
    font-size: 1.125rem;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: background 0.2s;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.2);
}

.contact-icon {
    font-size: 1.5rem;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #cccccc;
    padding: 48px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    margin-bottom: 32px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-links h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    color: #cccccc;
    text-decoration: none;
    padding: 4px 0;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid #333;
    text-align: center;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .about h2,
    .pricing h2,
    .contact h2 {
        font-size: 1.75rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .header .container {
        flex-direction: column;
        gap: 12px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-badges {
        flex-direction: column;
        align-items: center;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }
}
