*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #e8a020;
    --primary-dark: #c8881a;
    --primary-light: #fdf3e0;
    --accent: #ff6b35;
    --dark: #1a1a2e;
    --dark-light: #2d2d44;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
    --red: #ef4444;
    --green: #22c55e;
    --blue: #3b82f6;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
    --shadow-lg: 0 4px 12px rgba(0,0,0,.1), 0 16px 40px rgba(0,0,0,.1);
    --transition: .3s cubic-bezier(.4,0,.2,1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-800);
    line-height: 1.7;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

h1, h2, h3, h4 {
    line-height: 1.25;
    color: var(--gray-900);
}

/* ============ NAVBAR ============ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 46, .95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 4px;
}

.logo-icon {
    font-size: 1.5rem;
    margin-right: 4px;
}

.logo .accent {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--gray-300);
    font-size: .9rem;
    font-weight: 500;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============ HERO ============ */
.hero {
    background: linear-gradient(135deg, var(--dark) 0%, #16213e 50%, #0f3460 100%);
    padding: 140px 0 80px;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 50%, rgba(232, 160, 32, .12) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    color: var(--white);
}

.badge {
    display: inline-block;
    background: rgba(232, 160, 32, .15);
    color: var(--primary);
    font-size: .8rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid rgba(232, 160, 32, .3);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--gray-400);
    margin-bottom: 36px;
    max-width: 520px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: .95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: var(--dark);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 160, 32, .35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,.25);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.05rem;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0,0,0,.4);
    width: 100%;
    height: 420px;
    object-fit: cover;
}

/* ============ STATS BAR ============ */
.stats-bar {
    background: var(--dark);
    border-top: 1px solid rgba(232, 160, 32, .2);
    padding: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-label {
    color: var(--gray-400);
    font-size: .85rem;
}

/* ============ SECTIONS ============ */
.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: .78rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--gray-500);
    font-size: 1.1rem;
    max-width: 620px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

/* ============ CONTENT GRID ============ */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.content-grid.reverse {
    direction: rtl;
}

.content-grid.reverse > * {
    direction: ltr;
}

.content-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.content-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.content-text h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.content-text p {
    color: var(--gray-600);
    margin-bottom: 16px;
}

.info-box {
    display: flex;
    gap: 16px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: var(--radius);
    padding: 20px;
    margin-top: 24px;
    font-size: .92rem;
    line-height: 1.6;
}

.info-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* ============ BRANDS ============ */
.brands-section {
    background: var(--dark);
    padding: 100px 0;
}

.brands-section h2 {
    color: var(--white);
}

.brands-section .section-desc {
    color: var(--gray-400);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.brand-card {
    background: var(--dark-light);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.06);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.brand-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.brand-card:hover {
    transform: translateY(-6px);
    border-color: rgba(232, 160, 32, .3);
    box-shadow: 0 12px 40px rgba(0,0,0,.3);
}

.brand-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.brand-card h3 {
    color: var(--white);
    padding: 20px 20px 8px;
    font-size: 1.15rem;
}

.brand-card p {
    color: var(--gray-400);
    padding: 0 20px 20px;
    font-size: .88rem;
}

/* ============ CAUSES ============ */
.causes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.cause-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 28px;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.cause-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.cause-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.cause-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    opacity: .4;
    margin-bottom: 12px;
}

.cause-card h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.cause-card p {
    color: var(--gray-500);
    font-size: .88rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.severity {
    display: inline-block;
    font-size: .75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.severity.low {
    background: #dcfce7;
    color: #166534;
}

.severity.high {
    background: #fef3c7;
    color: #92400e;
}

.severity.critical {
    background: #fee2e2;
    color: #991b1b;
}

/* ============ SYMPTOMS ============ */
.symptoms-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.symptoms-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 520px;
    object-fit: cover;
    position: sticky;
    top: 100px;
}

.symptoms-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.symptom-item {
    display: flex;
    gap: 16px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 24px;
    transition: var(--transition);
    opacity: 0;
    transform: translateX(20px);
}

.symptom-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.symptom-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.symptom-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
}

.symptom-item h4 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.symptom-item p {
    color: var(--gray-500);
    font-size: .88rem;
}

/* ============ STEPS ============ */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.step {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 40px;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.step.visible {
    opacity: 1;
    transform: translateY(0);
}

.step:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.step-visual img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
}

.step-content {
    padding: 36px 36px 36px 0;
}

.step-number {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.step-content h3 {
    font-size: 1.4rem;
    margin-bottom: 14px;
}

.step-content p {
    color: var(--gray-600);
    margin-bottom: 16px;
    font-size: .95rem;
}

.step-content ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.step-content ul li {
    color: var(--gray-600);
    font-size: .92rem;
    padding-left: 20px;
    position: relative;
}

.step-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.code-list li code {
    background: var(--gray-100);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--accent);
}

/* ============ COST ============ */
.cost-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.cost-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    opacity: 0;
    transform: translateY(20px);
}

.cost-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.cost-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.cost-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}

.cost-card.featured.visible {
    transform: scale(1.05);
}

.cost-card.featured:hover {
    transform: scale(1.07);
}

.cost-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--primary);
    color: var(--dark);
    font-size: .72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.cost-header {
    padding: 36px 28px;
    text-align: center;
}

.cost-header.basic {
    background: linear-gradient(135deg, var(--gray-50), var(--gray-100));
}

.cost-header.medium {
    background: linear-gradient(135deg, var(--primary-light), #fef3c7);
}

.cost-header.premium {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
}

.cost-header h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.cost-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gray-900);
}

.cost-features {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cost-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-600);
    font-size: .9rem;
}

.cost-features li::before {
    content: '✓';
    color: var(--green);
    font-weight: 700;
    flex-shrink: 0;
}

/* ============ PREVENTION ============ */
.prevention .section-tag {
    margin-bottom: 16px;
}

.prevention-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 24px;
}

.prevention-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    opacity: 0;
    transform: translateX(-20px);
    transition: var(--transition);
}

.prevention-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.check {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #dcfce7;
    color: #166534;
    border-radius: 50%;
    font-weight: 700;
    font-size: .85rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.prevention-item p {
    color: var(--gray-500);
    font-size: .9rem;
    margin-top: 2px;
}

/* ============ FAQ ============ */
.faq-container {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(10px);
}

.faq-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.faq-item[open] {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.faq-item summary {
    padding: 20px 24px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    color: var(--gray-800);
    transition: var(--transition);
}

.faq-item summary:hover {
    color: var(--primary-dark);
}

.faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--gray-400);
    transition: var(--transition);
}

.faq-item[open] summary::after {
    content: '−';
    color: var(--primary);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-answer {
    padding: 0 24px 20px;
    color: var(--gray-600);
    font-size: .92rem;
    line-height: 1.7;
}

/* ============ CTA ============ */
.cta-section {
    background: linear-gradient(135deg, var(--dark), #16213e);
    padding: 80px 0;
}

.cta-content {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--gray-400);
    font-size: 1.05rem;
    margin-bottom: 32px;
}

/* ============ FOOTER ============ */
.footer {
    background: var(--gray-900);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand p {
    color: var(--gray-500);
    font-size: .88rem;
    margin-top: 16px;
    max-width: 300px;
}

.footer-links h4 {
    color: var(--white);
    font-size: .9rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--gray-500);
    font-size: .85rem;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-600);
    font-size: .8rem;
}

/* ============ ANIMATIONS ============ */
.cause-card,
.step,
.symptom-item,
.brand-card,
.cost-card,
.prevention-item,
.faq-item {
    transition: opacity .6s ease, transform .6s ease, border-color var(--transition), box-shadow var(--transition);
}

.cause-card:nth-child(2),
.brand-card:nth-child(2) { transition-delay: .1s; }
.cause-card:nth-child(3),
.brand-card:nth-child(3) { transition-delay: .2s; }
.cause-card:nth-child(4),
.brand-card:nth-child(4) { transition-delay: .3s; }
.cause-card:nth-child(5) { transition-delay: .4s; }
.cause-card:nth-child(6) { transition-delay: .5s; }
.cause-card:nth-child(7) { transition-delay: .6s; }
.cause-card:nth-child(8) { transition-delay: .7s; }

.symptom-item:nth-child(2) { transition-delay: .1s; }
.symptom-item:nth-child(3) { transition-delay: .2s; }
.symptom-item:nth-child(4) { transition-delay: .3s; }
.symptom-item:nth-child(5) { transition-delay: .4s; }
.symptom-item:nth-child(6) { transition-delay: .5s; }

.step:nth-child(2) { transition-delay: .15s; }
.step:nth-child(3) { transition-delay: .3s; }
.step:nth-child(4) { transition-delay: .45s; }

.faq-item:nth-child(2) { transition-delay: .08s; }
.faq-item:nth-child(3) { transition-delay: .16s; }
.faq-item:nth-child(4) { transition-delay: .24s; }
.faq-item:nth-child(5) { transition-delay: .32s; }
.faq-item:nth-child(6) { transition-delay: .40s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image img {
        max-width: 560px;
        height: 340px;
        margin: 0 auto;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .brands-grid,
    .causes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cost-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .cost-card.featured {
        transform: none;
    }

    .cost-card.featured.visible {
        transform: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .step {
        grid-template-columns: 1fr;
    }

    .step-content {
        padding: 28px;
    }

    .step-visual img {
        height: 240px;
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: var(--transition);
    }

    .nav-links.active {
        max-height: 400px;
        padding: 16px 0;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 12px 24px;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section {
        padding: 64px 0;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .content-grid,
    .content-grid.reverse,
    .symptoms-layout {
        grid-template-columns: 1fr;
        gap: 32px;
        direction: ltr;
    }

    .symptoms-image img {
        height: 300px;
        position: static;
    }

    .brands-grid,
    .causes-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .content-image img {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.85rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .cost-price {
        font-size: 1.4rem;
    }

    .cta-content h2 {
        font-size: 1.6rem;
    }
}
