/* 
   Nowrin Labs - Redesign
   Theme: Bento / Dark Noise / Neon
*/

:root {
    --bg: #050505;
    --bg-surface: #0f1115;
    --text-main: #ffffff;
    --text-muted: #888888;

    --primary: #5200ff;
    --accent-cyan: #00fff2;
    --accent-pink: #ff00c8;

    --font-heading: 'Syne', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;

    --border-light: 1px solid rgba(255, 255, 255, 0.08);
}

/* Light Mode Overrides */
body.light-mode {
    --bg: #f5f7fa;
    /* Slightly cleaner off-white/blue */
    --bg-surface: #ffffff;
    --text-main: #1a1a1a;
    --text-muted: #4b5563;
    /* Improved neutral gray */
    --accent-cyan: #007aff;
    --border-light: 1px solid rgba(0, 0, 0, 0.05);
}

/* Light Mode Background Pattern */
body.light-mode {
    background-color: var(--bg);
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    background-attachment: fixed;
}

/* Adjustments for specific elements in light mode */
body.light-mode .navbar {
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

body.light-mode .logo-img {
    filter: invert(0);
}

body.light-mode .btn-primary {
    background: #111;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body.light-mode .btn-text {
    border-color: rgba(0, 0, 0, 0.1);
    color: #1a1a1a;
}

/* Card & Form Aesthetics - Premium Softness */
body.light-mode .bento-card,
body.light-mode .simple-form,
body.light-mode .testimonial-card,
body.light-mode .process-steps .step,
body.light-mode .accordion-item {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow:
        0 10px 30px -10px rgba(0, 0, 0, 0.08),
        0 4px 6px -2px rgba(0, 0, 0, 0.01);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body.light-mode .bento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.12);
    border-color: rgba(82, 0, 255, 0.1);
}

body.light-mode .accordion-content {
    color: var(--text-muted);
}

body.light-mode .btn-glow {
    box-shadow: 0 5px 20px rgba(82, 0, 255, 0.25);
}

body.light-mode .noise-overlay {
    opacity: 0.15;
    mix-blend-mode: overlay;
    /* Subtle texture */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    /* Re-introduce subtle noise for texture if desired, or keep hidden */
}

/* Ensure white text remains white where needed (e.g., inside primary buttons or dark sections if any) */
body.light-mode .gradient-text {
    background: linear-gradient(135deg, #000 0%, #555 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

body.light-mode .badge {
    color: var(--primary);
    background: rgba(82, 0, 255, 0.05);
    border-color: rgba(82, 0, 255, 0.2);
}

body.light-mode .rotating-badge .badge-text text {
    fill: #000;
}

body.light-mode .scroll-indicator .mouse {
    border-color: #000;
}

body.light-mode .scroll-indicator .wheel {
    background: #000;
}

body.light-mode .process-steps::before {
    background: linear-gradient(to bottom, #ddd, #eee);
    /* Lighter timeline line */
}

/* Fix mobile menu background */
@media (max-width: 768px) {
    body.light-mode .nav-links {
        background: rgba(255, 255, 255, 0.95);
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    body.light-mode .nav-links a {
        color: #111;
    }

    body.light-mode .line {
        background: #000;
    }
}


/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg);
    /* Premium Aesthetic Background: Deep gradients + Subtle Grid */
    background-image:
        radial-gradient(circle at 15% 50%, rgba(82, 0, 255, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(0, 255, 242, 0.08), transparent 25%),
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 60px 60px, 60px 60px;
    background-attachment: fixed;

    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.5;
}



/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 100px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-primary {
    background: #fff;
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.btn-glow {
    background: linear-gradient(45deg, var(--primary), var(--accent-pink));
    color: #fff;
    /* Keep white on these vibrant buttons */
    border: none;
    box-shadow: 0 0 15px rgba(82, 0, 255, 0.5);
}

.btn-glow:hover {
    box-shadow: 0 0 25px rgba(82, 0, 255, 0.8), 0 0 10px var(--accent-pink);
    transform: scale(1.05);
}

.btn-text {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-light);
}

.btn-text:hover {
    border-color: #fff;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: 0.3s;
    background: var(--bg);
    backdrop-filter: blur(12px);
    border-bottom: var(--border-light);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    /* Invert colors to make dark logo white for dark theme */
    filter: invert(1) brightness(2);
}

.highlight {
    color: var(--primary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: var(--text-main);
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    border-radius: 50%;
}

.theme-toggle:hover {
    background: rgba(125, 125, 125, 0.1);
    transform: rotate(15deg);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.line {
    width: 24px;
    height: 2px;
    background: var(--text-main);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 0%, #b0b0b0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1;
    margin: 1.5rem 0;
    letter-spacing: -2px;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    color: var(--accent-cyan);
    background: rgba(0, 255, 242, 0.05);
}

/* Orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 1;
    opacity: 0.4;
    animation: floating 10s infinite ease-in-out;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -20%;
    left: -10%;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-pink);
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
}

@keyframes floating {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(50px, -50px);
    }

    100% {
        transform: translate(0, 0);
    }
}

/* Scroll Indicator */
.rotating-badge {
    position: absolute;
    top: 0;
    right: 0;
    bottom: auto;
    z-index: 10;
    transform: translate(50%, -50%) scale(0.8);
}

.badge-content {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(82, 0, 255, 0.2);
}

.badge-text {
    width: 100%;
    height: 100%;
    animation: rotateText 15s linear infinite;
}

.badge-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(82, 0, 255, 0.6);
}

.badge-center svg {
    width: 20px;
    height: 20px;
}

@keyframes rotateText {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .rotating-badge {
        display: none;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.6;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--text-main);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 2px;
    height: 6px;
    background: var(--text-main);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

/* Trust Marquee */
.trust-marquee {
    border-top: var(--border-light);
    border-bottom: var(--border-light);
    padding: 2rem 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    text-align: center;
}

.marquee-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}

.marquee-wrapper {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-flex;
    animation: marquee 30s linear infinite;
    gap: 3rem;
}

.marquee-content span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #555;
    font-weight: 700;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Services - Bento Grid */
.section-dark {
    padding: 6rem 0;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-muted);
    margin-bottom: 4rem;
    font-size: 1.2rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 300px;
    gap: 1.5rem;
}

.bento-card {
    background: var(--bg-surface);
    border: var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.span-2 {
    grid-column: span 2;
}

.row-span-2 {
    grid-row: span 2;
}

.bento-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.bento-card p {
    color: var(--text-muted);
}

/* Specific Bento Styles */
.bento-web {
    background: linear-gradient(to bottom right, #1a1d24, #0f1115);
}

.tech-stack {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
}

.tech-stack span {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    border-radius: 4px;
}

.bento-mobile {
    background: radial-gradient(circle at center, #1a0a2e 0%, #0f1115 100%);
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.phone-mockup {
    width: 100%;
    height: 300px;
    background: #000;
    border-radius: 20px;
    margin-top: 2rem;
    border: 4px solid #333;
}

/* Process */
.section-padding {
    padding: 6rem 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.step {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.step p {
    color: var(--text-muted);
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 3rem;
    border-radius: var(--radius-md);
    border: var(--border-light);
}

.quote {
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.gradient-1 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.gradient-2 {
    background: linear-gradient(135deg, #5ee7df 0%, #b490ca 100%);
}

.author-info h4 {
    font-size: 1.1rem;
}

.author-info span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Contact CTA */
.cta-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(135deg, #fff 0%, #a5a5a5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-desc {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.simple-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.8rem;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: 0.3s;
    max-width: 500px;
    margin: 0 auto;
}

.simple-form:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 50px rgba(82, 0, 255, 0.15);
}

.simple-form input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-main);
    padding: 0.5rem 1.5rem;
    font-size: 1.1rem;
    font-family: var(--font-body);
}

.simple-form input:focus {
    outline: none;
}

.simple-form .btn-glow {
    padding: 1rem 2rem;
    white-space: nowrap;
}

/* Footer */
.main-footer {
    padding: 4rem 0 2rem;
    border-top: var(--border-light);
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    display: inline-block;
}

.footer-col a:hover {
    color: var(--text-main);
    transform: translateY(-2px);
}

.footer-col svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
}

.footer-bottom {
    text-align: center;
    color: #444;
    font-size: 0.9rem;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
    border: var(--border-light);
    border-radius: var(--radius-md);
    padding: 3rem;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 5px;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* FAQ Section */
.small-container {
    max-width: 800px;
    margin: 0 auto;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    border: var(--border-light);
    border-radius: var(--radius-md);
    background: var(--bg-surface);
    overflow: hidden;
    transition: 0.3s;
}

.accordion-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.accordion-header {
    width: 100%;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 2rem;
    color: var(--text-muted);
}

.accordion-item.active .accordion-content {
    padding-bottom: 1.5rem;
}

.accordion-header .icon {
    font-size: 1.5rem;
    transition: 0.3s;
}

.accordion-item.active .icon {
    transform: rotate(45deg);
    color: var(--primary);
}

/* Design Showcase */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.showcase-item {
    cursor: pointer;
    transition: 0.3s;
}

.showcase-item:hover {
    transform: translateY(-10px);
}

.showcase-thumb {
    width: 100%;
    height: 300px;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: var(--border-light);
}

.showcase-thumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

.showcase-item:hover .showcase-thumb::after {
    background: rgba(255, 255, 255, 0.05);
}

.showcase-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.showcase-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Utils */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s forwards ease-out;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive Design --- */

/* Tablet & Small Laptops (1024px and down) */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 5rem;
    }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Re-flow specific bento items for 2-column layout */
    .span-2 {
        grid-column: span 2;
    }

    .row-span-2 {
        grid-row: span 1;
    }

    /* Reset height for mobile flow */
    .bento-card {
        min-height: 250px;
    }

    .process-steps {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile Devices (768px and down) */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    /* Navigation */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        border-bottom: var(--border-light);
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 0;
        margin-bottom: 1.5rem;
    }

    .nav-links a {
        font-size: 1.25rem;
        font-weight: 600;
    }

    .btn-glow {
        display: none;
    }

    /* Hide CTA in header, maybe show in menu? */
    .mobile-menu-btn {
        display: flex;
    }

    /* Show Hamburger */

    /* Hero */
    .hero {
        padding-top: 100px;
        justify-content: center;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-desc {
        font-size: 1.1rem;
    }

    /* Layout Stacking */
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .span-2 {
        grid-column: auto;
    }

    /* Timeline Layout for Process */
    .process-steps {
        grid-template-columns: 1fr;
        gap: 0;
        position: relative;
        padding-left: 1.5rem;
        border-left: 2px solid rgba(255, 255, 255, 0.1);
    }

    .process-steps::before {
        content: '';
        position: absolute;
        top: 0;
        height: 100%;
        left: -1px;
        width: 2px;
        background: linear-gradient(to bottom, var(--primary), var(--accent-pink));
        z-index: 1;
        opacity: 0.7;
    }

    .step {
        padding-left: 2rem;
        padding-bottom: 3rem;
        position: relative;
        border-top: none;
        padding-top: 0;
    }

    .step:last-child {
        padding-bottom: 0;
    }

    .step-number {
        position: absolute;
        left: -2.35rem;
        /* Center on line */
        top: 0;
        width: 40px;
        height: 40px;
        background: var(--bg-surface);
        border: 2px solid var(--primary);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        z-index: 2;
        box-shadow: 0 0 15px rgba(82, 0, 255, 0.4);
        margin-bottom: 0;
    }

    .step h3 {
        margin-top: 5px;
        font-size: 1.4rem;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    /* Center align footer items on mobile */
    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .simple-form {
        flex-direction: column;
        background: transparent;
        border: none;
        width: 100%;
        box-shadow: none;
        backdrop-filter: none;
        padding: 0;
    }

    .simple-form input {
        width: 100%;
        background: rgba(255, 255, 255, 0.05);
        padding: 1rem;
        border-radius: 50px;
        margin-bottom: 1rem;
        text-align: center;
    }

    .simple-form button {
        width: 100%;
    }
}

/* Small Screens (480px and down) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.8rem;
        letter-spacing: -1px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    .cta-title {
        font-size: 2.5rem;
    }
}

/* --- Animations & Effects --- */

/* Lenis Smooth Scroll */
html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* Custom Cursor */
.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-cyan);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    z-index: 10000;
    pointer-events: none;
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    z-index: 9999;
    pointer-events: none;
    transition: width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s;
}

/* Cursor Hover State */
body.hovering .cursor-dot {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(2px);
}

body.hovering .cursor-outline {
    width: 60px;
    height: 60px;
    border-color: var(--primary);
}

@media (max-width: 1024px) {

    .cursor-dot,
    .cursor-outline {
        display: none;
    }
}

/* Staggered Text Reveal */
.reveal-text .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1), opacity 0.6s ease;
    /* Ensure gradient text spans behave */
}

/* Fix for gradient text specifically if it has .char class (added by JS fix) */
span.gradient-text.char {
    display: inline-block;
    /* Needs to be block/inline-block for transform */
    background: linear-gradient(135deg, #fff 0%, #b0b0b0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    /* JS will assume it's a char and animate it */
}

.reveal-text.visible .char,
.reveal-text.visible span.gradient-text.char {
    opacity: 1;
    transform: translateY(0);
}

.reveal-text.visible .char {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
}