/* ===== Variables ===== */
:root {
    --color-bg: #0a0a0a;
    --color-bg-elevated: #141414;
    --color-bg-card: #1a1a1a;
    --color-accent: #2563eb;
    --color-accent-bright: #3b82f6;
    --color-text: #ffffff;
    --color-text-secondary: #a1a1a1;
    --color-text-muted: #6b6b6b;
    --color-border: #2a2a2a;
    --color-success: #22c55e;
    --font-heading: 'Space Grotesk', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* ===== Layout ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

section {
    padding: 140px 0;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(3rem, 8vw, 6rem);
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 32px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.eyebrow {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent-bright);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
}

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.nav.scrolled {
    border-bottom-color: var(--color-border);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
}

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

.btn-nav {
    padding: 12px 24px;
    background: var(--color-accent);
    color: white !important;
    border-radius: 8px;
    font-weight: 500;
}

.btn-nav:hover {
    background: var(--color-accent-bright);
    transform: translateY(-2px);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition);
}

/* ===== Buttons ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 32px;
    background: var(--color-accent);
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--color-accent-bright);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3);
}

.btn-primary svg {
    transition: var(--transition);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(37, 99, 235, 0.15), transparent);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero h1 .line {
    display: block;
    opacity: 0;
    transform: translateY(40px);
    animation: revealLine 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero h1 .line:nth-child(1) { animation-delay: 0.1s; }
.hero h1 .line:nth-child(2) { animation-delay: 0.2s; }
.hero h1 .line:nth-child(3) { animation-delay: 0.3s; }

.hero h1 .accent {
    color: var(--color-accent-bright);
}

@keyframes revealLine {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 32px 0 48px;
    opacity: 0;
    animation: fadeUp 0.8s 0.5s forwards;
}

.reveal-delay-2 {
    opacity: 0;
    animation: fadeUp 0.8s 0.7s forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
    from {
        transform: translateY(20px);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-text-muted), transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* ===== Stats ===== */
.stats {
    padding: 60px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.stats-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-top: 8px;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: var(--color-border);
}

/* ===== Problem ===== */
.problem {
    background: var(--color-bg);
}

.problem-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    justify-content: center;
}

.problem-card {
    padding: 40px 32px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 16px;
    transition: var(--transition);
}

.problem-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-text-muted);
}

.problem-card.solution {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.problem-card.solution:hover {
    border-color: var(--color-accent-bright);
}

.problem-icon {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--color-text-muted);
}

.problem-card.solution .problem-icon {
    color: white;
}

.problem-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.problem-card p {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.problem-card.solution p {
    color: rgba(255, 255, 255, 0.8);
}

/* ===== Approach ===== */
.approach {
    background: var(--color-bg-elevated);
}

.approach-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.approach-sticky {
    position: sticky;
    top: 140px;
}

.approach-sticky p {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin-top: 24px;
}

.approach-cards {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.approach-card {
    padding: 48px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    transition: var(--transition);
}

.approach-card:hover {
    border-color: var(--color-accent);
}

.card-number {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent-bright);
    margin-bottom: 24px;
}

.approach-card p {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ===== Math ===== */
.math {
    background: var(--color-bg);
    text-align: center;
}

.math h2 {
    margin-bottom: 80px;
}

.math-pipeline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

.pipeline-step {
    flex: 1;
    min-width: 200px;
    max-width: 280px;
}

.step-content {
    padding: 40px 32px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    transition: var(--transition);
}

.step-content:hover {
    border-color: var(--color-accent);
}

.step-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent-bright);
    margin-bottom: 12px;
}

.step-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.step-desc {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

.pipeline-arrow {
    color: var(--color-text-muted);
}

.math-results {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 700px;
    margin: 0 auto;
}

.result-card {
    padding: 48px 40px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    transition: var(--transition);
}

.result-card:hover {
    transform: translateY(-4px);
}

.result-card.featured {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.result-label {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
}

.result-card.featured .result-label {
    color: rgba(255, 255, 255, 0.7);
}

.result-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-success);
    margin-bottom: 8px;
}

.result-card.featured .result-value {
    color: white;
}

.result-desc {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.result-card.featured .result-desc {
    color: rgba(255, 255, 255, 0.6);
}

/* ===== Services ===== */
.services {
    background: var(--color-bg-elevated);
}

.services h2 {
    margin-bottom: 80px;
}

.timeline {
    max-width: 800px;
}

.timeline-item {
    display: flex;
    gap: 40px;
    padding-bottom: 60px;
    position: relative;
}

.timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 32px;
    top: 80px;
    width: 1px;
    height: calc(100% - 80px);
    background: var(--color-border);
}

.timeline-marker {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
}

.timeline-content {
    padding-top: 12px;
}

.timeline-content p {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ===== Investment ===== */
.investment {
    background: var(--color-bg);
}

.investment-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.investment-sub {
    color: var(--color-text-secondary);
    font-size: 1.125rem;
    margin-top: 16px;
}

.investment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 800px;
    margin: 0 auto 60px;
}

.detail-card {
    padding: 32px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
}

.detail-card h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--color-text-secondary);
}

.detail-card li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--color-text);
}

.detail-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent-bright);
}

.guarantee {
    padding: 48px;
    background: var(--color-bg-card);
    border: 2px solid var(--color-accent);
    border-radius: 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.guarantee h3 {
    color: var(--color-accent-bright);
    margin-bottom: 16px;
}

.guarantee p {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ===== About ===== */
.about {
    background: var(--color-bg-elevated);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-role {
    font-size: 1.125rem;
    color: var(--color-accent-bright);
    margin-bottom: 24px;
}

.about-content p {
    color: var(--color-text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

.about-quote {
    padding: 60px;
    background: var(--color-accent);
    border-radius: 24px;
}

.about-quote blockquote {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.4;
    color: white;
}

/* ===== Contact ===== */
.contact {
    background: var(--color-bg);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 24px;
}

.contact-info p {
    color: var(--color-text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

.contact-form-wrapper {
    padding: 48px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 20px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    transition: var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== Footer ===== */
.footer {
    padding: 60px 0;
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
}

.footer-links a:hover {
    color: var(--color-text);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .problem-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .approach-layout,
    .investment-layout,
    .about-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .approach-sticky {
        position: static;
    }
}

@media (max-width: 768px) {
    section {
        padding: 100px 0;
    }

    .container {
        padding: 0 24px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-bg);
        border-bottom: 1px solid var(--color-border);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-toggle {
        display: flex;
    }

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

    .stats-grid {
        flex-direction: column;
        gap: 32px;
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }

    .math-pipeline {
        flex-direction: column;
    }

    .pipeline-arrow {
        transform: rotate(90deg);
    }

    .math-results {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        flex-direction: column;
        gap: 24px;
    }

    .timeline-item::before {
        display: none;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.5rem;
    }

    .hero {
        padding-top: 80px;
    }

    .approach-card,
    .contact-form-wrapper {
        padding: 32px;
    }

    .about-quote {
        padding: 40px;
    }

    .about-quote blockquote {
        font-size: 1.375rem;
    }

    .price-amount {
        font-size: 3rem;
    }
}

/* ===== New Sections ===== */

/* Credibility Bar */
.credibility-text {
    text-align: center;
    font-size: 1.125rem;
    color: var(--color-text-secondary);
}

.credibility-text strong {
    color: var(--color-text);
}

/* Results Block */
.results-block {
    margin-top: 80px;
    text-align: center;
    padding: 60px;
    background: var(--color-bg-elevated);
    border-radius: 16px;
    border: 1px solid var(--color-border);
}

.results-block h3 {
    font-size: 1.75rem;
    margin-bottom: 32px;
    color: var(--color-text);
}

.results-list {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.result-item {
    font-size: 1.125rem;
    color: #ef4444;
    font-weight: 500;
}

/* New Era Section */
.new-era {
    background: linear-gradient(180deg, var(--color-bg-elevated) 0%, var(--color-bg) 100%);
    text-align: center;
}

.new-era-content {
    max-width: 800px;
    margin: 0 auto;
}

.new-era h2 {
    margin-bottom: 32px;
}

.new-era p {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.new-era p:last-child {
    color: var(--color-text);
    font-weight: 500;
}

/* Nav Highlight */
.nav-highlight {
    color: var(--color-accent-bright) !important;
    font-weight: 600;
}

.nav-highlight:hover {
    color: var(--color-text) !important;
}

/* Guide Section */
.guide {
    background: var(--color-bg-elevated);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.guide-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.guide-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 24px;
}

.guide-content p {
    color: var(--color-text-secondary);
    font-size: 1.125rem;
    margin-bottom: 24px;
}

.guide-list {
    list-style: none;
}

.guide-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--color-text-secondary);
}

.guide-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: 600;
}

.guide-form-wrapper {
    background: var(--color-bg-card);
    padding: 48px;
    border-radius: 16px;
    border: 1px solid var(--color-border);
}

.guide-form .form-group {
    margin-bottom: 16px;
}

/* Journey Section */
.journey {
    background: var(--color-bg);
    text-align: center;
    border-top: 1px solid var(--color-border);
}

.journey-header {
    max-width: 800px;
    margin: 0 auto 60px;
}

.journey-header h2 {
    margin-bottom: 24px;
}

.journey-intro {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
}

.journey-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto 60px;
}

.journey-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    text-align: left;
    font-size: 1rem;
    color: var(--color-text);
    transition: var(--transition);
}

.journey-item:hover {
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.journey-icon {
    color: var(--color-accent-bright);
    font-size: 1.25rem;
    font-weight: 600;
    flex-shrink: 0;
}

.journey-closer {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-text);
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .journey-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .guide-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .results-list {
        flex-direction: column;
        gap: 16px;
    }

    .results-block {
        padding: 40px 24px;
    }
}
