/* Global Variables */
:root {
    --bg-color: #050505;
    --card-bg: #111111;
    --text-color: #ffffff;
    --text-muted: #888888;
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --gradient-main: linear-gradient(135deg, #ffffff 0%, #888888 100%);
    --gradient-accent: linear-gradient(90deg, #3b82f6, #8b5cf6);

    --font-main: 'Inter', sans-serif;
    --font-display: 'Outfit', sans-serif;

    --container-width: 1200px;

    /* Spacing Scale */
    --space-xs: 16px;
    --space-sm: 24px;
    --space-md: 32px;
    --space-lg: 48px;
    --space-xl: 60px;
    --space-2xl: 80px;

    /* Section spacing */
    --spacing-section: 80px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #050505;
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none; /* Hide default cursor for custom one */
}

/* Strong Mouse Spotlight */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(59, 130, 246, 0.15), /* Brighter Blue center */
        transparent 40%
    );
    z-index: -1;
    pointer-events: none;
    transition: opacity 0.3s;
}

/* Subtle Aurora Background (Base) */
.aurora-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2; /* Behind spotlight */
    background:
        radial-gradient(circle at 15% 50%, rgba(76, 29, 149, 0.15), transparent 40%),
        radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.15), transparent 40%);
    filter: blur(80px);
    animation: auroraMove 20s ease infinite alternate;
    opacity: 0.6;
}

@keyframes auroraMove {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: white;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* Hover state for cursor */
body.hovering .cursor-outline {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.1);
    border-color: transparent;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 4.5rem;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-description {
    max-width: 600px;
    margin: 16px auto 0;
    color: #aaa;
    font-size: 1.1rem;
    line-height: 1.6;
}


h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.italic-gradient {
    font-style: italic;
    font-family: serif; /* Fallback or specific serif font */
    background: var(--gradient-main); /* Or just white for now as per image */
    -webkit-background-clip: text;
    background-clip: text;
    /* -webkit-text-fill-color: transparent; */ /* Optional for gradient text */
    font-weight: 400;
}

.italic-serif {
    font-family: serif;
    font-style: italic;
    font-weight: 400;
}

.label {
    display: inline-block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    color: var(--text-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-primary {
    background: white;
    color: black;
    border: none;
}

.btn-primary:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

.btn.large {
    padding: 16px 32px;
    font-size: 1.2rem;
}

/* Navbar */
.navbar {
    padding: 24px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 28px;
    width: auto;
}

/* --- Layout & Spacing --- */
section {
    padding: 60px 0; /* Reduced from 100px for tighter flow */
    position: relative;
    z-index: 1;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: white;
}

/* Hide mobile CTA on desktop */
.nav-links .mobile-cta {
    display: none;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
}

/* Hero Section */
.hero {
    padding: 140px 0 var(--spacing-section);
    min-height: auto;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 40px;
}

.hero-image img {
    border-radius: 20px;
    /* box-shadow: 0 20px 50px rgba(0,0,0,0.5); */
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Mission Section */
.mission {
    padding: var(--spacing-section) 0;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mission-image img {
    border-radius: 20px;
}

/* Process Section */
.process {
    padding: var(--spacing-section) 0;
}

.section-header.center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.process-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s;
}

.process-card:hover {
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-5px);
}

.process-card .number {
    font-family: serif;
    font-style: italic;
    font-size: 2rem;
    display: block;
    margin-bottom: 20px;
    opacity: 0.5;
}

/* Services Section */
.services {
    padding: var(--spacing-section) 0;
}

.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
}

.service-row.reverse {
    direction: rtl; /* Quick hack for swapping columns, better to use grid-template-areas or order */
}

.service-row.reverse .service-text {
    direction: ltr;
}

.service-image img {
    border-radius: 20px;
}

.feature-list {
    margin-top: 24px;
}

.feature-list li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    color: var(--text-color);
}

.feature-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--text-muted);
}

/* Results Section */
.results {
    padding: var(--spacing-section) 0;
}

.case-study-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.case-study-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--card-bg);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
}

.case-image {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.arrow-icon {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.case-content {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.results-list {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.results-list ul {
    margin-top: 10px;
}

.results-list li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

/* Testimonials Section */
.testimonials {
    padding: var(--spacing-section) 0;
    overflow: hidden; /* Hide overflow for carousel */
}

.testimonial-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    /* Add fade mask on sides */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.testimonial-track {
    display: flex;
    gap: 32px;
    width: max-content;
    animation: scrollTestimonials 40s linear infinite;
}

/* Pause on hover */
.testimonial-track:hover {
    animation-play-state: paused;
}

@keyframes scrollTestimonials {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Move half the width (since we duplicated) */
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    width: 450px; /* Fixed width for carousel */
    flex-shrink: 0; /* Prevent shrinking */
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.company-name {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    font-weight: 600;
}

.stars {
    color: #FFD700;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.testimonial-card p {
    font-size: 1.1rem;
    color: #eee;
    line-height: 1.6;
    margin-bottom: 24px;
    font-style: italic;
    flex-grow: 1; /* Push name to bottom if needed */
}

.client-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    color: #fff;
    font-weight: 600;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 16px;
    display: inline-block;
}

/* FAQ Section */
.faq {
    padding: var(--spacing-section) 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 32px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.faq-item h3 {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 16px;
    font-weight: 600;
}

.faq-item p {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.7;
}

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

/* Examples Section - Collage Style */
.examples {
    padding: var(--spacing-section) 0;
    overflow: visible;
}

.examples-collage {
    position: relative;
    height: 580px;
    margin-top: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.example-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 28px 24px;
    width: 320px;
    position: absolute;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}

.example-card:hover {
    transform: rotate(0deg) scale(1.08) translateY(-10px) !important;
    z-index: 100 !important;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(59, 130, 246, 0.15);
}

.example-card h3 {
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 14px;
    font-weight: 600;
    line-height: 1.3;
}

.example-problem {
    font-style: italic;
    font-family: 'Playfair Display', serif;
    color: #bbb;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.example-solution {
    color: var(--accent-blue);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0;
    opacity: 0.9;
    line-height: 1.5;
}

/* Collage Positioning - Compact scattered layout */
.collage-1 {
    top: 0;
    left: 12%;
    transform: rotate(-6deg);
    z-index: 2;
}

.collage-2 {
    top: 0;
    right: 12%;
    transform: rotate(5deg);
    z-index: 1;
}

.collage-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-2deg);
    z-index: 5;
}

.collage-3:hover {
    transform: translate(-50%, -50%) rotate(0deg) scale(1.08) !important;
}

.collage-4 {
    bottom: 0;
    left: 12%;
    transform: rotate(4deg);
    z-index: 3;
}

.collage-5 {
    bottom: 0;
    right: 12%;
    transform: rotate(-4deg);
    z-index: 4;
}

/* Mobile: Stack vertically */
@media (max-width: 1024px) {
    .examples-collage {
        height: auto;
        flex-direction: column;
        gap: 20px;
        padding: 20px 0;
    }

    .example-card {
        position: relative;
        width: 100%;
        max-width: 400px;
        transform: none !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
    }

    .example-card:hover {
        transform: scale(1.02) !important;
    }
}

/* Footer */
footer {
    padding: var(--spacing-section) 0 var(--space-lg);
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-cta {
    margin-bottom: 80px;
}

.footer-column {
    text-align: center;
}

.footer-link {
    display: inline-block;
    margin: 0 10px 8px;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

.phone-link {
    cursor: pointer;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
    h1 { font-size: 3.5rem; }
    .hero-content, .mission-grid, .service-row, .case-study-card {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .service-row.reverse { direction: ltr; }
    .process-grid, .testimonial-grid {
        grid-template-columns: 1fr;
    }
    .nav-links { display: none; }
    .mobile-menu-btn { display: block !important; }

    /* Mobile navbar layout */
    .navbar .container {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 12px 16px;
    }

    /* Logo stays centered by default via flexbox */

    .navbar .mobile-menu-btn {
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
    }

    .logo-img {
        height: 20px;
    }

    /* Hide CTA button on mobile */
    .navbar .btn-primary {
        display: none !important;
    }

    /* Mobile menu dropdown */
    .nav-links.mobile-open {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(20px);
        padding: 20px;
        gap: 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        z-index: 999;
    }

    .nav-links.mobile-open a {
        padding: 16px 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        text-align: center;
    }

    .nav-links.mobile-open a:last-child {
        border-bottom: none;
    }

    /* Mobile CTA button styling */
    .nav-links.mobile-open .mobile-cta {
        background: white;
        color: black !important;
        padding: 16px 24px;
        border-radius: 8px;
        margin-top: 16px;
        font-weight: 600;
        border-bottom: none;
    }

    /* Hide mobile-cta on desktop */
    .mobile-cta {
        display: none;
    }

    .nav-links.mobile-open .mobile-cta {
        display: block;
    }

    /* Mobile Footer Styles */
    footer {
        padding: 60px 0 40px;
    }

    .footer-cta {
        margin-bottom: 50px;
    }

    .footer-cta h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .footer-cta p {
        font-size: 1rem;
        padding: 0 10px;
    }

    .footer-column {
        text-align: center;
    }

    .footer-column h4 {
        margin-bottom: 16px;
    }

    .footer-link {
        display: block;
        margin-bottom: 8px;
        font-size: 0.9rem;
    }

    .social-links {
        flex-direction: column;
        gap: 12px;
        align-items: center;
        margin-top: 20px;
    }

    .social-btn {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
}

/* Founder Section */
.founder {
    padding: var(--spacing-section) 0;
    background: linear-gradient(to bottom, var(--bg-color), #0a0a0a);
}

.founder-content {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.founder-image {
    position: relative;
}

.founder-image img {
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    filter: grayscale(20%); /* Slight desaturation for mood */
    transition: 0.3s;
}

.founder-image img:hover {
    filter: grayscale(0%);
}

.founder-text h2 {
    margin-bottom: 30px;
}

.founder-bio p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #ccc;
}

.founder-bio .highlight {
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    margin-top: 30px;
    border-left: 3px solid var(--accent-blue);
    padding-left: 20px;
}

@media (max-width: 1024px) {
    .founder-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .founder-image {
        max-width: 400px;
        margin: 0 auto;
    }
}



/* Tools Carousel Section */
.tools {
    padding: var(--spacing-section) 0;
    overflow: hidden; /* Hide scrollbar */
}

.tools-carousel {
    margin-top: 60px;
    width: 100%;
    display: flex;
    mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}

.tools-track {
    display: flex;
    gap: 80px;
    animation: scroll 40s linear infinite;
    width: max-content;
}

.tool-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-item svg {
    height: 40px;
    width: auto;
    opacity: 0.5;
    transition: 0.3s;
}

.tool-item svg:hover {
    opacity: 1;
    transform: scale(1.1);
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Move half the width (since we doubled the items) */
    }
}

/* --- Visual Polish --- */

/* Background Noise Texture */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: -1;
    opacity: 0.4;
}

/* Gradient Orbs */
.hero::before {
    content: "";
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(120, 119, 198, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}

.services::before {
    content: "";
    position: absolute;
    top: 20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}

/* --- Grid + Glow Overhaul --- */

/* Services Grid (Cards) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px; /* Rounded edges */
    padding: 40px;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.service-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.15);
    margin-bottom: 20px;
    line-height: 1;
}

.service-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: #fff;
}

.service-card p {
    color: #aaa;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-list li {
    color: #888;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.service-list li::before {
    color: var(--accent-purple);
}

/* DUPLICATE - Removed to fix conflicts. See line 957 for active styles */
/* .bento-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.bento-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
} */

/* Glow Effect for Bento Cards */
.bento-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: 1;
}

.bento-card:hover::after {
    opacity: 1;
}

/* Refined Typography & Content inside Bento */
.bento-content h3 {
    font-size: 1.75rem; /* Increased from 1.5rem */
    margin-bottom: 16px;
    color: #fff; /* Pure white instead of gradient for clarity */
    font-weight: 600;
}

.bento-content p {
    font-size: 1rem; /* Increased from 0.95rem */
    color: #aaa;
    line-height: 1.7;
    margin-bottom: 24px;
}

/* Smaller, Integrated Images */
.bento-visual {
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
}

.bento-visual img {
    width: 120px;
    height: auto;
    /* KEY FIX: This makes the black background transparent */
    mix-blend-mode: screen;
    opacity: 0.9;
    transition: transform 0.5s ease;
}

.bento-card:hover .bento-visual img {
    transform: scale(1.1) rotate(5deg);
}

/* Hero Image Refinement */
.hero-visual img {
    max-width: 500px;
    /* KEY FIX: This makes the black background transparent */
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 40px rgba(120, 119, 198, 0.4));
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center; /* Center vertically */
    padding-top: 200px; /* Increased from 80px to push content lower */
    padding-bottom: 100px;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center horizontally */
    text-align: center;
    width: 100%;
}

.hero-text {
    max-width: 900px;
    margin: 0 auto;
}

.hero-text h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero-text p {
    font-size: 1.25rem;
    color: #aaa;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Metrics Cards */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    border-top: none; /* Remove old border */
    padding-top: 0;
    width: 100%;
}

.metric-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.metric-item:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.metric-value {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff 0%, #aaa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.metric-label {
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 3rem;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
/* Bento Metrics */
.bento-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
}

.bento-metrics {
    display: flex;
    gap: 20px;
}

.metric {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(to right, #fff, #aaa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.metric-label {
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Adjust visual container to fit side-by-side with metrics */
.bento-visual {
    margin-top: 0; /* Reset margin since it's now in flex container */
}

/* Text Rotation Animation */
#dynamic-word {
    display: inline-block;
    position: relative;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.word-exit {
    transform: translateY(-20px);
    opacity: 0;
}

.word-enter {
    transform: translateY(20px);
    opacity: 0;
}

.word-active {
    transform: translateY(0);
    opacity: 1;
}

/* --- Premium Interactive Polish (Refined) --- */

:root {
    --accent-color: #7B61FF; /* Neon Purple */
    --accent-glow: rgba(123, 97, 255, 0.4);
}

/* Refined Typography (Balanced, not Massive) */
h1 {
    /* Reverted to original scale for elegance */
    letter-spacing: -1px;
    line-height: 1.2;
}

/* Subtle Accents */
.highlight, .label {
    color: var(--accent-color);
    text-shadow: 0 0 20px var(--accent-glow);
}

/* Premium Button (Glass + Glow Border) */
.cta-button {
    background: rgba(123, 97, 255, 0.1) !important; /* Transparent with tint */
    border: 1px solid var(--accent-color) !important;
    box-shadow: 0 0 15px var(--accent-glow) !important;
    color: #fff !important;
    backdrop-filter: blur(10px);
}

.cta-button:hover {
    background: var(--accent-color) !important; /* Solid on hover only */
    box-shadow: 0 0 30px var(--accent-glow) !important;
    transform: translateY(-2px);
}

/* Mouse Spotlight (Subtler) */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(123, 97, 255, 0.04), transparent 40%);
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: screen;
}

/* Scroll Reveal Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Delays */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* --- Framer-Style Polish --- */

/* Ambient Orbs */
.ambient-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: floatOrb 20s infinite ease-in-out;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #7B61FF, transparent 70%);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #3B82F6, transparent 70%);
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #8b5cf6, transparent 70%);
    top: 40%;
    left: 40%;
    opacity: 0.2;
    animation-delay: -10s;
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Refined Glassmorphism for Bento Cards */
.bento-card {
    background: rgba(255, 255, 255, 0.03) !important; /* Slightly lighter */
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important; /* Stronger border */
    border-radius: 24px;
    padding: 50px !important; /* More breathing room */
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.02),
                0 10px 40px rgba(0, 0, 0, 0.3) !important; /* Drop shadow */
}

.bento-card:hover {
    border-color: rgba(139, 92, 246, 0.4) !important; /* Purple accent on hover */
    transform: translateY(-8px); /* Stronger lift */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                inset 0 0 30px rgba(255, 255, 255, 0.05) !important;
}

/* --- Sexy Interactions --- */

/* 3D Tilt Glare */
.glare {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    mix-blend-mode: overlay;
    transition: opacity 0.3s;
    transform: translate(-50%, -50%);
    z-index: 2;
}

/* Magnetic Button Transition */
.cta-button, .secondary-link, .nav-links a {
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), background 0.3s, box-shadow 0.3s;
}
