@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100;300;400;500;600;700;900&display=swap");

:root {
    --bg-black: #1a1a1a; /* Rich dark charcoal background */
    --zinc-950: #1f1f1f;
    --zinc-900: #252525;
    --zinc-800: #2a2a2a;
    --zinc-700: #333333;
    --primary: #d4a574; /* Elegant gold gradient */
    --primary-glow: rgba(212, 165, 116, 0.2);
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.65);
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(212, 165, 116, 0.2); /* Gold tinted border */
    --font-outfit: "Outfit", sans-serif;
}

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

body {
    background-color: var(--bg-black);
    color: var(--text-main);
    font-family: var(--font-outfit);
    overflow-x: hidden;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Base Styles */
img {
    max-width: 100%;
    display: block;
}

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

/* Layout Utilities */
.container-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Background Effects */
.bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: radial-gradient(circle at 50% 50%, #1a1a1a 0%, #000 100%);
}

.glow-overlay {
    position: fixed;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        var(--primary-glow) 0%,
        transparent 60%
    );
    z-index: -1;
    pointer-events: none;
    transition: background 0.2s ease;
}

/* Analog Grain Texture */
body::after {
    content: "";
    position: fixed;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: url("https://grainy-gradients.vercel.app/noise.svg");
    opacity: 0.04;
    z-index: 1000;
    pointer-events: none;
    animation: grainMove 8s steps(10) infinite;
}

@keyframes grainMove {
    0%,
    100% {
        transform: translate(0, 0);
    }
    10% {
        transform: translate(-5%, -10%);
    }
    20% {
        transform: translate(-15%, 5%);
    }
    30% {
        transform: translate(7%, -25%);
    }
    40% {
        transform: translate(-5%, 25%);
    }
    50% {
        transform: translate(-15%, 10%);
    }
    60% {
        transform: translate(15%, 0%);
    }
    70% {
        transform: translate(0%, 15%);
    }
    80% {
        transform: translate(3%, 35%);
    }
    90% {
        transform: translate(-10%, 10%);
    }
}

/* Atmospheric Orbs */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.2;
    animation: orbFloat 20s infinite alternate ease-in-out;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}
.orb-2 {
    width: 300px;
    height: 300px;
    background: #8b5cf6;
    bottom: 10%;
    right: -5%;
    animation-delay: -5s;
}

@keyframes orbFloat {
    from {
        transform: translate(0, 0) scale(1);
    }
    to {
        transform: translate(100px, 50px) scale(1.2);
    }
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

header.scrolled {
    background: rgba(9, 9, 11, 0.7);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.8rem 0;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 85px;
    transition: transform 0.3s ease;
}

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

.nav-links {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    align-items: center;
}

.nav-links li a {
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links li a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.login-link {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.login-link:hover {
    color: var(--text-main);
}

.btn-premium {
    padding: 0.8rem 2.2rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    background: #ffffff;
    color: #000000;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 20px -10px rgba(255, 255, 255, 0.2);
    display: inline-block;
}

.btn-premium::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.8),
        transparent
    );
    transform: skewX(-25deg);
    animation: btnShimmer 4s infinite ease-in-out;
}

@keyframes btnShimmer {
    0% {
        left: -100%;
    }
    20% {
        left: 200%;
    }
    100% {
        left: 200%;
    }
}

.btn-premium:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 30px -10px rgba(99, 102, 241, 0.5);
    background: #fff;
    color: #000;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 1px;
    background: var(--text-main);
    transition: all 0.3s ease;
}

/* Mobile Sidebar Overlay */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    padding: 2.5rem 5%;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-sidebar.active {
    transform: translateX(-100%);
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.sidebar-close {
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 2.5rem;
    cursor: pointer;
}

.sidebar-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-links li a {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.sidebar-links li a:hover {
    color: var(--text-main);
}

.sidebar-auth {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-bottom: 1rem; /* Ensure button isn't cut off */
}

.sidebar-auth a {
    font-size: 1.2rem !important; /* Reduced from 1.5rem for better fit */
}

.sidebar-auth .btn-premium {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary);
    color: var(--text-main);
    border-radius: 100px;
    text-align: center;
    width: 100%;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid var(--primary);
}

.sidebar-auth .btn-premium:hover {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.sidebar-footer {
    margin-top: auto;
    color: var(--text-muted);
    font-size: 0.8rem;
    opacity: 0.5;
    padding-bottom: 1rem; /* Add padding at bottom */
}

/* Hero Section - Antimatter Style */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    padding: 0 5%;
}

.hero-particle-sphere {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180vmax; /* Substantial size to cover corners during rotation */
    height: 180vmax;
    max-width: none !important; /* Prevent parent constraints from clipping rotation */
    object-fit: cover;
    z-index: -1;
    opacity: 0.5;
    filter: brightness(0.6) contrast(1.1);
    pointer-events: none;
    animation: fullRotateGlobe 180s linear infinite;
    will-change: transform;
}

@keyframes fullRotateGlobe {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.hero-bg-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    white-space: nowrap;
    z-index: -2;
    pointer-events: none;
    letter-spacing: -0.05em;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 2rem;
    max-width: 1000px;
    position: relative;
    z-index: 10;
}

.hero h1 span.bold {
    font-weight: 700;
    color: var(--text-main);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    letter-spacing: -0.02em;
}

.scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    animation: scrollLineMove 2s infinite ease-in-out;
    transform-origin: top;
}

@keyframes scrollLineMove {
    0% {
        transform: scaleY(0);
        opacity: 0;
    }
    50% {
        transform: scaleY(1);
        opacity: 1;
    }
    100% {
        transform: scaleY(0);
        opacity: 0;
        transform: translateY(60px);
    }
}

.scroll-hint span {
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    font-weight: 500;
}

/* Bottom Hero Bar */
.hero-bottom-bar {
    position: absolute;
    bottom: 5rem;
    left: 5%;
    right: 5%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    text-align: left;
}

.hero-desc-group {
    max-width: 400px;
}

.hero-desc-group p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 4rem;
    margin-top: 0;
}

.stat-box {
    text-align: left;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1;
    color: var(--primary); /* Gold color to match brand */
}

.stat-number span {
    color: inherit;
}

.hero h1 span.bold:hover {
    text-shadow:
        2px 0 0 rgba(255, 0, 0, 0.5),
        -2px 0 0 rgba(0, 255, 255, 0.5);
    transition: text-shadow 0.2s ease;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
}

/* Service Cards */
.services-section {
    padding: 2rem 0;
}

.section-intro {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    gap: 4rem;
}

.section-intro h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    line-height: 1.1;
}

.section-intro p {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 400px;
    line-height: 1.5;
}

.split-intro {
    align-items: flex-start;
}

.service-marquee {
    display: flex;
    overflow: hidden;
    gap: 2rem;
    padding: 2rem 0;
    position: relative;
    mask-image: linear-gradient(
        to right,
        transparent,
        black 10%,
        black 90%,
        transparent
    );
    overflow-x: auto;
    overflow-y: hidden;
    /* white-space: nowrap; */
    scroll-behavior: smooth;
    cursor: grab;
}
.service-marquee:active {
    cursor: grabbing;
}

/* Hide scrollbar (optional) */
.service-marquee::-webkit-scrollbar {
    display: none;
}

.marquee-content {
    display: flex;
    gap: 2rem;
    animation: scroll 50s linear infinite;
    flex-shrink: 0;
    padding-left: 85px;
}

.marquee-content:hover {
    animation-play-state: paused;
}
.service-marquee-wrapper {
    position: relative;
}

.marquee-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;

    width: 44px;
    height: 44px;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);

    color: #fff;
    font-size: 28px;
    font-weight: 300;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    transition: all 0.25s ease;
}

.marquee-arrow:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-50%) scale(1.05);
}

.marquee-arrow.left {
    left: 10px;
}

.marquee-arrow.right {
    right: 10px;
}

/* Hide arrows on mobile if swipe is enough */
@media (max-width: 768px) {
    .marquee-arrow {
        display: none;
    }
}

/* @keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 1rem));
    }
} */

/* Service Card Enhancements */
.service-card {
    position: relative;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 24px;
    width: 320px;
    height: 460px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(99, 102, 241, 0.1) 0%,
        transparent 50%
    );
    opacity: 0;
    transition: opacity 0.5s;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(99, 102, 241, 0.5);
    background: rgba(255, 255, 255, 0.04);
    box-shadow:
        0 30px 60px -20px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(99, 102, 241, 0.2);
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(99, 102, 241, 0.5),
        transparent
    );
    transition: all 0.5s;
}

.service-card:hover::before {
    left: 100%;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.card-index {
    font-size: 3rem;
    font-weight: 600;
    opacity: 0.3;
}

.card-title {
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.card-desc {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

/* Animations */
[data-anime] {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-anime].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Cursor */
.cursor-follower {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(
        circle,
        var(--primary-glow) 0%,
        transparent 70%
    );
    pointer-events: none;
    z-index: -1;
    transform: translate(-50%, -50%);
    transition: none;
}

/* How It Works (Compact) */
.case-study-section {
    padding: 6rem 0;
}

.case-study-container {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 3rem;
    align-items: flex-start;
}

.case-study-controls {
    display: flex;
    flex-direction: column;
}

.case-row {
    display: flex;
    align-items: center;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--zinc-900);
    cursor: pointer;
    transition: all 0.4s ease;
    gap: 2rem;
    position: relative;
}

.case-row::after {
    content: "";
    position: absolute;
    right: 1rem;
    width: 10px;
    height: 10px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg) translateX(-10px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-row:hover::after,
.case-row.active::after {
    opacity: 1;
    transform: rotate(45deg) translateX(0);
    color: var(--text-main);
}

.case-row:first-child {
    border-top: 1px solid var(--zinc-900);
}

.row-index {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 300;
}

.row-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-grow: 1;
}

.case-row h3 {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-muted);
    transition: color 0.3s ease;
    white-space: nowrap;
}

.case-row.active h3 {
    color: var(--text-main);
    text-shadow: 0 0 15px rgba(99, 102, 241, 0.5);
}

.row-tags {
    display: flex;
    gap: 0.5rem;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.case-row.active .row-tags {
    opacity: 1;
}

.row-tags span {
    padding: 0.25rem 0.75rem;
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.7rem;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
}

.case-row.active {
    background: rgba(255, 255, 255, 0.02);
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.case-study-display {
    position: sticky;
    top: 15vh;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: #000;
    border: 1px solid var(--zinc-900);
}

.display-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.case-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.1) translateY(20px);
    filter: blur(10px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-image.active {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
}

@media (max-width: 1024px) {
    .case-study-container {
        grid-template-columns: 1fr;
    }

    .case-study-display {
        position: relative;
        top: 0;
        order: -1;
        margin-bottom: 2rem;
    }

    .row-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .case-row {
        gap: 1rem;
    }
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.testimonial-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 32px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow:
        0 30px 60px -20px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(99, 102, 241, 0.1);
}

.testimonial-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--primary),
        transparent
    );
    transform: scaleX(0);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card:hover::after {
    transform: scaleX(1);
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: var(--text-main);
}

.author-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-meta img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    transition: transform 0.4s ease;
}

.testimonial-card:hover .author-meta img {
    transform: scale(1.1) rotate(5deg);
}

/* Nebula Glow Section */
.nebula-section {
    padding: 2rem 0;
    text-align: center;
    overflow: hidden;
}

.nebula-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(
        circle,
        rgba(99, 102, 241, 0.2) 0%,
        transparent 70%
    );
    z-index: 1;
    animation: nebulaPulse 8s infinite alternate ease-in-out;
}

@keyframes nebulaPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.8;
    }
}

.nebula-content {
    position: relative;
    z-index: 2;
}

.nebula-content h2 {
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer & Clock */
.footer-modern {
    padding: 6rem 0 4rem;
    background: #000;
    border-top: 1px solid var(--glass-border);
    position: relative;
}

.footer-frame {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, rgba(99, 102, 241, 0.1), transparent);
    pointer-events: none;
}

.footer-grid-modern {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-clock-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-sub {
    margin-top: 1rem;
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-contact-list li {
    margin-bottom: 0 !important;
}

.contact-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    font-weight: 500;
}

.footer-contact-list p,
.footer-contact-list a {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-main) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-list a:hover {
    color: var(--primary) !important;
}

.location-tag {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 250px;
}

.footer-nav-col h4 {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.footer-nav-col h5 {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.footer-nav-col ul {
    list-style: none;
}

.footer-nav-col ul li {
    margin-bottom: 1rem;
}

.footer-nav-col ul li a {
    font-size: 1rem;
    color: var(--text-muted);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-nav-col ul li a:hover {
    color: var(--text-main);
    padding-left: 5px;
}

.footer-bottom-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--glass-border);
    padding-top: 3rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Responsive Final Polish - Moved to end to ensure correct overrides */
@media (max-width: 1024px) {
    .nav-links,
    .header-cta {
        display: none;
    }

    .hamburger {
        display: flex !important;
    }

    .hero-bg-title {
        font-size: 25vw;
        display: none; /* Hide to prevent overlap with main headline */
    }

    .hero h1 {
        font-size: 4rem;
    }

    .hero-particle-sphere {
        width: 250vmax; /* Substantially increased for mobile to prevent edge clipping on long sections */
        height: 250vmax;
        opacity: 0.35;
        will-change: transform; /* Hint for smoother mobile animation */
    }

    .hero-bottom-bar {
        flex-direction: column;
        align-items: flex-start;
        bottom: 3rem;
        gap: 3rem;
    }

    .hero-desc-group {
        max-width: 100%;
    }

    .hero-stats {
        width: 100%;
        justify-content: space-between;
    }

    .testimonials-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 2rem !important;
    }

    .footer-grid-modern {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }

    .digital-clock {
        font-size: 3.5rem !important;
    }
}

@media (max-width: 768px) {
    .container-main {
        padding: 0 1.5rem !important;
    }

    .hero {
        height: 60vh !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
        /* padding: 80px 1.5rem 0 !important;  */
        overflow: hidden;
    }

    .hero-bg-title {
        display: none; /* Hide background text on mobile to prevent overlap */
    }

    .hero h1 {
        font-size: 1.8rem !important;
        line-height: 1.2;
        margin-top: 0; /* Removed negative margin to prevent text from going too high */
    }

    .hero-particle-sphere {
        width: 180vmax !important; /* Slightly larger to guarantee coverage during rotation */
        height: 180vmax !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%);
        opacity: 0.4;
    }

    .hero-bottom-bar {
        position: absolute !important; /* Return to absolute like desktop */
        bottom: 3rem !important;
        left: 1.5rem !important;
        right: 1.5rem !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 2.5rem !important;
        padding-top: 0 !important;
    }
    .marquee-content {
        padding-left: 35px;
    }
    .hero-desc-group {
        max-width: 100%;
    }

    .hero-desc-group p {
        margin-bottom: 2rem !important;
        font-size: 0.95rem;
        display: none;
    }

    .hero-stats {
        width: 100%;
        display: flex !important;
        justify-content: space-between !important;
        gap: 1rem !important;
    }

    .stat-box {
        width: auto !important;
    }

    .stat-number {
        font-size: 1.8rem !important;
    }

    .stat-label {
        font-size: 0.65rem !important;
    }

    .hero-stats {
        /* flex-wrap: wrap !importan:1304 */
        gap: 2rem !important;
    }

    .stat-box {
        width: calc(50% - 1rem) !important;
    }

    .scroll-hint {
        left: 50% !important;
        transform: translateX(-50%) !important;
        bottom: 1.5rem !important;
    }

    .section-intro {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 2rem !important;
    }

    .section-intro h2 {
        font-size: 3rem !important;
    }

    .case-study-container {
        grid-template-columns: 1fr !important;
    }

    .case-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem 0;
    }

    .row-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .digital-clock {
        font-size: 2.2rem !important;
    }

    .footer-bottom-modern {
        flex-direction: column !important;
        gap: 1.5rem !important;
        text-align: center !important;
    }

    .nebula-section {
        padding: 4rem 0 !important;
    }

    .service-card {
        width: 280px !important;
        height: 420px !important;
        padding: 1.5rem !important;
    }
}

/* Plans Section - Horizontal Premium Strips */
.plans-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 4rem;
}

.plan-card-modern {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: grid;
    grid-template-columns: 350px 1fr auto;
    align-items: center;
    padding: 1.5rem;
    gap: 3rem;
    position: relative;
}

.plan-card-modern:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary);
    box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.7);
}

.plan-image-wrapper {
    position: relative;
    height: 220px;
    width: 350px;
    border-radius: 24px;
    overflow: hidden;
}

.plan-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.plan-card-modern:hover .plan-image-wrapper img {
    transform: scale(1.1);
}

.plan-card-modern[data-anime] {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.plan-card-modern[data-anime].revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.plan-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: #fff;
    color: #000;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.plan-badge.premium {
    background: var(--primary);
    color: #fff;
}

.plan-info {
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.btn-wrapper-right {
    padding-right: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    min-width: 200px;
}

.btn-premium.small-btn {
    padding: 0.8rem 2rem;
    font-size: 0.85rem;
    border-radius: 100px;
    width: fit-content;
    text-align: center;
}

.small-btn-compact {
    padding: 0.6rem 1.5rem !important;
    font-size: 0.75rem !important;
}

.plan-info h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

.plan-price-group {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.plan-price-group .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.plan-price-group .period {
    color: var(--text-muted);
}

/* Winners Section */
.winners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.winner-card-modern {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.winner-card-modern:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.04);
}

.winner-card-modern[data-anime] {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.winner-card-modern[data-anime].revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.winner-header-img {
    height: 120px;
    background-size: cover;
    background-position: center;
    position: relative;
    opacity: 0.6;
}

.month-label {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 500;
}

.winner-content {
    padding: 0 2rem 2rem;
    margin-top: -40px;
    position: relative;
}

.winner-avatar {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    border: 4px solid var(--bg-black);
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.winner-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.winner-details h4 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.winner-loc {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.prize-type {
    display: inline-block;
    color: var(--primary);
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.won-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed var(--glass-border);
    padding: 1rem;
    border-radius: 16px;
    text-align: center;
}

.won-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.won-name {
    font-weight: 700;
    color: var(--primary);
}

@media (max-width: 1024px) {
    .plan-card-modern {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 1.5rem;
        border-radius: 32px;
    }

    .plan-image-wrapper {
        width: 100%;
        height: 200px;
    }

    .btn-wrapper-right {
        padding-right: 0;
        width: 100%;
    }

    .btn-premium.small-btn {
        width: 100%;
        text-align: center;
    }

    .winners-grid {
        grid-template-columns: 1fr;
    }
}
/* Premium Modal System */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    background: var(--zinc-950);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    padding: 3rem;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.modal-container::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.modal-container {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.winners-count-badge {
    background: rgba(212, 165, 116, 0.1);
    color: var(--primary);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 1rem;
    display: inline-block;
    border: 1px solid rgba(212, 165, 116, 0.2);
}

.modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.modal-close:hover {
    opacity: 1;
}

.modal-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.modal-header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: var(--text-muted);
}

/* Premium Results Table */
.results-table-wrapper {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.results-table th {
    padding: 1.5rem 2rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--glass-border);
}

.results-table td {
    padding: 1.5rem 2rem;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.results-table tr:last-child td {
    border-bottom: none;
}

.results-table tr:hover td {
    background: rgba(212, 165, 116, 0.05);
}

.winner-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.winner-pill img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.prize-pill {
    padding: 0.4rem 1rem;
    background: rgba(212, 165, 116, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(212, 165, 116, 0.2);
}

/* Giveaways Secondary Button */
.btn-giveaway {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    padding: 0.8rem 2rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
}

.btn-giveaway:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(212, 165, 116, 0.05);
}

/* Month Selection Header Redesign */
.month-filter-container {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.4rem;
    border-radius: 100px;
    border: 1px solid var(--glass-border);
    margin: 2rem auto;
    width: fit-content;
}

.month-tab {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 0.7rem 2.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.month-tab.active {
    background: var(--primary);
    color: #000;
    box-shadow: 0 10px 20px -5px rgba(212, 165, 116, 0.3);
}

.stats-summary-card {
    background: linear-gradient(
        135deg,
        rgba(212, 165, 116, 0.1) 0%,
        rgba(255, 255, 255, 0.02) 100%
    );
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.2rem 2rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    gap: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

.stats-summary-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at center,
        var(--primary-glow) 0%,
        transparent 70%
    );
    opacity: 0.2;
    pointer-events: none;
}

.summary-stat {
    position: relative;
    z-index: 1;
}

.summary-val {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.2rem;
}

.summary-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    font-weight: 500;
}

.summary-divider {
    width: 1px;
    background: var(--glass-border);
    height: 30px;
}
/* Process Flow Section */
.process-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 900px;
    margin: 4rem auto 0;
}

.process-step-premium {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.process-step-premium:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: scale(1.02);
}

.step-number-glow {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.2;
    line-height: 1;
    min-width: 60px;
}

.step-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(212, 165, 116, 0.1);
    border: 1px solid rgba(212, 165, 116, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
}

.step-content-premium {
    flex: 1;
}

.step-content-premium h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.step-content-premium p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .process-step-premium {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .step-number-glow {
        position: absolute;
        top: 1rem;
        right: 1.5rem;
        font-size: 2rem;
    }
}
.faq-section {
    padding: 5rem 0;
}

.faq-list {
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.05rem;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    color: var(--text-muted);
    line-height: 1.7;
    transition: max-height 0.4s ease;
    padding-right: 1rem;
}

/* Active state */
.faq-item.active .faq-answer {
    max-height: 300px;
    margin-top: 1rem;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}
.policy-section {
    padding: 6rem 0;
}

.policy-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.8rem 2rem;
    margin-bottom: 1.5rem;
}

.policy-card h4 {
    margin-bottom: 0.6rem;
    font-size: 1.1rem;
}

.policy-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

.policy-card.highlight {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.08),
        rgba(255, 255, 255, 0.02)
    );
    border-color: rgba(255, 255, 255, 0.2);
}
