@font-face {
    font-family: 'Azonix';
    src: url('../font/Azonix.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --bg-color: #000000;
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.6);
    --neon-green: #00FF41;
    /* From the logo / tech feel */
    --glass-bg: rgba(10, 10, 10, 0.4);
    --glass-border: rgba(255, 255, 255, 0.05);
    --font-primary: 'Azonix', sans-serif;
    --font-secondary: 'Outfit', sans-serif;
    --transition-smooth: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html, body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-secondary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    cursor: none;
    /* Custom cursor */
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--neon-green);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.cursor-glow {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 255, 65, 0.3);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.1);
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.cursor-hover .cursor-dot {
    transform: translate(-50%, -50%) scale(0);
}

.cursor-hover .cursor-glow {
    width: 80px;
    height: 80px;
    background-color: rgba(0, 255, 65, 0.1);
    border-color: var(--neon-green);
    backdrop-filter: blur(2px);
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-color);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.loading-logo img {
    width: 220px;
    margin-bottom: 40px;
    opacity: 0.7;
}

.loading-bar-container {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.loading-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--neon-green);
    box-shadow: 0 0 10px var(--neon-green);
}

/* Canvas Background */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
}

.bg-gradient-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 65, 0.03) 0%, rgba(0, 0, 0, 1) 70%);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 5%;
    z-index: 100;
    transition: var(--transition-smooth);
}

.header.scrolled {
    padding: 15px 5%;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
}

.header-logo {
    height: 42px;
    display: block;
}

.main-nav {
    display: none;
}

@media (min-width: 1024px) {
    .main-nav {
        display: block;
    }
}

.nav-list {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    position: relative;
    overflow: hidden;
    padding: 5px 0;
    transition: color 0.3s;
}

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

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--neon-green);
    transition: width 0.3s ease;
}

.nav-link:hover::before {
    width: 100%;
}

.btn-energy {
    position: relative;
    padding: 12px 24px;
    font-family: var(--font-primary);
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--text-main);
    background: transparent;
    overflow: visible;
    border-radius: 100px;
    display: none;
    transition: transform 0.3s ease;
}

.btn-energy:hover {
    transform: translateY(-2px);
}

@media (min-width: 1024px) {
    .btn-energy {
        display: inline-block;
    }
}

.btn-energy span {
    position: relative;
    z-index: 2;
}

/* Removed old btn-border styles */

.mobile-toggle {
    display: block;
    width: 30px;
    height: 20px;
    position: relative;
    background: none;
    border: none;
    cursor: none;
}

@media (min-width: 1024px) {
    .mobile-toggle {
        display: none;
    }
}

.mobile-toggle span {
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--text-main);
    left: 0;
    transition: 0.3s;
}

.mobile-toggle span:nth-child(1) {
    top: 0;
}

.mobile-toggle span:nth-child(2) {
    bottom: 0;
}

/* Lenis Wrapper */
#smooth-wrapper {
    overflow: hidden;
}

/* Sections */
section {
    padding: 150px 5%;
    max-width: 1600px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 300;
    margin-bottom: 2rem;
    line-height: 1.1;
}

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

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding-top: 120px;
    padding-bottom: 100px;
}

.hero-container {
    position: relative;
    width: 100%;
    z-index: 10;
}

.hero-text-side {
    max-width: 1000px;
    position: relative;
    z-index: 2;
}

.hero-image-side {
    position: absolute;
    top: 50%;
    right: -250px;
    transform: translateY(-50%);
    width: 70%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 1;
    pointer-events: none;
    opacity: 0.9;
}

.laptop-wrapper {
    position: relative;
    width: 100%;
    max-width: 1400px;
}

.hero-laptop {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 60px rgba(0, 255, 65, 0.25));
}

/* Floating Cards Styling */
.float-card {
    position: absolute;
    z-index: 5;
    padding: 15px 20px;
    border-radius: 16px;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
    min-width: 160px;
}

.card-glass {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    z-index: -1;
}

.card-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
}

.card-main-val {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    color: var(--neon-green);
    line-height: 1.2;
}

.card-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.card-chart,
.card-icon-box,
.card-chart-bars {
    margin-top: 5px;
}

.line-chart {
    width: 100%;
    height: 40px;
}

.cube-icon {
    width: 24px;
    height: 24px;
}

.card-chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 30px;
}

.card-chart-bars .bar {
    flex: 1;
    background: var(--neon-green);
    opacity: 0.8;
    border-radius: 2px;
}

.infinity-icon {
    font-size: 2rem;
    color: var(--neon-green);
    line-height: 1;
}

/* Individual Card Positions & Animations */
.card-sales {
    top: 5%;
    left: 10%;
    animation: floatCard1 8s ease-in-out infinite;
}

.card-products {
    top: -5%;
    right: 15%;
    animation: floatCard2 7s ease-in-out infinite;
}

.card-roas {
    bottom: 30%;
    right: 5%;
    animation: floatCard3 9s ease-in-out infinite;
}

.card-creatives {
    bottom: 5%;
    right: 25%;
    animation: floatCard4 10s ease-in-out infinite;
}

@keyframes floatCard1 {

    0%,
    100% {
        transform: translate(0, 0) rotate(1deg);
    }

    50% {
        transform: translate(-10px, -20px) rotate(-1deg);
    }
}

@keyframes floatCard2 {

    0%,
    100% {
        transform: translate(0, 0) rotate(-1deg);
    }

    50% {
        transform: translate(15px, -25px) rotate(1deg);
    }
}

@keyframes floatCard3 {

    0%,
    100% {
        transform: translate(0, 0) rotate(1deg);
    }

    50% {
        transform: translate(10px, 20px) rotate(-1deg);
    }
}

@keyframes floatCard4 {

    0%,
    100% {
        transform: translate(0, 0) rotate(-2deg);
    }

    50% {
        transform: translate(-15px, 25px) rotate(2deg);
    }
}

/* Hide cards on mobile for better UX */
@media (max-width: 768px) {
    .float-card {
        display: none;
    }
}

.laptop-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(0, 255, 65, 0.08) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@media (max-width: 1024px) {
    .hero-container {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 60px;
    }

    .hero-text-side {
        max-width: 100%;
    }

    .hero-cta-wrapper,
    .hero-stats {
        justify-content: center;
    }

    .hero-image-side {
        position: relative;
        top: 0;
        right: 0;
        transform: none;
        width: 100%;
        opacity: 1;
        margin-top: 40px;
    }

    .laptop-wrapper {
        max-width: 500px;
    }
}

/* Anime.js Quantum Grid */
.anime-grid-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120vw;
    height: 120vh;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    z-index: 1;
    pointer-events: none;
    opacity: 1;
}

.anime-grid-container .grid-cell {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 255, 65, 0.08);
    background: rgba(0, 255, 65, 0);
    transform-origin: center center;
    opacity: 0;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 30px;
}

.text-green {
    color: var(--neon-green);
}

.hero-subtext {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: var(--text-muted);
    margin-bottom: 50px;
    max-width: 600px;
    font-weight: 300;
}

/* Advanced Buttons */
.magnetic-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 40px;
    position: relative;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    letter-spacing: 3px;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    border: none;
    overflow: visible;
    /* Allow glow to bleed out slightly */
    backdrop-filter: blur(10px);
    transform: translateZ(0);
    cursor: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn-primary {
    cursor: none;
}

.magnetic-btn .btn-text {
    position: relative;
    z-index: 3;
}

.btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(0, 255, 65, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    transition: width 0.4s ease, height 0.4s ease;
}

.magnetic-btn:hover .btn-glow {
    width: 150px;
    height: 150px;
}

.btn-border-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: visible;
}

.border-bg {
    fill: none;
    stroke: var(--neon-green);
    stroke-width: 1px;
    opacity: 0.15;
}

.border-path {
    fill: none;
    stroke: var(--neon-green);
    stroke-width: 1.5;
    stroke-dasharray: 25 75;
    /* Perfect ratio based on pathLength=100 */
    stroke-dashoffset: 100;
    stroke-linecap: round;
    opacity: 0.8;
    /* Stacked shadows for intense bloom */
    filter: drop-shadow(0 0 5px var(--neon-green)) drop-shadow(0 0 10px var(--neon-green));
    animation: snakeMove 3s linear infinite;
}

.magnetic-btn:hover .border-path {
    animation-duration: 1.5s;
    opacity: 1;
    stroke-width: 2;
    filter: drop-shadow(0 0 8px var(--neon-green)) drop-shadow(0 0 20px var(--neon-green));
}

@keyframes snakeMove {
    from {
        stroke-dashoffset: 100;
    }

    to {
        stroke-dashoffset: 0;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 5%;
    height: 80px;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.scroll-line {
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--neon-green);
    animation: scrollDrop 2s cubic-bezier(0.645, 0.045, 0.355, 1) infinite;
}

@keyframes scrollDrop {
    0% {
        top: -100%;
    }

    50% {
        top: 100%;
    }

    100% {
        top: 100%;
    }
}

/* Hero Enhancements */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(0, 255, 65, 0.05);
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--neon-green);
    margin-bottom: 30px;
    letter-spacing: 1px;
    animation: fadeIn 1s ease forwards;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--neon-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-green);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-cta-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 80px;
}

/* Force consistent shape for CTA buttons */
.hero-cta-wrapper .magnetic-btn {
    height: 64px;
    padding: 0 40px;
    border-radius: 32px !important; /* Perfect pill shape matching SVG rx */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
    padding-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    animation: fadeInUp 1s ease 0.5s forwards;
    opacity: 0;
}

.stat-box {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat-val {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-arrow {
    color: var(--neon-green);
    font-size: 1.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .stat-divider {
        display: none;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Process Section */
.process-section {
    padding: 0;
    overflow: hidden;
}

.process-pin-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5%;
}

.process-header {
    margin-bottom: 60px;
}

.process-header .section-title,
.results-header .section-title,
.reviews-header .section-title {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 15px;
}

.process-label {
    display: inline-block;
    color: var(--neon-green);
    font-size: 0.8rem;
    letter-spacing: 3px;
    font-weight: 500;
    margin-bottom: 15px;
    font-family: var(--font-primary);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    font-weight: 300;
}

.process-horizontal-container {
    display: flex;
    gap: 100px;
    width: max-content;
    padding: 40px 10vw 40px 0;
}

.process-item {
    display: flex;
    gap: 30px;
    width: 450px;
    flex-shrink: 0;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: var(--transition-smooth);
}

.process-item:hover {
    background: rgba(0, 255, 65, 0.05);
    border-color: rgba(0, 255, 65, 0.2);
    transform: translateY(-10px);
}

.process-number {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    color: var(--neon-green);
    font-weight: 500;
}

.process-content {
    flex: 1;
}

.process-title {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--text-main);
}

.process-text {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1rem;
    font-weight: 300;
}

@media (max-width: 768px) {
    .process-section {
        padding: 100px 5%;
    }

    .process-pin-container {
        height: auto;
        padding: 0;
    }

    .process-horizontal-container {
        flex-direction: column;
        width: 100%;
        gap: 30px;
    }

    .process-item {
        width: 100%;
    }
}

/* Results Section */
.results-section {
    padding: 120px 5%;
}

.results-container {
    max-width: 1200px;
    margin: 0 auto;
}

.results-header {
    margin-bottom: 60px;
}


.results-label {
    display: inline-block;
    color: var(--neon-green);
    font-size: 0.8rem;
    letter-spacing: 3px;
    font-weight: 500;
    margin-bottom: 15px;
    font-family: var(--font-primary);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.result-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: none;
    position: relative;
    overflow: hidden;
}

.result-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--neon-green);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.result-card.active, .result-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-green);
}

.result-card.active::before, .result-card:hover::before {
    opacity: 1;
}

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

.result-val {
    font-family: var(--font-primary);
    font-size: 3rem;
    color: var(--neon-green);
    margin-bottom: 20px;
    transition: color 0.4s ease;
}

.result-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
    transition: color 0.4s ease;
}

.result-footer {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

.result-card.active .result-val, .result-card:hover .result-val {
    color: #000;
}

.result-card.active .result-desc, .result-card:hover .result-desc {
    color: rgba(0, 0, 0, 0.8);
}

.result-card.active .result-footer, .result-card:hover .result-footer {
    color: rgba(0, 0, 0, 0.6);
    border-top-color: rgba(0, 0, 0, 0.1);
}

/* Showcase Horizontal Scroll */
.showcase {
    overflow: hidden;
}

.horizontal-scroll-container {
    display: flex;
    width: 300vw;
    /* 3 items */
    gap: 100px;
    padding: 100px 0;
}

.project-item {
    width: 80vw;
    height: 60vh;
    flex-shrink: 0;
}

.project-visual {
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 24px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-primary);
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 5px;
    font-size: 2rem;
    overflow: hidden;
}

.mockup-holographic {
    box-shadow: inset 0 0 50px rgba(0, 255, 65, 0.05);
}

/* Manifesto */
.manifesto {
    padding: 150px 5%;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.manifesto-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.manifesto-zoom-area {
    width: 100%;
    transform-origin: center center;
    will-change: transform, filter, opacity;
}

.manifesto-label {
    display: block;
    color: var(--neon-green);
    font-size: 0.7rem;
    letter-spacing: 5px;
    margin-bottom: 30px;
    font-family: var(--font-primary);
    opacity: 0.9;
    text-shadow: 0 0 12px rgba(0, 255, 65, 0.4);
}

.manifesto-text {
    font-family: var(--font-primary);
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.manifesto-line {
    display: block;
}

.manifesto-subtitle {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.btn-primary-solid {
    display: inline-block;
    background: var(--neon-green);
    color: #000;
    padding: 20px 50px;
    border-radius: 100px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 30px rgba(0, 255, 65, 0.2);
}

.btn-primary-solid:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 255, 65, 0.4);
    background: #00cc33;
}

.manifesto-features {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-family: var(--font-secondary);
}

.feature-divider {
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

/* Final CTA */
.final-cta {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.cta-halo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(0, 255, 65, 0.05) 0%, transparent 60%);
    z-index: 1;
    animation: breathing 8s ease-in-out infinite alternate;
}

@keyframes breathing {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
}

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

.cta-title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 50px;
    font-weight: 300;
}

.cta-title .highlight {
    color: var(--neon-green);
}

.btn-massive {
    padding: 30px 60px;
    font-size: 1.2rem;
}

/* Removed old border flow styles as they are replaced by SVG */

/* Forms & Applications */
.application-section,
.newsletter-section {
    padding: 100px 5%;
}

.application-container {
    max-width: 800px;
    margin: 0 auto;
}

.application-header {
    text-align: center;
    margin-bottom: 50px;
}

.application-desc,
.newsletter-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.tech-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .tech-form {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.9rem;
    color: var(--neon-green);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.tech-input {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 65, 0.2);
    padding: 15px 20px;
    color: var(--text-main);
    font-family: var(--font-secondary);
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    outline: none;
}

.tech-input:focus {
    border-color: var(--neon-green);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.2);
}

.tech-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300FF41' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
}

.tech-select option {
    background: #0a0a0a;
    color: #fff;
}

/* Custom Select Dropdown UI */
.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.custom-select-trigger {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 65, 0.2);
    padding: 15px 20px;
    color: var(--text-main);
    font-family: var(--font-secondary);
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-select-trigger:hover, .custom-select-trigger.open {
    border-color: var(--neon-green);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.2);
}

.custom-select-trigger .arrow {
    width: 15px;
    height: 15px;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300FF41' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: transform 0.3s ease;
}

.custom-select-trigger.open .arrow {
    transform: rotate(180deg);
}

.custom-options {
    position: absolute;
    display: block;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: #0a0a0a;
    border: 1px solid var(--neon-green);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.8);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    max-height: 250px;
    overflow-y: auto;
}

.custom-select-wrapper.open .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0);
}

.custom-option {
    padding: 12px 20px;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.custom-option:hover, .custom-option.selected {
    background: #00975B;
    color: #fff;
}

.custom-options::-webkit-scrollbar {
    width: 6px;
}
.custom-options::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
}
.custom-options::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 65, 0.3);
    border-radius: 3px;
}
.custom-options::-webkit-scrollbar-thumb:hover {
    background: var(--neon-green);
}


.tech-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.submit-btn {
    width: 100%;
    cursor: none;
}

.form-message {
    margin-top: 15px;
    font-size: 0.9rem;
    text-align: center;
    min-height: 20px;
}

.form-message.success {
    color: var(--neon-green);
}

.form-message.error {
    color: #ff3366;
}

/* Newsletter Specifics */
.newsletter-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.newsletter-form-inline {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

@media (min-width: 768px) {
    .newsletter-form-inline {
        flex-direction: row;
    }

    .newsletter-form-inline .tech-input {
        flex: 1;
    }
}

.mini-btn {
    padding: 15px 30px;
    cursor: none;
}

/* Footer */
.footer {
    padding: 50px 5% 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

.footer-logo {
    height: 90px;
    margin-bottom: 15px;
}

.footer-sub {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-link {
    font-family: var(--font-primary);
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--neon-green);
}

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

.status-indicator {
    color: var(--neon-green);
    position: relative;
    padding-left: 15px;
}

.status-indicator::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--neon-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-green);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
    }
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .horizontal-scroll-container {
        width: 100%;
        flex-direction: column;
        gap: 50px;
        padding: 50px 0;
    }

    .project-item {
        width: 100%;
        height: 40vh;
    }

    .cursor-dot,
    .cursor-glow {
        display: none;
        /* Disable custom cursor on mobile */
    }

    body {
        cursor: auto;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }

    .footer-links {
        flex-direction: column;
        gap: 20px;
    }
}

/* --- Reviews Section & Slider --- */
.reviews-section {
    padding: 120px 5%;
    background: radial-gradient(circle at center, rgba(0, 255, 65, 0.02) 0%, transparent 70%);
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
}

.reviews-slider {
    padding: 80px 0 120px;
    overflow: visible !important;
}

.review-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 50px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    transition: all 0.5s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.swiper-slide-active .review-card {
    border-color: var(--neon-green);
    background: rgba(0, 255, 65, 0.05);
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.1);
}

.review-stars {
    color: var(--neon-green);
    font-size: 1.2rem;
    margin-bottom: 25px;
    letter-spacing: 5px;
}

.review-text {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-main);
    font-style: italic;
    margin-bottom: 30px;
}

.review-author {
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--neon-green);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.2) !important;
    opacity: 1 !important;
}

.swiper-pagination-bullet-active {
    background: var(--neon-green) !important;
}

.reviews-cta {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    position: relative;
    z-index: 10;
}

/* --- Review Modal --- */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
}

.modal.active {
    display: flex;
    animation: fadeIn 0.4s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    width: 100%;
    max-width: 600px;
    padding: 60px 40px;
    position: relative;
    transform: translateY(20px);
}

.modal.active .modal-content {
    animation: slideUp 0.5s cubic-bezier(0.23, 1, 0.32, 1) forwards 0.2s;
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

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

.modal-close:hover {
    color: var(--neon-green);
}

/* Star Rating Input */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 10px;
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: color 0.2s;
    margin-bottom: 0 !important;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
    color: var(--neon-green);
}

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    width: 90%;
    max-width: 800px;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 25px;
    z-index: 10000;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.cookie-banner.active {
    transform: translateX(-50%) translateY(0);
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
}

.cookie-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.cookie-content a {
    color: var(--neon-green);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 15px;
}

.btn-cookie {
    padding: 12px 25px;
    border-radius: 100px;
    font-family: var(--font-primary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.btn-cookie.accept {
    background: var(--neon-green);
    color: #000;
}

.btn-cookie.reject {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--glass-border);
}

.btn-cookie:hover {
    transform: translateY(-3px);
}

@media (min-width: 768px) {
    .cookie-content {
        flex-direction: row;
        text-align: left;
    }
}

/* --- How We Work Page Styles --- */
.work-page {
    padding-top: 100px;
}

.work-hero {
    padding: 100px 5% 60px;
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
}

.work-container {
    max-width: 1100px;
    margin: 0 auto;
}

.work-subtitle {
    max-width: 700px;
    margin: 0 auto 60px;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Timeline Strip */
.timeline-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 700px;
    margin: 60px auto 0; /* Pushed down 60px from subtitle */
    padding-bottom: 80px; /* Space for tooltips above */
    padding-top: 100px;  /* Space for tooltips to appear above without clipping */
    position: relative;
}

.tnode {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    flex: 1;
    position: relative; /* Added for tooltip positioning */
}

/* Tooltip Styles */
.work-tooltip {
    position: absolute;
    bottom: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 280px;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid var(--neon-green);
    border-radius: 12px;
    padding: 20px;
    text-align: left;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 255, 65, 0.1);
}

.work-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: var(--neon-green);
}

.work-tooltip h4 {
    color: var(--neon-green);
    font-size: 0.9rem;
    margin-bottom: 8px;
    font-family: var(--font-primary);
}

.work-tooltip p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Tooltip visible on hover OR when node is JS-activated */
.tnode:hover .work-tooltip,
.tnode.active .work-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.tnode-dot {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 255, 65, 0.05);
    border: 1px solid rgba(0, 255, 65, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--neon-green);
    font-family: var(--font-primary);
}

.tnode-dot.active {
    background: var(--neon-green);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.5), 0 0 40px rgba(0, 255, 65, 0.2);
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.tnode-lbl {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tline {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.tline-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--neon-green);
    box-shadow: 0 0 8px var(--neon-green), 0 0 16px rgba(0, 255, 65, 0.4);
    border-radius: 2px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.tline.lit .tline-fill {
    width: 100%;
}

/* Phases Section */
.phases-section {
    padding: 100px 5%;
}

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

.phase-row.reverse {
    direction: rtl;
}

.phase-row.reverse .phase-info, 
.phase-row.reverse .phase-visual {
    direction: ltr;
}

.phase-tag {
    color: var(--neon-green);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.phase-info h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 25px;
    font-family: var(--font-primary);
}

.phase-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.phase-metric {
    display: inline-flex;
    flex-direction: column;
    padding: 20px 30px;
    background: rgba(0, 255, 65, 0.05);
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: 12px;
    margin-bottom: 30px;
}

.m-val {
    font-size: 2rem;
    font-weight: 700;
    color: var(--neon-green);
    font-family: var(--font-primary);
}

.m-lbl {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill {
    padding: 6px 16px;
    background: rgba(0, 255, 65, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--text-muted);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.pill::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1.5px; /* Border thickness */
    background: conic-gradient(from var(--pill-angle, 0deg), transparent, var(--neon-green), transparent 30%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    border-radius: inherit;
    pointer-events: none;
    animation: rotatePill 4s linear infinite;
    opacity: 0.4;
}

@property --pill-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes rotatePill {
    to { --pill-angle: 360deg; }
}

.pill:hover {
    color: var(--text-main);
    background: rgba(0, 255, 65, 0.08);
    border-color: rgba(0, 255, 65, 0.2);
}

.pill:hover::before {
    opacity: 1;
    animation-duration: 2s;
}

/* Visuals & Deliverables */
.deliverables-stack {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dlv-card {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 30px;
    gap: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.dlv-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 255, 65, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.dlv-icon {
    width: 44px;
    height: 44px;
    background: rgba(0, 255, 65, 0.1);
    color: var(--neon-green);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.dlv-body h4 {
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.dlv-body p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.dlv-tag {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.55rem;
    text-transform: uppercase;
    color: var(--neon-green);
    border: 1px solid rgba(0, 255, 65, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
}

.dlv-tag.highlight {
    background: var(--neon-green);
    color: #000;
}

/* Timeline Widget */
.timeline-widget {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.timeline-widget::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 255, 65, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.tw-header {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.tw-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.tw-day {
    font-size: 0.7rem;
    color: var(--text-muted);
    width: 60px;
}

.tw-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    overflow: hidden;
}

.tw-fill {
    height: 100%;
    background: var(--neon-green);
    position: relative;
    overflow: hidden;
    width: 0;
}

.tw-fill::after,
.mini-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: none;
}

.tw-fill.is-animated::after,
.mini-fill.is-animated::after {
    animation: barShimmer 2s infinite;
}

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

.tw-label {
    font-size: 0.75rem;
    width: 120px;
    text-align: right;
}

/* Complex Stats Grid */
.stats-grid-complex {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.stat-card.highlight {
    border-color: rgba(0, 255, 65, 0.3);
}

.stat-card h5 {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 5px;
    text-transform: uppercase;
}

.stat-card p {
    font-size: 1rem;
    margin-bottom: 15px;
}

.mini-bar-group {
    margin-bottom: 12px;
}

.mini-bar-lbl {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.mini-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.mini-fill {
    height: 100%;
    background: var(--neon-green);
    position: relative;
    overflow: hidden;
    width: 0;
}

/* Comparison Table */
.comparison-section {
    padding: 100px 5%;
    background: rgba(255, 255, 255, 0.02);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
}

.comparison-table th, 
.comparison-table td {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
    font-size: 0.9rem;
}

.comparison-table th:first-child, 
.comparison-table td:first-child {
    text-align: left;
    color: var(--text-muted);
}

.comparison-table th.highlight {
    color: var(--neon-green);
    background: rgba(0, 255, 65, 0.05);
    font-family: var(--font-primary);
    font-size: 0.8rem;
}

.comparison-table .check {
    color: var(--neon-green);
}

.comparison-table .cross {
    color: rgba(255, 255, 255, 0.1);
}

/* Table Wrapper for Horizontal Scroll on Mobile */
.table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 30px;
}

.comparison-table {
    min-width: 600px; /* Force scroll instead of squishing */
}

/* FAQ */
.faq-section {
    padding: 100px 5%;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
}

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 25px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: none;
}

.faq-item:hover {
    background: var(--neon-green);
    border-color: var(--neon-green);
    transform: translateY(-5px);
}

.faq-q {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.4s ease;
}

.faq-item:hover .faq-q {
    color: #000;
}

.faq-dot {
    width: 6px;
    height: 6px;
    background: var(--neon-green);
    border-radius: 50%;
    transition: background 0.4s ease;
    flex-shrink: 0;
}

.faq-item:hover .faq-dot {
    background: #000;
}

.faq-a {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.faq-item:hover .faq-a {
    max-height: 200px;
    opacity: 1;
    margin-top: 15px;
    color: rgba(0, 0, 0, 0.8);
}

/* CTA */
.hero-cta-wrapper.center {
    justify-content: center;
}

@media (max-width: 992px) {
    .phase-row {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .phase-row.reverse {
        direction: ltr;
    }
    .pill-row {
        justify-content: center;
    }
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .work-page {
        overflow-x: hidden; /* Prevent any internal element from pushing the page */
    }
    .work-hero {
        padding: 80px 5% 40px;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .work-subtitle {
        font-size: 1rem;
    }
    .timeline-strip {
        gap: 0;
    }
    .tnode-lbl {
        display: none; /* Hide labels to prevent overflow */
    }
    .work-tooltip {
        display: none; /* Completely remove from layout on mobile */
    }
    .tnode-dot {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
    .tline {
        margin-bottom: 0;
        transform: translateY(-18px); /* Center line with dots */
    }
    .phase-info h2 {
        font-size: 1.8rem;
    }
    .m-val {
        font-size: 1.5rem;
    }
    .deliverables-stack {
        gap: 10px;
    }
    .dlv-card {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .hero-cta-wrapper .magnetic-btn {
        width: 100%;
        height: 54px;
        padding: 0 20px;
        font-size: 0.8rem;
    }
    .hero-cta-wrapper .magnetic-btn svg {
        display: none; /* Hide energy border on very small screens to avoid stretching issues */
    }
    .hero-cta-wrapper .magnetic-btn {
        border: 1px solid rgba(0, 255, 65, 0.3);
    }
}