* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0a0a0a;
    --secondary: #1a1a1a;
    --accent: #ffffff;
    --accent-muted: #666666;
    --border: #2a2a2a;
    --gradient: linear-gradient(135deg, #ffffff 0%, #666666 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Helvetica Neue', sans-serif;
    background: var(--primary);
    color: var(--accent);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Grain Texture */
.grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    opacity: 0.04;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.5' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Custom Cursor */
.cursor-dot, .cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s, transform 0.1s;
    z-index: 10000;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
}

.cursor-outline {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 24px 0;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled {
    padding: 16px 0;
    background: rgba(10, 10, 10, 0.95);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 48px;
}

.nav-link {
    color: var(--accent-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s;
}

.nav-link:hover {
    color: var(--accent);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 24px;
    background: var(--accent);
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    border: 1px solid var(--accent);
}

.nav-cta:hover {
    background: transparent;
    color: var(--accent);
}

/* Sections */
section {
    min-height: 100vh;
    padding: 140px 48px 100px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content {
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

h1 {
    font-size: 88px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -3px;
    margin-bottom: 32px;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--accent-muted);
    line-height: 1.7;
    margin-bottom: 48px;
}

.hero-cta {
    display: flex;
    gap: 16px;
}

/* Buttons */
.btn {
    padding: 16px 40px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--accent);
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-top: 120px;
    padding-top: 80px;
    border-top: 1px solid var(--border);
}

.metric-card {
    text-align: left;
}

.metric-value {
    font-size: 64px;
    font-weight: 700;
    letter-spacing: -2px;
    margin-bottom: 12px;
    color: var(--accent);
}

.metric-label {
    font-size: 13px;
    color: var(--accent-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section Headers */
.section-header {
    margin-bottom: 80px;
}

.section-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-muted);
    margin-bottom: 16px;
}

.section-title {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.section-desc {
    font-size: 18px;
    color: var(--accent-muted);
    max-width: 600px;
}

/* Opportunity Grid */
.opportunity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.opportunity-card {
    background: var(--secondary);
    border: 1px solid var(--border);
    padding: 48px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.opportunity-card:hover {
    border-color: var(--accent);
    transform: translateY(-8px);
}

.card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 32px;
    color: var(--accent);
}

.opportunity-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.opportunity-card p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--accent-muted);
}

/* Calculator Section */
#calculator-section {
    background: var(--secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.calculator-container {
    max-width: 800px;
    margin: 0 auto;
}

.calculator-header {
    text-align: center;
    margin-bottom: 64px;
}

.calculator-header h2 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
}

.calculator-header p {
    font-size: 16px;
    color: var(--accent-muted);
}

.calculator-controls {
    display: flex;
    flex-direction: column;
    gap: 48px;
    margin-bottom: 64px;
}

.slider-control {
    width: 100%;
}

.slider-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 600;
}

.slider-value {
    color: var(--accent);
}

.slider {
    width: 100%;
    height: 2px;
    background: var(--border);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--accent);
    cursor: pointer;
    border-radius: 50%;
    transition: transform 0.2s;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--accent);
    cursor: pointer;
    border-radius: 50%;
    border: none;
}

.slider-marks {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 12px;
    color: var(--accent-muted);
}

.calculator-result {
    text-align: center;
    padding: 64px;
    border: 1px solid var(--border);
    background: var(--primary);
}

.result-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-muted);
    margin-bottom: 16px;
}

.result-amount {
    font-size: 72px;
    font-weight: 700;
    letter-spacing: -3px;
    color: var(--accent);
    margin-bottom: 16px;
}

.result-note {
    font-size: 13px;
    color: var(--accent-muted);
}

/* Requirements Grid */
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.req-card {
    display: flex;
    gap: 20px;
    padding: 32px;
    background: var(--secondary);
    border: 1px solid var(--border);
    transition: border-color 0.3s;
}

.req-card:hover {
    border-color: var(--accent);
}

.req-icon {
    font-size: 24px;
    color: var(--accent);
    flex-shrink: 0;
}

.req-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.req-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--accent-muted);
}

/* Quiz */
.quiz-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--secondary);
    border: 1px solid var(--border);
    padding: 64px;
}

.quiz-progress-bar {
    height: 2px;
    background: var(--border);
    margin-bottom: 64px;
    position: relative;
    overflow: hidden;
}

.quiz-progress-fill {
    height: 100%;
    background: var(--accent);
    width: 0%;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.quiz-question {
    display: none;
}

.quiz-question.active {
    display: block;
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quiz-question h3 {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.question-text {
    font-size: 16px;
    color: var(--accent-muted);
    margin-bottom: 40px;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.quiz-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    border: 1px solid var(--border);
    background: var(--primary);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 15px;
}

.quiz-option:hover {
    border-color: var(--accent);
    transform: translateX(8px);
}

.quiz-option.selected {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
}

.option-radio {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: border-color 0.3s;
}

.quiz-option.selected .option-radio {
    border-color: var(--accent);
}

.quiz-option.selected .option-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
}

.quiz-result {
    display: none;
    text-align: center;
    padding: 64px 0;
}

.quiz-result.show {
    display: block;
    animation: fadeInUp 0.5s;
}

.result-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 32px;
    border: 3px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.result-icon::after {
    content: '✓';
}

.quiz-result.fail .result-icon {
    border-color: #ff4444;
}

.quiz-result.fail .result-icon::after {
    content: '✗';
    color: #ff4444;
}

.result-title {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 16px;
}

.quiz-result.pass .result-title {
    color: var(--accent);
}

.quiz-result.fail .result-title {
    color: #ff4444;
}

.result-text {
    font-size: 16px;
    color: var(--accent-muted);
    max-width: 500px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

/* Form */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--secondary);
    border: 1px solid var(--border);
    padding: 64px;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeInUp 0.5s;
}

.form-step-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.form-group {
    margin-bottom: 32px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    color: var(--accent-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    border: 1px solid var(--border);
    color: var(--accent);
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
}

.form-group textarea {
    resize: vertical;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 48px;
    gap: 16px;
}

.success-screen {
    display: none;
    text-align: center;
    padding: 80px 0;
}

.success-screen.show {
    display: block;
    animation: fadeInUp 0.5s;
}

.success-icon-large {
    width: 100px;
    height: 100px;
    margin: 0 auto 32px;
    border: 3px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--accent);
}

.success-screen h3 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 16px;
}

.success-screen p {
    font-size: 16px;
    color: var(--accent-muted);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Footer */
footer {
    padding: 48px;
    border-top: 1px solid var(--border);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
}

.footer-text {
    font-size: 13px;
    color: var(--accent-muted);
}

/* AOS Animations */
[data-aos] {
    opacity: 0;
    transition: opacity 0.8s, transform 0.8s;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    h1 {
        font-size: 64px;
    }

    .section-title {
        font-size: 48px;
    }

    .opportunity-grid,
    .requirements-grid {
        grid-template-columns: 1fr;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 120px 24px 80px;
    }

    .nav-container {
        padding: 0 24px;
    }

    .nav-links {
        display: none;
    }

    h1 {
        font-size: 48px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .calculator-container,
    .quiz-container,
    .form-container {
        padding: 32px;
    }
}