:root {
    --bg-dark: #050A14;
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-hover: rgba(255, 255, 255, 0.07);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-hover: rgba(59, 130, 246, 0.3);

    --accent-blue: #3B82F6;
    --accent-cyan: #06b6d4;
    --accent-glow: rgba(59, 130, 246, 0.6);

    --text-white: #FFFFFF;
    --text-gray: #94A3B8;

    --gradient-primary: linear-gradient(135deg, #3B82F6 0%, #06b6d4 100%);
    --gradient-text: linear-gradient(90deg, #FFFFFF 0%, #3B82F6 100%);

    --font-main: 'Outfit', sans-serif;
    --max-width: 1200px;
    --nav-height: 80px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(6, 182, 212, 0.08) 0%, transparent 25%);
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; }

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(to bottom, #fff, #cbd5e1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.25rem;
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 4rem;
    margin-top: -2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: 1px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px var(--accent-glow);
}

.btn-glow { box-shadow: 0 0 15px rgba(59, 130, 246, 0.4); }

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border-glass);
    color: var(--text-white);
}

.btn-secondary:hover {
    border-color: var(--text-white);
    background: var(--bg-glass);
}

.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    transition: all 0.4s ease;
}

/* Micro-copy */
.micro-copy {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.micro-copy span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.micro-copy i { color: var(--accent-cyan); font-size: 1rem; }

/* Sticky Navbar */
.navbar {
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(5, 10, 20, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo { height: 40px; }

.nav-cta { font-size: 0.9rem; padding: 10px 24px; }

/* Hero Section */
.hero-section {
    padding: 180px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-container.hero-centered {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
}

.hero-centered .hero-text .subheadline {
    margin-left: auto;
    margin-right: auto;
}

.hero-centered .hero-buttons {
    justify-content: center;
}

.hero-centered .micro-copy {
    justify-content: center;
}

.hero-text h1 {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: var(--gradient-text);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text .subheadline {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    max-width: 550px;
}

.hero-text .subheadline strong {
    color: var(--accent-cyan);
    -webkit-text-fill-color: var(--accent-cyan);
}

.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }

.hero-logo-anim {
    max-width: 80%;
    margin: 0 auto;
    filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.4));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Tools Strip */
.tools-section {
    padding: 40px 0;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    background: rgba(255, 255, 255, 0.01);
}

.tools-title {
    text-align: center;
    color: var(--text-gray);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.tools-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.tool-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.tool-logo i { font-size: 2rem; }

.tool-logo:hover { color: var(--accent-cyan); }

/* Problem Section */
.problem-section { padding: 100px 0; }

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.problem-card {
    padding: 30px;
    text-align: left;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.icon-alert { font-size: 2rem; color: var(--accent-cyan); display: block; }

.card-header h3 { font-size: 1.3rem; margin: 0; flex-grow: 1; }

.expand-icon {
    font-size: 1.2rem;
    color: var(--text-gray);
    transition: transform 0.3s ease;
}

.card-content .summary { color: var(--text-gray); font-size: 1rem; margin-bottom: 0; }

.card-content .details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    margin-top: 0;
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.5;
}

.problem-card.expanded { border-color: var(--accent-cyan); background: var(--bg-glass-hover); }
.problem-card.expanded .expand-icon { transform: rotate(180deg); color: var(--accent-cyan); }

.problem-card.expanded .card-content .details {
    max-height: 300px;
    opacity: 1;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-glass);
}

/* Before / After */
.before-after-section { padding: 100px 0; }

.ba-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.ba-card {
    flex: 1;
    min-width: 280px;
    max-width: 400px;
    padding: 40px 30px;
    text-align: center;
}

.ba-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    font-weight: 700;
}

.ba-before .ba-label { color: #ef4444; }
.ba-after .ba-label { color: var(--accent-cyan); }

.ba-visual {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.chaos-lines {
    display: flex;
    gap: 15px;
    font-size: 2rem;
    color: rgba(239, 68, 68, 0.6);
    position: relative;
}

.chaos-lines::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: repeating-linear-gradient(90deg, #ef4444 0px, #ef4444 5px, transparent 5px, transparent 10px);
    opacity: 0.3;
}

.flow-line {
    display: flex;
    align-items: center;
    gap: 10px;
}

.flow-node {
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    font-size: 0.85rem;
    font-weight: 600;
}

.flow-node.glow {
    background: var(--gradient-primary);
    border: none;
    color: white;
    box-shadow: 0 0 20px var(--accent-glow);
}

.flow-line i { color: var(--accent-blue); font-size: 1.2rem; }

.ba-card p { color: var(--text-gray); font-size: 0.95rem; }

.ba-arrow {
    font-size: 2.5rem;
    color: var(--accent-blue);
    flex-shrink: 0;
}

/* Solution Section */
.solution-section { padding: 100px 0; text-align: left; }

.solution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.solution-item { padding: 30px; cursor: pointer; }

.solution-item.expanded { border-color: var(--accent-blue); background: var(--bg-glass-hover); }

.solution-item .card-header { margin-bottom: 10px; }

.solution-item .icon-check { font-size: 1.8rem; color: var(--accent-blue); }

.solution-item .details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    margin-top: 0;
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

.solution-item.expanded .details {
    max-height: 300px;
    opacity: 1;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-glass);
}

.solution-item.expanded .expand-icon { transform: rotate(180deg); color: var(--accent-blue); }

/* Process Section */
.process-section { padding: 100px 0; }

.process-timeline {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;
}

.process-step {
    flex: 1;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    font-size: 4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

.process-step h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--accent-blue);
}

.process-step p { color: var(--text-gray); }

.process-connector {
    width: 50px;
    height: 2px;
    background: var(--border-glass);
    align-self: center;
    flex-shrink: 0;
}

/* Guarantee Section */
.guarantee-section { padding: 60px 0; }

.guarantee-container {
    text-align: center;
    padding: 60px 40px;
    max-width: 800px;
    margin: 0 auto;
    border-color: var(--accent-cyan);
    position: relative;
    overflow: hidden;
}

.guarantee-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
}

.guarantee-icon i {
    font-size: 3rem;
    color: var(--accent-cyan);
    margin-bottom: 20px;
    display: block;
}

.guarantee-container h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.guarantee-text {
    font-size: 1.3rem;
    color: var(--text-gray);
    margin-bottom: 10px;
}

.guarantee-text strong { color: var(--accent-cyan); }

.guarantee-sub {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.3);
}

/* Benefits */
.benefits-section {
    padding: 80px 0;
    margin: 40px 0;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.05), transparent);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.benefit-val {
    font-size: 3.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.benefit-item p {
    color: var(--text-gray);
    font-size: 1.2rem;
    font-weight: 500;
}

/* FAQ */
.faq-section { padding: 100px 0; }
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item { margin-bottom: 15px; padding: 0 20px; }

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 24px 0;
    text-align: left;
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding-bottom: 24px;
    color: var(--text-gray);
    line-height: 1.7;
}

.faq-item.active .faq-question { color: var(--accent-cyan); }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-item.active .faq-answer { max-height: 300px; }

/* CTA */
.cta-section {
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
    z-index: -1;
}

.cta-section h2 { font-size: 3.5rem; margin-bottom: 1.5rem; }
.cta-section p { font-size: 1.3rem; margin-bottom: 2rem; color: var(--text-gray); }

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-micro { justify-content: center; margin-top: 20px; }

.footer-contact {
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: rgba(255,255,255,0.3);
    font-size: 0.85rem;
}

.footer-contact i { font-size: 1rem; }

.copyright {
    margin-top: 80px;
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
}

/* ============================================ */
/* RESPONSIVE — TABLET (max 768px)              */
/* ============================================ */
@media (max-width: 768px) {
    /* Navbar */
    .navbar { padding: 10px 0; }
    .nav-logo { height: 32px; }
    .nav-cta {
        font-size: 0.75rem;
        padding: 8px 14px;
        gap: 4px;
    }

    /* Hero */
    .hero-section {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .hero-container.hero-centered {
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-text .subheadline {
        font-size: 1rem;
        margin: 0 auto 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .micro-copy {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    /* Section Titles */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        margin-top: -1rem;
    }

    /* Tools Strip */
    .tools-strip { gap: 20px; }
    .tool-logo i { font-size: 1.5rem; }
    .tool-logo span { font-size: 0.65rem; }

    /* Problem Cards */
    .problem-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .problem-card { padding: 20px; }

    /* Before/After */
    .before-after-section { padding: 60px 0; }
    .ba-grid { flex-direction: column; gap: 15px; }
    .ba-arrow { transform: rotate(90deg); font-size: 1.5rem; }
    .ba-card { max-width: 100%; padding: 25px 20px; }

    .flow-line { gap: 6px; flex-wrap: wrap; justify-content: center; }
    .flow-node { padding: 6px 10px; font-size: 0.75rem; }

    /* Solution Cards */
    .solution-section { padding: 60px 0; }
    .solution-grid { grid-template-columns: 1fr; gap: 15px; }
    .solution-item { padding: 20px; }

    /* Process */
    .process-section { padding: 60px 0; }
    .process-timeline { flex-direction: column; gap: 0; }
    .process-connector { width: 2px; height: 30px; margin: 0 auto; }
    .process-step { padding: 25px 15px; }
    .step-number { font-size: 3rem; }
    .process-step h3 { font-size: 1.2rem; margin-top: 1.5rem; }

    /* Guarantee */
    .guarantee-section { padding: 40px 0; }
    .guarantee-container {
        padding: 30px 20px;
    }
    .guarantee-container h2 { font-size: 1.5rem; }
    .guarantee-text { font-size: 1.1rem; }
    .guarantee-icon i { font-size: 2.5rem; }

    /* Benefits */
    .benefits-section { padding: 50px 0; margin: 20px 0; }
    .benefits-grid { grid-template-columns: 1fr; gap: 30px; }
    .benefit-val { font-size: 2.8rem; }
    .benefit-item p { font-size: 1rem; }

    /* FAQ */
    .faq-section { padding: 60px 0; }
    .faq-question { font-size: 1rem; padding: 18px 0; }

    /* CTA Footer */
    .cta-section { padding: 80px 0; }
    .cta-section h2 { font-size: 2rem; }
    .cta-section p { font-size: 1.1rem; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-buttons .btn { width: 100%; max-width: 320px; justify-content: center; }
    .copyright { margin-top: 50px; }
}

/* ============================================ */
/* RESPONSIVE — SMALL PHONE (max 480px)         */
/* ============================================ */
@media (max-width: 480px) {
    .container { padding: 0 16px; }

    .hero-section { padding: 110px 0 50px; }
    .hero-text h1 { font-size: 1.65rem; }
    .hero-text .subheadline { font-size: 0.9rem; }

    .nav-logo { height: 28px; }
    .nav-cta { font-size: 0.7rem; padding: 6px 12px; }

    .section-title { font-size: 1.5rem; }
    .section-subtitle { font-size: 0.9rem; }

    .card-header h3 { font-size: 1.1rem; }
    .icon-alert { font-size: 1.5rem; }

    .ba-card p { font-size: 0.85rem; }
    .chaos-lines i { font-size: 1.5rem; }

    .cta-section h2 { font-size: 1.7rem; }
    .guarantee-container h2 { font-size: 1.3rem; }
    .guarantee-text { font-size: 1rem; }

    .benefit-val { font-size: 2.2rem; }
}

/* ============================================ */
/* SCROLL-REVEAL ANIMATIONS                     */
/* ============================================ */
.scroll-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-hidden.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children inside grids */
.problem-grid .scroll-hidden:nth-child(2) { transition-delay: 0.1s; }
.problem-grid .scroll-hidden:nth-child(3) { transition-delay: 0.2s; }

.solution-grid .scroll-hidden:nth-child(2) { transition-delay: 0.1s; }
.solution-grid .scroll-hidden:nth-child(3) { transition-delay: 0.2s; }
.solution-grid .scroll-hidden:nth-child(4) { transition-delay: 0.3s; }

.tools-strip .scroll-hidden:nth-child(2) { transition-delay: 0.05s; }
.tools-strip .scroll-hidden:nth-child(3) { transition-delay: 0.1s; }
.tools-strip .scroll-hidden:nth-child(4) { transition-delay: 0.15s; }
.tools-strip .scroll-hidden:nth-child(5) { transition-delay: 0.2s; }
.tools-strip .scroll-hidden:nth-child(6) { transition-delay: 0.25s; }

/* Benefit counter pop */
.benefit-val {
    transition: transform 0.4s ease;
}

.benefit-val.counted {
    animation: popIn 0.5s ease forwards;
}

@keyframes popIn {
    0% { transform: scale(0.7); opacity: 0; }
    60% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

/* Glass card hover pulse */
.glass-card:hover {
    border-color: var(--border-glass-hover);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.08);
}

/* Smooth hero glow transition */
.hero-bg-glow {
    transition: transform 0.3s ease-out;
}
