*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #020408;
    --bg2: #060d16;
    --accent: #00e5ff;
    --accent2: #7b2fff;
    --accent3: #ff2d7a;
    --text: #e8f4ff;
    --muted: #5a7a9a;
    --border: rgba(0, 229, 255, 0.12);
    --card: rgba(6, 18, 32, 0.85);
    --glow: 0 0 40px rgba(0, 229, 255, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Syne', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    cursor: none;
}

/* Custom cursor */
#cursor {
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, width 0.2s, height 0.2s, background 0.2s;
    mix-blend-mode: screen;
}

#cursor-ring {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(0, 229, 255, 0.5);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease, width 0.3s, height 0.3s;
}

body:hover #cursor {
    opacity: 1;
}

/* Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
}

/* Noise overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    z-index: 1;
    pointer-events: none;
    opacity: 0.4;
}

/* Layout */
.wrapper {
    position: relative;
    z-index: 2;
}

/* NAV */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 4rem;
    background: rgba(2, 4, 8, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    animation: slideDown 0.8s ease forwards;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo span {
    color: var(--accent3);
    -webkit-text-fill-color: var(--accent3);
}

nav ul {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

nav ul a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
}

nav ul a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s;
}

nav ul a:hover {
    color: var(--accent);
}

nav ul a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 0.55rem 1.4rem;
    border: 1px solid var(--accent);
    border-radius: 4px;
    color: var(--accent) !important;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    transition: background 0.3s, box-shadow 0.3s !important;
}

.nav-cta:hover {
    background: rgba(0, 229, 255, 0.08) !important;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2) !important;
}

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1rem;
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 100px;
    font-size: 0.72rem;
    font-family: 'DM Mono', monospace;
    color: var(--accent);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    animation: fadeUp 0.8s 0.3s ease both;
    background: rgba(0, 229, 255, 0.04);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.7);
    }
}

.hero h1 {
    font-size: clamp(3.5rem, 8vw, 7.5rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    animation: fadeUp 0.9s 0.5s ease both;
}

.hero h1 .line1 {
    display: block;
    color: var(--text);
}

.hero h1 .line2 {
    display: block;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 50%, var(--accent3) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 100%;
    animation: shimmer 4s linear infinite, fadeUp 0.9s 0.5s ease both;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.hero p {
    max-width: 560px;
    font-size: 1.1rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    font-weight: 400;
    animation: fadeUp 1s 0.7s ease both;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    align-items: center;
    animation: fadeUp 1s 0.9s ease both;
}

.btn-primary {
    padding: 0.9rem 2.2rem;
    background: var(--accent);
    color: #020408;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.4s;
}

.btn-primary:hover::before {
    transform: translateX(100%);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 229, 255, 0.4);
}

.btn-ghost {
    padding: 0.9rem 2.2rem;
    background: transparent;
    color: var(--text);
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.3s, color 0.3s, background 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.04);
}

.btn-ghost svg {
    transition: transform 0.3s;
}

.btn-ghost:hover svg {
    transform: translateX(4px);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll indicator */
.scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    font-family: 'DM Mono', monospace;
    text-transform: uppercase;
    animation: fadeUp 1s 1.5s ease both;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--muted), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(1);
    }

    50% {
        opacity: 1;
        transform: scaleY(1.2);
    }
}

/* STATS BAND */
.stats-band {
    padding: 3rem 4rem;
    display: flex;
    justify-content: center;
    gap: 6rem;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(0, 229, 255, 0.02);
}

.stat {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stat.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-num {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--text), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-top: 0.25rem;
    font-family: 'DM Mono', monospace;
}

section {
    padding: 7rem 4rem;
}

.section-tag {
    display: inline-block;
    font-family: 'DM Mono', monospace;
    font-size: 0.7rem;
    color: var(--accent);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s, transform 0.5s;
}

.section-tag.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 1.25rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s 0.1s, transform 0.6s 0.1s;
}

.section-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-sub {
    font-size: 1rem;
    color: var(--muted);
    max-width: 480px;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s 0.2s, transform 0.6s 0.2s;
}

.section-sub.visible {
    opacity: 1;
    transform: translateY(0);
}

/* FEATURES */
.features {
    text-align: center;
}

.features-header {
    margin-bottom: 4rem;
}

.features-header .section-sub {
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    max-width: 1100px;
    margin: 0 auto;
}

.feat-card {
    background: var(--card);
    padding: 2.5rem;
    text-align: left;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease, transform 0.6s ease, background 0.3s;
}

.feat-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.06), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.feat-card:hover::before {
    opacity: 1;
}

.feat-card:hover {
    background: rgba(6, 25, 45, 0.9);
}

.feat-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    position: relative;
    background: rgba(0, 229, 255, 0.05);
}

.feat-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.feat-card p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.7;
}

.feat-accent {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent);
}

.how {
    background: var(--bg2);
}

.how-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--accent), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 0.4rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 15px var(--accent);
}

.step-num {
    font-family: 'DM Mono', monospace;
    font-size: 0.7rem;
    color: var(--accent);
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
}

.timeline-item h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.timeline-item p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.65;
}

/* Terminal mockup */
.terminal {
    background: #010a12;
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
    font-family: 'DM Mono', monospace;
    box-shadow: 0 0 60px rgba(0, 229, 255, 0.08);
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.terminal.visible {
    opacity: 1;
    transform: translateX(0);
}

.term-bar {
    background: rgba(0, 229, 255, 0.06);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(0, 229, 255, 0.1);
}

.term-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.term-body {
    padding: 1.5rem;
    font-size: 0.8rem;
    line-height: 2;
}

.t-muted {
    color: #3a5a7a;
}

.t-accent {
    color: var(--accent);
}

.t-green {
    color: #00ff88;
}

.t-purple {
    color: #b47eff;
}

.t-orange {
    color: #ff8c42;
}

.t-white {
    color: #c8e6ff;
}

.term-cursor {
    display: inline-block;
    width: 8px;
    height: 14px;
    background: var(--accent);
    vertical-align: middle;
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: 0
    }
}

/* PRICING */
.pricing {
    text-align: center;
}

.pricing-header {
    margin-bottom: 4rem;
}

.pricing-header .section-sub {
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 960px;
    margin: 0 auto;
}

.price-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.price-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.price-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.price-card.featured {
    border-color: var(--accent);
    background: rgba(0, 229, 255, 0.05);
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.1);
}

.price-card.featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-family: 'DM Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 0.15em;
    color: var(--accent);
    background: rgba(0, 229, 255, 0.1);
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    border: 1px solid rgba(0, 229, 255, 0.3);
}

.plan-name {
    font-size: 0.75rem;
    font-family: 'DM Mono', monospace;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.plan-price {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 0.25rem;
}

.plan-price sup {
    font-size: 1.2rem;
    vertical-align: top;
    margin-top: 0.7rem;
    display: inline-block;
    color: var(--muted);
}

.plan-period {
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 2rem;
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
}

.plan-features li {
    font-size: 0.88rem;
    color: var(--muted);
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
}

.plan-btn {
    width: 100%;
    padding: 0.85rem;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.05em;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.plan-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0, 229, 255, 0.05);
}

.price-card.featured .plan-btn {
    background: var(--accent);
    border-color: var(--accent);
    color: #020408;
}

.price-card.featured .plan-btn:hover {
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.4);
}

/* TESTIMONIALS */
.testimonials {
    background: var(--bg2);
}

.test-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 3rem auto 0;
}

.test-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.test-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.test-stars {
    color: var(--accent);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.test-card blockquote {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.test-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.test-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent2), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.test-name {
    font-size: 0.88rem;
    font-weight: 700;
}

.test-role {
    font-size: 0.75rem;
    color: var(--muted);
}

/* CTA */
.cta-section {
    text-align: center;
    padding: 8rem 4rem;
    position: relative;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(123, 47, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section h2 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    line-height: 1.0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s, transform 0.6s;
}

.cta-section h2.visible {
    opacity: 1;
    transform: translateY(0);
}

.cta-section p {
    color: var(--muted);
    font-size: 1rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s 0.1s, transform 0.6s 0.1s;
}

.cta-section p.visible {
    opacity: 1;
    transform: translateY(0);
}

.cta-input-row {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    max-width: 480px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s 0.2s, transform 0.6s 0.2s;
}

.cta-input-row.visible {
    opacity: 1;
    transform: translateY(0);
}

.cta-input {
    flex: 1;
    padding: 0.9rem 1.25rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-family: 'DM Mono', monospace;
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.3s;
}

.cta-input:focus {
    border-color: var(--accent);
}

.cta-input::placeholder {
    color: var(--muted);
}

/* FOOTER */
footer {
    border-top: 1px solid var(--border);
    padding: 3rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left p {
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 0.35rem;
    font-family: 'DM Mono', monospace;
}

footer nav ul {
    gap: 2rem;
}

footer nav ul a {
    font-size: 0.78rem;
}

.grid-overlay {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 1;
}