/* Immersive Design System - The Digital Frontier */
:root {
    /* Palette: Cyber-Nature */
    --color-void: #05110a;
    /* Deepest black-green */
    --color-forest: #0f2b1d;
    /* Rich background green */
    --color-moss: #1a402a;
    /* Lighter background accent */
    --color-neon: #ccff00;
    /* Primary accent (Lime) */
    --color-glass: rgba(255, 255, 255, 0.05);
    --color-text-main: #f0f5f0;
    --color-text-muted: #8fa396;

    /* Typography */
    --font-display: 'Syne', 'Space Grotesk', sans-serif;
    --font-body: 'Space Mono', monospace;

    /* Easing */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box !important;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    background-color: var(--color-void);
    color: var(--color-text-main);
    overflow-x: hidden;
    scroll-behavior: smooth;
    width: 100%;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Typography Utilities */
h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 0.9;
}

.display-text {
    font-size: clamp(3rem, 10vw, 8rem);
    letter-spacing: -0.04em;
    color: var(--color-text-main);
}

.section-title {
    font-size: clamp(2rem, 5vw, 4rem);
    color: var(--color-neon);
    margin-bottom: 2rem;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

/* ACT I: THE FRONTIER (HERO) */
.hero-section {
    position: relative;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    /* Mobile-friendly viewport height */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    perspective: 1000px;
}

/* CSS-Generated Abstract Landscape */
.hero-bg {
    position: absolute;
    inset: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 50% 50%, var(--color-forest) 0%, var(--color-void) 60%),
        repeating-linear-gradient(90deg, rgba(204, 255, 0, 0.03) 0px, rgba(204, 255, 0, 0.03) 1px, transparent 1px, transparent 100px),
        repeating-linear-gradient(0deg, rgba(204, 255, 0, 0.03) 0px, rgba(204, 255, 0, 0.03) 1px, transparent 1px, transparent 100px);
    transform: rotateX(60deg) translateY(-100px) translateZ(-200px);
    animation: grid-move 20s linear infinite;
    z-index: 1;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(204, 255, 0, 0.15) 0%, transparent 70%);
    filter: blur(50px);
    z-index: 2;
    pointer-events: none;
}

@keyframes grid-move {
    0% {
        transform: rotateX(60deg) translateY(0) translateZ(-200px);
    }

    100% {
        transform: rotateX(60deg) translateY(100px) translateZ(-200px);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    mix-blend-mode: difference;
}

.hero-tagline {
    font-size: 1rem;
    color: var(--color-neon);
    margin-bottom: 1rem;
    opacity: 0;
    animation: fade-in 1s var(--ease-out-expo) forwards 0.5s;
}

.hero-main-text {
    /* Anime.js handles animation - keep visible for progressive enhancement */
    opacity: 1;
    transform: none;
    perspective: 1000px;
    transform-style: preserve-3d;
}

/* Hero heading character styles */
.hero-main-text .char {
    display: inline-block;
    will-change: transform, opacity, filter;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

/* ORDER text - clean white with subtle shadow */
[data-content="hero-heading1"] {
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3), 0 0 60px rgba(255, 255, 255, 0.05);
}

/* FROM CHAOS text - intense neon glow */
[data-content="hero-heading2"] {
    text-shadow:
        0 0 30px rgba(204, 255, 0, 0.8),
        0 0 60px rgba(204, 255, 0, 0.5),
        0 0 90px rgba(204, 255, 0, 0.3),
        0 0 120px rgba(204, 255, 0, 0.2);
}

/* Fallback animation when Anime.js is not loaded */
.no-js .hero-main-text {
    opacity: 0;
    transform: translateY(50px);
    animation: slide-up 1.5s var(--ease-out-expo) forwards 0.8s;
}

/* Hero Metrics */
.hero-metrics {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 3rem;
    opacity: 0;
    animation: fade-in 1s var(--ease-out-expo) forwards 1.2s;
}

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

.metric-value {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-neon);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ACT II: THE ARCHITECTURE (SERVICES) */
.services-section {
    position: relative;
    padding: 10rem 2rem;
    background: var(--color-void);
    z-index: 5;
    overflow-x: hidden;
    box-sizing: border-box;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    box-sizing: border-box;
    width: 100%;
}

.service-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(204, 255, 0, 0.2);
    padding: 3rem;
    transition: background 0.5s var(--ease-out-expo), border-color 0.5s var(--ease-out-expo);
    position: relative;
    overflow: visible;
    /* Anime.js handles opacity/transform animations */
    box-sizing: border-box;
    width: 100%;
}

.service-card:hover {
    background: rgba(204, 255, 0, 0.05);
    border-color: var(--color-neon);
    transform: translateY(-10px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--color-neon);
    text-shadow: 0 0 20px rgba(204, 255, 0, 0.5);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text-main);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

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

/* Comparison Table */
.comparison-section {
    margin-top: 6rem;
    padding-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    color: var(--color-text-muted);
}

.comparison-table th,
.comparison-table td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-table th {
    color: var(--color-text-main);
    font-family: var(--font-display);
    font-size: 1.2rem;
    text-transform: uppercase;
}

.comparison-table th.highlight {
    color: var(--color-neon);
}

.comparison-table td.check {
    color: var(--color-neon);
    font-size: 1.2rem;
}

.comparison-table td.cross {
    color: #ff4d4d;
    opacity: 0.5;
}

/* ACT III: THE IMPACT (CASE STUDIES) */
.impact-section {
    padding: 10rem 2rem;
    background: var(--color-forest);
    position: relative;
    overflow: hidden;
}

.impact-map-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--color-neon) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.1;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

.case-study-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.case-study-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: opacity 0.3s ease;
}

.case-study-item:hover {
    opacity: 1;
}

.case-study-item:not(:hover) {
    opacity: 0.5;
}

.case-study-number {
    font-family: var(--font-display);
    font-size: 4rem;
    color: transparent;
    -webkit-text-stroke: 1px var(--color-neon);
    opacity: 0.5;
}

.case-study-info h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* ACT IV: THE CONNECTION (CONTACT) */
.contact-section {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--color-void);
    text-align: center;
    padding: 4rem;
}

.contact-portal {
    position: relative;
    margin-top: 4rem;
}

.magnetic-btn {
    display: inline-block;
    padding: 2rem 4rem;
    background: var(--color-neon);
    color: var(--color-void);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    border-radius: 100px;
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 0 30px rgba(204, 255, 0, 0.3);
}

.magnetic-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 60px rgba(204, 255, 0, 0.6);
}

/* Animations */
@keyframes fade-in {
    to {
        opacity: 1;
    }
}

@keyframes slide-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-void);
}

::-webkit-scrollbar-thumb {
    background: var(--color-moss);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-neon);
}

/* Loader fallback */
.loader {
    position: fixed;
    inset: 0;
    background: var(--color-void);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-text {
    color: var(--color-neon);
    font-family: var(--font-body);
    animation: blink 1s infinite;
}

@keyframes blink {
    50% {
        opacity: 0.5;
    }
}

/* --- NEW SECTIONS STYLING --- */

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(5, 17, 10, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(204, 255, 0, 0.1);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--color-text-main);
    transition: opacity 0.3s ease;
}

.nav-logo:hover {
    opacity: 0.8;
}

.logo-text {
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--color-text-main);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--color-neon);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-neon);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 101;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-text-main);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.nav-socials {
    display: flex;
    gap: 1rem;
    margin-right: 1rem;
    padding-right: 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-socials a {
    font-size: 0.8rem;
    font-weight: 700;
    opacity: 0.7;
}

.nav-socials a:hover {
    opacity: 1;
    color: var(--color-neon);
}

.nav-cta {
    border: 1px solid var(--color-neon);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
}

.nav-cta:hover {
    background: var(--color-neon);
    color: var(--color-void) !important;
}

/* Service Features List */
.service-features {
    list-style: none;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.service-features li {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1rem;
}

.service-features li::before {
    content: '+';
    position: absolute;
    left: 0;
    color: var(--color-neon);
}

/* Mission / About Section */
.mission-section {
    padding: 10rem 2rem;
    background: var(--color-void);
    position: relative;
}

.mission-content {
    max-width: 1000px;
    margin: 0 auto;
}

.mission-text {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-family: var(--font-display);
    line-height: 1.2;
    margin-bottom: 4rem;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.why-item h4 {
    color: var(--color-neon);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.why-item p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* FAQ Section */
.faq-section {
    padding: 10rem 2rem;
    background: var(--color-forest);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--color-text-main);
}

.faq-item p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 4rem auto 0;
    align-items: center;
    text-align: left;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.info-item .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    min-width: 50px;
    color: var(--color-neon);
    background: rgba(15, 43, 29, 0.5);
    border: 2px solid var(--color-neon);
    border-radius: 50%;
    transition: all 0.3s ease;
    animation: info-float 4s ease-in-out infinite, info-glow 3s ease-in-out infinite;
}

/* Stagger animation delays for each contact item */
.info-item:nth-child(1) .icon {
    animation-delay: 0s, 0s;
}

.info-item:nth-child(2) .icon {
    animation-delay: 0.4s, 0.3s;
}

.info-item:nth-child(3) .icon {
    animation-delay: 0.8s, 0.6s;
}

@keyframes info-float {

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

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

@keyframes info-glow {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(204, 255, 0, 0.2);
        border-color: var(--color-neon);
    }

    50% {
        box-shadow: 0 0 20px rgba(204, 255, 0, 0.4);
        border-color: rgba(204, 255, 0, 0.8);
    }
}

.info-item:hover .icon {
    transform: scale(1.1) translateY(-3px) !important;
    background: rgba(204, 255, 0, 0.1);
    box-shadow: 0 0 25px rgba(204, 255, 0, 0.5) !important;
    animation: none;
}

.info-item .icon svg {
    width: 24px;
    height: 24px;
}

.info-item a {
    color: var(--color-text-main);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--color-neon);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--color-neon);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-neon);
    border-radius: 50%;
    background: rgba(15, 43, 29, 0.3);
    animation: social-float 4s ease-in-out infinite, social-glow 3s ease-in-out infinite;
}

/* Stagger animation delays for each icon */
.social-links a:nth-child(1) {
    animation-delay: 0s, 0s;
}

.social-links a:nth-child(2) {
    animation-delay: 0.5s, 0.3s;
}

.social-links a:nth-child(3) {
    animation-delay: 1s, 0.6s;
}

@keyframes social-float {

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

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

@keyframes social-glow {

    0%,
    100% {
        box-shadow: 0 0 0px rgba(204, 255, 0, 0);
        border-color: rgba(255, 255, 255, 0.1);
    }

    50% {
        box-shadow: 0 0 15px rgba(204, 255, 0, 0.15);
        border-color: rgba(204, 255, 0, 0.3);
    }
}

.social-links a:hover {
    color: var(--color-neon);
    border-color: var(--color-neon);
    background: rgba(204, 255, 0, 0.05);
    transform: scale(1.15) translateY(-4px) !important;
    box-shadow: 0 0 25px rgba(204, 255, 0, 0.4) !important;
    animation: none;
}

.social-links a svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   MOBILE OPTIMIZATION - COMPREHENSIVE RESPONSIVE DESIGN
   Following Shutterfly's mobile-first best practices
   ============================================ */

/* Tablet Devices (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 900px;
        padding: 0 2rem;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-metrics {
        gap: 2rem;
    }
}

/* Mobile & Small Tablets (max 768px) */
@media (max-width: 768px) {

    /* === GLOBAL MOBILE OVERFLOW FIX === */
    html,
    body {
        max-width: 100vw;
        overflow-x: hidden;
    }

    /* === TYPOGRAPHY IMPROVEMENTS === */
    .display-text {
        font-size: clamp(2rem, 8vw, 3.5rem);
        line-height: 1.1;
        letter-spacing: -0.02em;
    }

    .section-title {
        font-size: clamp(1.2rem, 4.5vw, 2.5rem);
        margin-bottom: 1.5rem;
        text-align: center;
        width: 100%;
        padding: 0 1rem;
        letter-spacing: -0.03em;
        line-height: 1.2;
        box-sizing: border-box;
    }

    body {
        font-size: 15px;
        line-height: 1.6;
    }

    /* === NAVIGATION IMPROVEMENTS === */
    .main-nav {
        padding: 1rem 1.5rem;
    }

    .mobile-menu-btn {
        display: block;
        width: 48px;
        height: 48px;
        padding: 12px;
    }

    .hamburger-line {
        width: 24px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(5, 17, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: right 0.4s var(--ease-out-expo);
        z-index: 99;
        padding: 2rem;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.3rem;
        padding: 1rem 2rem;
        min-height: 48px;
        width: 100%;
        max-width: 300px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(204, 255, 0, 0.1);
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .nav-links a:hover,
    .nav-links a:active {
        background: rgba(204, 255, 0, 0.1);
        border-color: var(--color-neon);
    }

    .nav-cta {
        background: var(--color-neon);
        color: var(--color-void) !important;
    }

    /* Hamburger Animation */
    .mobile-menu-btn.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-menu-btn.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* === HERO SECTION OPTIMIZATION === */
    .hero-section {
        min-height: 100vh;
        height: auto;
        padding: 8rem 1.5rem 4rem;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero-subtext {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
        margin: 1.5rem auto 0;
        padding: 0 1rem;
    }

    .hero-metrics {
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
        width: 100%;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .metric-item {
        padding: 1.25rem;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(204, 255, 0, 0.2);
        border-radius: 8px;
        width: 100%;
        transition: all 0.3s ease;
    }

    .metric-item:active {
        background: rgba(204, 255, 0, 0.1);
        transform: scale(0.98);
    }

    .metric-value {
        font-size: 2.5rem;
    }

    .metric-label {
        font-size: 0.85rem;
    }

    /* Reduce heavy animations on mobile */
    .hero-bg {
        animation: none;
        opacity: 0.2;
    }

    /* === SECTION SPACING === */
    .services-section,
    .mission-section,
    .impact-section,
    .faq-section {
        padding: 4rem 0;
        overflow-x: hidden;
    }

    .container {
        padding: 0 1.5rem;
        margin: 0 auto;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* === SERVICES SECTION === */
    .services-section {
        padding-left: 0;
        padding-right: 0;
    }

    .services-section .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        width: 100%;
        max-width: 100%;
    }

    /* === SERVICE CARDS === */
    .service-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
        width: 100%;
        margin: 0 auto;
        box-sizing: border-box;
        max-width: 100%;
        justify-items: center;
    }

    .service-card {
        padding: 1.5rem 1rem;
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(204, 255, 0, 0.1);
        margin: 0 auto;
        width: calc(100% - 0rem);
        max-width: calc(100vw - 3rem);
        text-align: left;
        border: 2px solid rgba(204, 255, 0, 0.4);
        border-radius: 8px;
        box-sizing: border-box;
    }

    .service-card:active {
        transform: scale(0.98);
        border-color: var(--color-neon);
        border-width: 2px;
    }

    .service-title {
        font-size: 1.3rem;
    }

    .service-desc {
        font-size: 0.95rem;
    }

    .service-features {
        margin-top: 1rem;
    }

    .service-features li {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }

    /* === COMPARISON TABLE === */
    .comparison-section {
        margin-top: 3rem;
        padding-top: 2rem;
        overflow-x: auto;
        padding-bottom: 1rem;
        width: 100%;
    }

    .comparison-table {
        font-size: 0.85rem;
        min-width: 500px;
        /* Ensure table has enough width to not squash content */
    }

    .comparison-table th,
    .comparison-table td {
        padding: 1rem 0.75rem;
    }

    .comparison-table th {
        font-size: 0.9rem;
    }

    /* === MISSION/ABOUT SECTION === */
    .mission-text {
        font-size: clamp(1.2rem, 4vw, 1.8rem);
        margin-bottom: 2rem;
    }

    .mission-quote {
        font-size: 1.1rem;
        padding: 1.5rem;
        margin: 2rem 0;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* === FAQ SECTION === */
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .faq-item h4 {
        font-size: 1.1rem;
    }

    .faq-item p {
        font-size: 0.9rem;
    }

    /* === TRUST/STANDARDS SECTION === */
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }

    .trust-card {
        padding: 2rem 1.5rem;
    }

    .trust-card h4 {
        font-size: 1.1rem;
    }

    /* === APPROACH/HOW WE WORK === */
    .approach-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .approach-step {
        padding: 2rem 1.5rem;
    }

    .step-number {
        font-size: 2.5rem;
        top: 0.75rem;
        right: 1rem;
    }

    .approach-step h4 {
        font-size: 1.2rem;
        padding-right: 3rem;
    }

    /* === TECH STACK === */
    .tech-categories {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* === CONTACT SECTION === */
    .contact-section {
        padding: 3rem 1.5rem 2rem;
    }

    .contact-title {
        margin-bottom: 1rem;
    }

    .contact-subtitle {
        font-size: clamp(0.95rem, 3vw, 1.2rem);
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
        margin-top: 2.5rem;
    }

    .contact-info {
        align-items: center;
    }

    .info-item {
        flex-direction: column;
        text-align: center;
        font-size: 1rem;
        gap: 0.75rem;
    }

    .info-item .icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
    }

    .office-hours {
        margin-top: 1.5rem;
        padding: 1.25rem;
    }

    .office-hours h4 {
        font-size: 0.95rem;
    }

    .office-hours p {
        font-size: 0.85rem;
    }

    /* === CONTACT FORM === */
    .contact-form {
        padding: 1.5rem;
        max-width: 100%;
    }

    .form-group {
        margin-bottom: 1.25rem;
    }

    .form-group label {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px;
        /* Prevent iOS zoom */
        padding: 0.9rem;
        border-radius: 8px;
    }

    .form-group small {
        font-size: 0.75rem;
    }

    .form-submit-btn {
        min-height: 52px;
        height: auto;
        font-size: 0.9rem;
        padding: 1rem 1.5rem;
        white-space: nowrap;
        line-height: 1.3;
    }

    /* === FOOTER === */
    .main-footer {
        font-size: 0.75rem;
        padding: 1.5rem 1rem;
        margin-top: 3rem;
    }

    /* === SOCIAL LINKS === */
    .social-links {
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .social-links a {
        width: 44px;
        height: 44px;
    }
}

/* Extra Small Devices (max 480px) */
@media (max-width: 480px) {

    /* === TYPOGRAPHY EXTRA SMALL === */
    .display-text {
        font-size: clamp(1.75rem, 10vw, 2.5rem);
    }

    .section-title {
        font-size: clamp(1.1rem, 5.5vw, 1.8rem);
        text-align: center;
        padding: 0 1rem;
        letter-spacing: -0.03em;
        line-height: 1.1;
        box-sizing: border-box;
    }

    body {
        font-size: 14px;
    }

    /* === HERO SECTION === */
    .hero-section {
        padding: 6rem 1rem 3rem;
    }

    .hero-subtext {
        font-size: 0.9rem;
    }

    .hero-metrics {
        max-width: 100%;
    }

    .metric-value {
        font-size: 2rem;
    }

    .metric-label {
        font-size: 0.75rem;
    }

    /* === NAVIGATION === */
    .main-nav {
        padding: 0.75rem 1rem;
    }

    .nav-logo {
        font-size: 1.2rem;
    }

    .nav-logo svg {
        width: 32px;
        height: 32px;
    }

    .mobile-menu-btn {
        width: 44px;
        height: 44px;
    }

    .nav-links a {
        font-size: 1.2rem;
        max-width: 280px;
    }

    /* === SECTIONS === */
    .services-section,
    .mission-section,
    .impact-section,
    .faq-section {
        padding: 3rem 0.75rem;
        overflow-x: hidden;
    }

    .container {
        padding: 0 0.75rem;
        margin: 0 auto;
        max-width: 100%;
        box-sizing: border-box;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
        width: 100%;
        margin: 0 auto;
        box-sizing: border-box;
        max-width: 100%;
        justify-items: center;
    }

    .service-card {
        padding: 1.5rem 0.75rem;
        text-align: left;
        border: 2px solid rgba(204, 255, 0, 0.4);
        border-radius: 8px;
        margin: 0 auto;
        width: calc(100vw - 2rem);
        max-width: calc(100vw - 2rem);
        box-sizing: border-box;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    /* === FORM BUTTON === */
    .form-submit-btn {
        font-size: 0.85rem;
        padding: 1rem 1.25rem;
    }

    /* === COMPARISON TABLE === */
    .comparison-section {
        overflow-x: auto;
        width: 100%;
        padding-bottom: 1rem;
    }

    .comparison-table {
        font-size: 0.75rem;
        min-width: 400px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
    }

    /* === TRUST CARDS === */
    .trust-card {
        padding: 1.75rem 1.25rem;
    }

    .trust-icon {
        width: 60px;
        height: 60px;
    }

    /* === APPROACH === */
    .approach-step {
        padding: 1.75rem 1.25rem;
    }

    .step-number {
        font-size: 2rem;
    }

    /* === CONTACT === */
    .contact-section {
        padding: 2.5rem 1rem 1.5rem;
    }

    .contact-form {
        padding: 1.25rem;
    }

    /* === FLOATING WHATSAPP === */
    .floating-whatsapp {
        width: 52px;
        height: 52px;
        bottom: 1.25rem;
        right: 1.25rem;
    }

    .floating-whatsapp svg {
        width: 26px;
        height: 26px;
    }

    /* === OFFICE HOURS === */
    .office-hours {
        padding: 1rem;
    }

    /* === FOOTER === */
    .main-footer {
        font-size: 0.7rem;
        padding: 1.25rem 0.75rem;
    }
}

/* Very Small Mobile Devices (max 375px) */
@media (max-width: 375px) {
    .section-title {
        font-size: clamp(0.95rem, 4.5vw, 1.6rem);
        letter-spacing: -0.05em;
        padding: 0 0.5rem;
        word-break: break-word;
    }

    .services-section {
        padding: 4rem 0;
        overflow-x: hidden;
    }

    .services-section .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .container {
        padding: 0 0.5rem;
        box-sizing: border-box;
        max-width: 100%;
    }

    .service-grid {
        padding: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        justify-items: center;
    }

    .service-card {
        border: 2px solid rgba(204, 255, 0, 0.4);
        border-radius: 8px;
        padding: 1.5rem 0.75rem;
        margin: 0 auto;
        width: calc(100vw - 2rem);
        max-width: calc(100vw - 2rem);
        box-sizing: border-box;
    }

    .form-submit-btn {
        font-size: 0.85rem;
        padding: 1rem 1.25rem;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero-bg,
    .hero-glow {
        animation: none !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {

    .service-card,
    .trust-card,
    .approach-step {
        border-width: 2px;
    }

    .nav-links a,
    .magnetic-btn {
        border-width: 2px;
    }
}

/* Touch Device Enhancements */
@media (hover: none) and (pointer: coarse) {

    /* Remove hover effects on touch devices */
    .service-card:hover,
    .trust-card:hover,
    .approach-step:hover {
        transform: none;
    }

    /* Add active states instead */
    .service-card:active,
    .trust-card:active,
    .approach-step:active {
        transform: scale(0.98);
        background: rgba(204, 255, 0, 0.08);
    }

    /* Larger touch targets */
    a,
    button,
    input,
    select,
    textarea {
        min-height: 44px;
    }
}

/* Form Styles */
.contact-form {
    background: rgba(255, 255, 255, 0.02);
    padding: 2rem;
    border: 1px solid rgba(204, 255, 0, 0.1);
    border-radius: 10px;
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--color-neon);
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-main);
    font-family: var(--font-body);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-neon);
    box-shadow: 0 0 10px rgba(204, 255, 0, 0.1);
}

.form-group small {
    color: var(--color-text-muted);
    font-size: 0.7rem;
    margin-top: 0.5rem;
    display: block;
}

.form-submit-btn {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 1.5rem;
}

/* Footer Styles */
.main-footer {
    margin-top: 5rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    opacity: 0.7;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    width: 100%;
}

.footer-content {
    text-align: center;
    line-height: 1.8;
}

.footer-legal a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--color-neon);
}

/* Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-neon);
    color: var(--color-void);
    padding: 8px;
    z-index: 1000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

:focus-visible {
    outline: 2px solid var(--color-neon);
    outline-offset: 2px;
}

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

/* Missing Utility Classes */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

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

.mb-3 {
    margin-bottom: 3rem;
}

/* Hero Subtext */
.hero-subtext {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--color-neon);
    max-width: 600px;
    margin: 2rem auto 0;
    line-height: 1.6;
    position: relative;
    overflow: hidden;
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    animation:
        text-wipe-reveal 2s ease-out 1.2s forwards;
}

/* After reveal completes, add scanning effect */
.hero-subtext::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(204, 255, 0, 0.15) 30%,
            rgba(204, 255, 0, 0.4) 50%,
            rgba(204, 255, 0, 0.15) 70%,
            transparent);
    animation: scan-line 3s linear 3.5s infinite;
    pointer-events: none;
}

/* Left-to-right wipe reveal with blur */
@keyframes text-wipe-reveal {
    0% {
        opacity: 0;
        clip-path: inset(0 100% 0 0);
        filter: blur(10px);
    }

    20% {
        opacity: 1;
    }

    100% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
        filter: blur(0px);
    }
}

/* Continuous scanning line effect */
@keyframes scan-line {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Contact Section */
.contact-title {
    margin-bottom: 1rem;
}

.contact-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto 2rem;
    font-family: var(--font-body);
}

/* Mission Quote */
.mission-quote {
    font-size: 1.5rem;
    font-family: var(--font-display);
    line-height: 1.4;
    color: var(--color-text-muted);
    font-style: italic;
    padding: 2rem;
    border-left: 4px solid var(--color-neon);
    margin: 3rem 0;
    background: rgba(204, 255, 0, 0.03);
}

/* Case Study Styles */
.case-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.badge-verified {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(204, 255, 0, 0.1);
    color: var(--color-neon);
    font-size: 0.7rem;
    font-weight: 700;
    border: 1px solid var(--color-neon);
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.case-metric {
    font-size: 1.5rem;
    color: var(--color-neon);
    font-family: var(--font-display);
    font-weight: 700;
    margin-bottom: 1rem;
}

.case-desc {
    color: var(--color-text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tech-details {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
}

.tech-details p {
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.tech-details strong {
    color: var(--color-text-main);
    font-weight: 700;
}

/* Trust Grid */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 6rem;
}

.trust-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(204, 255, 0, 0.1);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s var(--ease-out-expo);
    border-radius: 8px;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.trust-card:hover {
    background: rgba(204, 255, 0, 0.05);
    border-color: var(--color-neon);
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(204, 255, 0, 0.2);
}

.trust-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 43, 29, 0.5);
    border: 2px solid var(--color-neon);
    border-radius: 50%;
    color: var(--color-neon);
}

.trust-card h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--color-text-main);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.trust-card p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Approach Section */
.approach-section {
    margin-bottom: 6rem;
}

.approach-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--color-neon);
    text-transform: uppercase;
    margin-bottom: 3rem;
    text-align: center;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.approach-step {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(204, 255, 0, 0.1);
    padding: 2.5rem 2rem;
    transition: all 0.3s var(--ease-out-expo);
    border-radius: 8px;
    position: relative;
}

.approach-step:hover {
    background: rgba(204, 255, 0, 0.05);
    border-color: var(--color-neon);
    transform: translateY(-5px);
}

.step-number {
    font-family: var(--font-display);
    font-size: 3rem;
    color: transparent;
    -webkit-text-stroke: 1px var(--color-neon);
    opacity: 0.3;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    line-height: 1;
}

.approach-step h4 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--color-neon);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.approach-step p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.step-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.step-tags span {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: rgba(204, 255, 0, 0.1);
    color: var(--color-neon);
    font-size: 0.75rem;
    border: 1px solid rgba(204, 255, 0, 0.2);
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Tech Stack Section */
.tech-stack-section {
    margin-bottom: 4rem;
}

.tech-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--color-neon);
    text-transform: uppercase;
    margin-bottom: 3rem;
    text-align: center;
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tech-category {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(204, 255, 0, 0.1);
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.3s var(--ease-out-expo);
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.tech-category:hover {
    background: rgba(204, 255, 0, 0.05);
    border-color: var(--color-neon);
    transform: translateY(-3px);
}

.tech-category h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--color-text-main);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tech-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tech-list span {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    padding-left: 1rem;
    position: relative;
}

.tech-list span::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--color-neon);
}

/* Trust Banner */
.trust-banner {
    text-align: center;
    padding: 2rem;
    margin-bottom: 4rem;
    background: rgba(204, 255, 0, 0.03);
    border: 1px solid rgba(204, 255, 0, 0.1);
    border-radius: 10px;
}

.stars {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

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

    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.trust-text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--color-text-main);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Office Hours */
.office-hours {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(204, 255, 0, 0.1);
    border-radius: 8px;
}

.office-hours h4 {
    color: var(--color-neon);
    font-family: var(--font-display);
    font-size: 1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.office-hours p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(15, 43, 29, 0.95), rgba(26, 64, 42, 0.9));
    border: 2px solid var(--color-neon);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-neon);
    box-shadow:
        0 0 30px rgba(204, 255, 0, 0.3),
        0 0 60px rgba(204, 255, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.4s var(--ease-out-expo);
    z-index: 1000;
    text-decoration: none;
    animation: float-bob 3s ease-in-out infinite, pulse-glow 2s ease-in-out infinite;
}

/* Floating bobbing animation */
@keyframes float-bob {

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

    25% {
        transform: translateY(-8px) rotate(2deg);
    }

    50% {
        transform: translateY(0px) rotate(0deg);
    }

    75% {
        transform: translateY(-8px) rotate(-2deg);
    }
}

/* Pulsing glow animation */
@keyframes pulse-glow {

    0%,
    100% {
        box-shadow:
            0 0 30px rgba(204, 255, 0, 0.3),
            0 0 60px rgba(204, 255, 0, 0.1);
        border-color: var(--color-neon);
    }

    50% {
        box-shadow:
            0 0 45px rgba(204, 255, 0, 0.6),
            0 0 90px rgba(204, 255, 0, 0.25);
        border-color: rgba(204, 255, 0, 0.7);
    }
}

.floating-whatsapp:hover {
    transform: scale(1.15) translateY(-5px) rotate(5deg) !important;
    background: var(--color-neon);
    color: var(--color-void);
    border-color: var(--color-neon);
    box-shadow:
        0 0 50px rgba(204, 255, 0, 0.6),
        0 0 100px rgba(204, 255, 0, 0.3),
        0 10px 30px rgba(0, 0, 0, 0.3);
    animation: none;
}

.floating-whatsapp:focus {
    outline: 3px solid var(--color-neon);
    outline-offset: 4px;
}

.floating-whatsapp svg {
    filter: drop-shadow(0 0 5px rgba(204, 255, 0, 0.3));
    transition: filter 0.3s ease;
}

.floating-whatsapp:hover svg {
    filter: drop-shadow(0 0 10px rgba(5, 17, 10, 0.5));
}

/* Animated chat dots */
.floating-whatsapp svg circle:nth-child(3) {
    animation: dot-pulse 1.5s ease-in-out infinite;
}

.floating-whatsapp svg circle:nth-child(4) {
    animation: dot-pulse 1.5s ease-in-out 0.2s infinite;
}

.floating-whatsapp svg circle:nth-child(5) {
    animation: dot-pulse 1.5s ease-in-out 0.4s infinite;
}

@keyframes dot-pulse {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 56px;
        height: 56px;
    }

    .floating-whatsapp svg {
        width: 28px;
        height: 28px;
    }
}

/* Core Services & Hardware Solutions Sections */
.core-services-section,
.hardware-solutions-section {
    padding: 8rem 2rem;
    background: var(--color-void);
    position: relative;
}

.hardware-solutions-section {
    background: var(--color-forest);
}

.section-subtitle {
    text-align: center;
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--color-text-muted);
    max-width: 700px;
    margin: -1rem auto 4rem;
    font-family: var(--font-body);
}

.detailed-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.detailed-service-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(204, 255, 0, 0.1);
    padding: 2.5rem;
    border-radius: 10px;
    transition: all 0.3s var(--ease-out-expo);
    opacity: 0;
    transform: translateY(30px);
}

.detailed-service-card:hover {
    background: rgba(204, 255, 0, 0.05);
    border-color: var(--color-neon);
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(204, 255, 0, 0.2);
}

.service-header {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.service-icon-large {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: rgba(15, 43, 29, 0.5);
    border: 2px solid var(--color-neon);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-neon);
    transition: all 0.3s ease;
}

.detailed-service-card:hover .service-icon-large {
    background: rgba(204, 255, 0, 0.15);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(204, 255, 0, 0.3);
}

.service-header h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-neon);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-description {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-details-list li {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: color 0.3s ease;
}

.service-details-list li:last-child {
    border-bottom: none;
}

.service-details-list li::before {
    content: '▸';
    position: absolute;
    left: 0.5rem;
    color: var(--color-neon);
    font-size: 1.2rem;
}

.detailed-service-card:hover .service-details-list li {
    color: var(--color-text-main);
}

@media (max-width: 768px) {
    .detailed-services-grid {
        grid-template-columns: 1fr;
    }

    .service-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Detailed Services Container */
.detailed-services-container {
    margin-top: 6rem;
    padding-top: 4rem;
    border-top: 2px solid rgba(204, 255, 0, 0.2);
}

.detailed-services-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--color-neon);
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 4rem;
    letter-spacing: 0.05em;
}

.detailed-service-block {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(204, 255, 0, 0.15);
    border-left: 4px solid var(--color-neon);
    padding: 3rem 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    transition: all 0.3s var(--ease-out-expo);
}

.detailed-service-block:hover {
    background: rgba(204, 255, 0, 0.05);
    border-color: var(--color-neon);
    transform: translateX(10px);
    box-shadow: 0 0 30px rgba(204, 255, 0, 0.2);
}

.service-number {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-family: var(--font-display);
    font-size: 4rem;
    color: transparent;
    -webkit-text-stroke: 1px rgba(204, 255, 0, 0.2);
    font-weight: 700;
    line-height: 1;
}

.service-block-title {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    color: var(--color-neon);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-block-desc {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 900px;
}

.service-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.feature-item {
    background: rgba(15, 43, 29, 0.3);
    border: 1px solid rgba(204, 255, 0, 0.2);
    padding: 1rem 1.5rem;
    color: var(--color-text-main);
    font-size: 0.9rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 2.5rem;
}

.feature-item::before {
    content: '✓';
    position: absolute;
    left: 1rem;
    color: var(--color-neon);
    font-weight: 700;
}

.feature-item:hover {
    background: rgba(204, 255, 0, 0.1);
    border-color: var(--color-neon);
    transform: translateX(5px);
}

.sub-service {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sub-service h5 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--color-text-main);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.sub-service p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .service-number {
        font-size: 3rem;
        top: 1rem;
        right: 1rem;
    }

    .service-features-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   ANIME.JS V4 ANIMATION ENHANCEMENTS
   ============================================ */

/* Hero text character animation support - see main .hero-main-text .char rule above */

/* Hero description word animation support */
.hero-subtext .desc-word {
    /* Keep as inline, not inline-block - avoids box artifacts */
    will-change: opacity;
}

/* Override CSS animations when Anime.js is active */
.anime-active .hero-main-text,
.anime-active .hero-subtext,
.anime-active .hero-metrics,
.anime-active .service-card {
    animation: none !important;
    opacity: 1;
    transform: none;
}

/* Ensure smooth GPU-accelerated animations */
.service-card,
.trust-card,
.approach-step,
.faq-item,
.tech-list span,
.comparison-table tr,
.floating-whatsapp {
    will-change: transform, opacity;
    backface-visibility: hidden;
}

/* Logo animation support */
.nav-logo svg circle,
.nav-logo svg line {
    transform-origin: center;
    will-change: transform, opacity;
}

/* SVG icon drawing support */
.service-icon svg path,
.service-icon svg rect,
.service-icon svg polyline,
.service-icon svg line,
.trust-icon svg path {
    will-change: stroke-dashoffset;
}

/* WhatsApp button pulse glow */
.floating-whatsapp {
    will-change: transform, box-shadow;
}

/* Form input animation support */
.form-group label {
    will-change: transform, color;
    transform-origin: left center;
}

.form-group input,
.form-group textarea {
    will-change: border-color;
}

/* Step number animation support */
.step-number {
    will-change: transform;
    transform-origin: center;
}

/* Tech tags wave animation */
.tech-list span {
    will-change: transform, opacity;
}

/* Comparison table checkmarks */
.comparison-table .check,
.comparison-table .cross {
    will-change: transform;
}

/* Parallax elements */
.hero-glow,
.hero-content {
    will-change: transform, opacity;
}

/* Reduced motion - disable will-change for performance */
@media (prefers-reduced-motion: reduce) {

    .hero-main-text .char,
    .service-card,
    .trust-card,
    .approach-step,
    .faq-item,
    .tech-list span,
    .comparison-table tr,
    .floating-whatsapp,
    .nav-logo svg circle,
    .nav-logo svg line,
    .service-icon svg path,
    .trust-icon svg path,
    .form-group label,
    .step-number,
    .hero-glow,
    .hero-content {
        will-change: auto !important;
        animation: none !important;
        transition: none !important;
    }
}

/* Neon text glow effect */
.text-neon {
    text-shadow: 0 0 20px rgba(204, 255, 0, 0.5), 0 0 40px rgba(204, 255, 0, 0.3);
}

/* Service card hover state enhancement */
.service-card:hover .service-icon svg {
    filter: drop-shadow(0 0 10px rgba(204, 255, 0, 0.5));
}

/* Trust card icon glow on animation */
.trust-icon svg {
    transition: filter 0.3s ease;
}

.trust-card:hover .trust-icon svg {
    filter: drop-shadow(0 0 8px rgba(204, 255, 0, 0.4));
}

/* Approach step number glow */
.step-number {
    transition: text-shadow 0.3s ease;
}

.approach-step:hover .step-number {
    text-shadow: 0 0 20px rgba(204, 255, 0, 0.6);
}