:root {
    --bg-deep: #000000;
    --primary: #8b5cf6;
    --accent: #d946ef;
    --text-main: #ffffff;
    --text-muted: #a3a3a3;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background-color: #000000;
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.7;
}

/* Typography */
h1,
h2,
h3,
h4,
.logo-text,
.nav-link {
    font-family: var(--font-heading);
}

h1,
h2,
h3 {
    margin: 0;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #e0e7ff 0%, #a78bfa 50%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(167, 139, 250, 0.3);
}

/* Icons */
.icon {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-lg {
    width: 48px;
    height: 48px;
    stroke-width: 1.5;
}

.icon-xl {
    width: 64px;
    height: 64px;
    stroke-width: 1;
}

/* Glassmorphism Utilities */
.glass-panel {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.glass-nav {
    background: rgba(0, 0, 0, 0.4);
    /* More transparency */
    backdrop-filter: blur(30px);
    /* Stronger blur */
    -webkit-backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.3s;
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ... (Existing stars 1-5) ... */

/* MORE STARS */
.shooting_star:nth-child(6) {
    top: calc(50% - -40px);
    left: calc(50% - 200px);
    animation-delay: 2200ms;
}

.shooting_star:nth-child(6)::before,
.shooting_star:nth-child(6)::after {
    animation-delay: 2200ms;
}

.shooting_star:nth-child(7) {
    top: calc(50% - -120px);
    left: calc(50% - 300px);
    animation-delay: 4500ms;
}

.shooting_star:nth-child(7)::before,
.shooting_star:nth-child(7)::after {
    animation-delay: 4500ms;
}

.shooting_star:nth-child(8) {
    top: calc(50% - 150px);
    left: calc(50% - 80px);
    animation-delay: 6000ms;
}

.shooting_star:nth-child(8)::before,
.shooting_star:nth-child(8)::after {
    animation-delay: 6000ms;
}

.shooting_star:nth-child(9) {
    top: calc(50% - 20px);
    left: calc(50% - 250px);
    animation-delay: 1500ms;
}

.shooting_star:nth-child(9)::before,
.shooting_star:nth-child(9)::after {
    animation-delay: 1500ms;
}

.shooting_star:nth-child(10) {
    top: calc(50% - -80px);
    left: calc(50% - 20px);
    animation-delay: 3800ms;
}

.shooting_star:nth-child(10)::before,
.shooting_star:nth-child(10)::after {
    animation-delay: 3800ms;
}

/* Even more stars for "Amazing" effect */
.shooting_star:nth-child(11) {
    top: calc(50% - 180px);
    left: calc(50% - 280px);
    animation-delay: 1200ms;
}

.shooting_star:nth-child(11)::before,
.shooting_star:nth-child(11)::after {
    animation-delay: 1200ms;
}

.shooting_star:nth-child(12) {
    top: calc(50% - -120px);
    left: calc(50% - 120px);
    animation-delay: 5400ms;
}

.shooting_star:nth-child(12)::before,
.shooting_star:nth-child(12)::after {
    animation-delay: 5400ms;
}

.shooting_star:nth-child(13) {
    top: calc(50% - 60px);
    left: calc(50% - 320px);
    animation-delay: 2800ms;
}

.shooting_star:nth-child(13)::before,
.shooting_star:nth-child(13)::after {
    animation-delay: 2800ms;
}

.shooting_star:nth-child(14) {
    top: calc(50% - -40px);
    left: calc(50% - 40px);
    animation-delay: 6200ms;
}

.shooting_star:nth-child(14)::before,
.shooting_star:nth-child(14)::after {
    animation-delay: 6200ms;
}

.shooting_star:nth-child(15) {
    top: calc(50% - 200px);
    left: calc(50% - 200px);
    animation-delay: 500ms;
}

.shooting_star:nth-child(15)::before,
.shooting_star:nth-child(15)::after {
    animation-delay: 500ms;
}

.shooting_star:nth-child(16) {
    top: calc(50% - -10px);
    left: calc(50% - 290px);
    animation-delay: 4100ms;
}

.shooting_star:nth-child(16)::before,
.shooting_star:nth-child(16)::after {
    animation-delay: 4100ms;
}

.shooting_star:nth-child(17) {
    top: calc(50% - 130px);
    left: calc(50% - 130px);
    animation-delay: 3300ms;
}

.shooting_star:nth-child(17)::before,
.shooting_star:nth-child(17)::after {
    animation-delay: 3300ms;
}

.shooting_star:nth-child(18) {
    top: calc(50% - -160px);
    left: calc(50% - 260px);
    animation-delay: 7000ms;
}

.shooting_star:nth-child(18)::before,
.shooting_star:nth-child(18)::after {
    animation-delay: 7000ms;
}

.shooting_star:nth-child(19) {
    top: calc(50% - 90px);
    left: calc(50% - 90px);
    animation-delay: 1900ms;
}

.shooting_star:nth-child(19)::before,
.shooting_star:nth-child(19)::after {
    animation-delay: 1900ms;
}

.shooting_star:nth-child(20) {
    top: calc(50% - -70px);
    left: calc(50% - 170px);
    animation-delay: 4800ms;
}

.shooting_star:nth-child(20)::before,
.shooting_star:nth-child(20)::after {
    animation-delay: 4800ms;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    /* Tightened from 16px */
    text-decoration: none;
}

.logo-text {
    font-weight: 800;
    font-size: 1.5rem;
    /* Slightly smaller to fit better */
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
    /* Reduced spacing */
}

.logo img {
    height: 36px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

.nav-links {
    display: flex;
    gap: 48px;
    align-items: center;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-link:hover {
    color: white;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-family: var(--font-heading);
    letter-spacing: 0.02em;
    gap: 12px;
}

.btn-primary {
    background: white;
    color: black;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.4);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-outline:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.05);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 24px 0;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1000px;
    animation: fadeIn 1.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(4rem, 10vw, 8rem);
    line-height: 0.9;
    margin-bottom: 32px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 64px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

/* SHOOTING STARS UPDATE - PITCH BLACK */
.night {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotateZ(45deg);
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
    /* Subtler for pitch black */
}

/* ... (Keep existing shooting star animations tailored for black bg) ... */
.shooting_star {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 2px;
    background: linear-gradient(-45deg, rgba(255, 255, 255, 1), rgba(0, 0, 0, 0));
    border-radius: 999px;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.8));
    animation: tail 3000ms ease-in-out infinite, shooting 3000ms ease-in-out infinite;
}

.shooting_star::before,
.shooting_star::after {
    background: linear-gradient(-45deg, rgba(0, 0, 0, 0), rgba(255, 255, 255, 1), rgba(0, 0, 0, 0));
}

/* Sections */
section {
    padding: 180px 0;
    position: relative;
    z-index: 10;
}

.section-header {
    margin-bottom: 100px;
    max-width: 800px;
}

.section-label {
    font-family: var(--font-heading);
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.9rem;
    margin-bottom: 24px;
    display: block;
    font-weight: 700;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 32px;
    font-weight: 800;
    line-height: 1;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.8;
}

/* Example Image Area */
.example-showcase {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 120px;
    border-radius: 32px;
    overflow: hidden;
    background: #111;
    border: 1px solid #333;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 100px rgba(139, 92, 246, 0.15);
}

.example-placeholder {
    text-align: center;
    color: #444;
}

/* Workflow Steps */
.workflow-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
    margin: 80px auto 0;
}

.workflow-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 32px;
    text-align: left;
    align-items: center;
}

.workflow-card .work-icon-box {
    margin-bottom: 0;
    /* consistent with side layout */
}

/* Ensure title and text align nicely */
.workflow-card h3 {
    grid-column: 2;
    margin-bottom: 8px;
    /* tight spacing */
}

.workflow-card p {
    grid-column: 2;
    margin-top: 0;
}

.step-number {
    /* Reposition step number or hide/adjust for this layout */
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
}

.workflow-card {
    padding: 48px 32px;
    position: relative;
    transition: transform 0.4s;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.workflow-card:hover {
    transform: translateY(-12px);
    border-color: rgba(255, 255, 255, 0.2);
}

.step-number {
    font-size: 4rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 20px;
    right: 32px;
}

.work-icon-box {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    color: white;
}

/* Splendid Score Detail */
.score-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature-list-check {
    margin-bottom: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.check-icon {
    width: 24px;
    flex-shrink: 0;
    color: #4ade80;
    margin-top: 4px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    section {
        padding: 80px 0;
        /* Reduced from 180px */
    }

    .nav-inner {
        padding: 0 20px;
        height: 70px;
    }

    .nav-links {
        display: none;
    }

    /* Ensure Start button is visible on mobile if needed, or keeping clean */

    .hero {
        padding-top: 100px;
        min-height: auto;
        /* Allow content to dictate height on mobile */
        padding-bottom: 80px;
    }

    .hero-title {
        font-size: 3rem;
        /* Smaller for mobile */
        margin-bottom: 20px;
    }

    .hero-desc {
        font-size: 1rem;
        margin-bottom: 40px;
    }

    /* Engine Section Fixes */
    .score-detail-container {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .score-detail-container>div {
        width: 100%;
    }

    /* Force visual to be smaller/contained */
    .glass-panel[style*="aspect-ratio"] {
        aspect-ratio: 16/9 !important;
        margin-top: 20px;
    }

    .glass-panel img {
        height: 100%;
        width: 100%;
    }

    .feature-list-check {
        align-items: flex-start;
        margin-bottom: 24px;
        padding-right: 10px;
        /* Prevent edge touching */
    }

    .feature-list-check div {
        flex: 1;
        /* Allow text to wrap properly */
        min-width: 0;
        /* Important for flex child wrapping */
    }

    .section-title br {
        display: none;
    }

    .section-title {
        font-size: 2rem;
        /* Even smaller to be safe */
        word-wrap: break-word;
    }

    .section-desc {
        font-size: 1rem;
        margin-bottom: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px !important;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .glass-panel {
        border-radius: 20px;
    }
}

/* Re-add shooting star keyframes... (keeping roughly the same but white) */
@keyframes tail {
    0% {
        width: 0;
    }

    30% {
        width: 100px;
    }

    100% {
        width: 0;
    }
}

@keyframes shooting {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(300px);
    }
}