:root {
    --bg-primary: #1a1b26;
    --bg-secondary: #16161e;
    --bg-tertiary: #24283b;
    --bg-hover: #2d3149;
    --border-color: #292e42;
    --text-primary: #c0caf5;
    --text-secondary: #9aa5ce;
    --text-muted: #565f89;
    --accent-primary: #7aa2f7;
    --accent-secondary: #bb9af7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    animation: pageLoad 0.5s ease-out;
}

/* Animated background gradient */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 50%, rgba(122, 162, 247, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(187, 154, 247, 0.08) 0%, transparent 50%);
    animation: rotate 30s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pageLoad {
    from { opacity: 0; }
    to { opacity: 1; }
}

.navbar {
    background: rgba(22, 22, 30, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 0 60px;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.5px;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    color: var(--accent-primary);
    font-size: 28px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 8px rgba(122, 162, 247, 0.5));
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 16px rgba(122, 162, 247, 0.8));
    }
}

.logo-text {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-buttons {
    display: flex;
    gap: 16px;
}

.btn {
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(122, 162, 247, 0.15);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    border: none;
    box-shadow: 0 4px 20px rgba(122, 162, 247, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(122, 162, 247, 0.5);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 60px;
    position: relative;
    z-index: 1;
}

.hero-section {
    margin-bottom: 80px;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

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

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

.hero-content h1 {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 28px;
    color: var(--text-primary);
    letter-spacing: -2px;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-content h1 .highlight {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-content p {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.hero-buttons .btn {
    padding: 14px 32px;
    font-size: 16px;
}

.how-it-works {
    margin-top: 100px;
    text-align: center;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.how-it-works h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    text-align: center;
    padding: 40px 24px;
    background: rgba(22, 22, 30, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.8s ease-out backwards;
}

.step:nth-child(1) { animation-delay: 0.7s; }
.step:nth-child(2) { animation-delay: 0.8s; }
.step:nth-child(3) { animation-delay: 0.9s; }

.step:hover {
    border-color: var(--accent-primary);
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(122, 162, 247, 0.2);
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 8px 20px rgba(122, 162, 247, 0.3);
}

.step h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.step p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.reassurance-section {
    margin-top: 100px;
    text-align: center;
    padding: 60px 40px;
    background: rgba(36, 40, 59, 0.3);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    animation: fadeInUp 0.8s ease-out 1s backwards;
}

.reassurance-text {
    font-size: 22px;
    line-height: 1.7;
    color: var(--text-primary);
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
}

.demo-section {
    background: linear-gradient(135deg, rgba(36, 40, 59, 0.6), rgba(22, 22, 30, 0.6));
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 60px;
    margin-top: 100px;
    position: relative;
    overflow: hidden;
    text-align: center;
    animation: fadeInUp 0.8s ease-out 1.2s backwards;
}

.demo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(122, 162, 247, 0.15), transparent);
    animation: shimmer 4s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.demo-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
    letter-spacing: -1px;
}

.demo-section p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection styling */
::selection {
    background: var(--accent-primary);
    color: white;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

@media (max-width: 1200px) {
    .container {
        padding: 80px 40px;
    }

    .hero-content h1 {
        font-size: 52px;
    }
}

@media (max-width: 900px) {
    .steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-content h1 {
        font-size: 40px;
        letter-spacing: -1px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .container {
        padding: 60px 24px;
    }

    .navbar {
        padding: 0 24px;
        height: 64px;
    }

    .demo-section {
        padding: 40px 28px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .reassurance-text {
        font-size: 18px;
    }
}