:root {
    --primary: #001f3f;
    --accent: #ff6600;
    --light: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* ==================== HEADER ==================== */
header {
    background: var(--primary);
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--accent);
    font-size: 32px;
    line-height: 1;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: bold;
}

.logo-subtext {
    color: var(--accent);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
}

nav {
    display: flex;
    gap: 25px;
    align-items: center;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

.auth-buttons {
    display: flex;
    gap: 12px;
}

.btn {
    padding: 10px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

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

.btn-primary:hover {
    background: #e65c00;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    user-select: none;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--primary);
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.mobile-menu a {
    color: white;
    padding: 12px 0;
    display: block;
    text-decoration: none;
    font-weight: 500;
}

.mobile-menu a:hover {
    color: var(--accent);
}

.mobile-auth {
    margin-top: 15px;
}

.mobile-auth .btn {
    display: block;
    text-align: center;
    margin-bottom: 10px;
}

/* ==================== HERO ==================== */
.hero-pricing {
    background: linear-gradient(rgba(0, 31, 63, 0.9), rgba(0, 31, 63, 0.9)),
                url('https://picsum.photos/id/1015/1920/700') center/cover;
    color: white;
    text-align: center;
    padding: 140px 20px 90px;
}

.hero-pricing h1 {
    font-size: 3.2rem;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 1.35rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}

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

/* ==================== PRICING CARDS ==================== */
.pricing-section {
    padding: 60px 0 80px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.price-card {
    background: white;
    border-radius: 16px;
    padding: 45px 35px;
    text-align: center;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
}

.price-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.price-card.featured {
    border: 4px solid var(--accent);
    transform: scale(1.04);
}

.price-card.featured:hover {
    transform: scale(1.04) translateY(-10px);
}

.price-card.featured::before {
    content: "MOST POPULAR";
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 8px 28px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.price-card h3 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.price {
    font-size: 3.6rem;
    font-weight: bold;
    color: var(--accent);
    margin: 15px 0;
    line-height: 1.1;
}

.price small {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

.plan-meta,
.plan-desc {
    color: #666;
    margin-bottom: 16px;
}

.price-card ul {
    list-style: none;
    margin: 28px 0;
    text-align: left;
}

.price-card ul li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.price-card ul li::before {
    content: "✓";
    color: var(--accent);
    font-weight: bold;
    flex-shrink: 0;
}

.cta-button {
    width: 100%;
    padding: 16px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #e65c00;
}

/* ==================== COMPARISON ==================== */
.comparison-section {
    background: var(--light);
    padding: 70px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary);
    font-size: 2rem;
}

.comparison-table {
    margin: 0 auto;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    min-width: 600px;
}

th,
td {
    padding: 18px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

th {
    background: var(--primary);
    color: white;
    font-weight: 600;
}

th .th-price {
    display: block;
    font-weight: 400;
    font-size: 0.85rem;
    opacity: 0.9;
    margin-top: 4px;
}

tbody tr:last-child td {
    border-bottom: none;
}

tbody td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--primary);
}

/* ==================== FAQ ==================== */
.faq-section {
    padding: 70px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-list p {
    margin-bottom: 22px;
    line-height: 1.7;
}

/* ==================== FINAL CTA ==================== */
.final-cta {
    background: var(--accent);
    color: white;
    text-align: center;
    padding: 90px 20px;
}

.final-cta h2 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.btn-cta-white {
    background: white;
    color: var(--accent);
    font-size: 1.25rem;
    padding: 18px 48px;
    display: inline-block;
    margin-top: 20px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-cta-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ==================== FOOTER ==================== */
footer {
    background: #001233;
    color: #ccc;
    padding: 70px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo-circle {
    width: 55px;
    height: 55px;
    font-size: 26px;
}

.footer-logo-text {
    font-size: 1.6rem;
    color: white;
}

footer h4 {
    color: white;
    margin-bottom: 15px;
    margin-top: 8px;
}

footer a {
    color: #ccc;
    text-decoration: none;
}

footer a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    margin-top: 60px;
    padding-top: 25px;
    border-top: 1px solid #334455;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 900px) {
    .price-card.featured {
        transform: none;
    }

    .price-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 12px 15px;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .logo-circle {
        width: 56px;
        height: 56px;
        font-size: 26px;
    }

    nav {
        display: none;
    }

    .auth-buttons {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero-pricing {
        padding: 110px 15px 70px;
    }

    .hero-pricing h1 {
        font-size: 2.4rem;
    }

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

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

    .price {
        font-size: 3rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .final-cta h2 {
        font-size: 1.7rem;
    }

    .btn-cta-white {
        font-size: 1.1rem;
        padding: 16px 36px;
    }
}