@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --bg-dark: #0f0f1a;
    --bg-card: #1a1a2e;
    --accent: #d946ef;
    --accent-glow: rgba(217, 70, 239, 0.3);
    --accent-dark: #a21caf;
    --text-white: #f8fafc;
    --text-dim: #94a3b8;
    --border: rgba(148, 163, 184, 0.1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Helper Classes */
.accent-text {
    color: var(--accent);
}

.dim-text {
    color: var(--text-dim);
}

.text-center {
    text-align: center;
}

.font-bold {
    font-weight: 700;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 15, 26, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.version-badge {
    padding: 0.2rem 0.6rem;
    background: var(--bg-card);
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* Section Commons */
section {
    padding: 8rem 0;
}

.section-tag {
    display: inline-block;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 4rem;
    line-height: 1.1;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(217, 70, 239, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero h1 {
    font-size: 7rem;
    font-weight: 800;
    line-height: 0.9;
    margin-bottom: 2rem;
    letter-spacing: -0.04em;
}

.hero .subtitle {
    font-size: 1.3rem;
    color: var(--text-dim);
    max-width: 650px;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dim);
    font-size: 0.95rem;
    font-weight: 600;
}

.stat-item i {
    color: var(--accent);
    font-size: 1.1rem;
}

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
}

.card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(217, 70, 239, 0.15);
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(217, 70, 239, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

/* Grids */
.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.solution-box {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 2rem;
    background: rgba(217, 70, 239, 0.08);
    border: 1px solid rgba(217, 70, 239, 0.25);
    border-radius: 16px;
    padding: 2rem;
}

.value-prop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pillar {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: var(--transition);
}

.pillar:hover {
    border-color: var(--accent);
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(217, 70, 239, 0.12);
}

.pillar-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(217, 70, 239, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.75rem;
    margin: 0 auto 1.5rem;
}

.pillar h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

/* Nesting grid (2col equal) */
.nesting-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    align-items: start;
}

.stat-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

.stat-value {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
}

/* Workflow */
.workflow-steps {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    margin-top: 4rem;
}

.step-item {
    text-align: center;
    padding: 1.5rem 0.5rem;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(217, 70, 239, 0.15);
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--accent);
    margin: 0 auto 1rem;
}

.step-item h4 {
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.time-save-card {
    background: rgba(217, 70, 239, 0.08);
    border: 1px solid rgba(217, 70, 239, 0.3);
    border-radius: 16px;
    padding: 2.5rem 3rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

/* Impact */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.impact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
}

.impact-card:hover {
    border-color: var(--accent);
    box-shadow: 0 12px 30px rgba(217, 70, 239, 0.12);
}

.impact-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.impact-result {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    font-family: 'Outfit', sans-serif;
    margin-top: 1rem;
}

/* CTA */
.cta-section {
    padding: 10rem 0;
    background: linear-gradient(135deg, rgba(217, 70, 239, 0.05) 0%, rgba(162, 28, 175, 0.05) 100%);
}

.cta-box {
    text-align: center;
    border: 1px solid rgba(217, 70, 239, 0.2);
    border-radius: 32px;
    padding: 6rem 4rem;
    background: rgba(217, 70, 239, 0.04);
}

.cta-box p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    color: var(--text-dim);
}

.btn-large {
    display: inline-block;
    background: var(--accent);
    color: white;
    text-decoration: none;
    padding: 1.25rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-large:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(217, 70, 239, 0.4);
}

.flex-badges {
    display: flex;
    gap: 4rem;
    justify-content: center;
    font-size: 0.9rem;
}

.flex-badges i {
    margin-right: 0.5rem;
}

/* ==================
   MOBILE RESPONSIVE
   ================== */
@media (max-width: 768px) {

    html,
    body {
        overflow-x: hidden;
        max-width: 100%;
    }

    section {
        padding: 4rem 0;
    }

    .hero {
        min-height: unset;
        padding-top: 80px;
        padding-bottom: 3rem;
    }

    .hero h1 {
        font-size: 3.5rem;
        margin-bottom: 1.5rem;
    }

    .hero .subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .problem-grid {
        grid-template-columns: 1fr;
    }

    .solution-box {
        flex-direction: column;
        grid-column: auto;
    }

    .value-prop-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .nesting-grid {
        grid-template-columns: 1fr;
    }

    .workflow-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }

    .impact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .time-save-card {
        flex-direction: column;
        text-align: center;
    }

    .cta-box {
        padding: 3rem 1.5rem;
    }

    .cta-box h2 {
        font-size: 2.2rem !important;
    }

    .flex-badges {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .impact-grid {
        grid-template-columns: 1fr;
    }

    .workflow-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}