/* ============================================================
   WEB&MORE STUDIOS — Premium Agency CSS
   Color Theme: Electric Blue / Violet / Deep Dark
   ============================================================ */

:root {
    --bg-color: #04040d;
    --bg-secondary: #070714;
    --text-color: #f0f0f8;
    --accent-color: #4F6EF7;
    --accent-secondary: #8B5CF6;
    --accent-glow: rgba(79, 110, 247, 0.35);
    --hover-color: #ffffff;
    --secondary-text: #7878a0;
    --border-color: rgba(255, 255, 255, 0.07);
    --card-bg: rgba(255, 255, 255, 0.03);
    --glass-bg: rgba(10, 10, 30, 0.6);

    --font-display: 'Syne', sans-serif;
    --font-body: 'Manrope', sans-serif;

    --container-width: 90%;
    --max-width: 1400px;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    overflow-x: hidden;
    width: 100%;
    position: relative;
    cursor: none;
}

@media (pointer: fine) {
    *,
    *::before,
    *::after,
    html,
    body,
    a,
    button,
    input,
    textarea,
    select,
    label,
    div,
    span {
        cursor: none !important;
    }
}

/* Noise texture overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.025;
    pointer-events: none;
    z-index: 1;
}

/* ============================================================
   CUSTOM FUTURISTIC CURSOR
   ============================================================ */
body, a, button, input, select, textarea, [role="button"] {
    cursor: none !important;
}

@media (hover: none), (pointer: coarse) {
    *, *::before, *::after, html, body, a, button, input, select, textarea, [role="button"], label, div, span {
        cursor: auto !important;
    }
    .custom-cursor-wrap, .cursor-halo, .cursor-pointer {
        display: none !important;
    }
}

.custom-cursor-wrap {
    position: fixed;
    top: 0; left: 0;
    width: 0; height: 0;
    pointer-events: none;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-cursor-wrap.visible {
    opacity: 1;
}

/* Circular Halo Ring matching reference image */
.cursor-halo {
    position: fixed;
    top: 0; left: 0;
    width: 42px; height: 42px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    background: transparent;
    border: 1px solid rgba(79, 110, 247, 0.45);
    box-shadow: 0 0 12px rgba(79, 110, 247, 0.15);
    transform: translate(-50%, -50%);
    will-change: transform;
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Sharp Modern Arrow Pointer */
.cursor-pointer {
    position: fixed;
    top: 0; left: 0;
    width: 22px; height: 22px;
    pointer-events: none;
    z-index: 99999;
    filter: drop-shadow(0 0 6px rgba(112, 141, 254, 0.65)) drop-shadow(0 0 14px rgba(79, 110, 247, 0.35));
    will-change: transform;
    transition: filter 0.2s ease;
}

.cursor-pointer svg {
    width: 100%; height: 100%;
    display: block;
}

/* Interactive Hover state */
.custom-cursor-wrap.hovering .cursor-halo {
    width: 52px; height: 52px;
    box-shadow: inset 0 0 14px rgba(112, 141, 254, 0.22), 0 0 24px rgba(112, 141, 254, 0.35);
}

.custom-cursor-wrap.hovering .cursor-pointer {
    transform: scale(1.12);
    filter: drop-shadow(0 0 10px rgba(112, 141, 254, 0.9)) drop-shadow(0 0 20px rgba(79, 110, 247, 0.6));
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 0.95;
}

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

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

/* ============================================================
   HEADER
   ============================================================ */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(4, 4, 13, 0.9), transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

header.nav-hidden {
    transform: translate3d(0, -100%, 0);
}

.logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 40%, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    display: none;
}

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

.btn-primary {
    padding: 0.8rem 1.5rem;
    border: 1px solid rgba(79, 110, 247, 0.4);
    border-radius: 50px;
    font-size: 0.75rem;
    text-transform: uppercase;
    transition: all 0.35s ease;
    background: transparent;
    color: var(--text-color);
    margin-right: 1rem;
    letter-spacing: 0.05em;
}

.btn-primary:hover {
    background: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
    box-shadow: 0 0 20px var(--accent-glow);
}

.menu-toggle {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: none;
    mix-blend-mode: normal;
    z-index: 200;
}

.menu-text {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    display: inline-flex;
    perspective: 400px;
    position: relative;
    padding-bottom: 4px;
}

.menu-text::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 5px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 12' preserveAspectRatio='none'%3E%3Cpath d='M0 9 Q 50 1 100 9' stroke='%234F6EF7' stroke-width='3.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center/100% 100%;
    opacity: 0.9;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-char {
    display: inline-block;
    transform-style: preserve-3d;
    backface-visibility: visible;
    animation: menuWave 2s ease-in-out infinite;
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
    transform: rotateY(0deg);
}

.menu-char:nth-child(1) { animation-delay: 0s; transition-delay: 0s; }
.menu-char:nth-child(2) { animation-delay: 0.2s; transition-delay: 0.08s; }
.menu-char:nth-child(3) { animation-delay: 0.4s; transition-delay: 0.16s; }
.menu-char:nth-child(4) { animation-delay: 0.6s; transition-delay: 0.24s; }

.menu-toggle:hover .menu-char {
    transform: rotateY(360deg);
}

@keyframes menuWave {
    0%, 100% {
        translate: 0 0;
    }
    50% {
        translate: 0 -2px;
    }
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 26px;
    position: relative;
}

.bar {
    height: 1.5px;
    background: #fff;
    border-radius: 4px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), width 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
    transform-origin: center;
}

.bar:first-child {
    width: 65%;
    margin-left: auto;
}

.bar:last-child {
    width: 100%;
}

/* Hover: Top line expands to 100% with indigo accent, bottom line contracts to 65% */
.menu-toggle:hover .bar:first-child {
    width: 100%;
    background-color: #4F6EF7;
}

.menu-toggle:hover .bar:last-child {
    width: 65%;
}

/* ============================================================
   MENU OVERLAY
   ============================================================ */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #04040d;
    z-index: 150;
    display: flex;
    flex-direction: column;
    padding: 2rem 5%;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.menu-overlay.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.menu-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: auto;
}

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

.nav-label {
    font-size: 0.85rem;
    color: var(--secondary-text);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.menu-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

.menu-close {
    width: 40px;
    height: 40px;
    background: rgba(79, 110, 247, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: none;
    transition: background 0.3s;
}

.menu-close:hover { background: var(--accent-color); }

.menu-center {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1vh 0;
}

.menu-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    text-align: center;
}

.menu-link {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 500;
    color: var(--text-color);
    text-transform: none;
    position: relative;
    line-height: 1.1;
    transition: color 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    width: fit-content;
    display: flex;
    align-items: center;
}

.menu-link::before,
.menu-link::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    transform: translateY(-50%) scaleX(0);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.menu-link::before {
    left: -80px;
    transform-origin: right;
}

.menu-link::after {
    right: -80px;
    transform-origin: left;
}

.menu-link:hover {
    color: var(--accent-color);
}

.menu-link:hover::before,
.menu-link:hover::after {
    transform: translateY(-50%) scaleX(1);
}

.m-sup {
    font-size: 1rem;
    vertical-align: super;
    margin-left: 0.5rem;
    font-family: var(--font-body);
    font-weight: 400;
    opacity: 0.7;
}

.menu-logo-brand {
    display: none; /* hidden on desktop, shown on mobile */
}

.menu-bottom-cta {
    display: none !important; /* hidden on desktop */
}

.menu-bottom {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    margin-top: auto;
    width: 100%;
    flex-wrap: wrap;
    gap: 2rem;
}

.m-badge    { display: flex; align-items: center; gap: 1rem; opacity: 0; }
.badge-circle {
    width: 50px; height: 50px;
    border: 2px solid rgba(79,110,247,0.4);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.5rem;
    color: var(--accent-color);
}

.badge-text { font-size: 0.8rem; display: flex; flex-direction: column; }

.m-info {
    text-align: right;
    display: flex; flex-direction: column;
    align-items: flex-end; gap: 0.8rem; opacity: 0;
}

.m-contact h3 { font-size: 1.2rem; margin-bottom: 0.2rem; }
.email-link { font-size: 0.9rem; text-decoration: underline; color: var(--secondary-text); }
.m-legal { font-size: 0.8rem; color: var(--secondary-text); display: flex; flex-direction: column; gap: 0.2rem; }

.social-circles { display: flex; gap: 0.6rem; }
.s-circle {
    width: 44px; height: 44px;
    border: 1px solid rgba(79,110,247,0.4);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s;
}
.s-circle svg { width: 20px; height: 20px; }
.s-circle:hover { background: var(--accent-color); border-color: var(--accent-color); }

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 99999;
    background: #04040d;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding: 2rem;
    pointer-events: none;
    will-change: transform;
    overflow: hidden;
}

.loader-counter {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 800;
    color: var(--text-color);
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #fff 30%, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loader-blind {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #04040d;
    z-index: 1;
    transform-origin: top;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 15vh 0 5vh;
    position: relative;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Mesh gradient background */
.hero::before {
    content: '';
    position: absolute;
    width: 900px; height: 900px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 110, 247, 0.12) 0%, transparent 70%);
    top: -200px; right: -300px;
    pointer-events: none;
    animation: pulse-orb 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    bottom: -100px; left: -100px;
    pointer-events: none;
    animation: pulse-orb 10s ease-in-out infinite 2s;
}

@keyframes pulse-orb {
    0%, 100% { transform: scale(1) translateY(0); opacity: 0.7; }
    50%       { transform: scale(1.15) translateY(-20px); opacity: 1; }
}

.hero-logo-bg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
}

.hero-logo-glow {
    position: absolute;
    width: 60vw;
    height: 60vw;
    max-width: 1000px;
    max-height: 1000px;
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(120px);
    background: radial-gradient(circle, #435DD0, transparent 90%);
}

.hero-logo-silhouette {
    width: 50vw;
    height: 50vw;
    max-width: 900px;
    max-height: 900px;
    object-fit: contain;
    opacity: 0.02;
    user-select: none;
    filter: brightness(2) drop-shadow(0 0 60px rgba(79, 110, 247, 0.3));
}

.hero-content {
    width: var(--container-width);
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 2;
    min-height: 50vh; /* Locks the hero-content container height to stop absolute child shifts */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; /* Stops flex column children from stretching full width */
}

.reveal-text {
    font-size: clamp(2.1rem, 6.6vw, 4.8rem);
    letter-spacing: -0.04em;
    line-height: 1.06;
    min-height: 3.2em; /* Keeps the 3-line hero copy stable without letting the lines collide */
    display: block; /* Important: Block display stops it from collapsing to content flex heights */
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    opacity: 0;
    transform: translateY(50px);
    color: #ffffff; /* Use solid white to prevent double-rendering bugs with 3D child transforms */
    position: relative;
    z-index: 10;
    pointer-events: none;
}

.hero-sub {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
}

@media (min-width: 768px) {
    .hero-sub {
        position: absolute;
        bottom: 1rem;
        right: 0;
        align-items: flex-end;
    }
}

#hero-3d-logo {
    width: 750px;
    height: 650px;
    cursor: grab;
    position: absolute;
    right: -330px;
    bottom: -100px;
    z-index: 5;
}

.reveal-text-sm {
    text-align: left;
    font-size: 1rem;
    color: var(--secondary-text);
    max-width: 350px;
    opacity: 0;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .reveal-text-sm { text-align: right; }
}

.scroll-indicator {
    display: flex;
    gap: 1rem;
    align-items: center;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0;
    color: var(--secondary-text);
}

.scroll-indicator .line {
    width: 40px; height: 1px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    animation: line-pulse 2s ease-in-out infinite;
}

@keyframes line-pulse {
    0%, 100% { width: 40px; opacity: 0.6; }
    50%       { width: 70px; opacity: 1;   }
}
/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
    padding: 15vh 0;
    position: relative;
    overflow: hidden;
    background: var(--bg-secondary);
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.about-header { margin-bottom: 5rem; }

.section-label {
    display: block;
    font-size: 0.85rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.about-title {
    font-size: clamp(3rem, 8vw, 6rem);
    color: var(--text-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 992px) {
    .about-grid {
        grid-template-columns: 1.2fr 1fr;
        align-items: center;
    }
}

.about-description {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    line-height: 1.6;
    color: var(--secondary-text);
    margin-bottom: 4rem;
    max-width: 600px;
}

.highlight {
    color: var(--text-color);
    font-weight: 600;
    background: linear-gradient(135deg, #fff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Stats Cards */
.stats-grid-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 600px) {
    .stats-grid-cards { grid-template-columns: 1fr 1fr; }
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 20px;
    transition: transform 0.4s ease, background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0% 0%, rgba(79,110,247,0.08), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.stat-card:hover {
    background: rgba(79, 110, 247, 0.05);
    border-color: rgba(79, 110, 247, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(79,110,247,0.1);
}
.stat-card:hover::before { opacity: 1; }

.stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 40%, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
}

.stat-desc {
    font-size: 0.85rem;
    color: var(--secondary-text);
    line-height: 1.5;
    display: block;
}

/* Process Wheel */
.about-visual {
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (min-width: 992px) {
    .about-visual {
        transform: translate(60px, 40px);
    }
}

.process-wheel-container {
    position: relative;
    width: 500px; height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wheel-center {
    width: 240px;
    height: 240px;
    min-width: 240px;
    min-height: 240px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid rgba(79, 110, 247, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2;
    background: #04040d;
    box-shadow: 0 0 40px rgba(79, 110, 247, 0.2), inset 0 0 30px rgba(79, 110, 247, 0.08);
    padding: 15px;
    position: relative;
    overflow: hidden;
}

.wheel-center h3.glitch-text {
    color: #fff;
    font-size: 1.25rem;
    font-family: var(--font-display);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.2;
    letter-spacing: 0.04em;
    position: relative;
    margin: 0 auto;
    user-select: none;
    z-index: 2;
}

.wheel-center h3.glitch-text::after,
.wheel-center h3.glitch-text::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    white-space: pre;
    color: #fff;
    background-color: #04040d;
    overflow: hidden;
    clip-path: inset(0 0 0 0);
    pointer-events: none;
}

.wheel-center h3.glitch-text::after {
    left: 3px;
    text-shadow: -3px 0 #4F6EF7;
    animation: animate-glitch 12s infinite linear alternate-reverse;
}

.wheel-center h3.glitch-text::before {
    left: -3px;
    text-shadow: 3px 0 #708DFE;
    animation: animate-glitch 11s infinite linear alternate-reverse;
}

@keyframes animate-glitch {
  0% { clip-path: inset(15% 0 65% 0); }
  5% { clip-path: inset(65% 0 8% 0); }
  10% { clip-path: inset(35% 0 40% 0); }
  15% { clip-path: inset(70% 0 5% 0); }
  20% { clip-path: inset(5% 0 75% 0); }
  25% { clip-path: inset(60% 0 15% 0); }
  30% { clip-path: inset(40% 0 35% 0); }
  35% { clip-path: inset(75% 0 4% 0); }
  40% { clip-path: inset(10% 0 70% 0); }
  45% { clip-path: inset(55% 0 18% 0); }
  50% { clip-path: inset(80% 0 0% 0); }
  55% { clip-path: inset(20% 0 60% 0); }
  60% { clip-path: inset(68% 0 10% 0); }
  65% { clip-path: inset(30% 0 45% 0); }
  70% { clip-path: inset(72% 0 6% 0); }
  75% { clip-path: inset(12% 0 70% 0); }
  80% { clip-path: inset(64% 0 12% 0); }
  85% { clip-path: inset(42% 0 32% 0); }
  90% { clip-path: inset(78% 0 2% 0); }
  95% { clip-path: inset(22% 0 58% 0); }
  100% { clip-path: inset(66% 0 10% 0); }
}

.wheel-arc {
    position: absolute;
    width: 100%; height: 100%;
    opacity: 0.15;
    border-radius: 50%;
    border: 1px dashed var(--accent-color);
    animation: rotateArc 20s linear infinite;
    z-index: 1;
}

@keyframes rotateArc {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.wheel-step {
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    z-index: 20;
    opacity: 0;
    pointer-events: none;
    --orbit-radius: 0px;
    animation: orbit 20s linear infinite;
}

.step-1 { animation-delay: 0s; }
.step-2 { animation-delay: -4s; }
.step-3 { animation-delay: -8s; }
.step-4 { animation-delay: -12s; }
.step-5 { animation-delay: -16s; }

.step-icon {
    position: absolute;
    top: -52px; left: -52px;
    width: 100px; height: 100px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    box-shadow: 0 0 25px var(--accent-glow), 0 0 50px rgba(79,110,247,0.3);
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-icon svg { width: 45px; height: 45px; }
.step-line { display: none; }

.step-content {
    position: absolute;
    left: 55px; top: -10px;
    width: max-content;
    text-align: left;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    background: rgba(4, 4, 13, 0.9);
    backdrop-filter: blur(12px);
    padding: 10px 15px;
    border-radius: 12px;
    border: 1px solid rgba(79,110,247,0.25);
    box-shadow: 0 4px 24px rgba(0,0,0,0.6);
    z-index: 10;
}

.wheel-step:hover .step-content {
    opacity: 1;
    transform: translateX(0);
}

.process-wheel-container:has(.wheel-step:hover) .wheel-step {
    animation-play-state: paused;
}

.step-content h4 {
    font-size: 0.9rem;
    color: var(--accent-color);
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 0.2rem;
}

.step-content p {
    font-size: 0.75rem;
    color: var(--secondary-text);
    line-height: 1.2;
}

@keyframes orbit {
    0%   { transform: rotate(0deg) translateY(calc(var(--orbit-radius) * -1)) rotate(0deg); }
    100% { transform: rotate(360deg) translateY(calc(var(--orbit-radius) * -1)) rotate(-360deg); }
}

@media (max-width: 991px) {
    .process-wheel-container { transform: scale(0.6); }
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section {
    padding: 10vh 0;
    background: var(--bg-color);
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-secondary), transparent);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #fff;
}

.year {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--secondary-text);
    border: 1px solid var(--border-color);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    margin-bottom: 10px;
    display: inline-block;
}

.services-list-container {
    position: relative;
    width: 100%;
    margin-top: 4rem;
}

.interactive-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-top: 1px solid var(--border-color);
}

.interactive-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3rem 2rem;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.35s ease;
    cursor: none;
    position: relative;
    overflow: hidden;
}

.interactive-item::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 0;
    background: linear-gradient(90deg, rgba(79,110,247,0.06), transparent);
    transition: width 0.5s ease;
}

.interactive-item:hover,
.interactive-item.active { padding-left: 4rem; padding-right: 4rem; }
.interactive-item:hover::before,
.interactive-item.active::before { width: 100%; }

.item-num {
    font-size: 0.9rem;
    color: var(--secondary-text);
    width: 60px;
    font-family: var(--font-display);
}

.item-name {
    flex: 1;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--secondary-text);
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.interactive-item:hover .item-name,
.interactive-item.active .item-name {
    color: var(--text-color);
    -webkit-text-stroke: 1px rgba(79,110,247,0.4);
}

.item-detail {
    font-size: 1rem;
    color: var(--accent-color);
    margin-right: 3rem;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

@media (min-width: 992px) {
    .interactive-item:hover .item-detail,
    .interactive-item.active .item-detail { opacity: 1; transform: translateX(0); }
}

.item-arrow {
    color: var(--text-color);
    opacity: 0.3;
    transform: rotate(-45deg);
    transition: all 0.3s ease;
}

.interactive-item:hover .item-arrow,
.interactive-item.active .item-arrow {
    opacity: 1;
    color: var(--accent-color);
    transform: rotate(0) scale(1.2);
    filter: drop-shadow(0 0 6px var(--accent-color));
}


/* Floating Preview Image */
.service-preview {
    position: fixed;
    top: 0; left: 0;
    width: 400px; height: 300px;
    z-index: 5;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.85);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.preview-img-wrapper {
    width: 100%; height: 100%;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(79,110,247,0.3);
    box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 30px rgba(79,110,247,0.15);
}

.preview-img-wrapper img {
    width: 100%; height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 0.5s ease;
}

.industry-card,.industry-card.bg-card,.tags,.service-head,.service-body,.service-icon { display: none; }

/* ============================================================
   WORKFLOW SECTION
   ============================================================ */
.workflow-section {
    background: linear-gradient(135deg, #0e0e2e 0%, #0a0a20 50%, #070714 100%);
    padding: 15vh 0;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.workflow-section::before {
    content: '';
    position: absolute;
    width: 800px; height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79,110,247,0.08) 0%, transparent 65%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.center-align {
    text-align: center;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 5rem;
}

.light-border { border-color: rgba(79,110,247,0.4) !important; color: var(--accent-color) !important; }
h2.light-text { color: #fff; }

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

@media (max-width: 992px) { .workflow-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .workflow-grid { grid-template-columns: 1fr; } }

.workflow-card {
    background: rgba(255,255,255,0.02);
    padding: 3rem 2rem;
    border-radius: 16px;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(79,110,247,0.1);
    position: relative;
    overflow: hidden;
    cursor: default;
    backdrop-filter: blur(10px);
}

.workflow-card::before {
    content: '';
    position: absolute;
    top: 0; left: -120%;
    width: 60%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79,110,247,0.8), transparent);
    transition: left 0.65s ease;
}

.workflow-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0%; height: 1px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary));
    transition: width 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.workflow-card:hover {
    transform: translateY(-8px);
    border-color: rgba(79,110,247,0.3);
    box-shadow: 0 20px 50px rgba(79,110,247,0.12), 0 4px 20px rgba(0,0,0,0.3);
}
.workflow-card:hover::before { left: 160%; }
.workflow-card:hover::after  { width: 100%; }

.w-icon {
    width: 80px; height: 80px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: iconFloat 3s ease-in-out infinite;
    transition: filter 0.3s ease, transform 0.3s ease;
    position: relative;
}

.w-icon::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79,110,247,0.12), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.workflow-card:hover .w-icon::before { opacity: 1; }
.workflow-card:hover .w-icon { filter: drop-shadow(0 0 10px currentColor); animation-play-state: paused; transform: scale(1.1); }
.w-icon svg { width: 60px; height: 60px; }

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-8px); }
}

.workflow-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.workflow-card p {
    font-size: 0.9rem;
    color: var(--secondary-text);
    line-height: 1.7;
    transition: color 0.3s ease;
}

.workflow-card:hover h3 { color: #fff; }
.workflow-card:hover p  { color: rgba(255,255,255,0.65); }

/* ============================================================
   INDUSTRIES SECTION
   ============================================================ */
.industries-section {
    padding: 15vh 0;
    background: var(--bg-color);
    position: relative;
    z-index: 10;
}

.industries-accordion {
    display: flex;
    height: 60vh;
    min-height: 500px;
    width: 100%;
    margin-top: 4rem;
    gap: 1px;
    background: rgba(79,110,247,0.1);
    border-radius: 12px;
    overflow: hidden;
}

.acc-item {
    flex: 1;
    position: relative;
    overflow: hidden;
    transition: flex 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: none;
    background: var(--bg-color);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    border-right: 1px solid rgba(79,110,247,0.1);
}

.acc-item:last-child { border-right: none; }
.acc-item:hover { flex: 3; }

.acc-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.15;
    transition: opacity 0.5s ease, transform 0.6s ease;
    filter: grayscale(100%);
    z-index: 1;
}

.acc-item:hover .acc-bg {
    opacity: 0.55;
    transform: scale(1.05);
    filter: grayscale(0%);
}

.acc-content {
    position: relative;
    z-index: 2;
    transition: transform 0.5s ease;
}

.acc-num {
    display: block;
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.acc-title {
    font-size: 1.5rem;
    color: var(--text-color);
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
    transition: all 0.5s ease;
}

.acc-item:hover .acc-title {
    writing-mode: horizontal-tb;
    transform: rotate(0);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .acc-title { writing-mode: horizontal-tb; transform: rotate(0); font-size: 2rem; }
}

.acc-hover-content {
    position: relative;
    z-index: 2;
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s ease;
}

.acc-item:hover .acc-hover-content { height: auto; opacity: 1; }

/* ============================================================
   CLIENTELE SECTION
   ============================================================ */
.clientele-section {
    background: linear-gradient(135deg, #0e0e2e 0%, #0a0a1a 100%);
    padding: 12vh 0;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.clientele-section::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139,92,246,0.08) 0%, transparent 70%);
    top: -100px; right: -100px;
    pointer-events: none;
}

.clientele-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

@media (max-width: 992px) { .clientele-container { grid-template-columns: 1fr; gap: 3rem; } }

.clientele-text h2.light-text {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 2rem;
    line-height: 1.1;
}

.clientele-desc p {
    color: rgba(240,240,248,0.7);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.clientele-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 600px) { .clientele-grid { grid-template-columns: 1fr; } }

.client-card {
    background: rgba(255,255,255,0.03);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    border: 1px solid rgba(79,110,247,0.1);
    position: relative;
    overflow: hidden;
    cursor: default;
    backdrop-filter: blur(8px);
}

.client-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(139,92,246,0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.client-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-secondary), transparent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.client-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139,92,246,0.3);
    box-shadow: 0 20px 40px rgba(139,92,246,0.12);
}
.client-card:hover::before { opacity: 1; }
.client-card:hover::after  { transform: scaleX(1); }

.c-icon {
    width: 60px; height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: iconFloat 3.5s ease-in-out infinite;
    transition: filter 0.3s ease, transform 0.3s ease;
}

.client-card:hover .c-icon {
    filter: drop-shadow(0 0 14px currentColor);
    animation-play-state: paused;
    transform: scale(1.12);
}

.c-icon svg { width: 48px; height: 48px; }

.client-card h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.client-card:hover h3 { color: #fff; }

/* ============================================================
   WORK / PROJECTS SECTION
   ============================================================ */
.work-section {
    padding: 10vh 0;
    background: var(--bg-secondary);
    position: relative;
}

.work-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.work-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 768px) {
    .work-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

.project-card {
    position: relative;
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
}

.project-image {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    margin-bottom: 1rem;
    background: #0a0a20;
    border-radius: 12px;
    position: relative;
}

.project-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    border: 1px solid rgba(79,110,247,0);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
    z-index: 2;
}

.project-card:hover .project-image::after {
    border-color: rgba(79,110,247,0.4);
    box-shadow: inset 0 0 30px rgba(79,110,247,0.08);
}

.project-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top left;
    transition: transform 0.8s ease;
    filter: grayscale(80%) brightness(0.85);
}

.project-card:hover .project-image img {
    transform: scale(1.06);
    filter: grayscale(0%) brightness(1);
}

.img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4,4,13,0.7) 0%, transparent 60%);
    z-index: 1;
    transition: opacity 0.4s;
}

.project-card:hover .img-overlay { opacity: 0.5; }

.project-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 0.5rem;
}

.info-left h3 {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
    background: linear-gradient(135deg, #fff, rgba(79,110,247,0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.role {
    color: var(--accent-color);
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.info-right p {
    color: var(--secondary-text);
    font-size: 0.85rem;
    max-width: 200px;
    text-align: right;
    line-height: 1.5;
}

.project-tags { margin-top: 0.8rem; gap: 0.5rem; }

.project-tags li {
    font-size: 0.65rem;
    padding: 0.2rem 0.6rem;
    border: 1px solid rgba(79,110,247,0.2);
    border-radius: 50px;
    color: var(--secondary-text);
    list-style: none;
    display: inline-block;
}

ul.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
    padding: 10vh 0;
    text-align: center;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;

}

.testimonials-section::before {
    content: '';
    position: absolute;
    width: 700px; height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79,110,247,0.07) 0%, transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.testimonial-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.quote-mark {
    font-family: var(--font-display);
    font-size: 8rem;
    line-height: 0.6;
    color: transparent;
    -webkit-text-stroke: 1px rgba(79,110,247,0.25);
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    line-height: 1.5;
    margin: 1.5rem 0 2.5rem;
    color: var(--text-color);
    font-style: italic;
}

.client-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.client-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.1em;
    color: var(--accent-color);
}

.client-role {
    font-size: 0.85rem;
    color: var(--secondary-text);
}

/* ============================================================
   NEWSLETTER SECTION
   ============================================================ */
.newsletter-section {
    background: linear-gradient(135deg, #0a0a28 0%, #080820 100%);
    padding: 10vh 0;
    text-align: center;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), var(--accent-secondary), transparent);
}

.newsletter-header { margin-bottom: 3.5rem; }

.newsletter-label {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    font-weight: 700;
}

.newsletter-header h2 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.5rem);
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
    flex-wrap: wrap;
    padding: 0 2rem;
}

.input-wrap { flex: 1; min-width: 220px; }

.newsletter-form input {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(79,110,247,0.2);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-form input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(79,110,247,0.12);
}

.btn-subscribe {
    background: var(--accent-color);
    color: #fff;
    border: none;
    padding: 0 2rem;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    cursor: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
    height: 56px;
    letter-spacing: 0.05em;
}

.btn-subscribe:hover {
    background: #6b84ff;
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-2px);
}

.arrow-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px; height: 22px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    font-size: 0.75rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    padding: 10vh 0 5vh;
    background: #02020a;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79,110,247,0.4), transparent);
}

.footer-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 6rem;
}

.footer-cta h2 {
    font-size: 1rem;
    color: var(--secondary-text);
    margin-bottom: 1.5rem;
    letter-spacing: 0.2em;
}

.giant-link {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 4.2vw, 4.2rem);
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.25);
    transition: -webkit-text-stroke-color 0.4s, color 0.4s, text-shadow 0.4s;
    display: inline-block;
    line-height: 1;
    max-width: 100%;
    transform: translateX(-80px);
    
}

.giant-link:hover {
    -webkit-text-stroke-color: transparent;
    color: var(--accent-color);
    text-shadow: 0 0 60px #4f6ef766, 0 0 120px rgba(79,110,247,0.15);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--secondary-text);
}

@media (min-width: 768px) {
    .footer-bottom { flex-direction: row; justify-content: space-between; }
}

.socials { display: flex; gap: 1.5rem; }
.socials a { color: var(--secondary-text); transition: color 0.3s; }
.socials a:hover { color: var(--accent-color); }

/* Header Appointment Button */
.btn-appointment {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.1rem;
    border-radius: 50px;
    background: rgba(79, 110, 247, 0.12);
    border: 1px solid rgba(79, 110, 247, 0.35);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-appointment:hover {
    background: rgba(79, 110, 247, 0.25);
    border-color: #4F6EF7;
    box-shadow: 0 0 20px rgba(79, 110, 247, 0.3);
    transform: translateY(-1px);
    color: #fff;
}

/* ============================================================
   APPOINTMENT BOOKING MODAL
   ============================================================ */
.appointment-modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    background: rgba(4, 4, 13, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 1.5rem;
}

.appointment-modal.active {
    opacity: 1;
    pointer-events: all;
}

.appointment-card {
    background: #090a1a;
    border: 1px solid rgba(79, 110, 247, 0.25);
    width: 100%;
    max-width: 920px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 24px;
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), 0 0 50px rgba(79, 110, 247, 0.15);
    transform: translateY(30px) scale(0.98);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.appointment-modal.active .appointment-card {
    transform: translateY(0) scale(1);
}

.appt-close-btn {
    position: absolute;
    top: 1.25rem; right: 1.25rem;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--secondary-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.appt-close-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    border-color: rgba(79, 110, 247, 0.5);
    box-shadow: 0 0 15px rgba(79, 110, 247, 0.25);
    transform: scale(1.06) rotate(90deg);
}

.appt-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    min-height: 540px;
}

@media (max-width: 860px) {
    .appt-layout {
        grid-template-columns: 1fr;
    }
}

/* Sidebar */
.appt-sidebar {
    background: rgba(4, 4, 13, 0.6);
    border-right: 1px solid rgba(79, 110, 247, 0.15);
    padding: 2.2rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.appt-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
}

.appt-logo {
    height: 26px;
    width: auto;
}

.appt-host-profile {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(79, 110, 247, 0.15);
}

.host-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(79, 110, 247, 0.15);
    border: 1px solid rgba(79, 110, 247, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #708DFE;
    position: relative;
}

.avatar-glow {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79,110,247,0.3) 0%, transparent 70%);
}

.host-role {
    display: block;
    font-size: 0.72rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.host-info h4 {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 700;
    line-height: 1.3;
}

.appt-details {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(240, 240, 248, 0.75);
    font-size: 0.82rem;
}

.detail-item svg {
    color: #4F6EF7;
    flex-shrink: 0;
}

.summary-datetime {
    padding: 0.7rem 0.9rem;
    background: rgba(79, 110, 247, 0.08);
    border: 1px solid rgba(79, 110, 247, 0.2);
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
}

.appt-steps-indicator {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(79, 110, 247, 0.15);
}

.step-dot {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
    transition: color 0.3s;
}

.step-dot span {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
}

.step-dot.active {
    color: #fff;
}

.step-dot.active span {
    background: var(--accent-color);
    color: #fff;
    box-shadow: 0 0 10px var(--accent-glow);
}

.step-dot.completed {
    color: #708DFE;
}

.step-dot.completed span {
    background: rgba(79, 110, 247, 0.2);
    color: #708DFE;
}

/* Main Panel */
.appt-main {
    padding: 2.2rem 2.2rem;
    display: flex;
    flex-direction: column;
}

.appt-step-view {
    display: none;
    flex-direction: column;
    height: 100%;
}

.appt-step-view.active {
    display: flex;
}

.appt-step-header {
    margin-bottom: 1.2rem;
}

.appt-step-header h3 {
    font-size: 1.35rem;
    color: #fff;
    font-weight: 800;
    margin-bottom: 0.3rem;
}

.appt-step-header p {
    color: var(--secondary-text);
    font-size: 0.85rem;
}

.btn-appt-back {
    background: none;
    border: none;
    color: var(--accent-color);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin-bottom: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: transform 0.2s;
}

.btn-appt-back:hover {
    transform: translateX(-3px);
}

/* Picker Layout */
.picker-container {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.2rem;
}

@media (max-width: 680px) {
    .picker-container {
        grid-template-columns: 1fr;
    }
}

/* Calendar */
.calendar-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(79, 110, 247, 0.15);
    border-radius: 16px;
    padding: 1.1rem;
}

.calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.9rem;
}

.cal-month-label {
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
}

.cal-nav-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 30px; height: 30px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.cal-nav-btn:hover {
    background: rgba(79, 110, 247, 0.2);
    border-color: #4F6EF7;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 0.72rem;
    color: var(--secondary-text);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.calendar-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.cal-day.disabled {
    opacity: 0.25;
    cursor: not-allowed;
    background: none;
}

.cal-day:not(.disabled):hover {
    background: rgba(79, 110, 247, 0.2);
    border-color: rgba(79, 110, 247, 0.4);
    color: #fff;
}

.cal-day.selected {
    background: #4F6EF7 !important;
    color: #fff !important;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(79, 110, 247, 0.5);
    border-color: #708DFE !important;
}

.cal-day.today {
    border-color: rgba(79, 110, 247, 0.6);
}

/* Timeslots */
.timeslots-section {
    display: flex;
    flex-direction: column;
}

.timeslots-title {
    font-size: 0.82rem;
    color: var(--secondary-text);
    margin-bottom: 0.7rem;
    font-weight: 600;
}

.timeslots-grid {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    max-height: 250px;
    overflow-y: auto;
    padding-right: 6px;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.timeslots-grid::-webkit-scrollbar {
    width: 5px;
}
.timeslots-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 4px;
}
.timeslots-grid::-webkit-scrollbar-thumb {
    background: rgba(79, 110, 247, 0.35);
    border-radius: 4px;
}
.timeslots-grid::-webkit-scrollbar-thumb:hover {
    background: #4F6EF7;
}

.slot-btn {
    padding: 0.65rem 0.9rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(79, 110, 247, 0.2);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
}

.slot-btn:hover {
    background: rgba(79, 110, 247, 0.18);
    border-color: #4F6EF7;
}

.slot-btn.selected {
    background: #4F6EF7;
    color: #fff;
    border-color: #708DFE;
    box-shadow: 0 0 15px rgba(79, 110, 247, 0.5);
}

/* Custom Calendly-style Timezone Picker */
.custom-tz-container {
    position: relative;
    margin-top: 1.2rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.custom-tz-trigger {
    display: flex;
    align-items: center;
    background: rgba(15, 20, 45, 0.75);
    border: 1px solid rgba(79, 110, 247, 0.3);
    border-radius: 12px;
    padding: 0.65rem 1rem;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
}

.custom-tz-trigger:hover,
.custom-tz-container.open .custom-tz-trigger {
    border-color: #4F6EF7;
    background: rgba(20, 25, 60, 0.9);
    box-shadow: 0 0 16px rgba(79, 110, 247, 0.2);
}

.custom-tz-selected-text {
    flex: 1;
    font-size: 0.86rem;
    font-weight: 500;
    color: #ffffff;
}

.tz-chevron {
    color: var(--secondary-text);
    transition: transform 0.25s ease;
}

.custom-tz-container.open .tz-chevron {
    transform: rotate(180deg);
}

/* Popover Panel matching Calendly reference */
.custom-tz-popover {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 0;
    width: 100%;
    background: #080a1c;
    border: 1px solid rgba(79, 110, 247, 0.35);
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.65), 0 0 25px rgba(79, 110, 247, 0.15);
    padding: 0.85rem;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.custom-tz-container.open .custom-tz-popover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Search Box matching Calendly screenshot */
.tz-search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid rgba(79, 110, 247, 0.35);
    border-radius: 12px;
    padding: 0.55rem 0.85rem;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.tz-search-box:focus-within {
    border-color: #4F6EF7;
    box-shadow: 0 0 0 3px rgba(79, 110, 247, 0.2);
}

.tz-search-box svg {
    color: var(--secondary-text);
    flex-shrink: 0;
}

.tz-search-box input {
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 0.86rem;
    font-family: inherit;
    width: 100%;
}

/* Options List matching Calendly screenshot */
.tz-options-list {
    max-height: 220px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 3px;
    overscroll-behavior: contain;
    padding-right: 4px;
}

.tz-options-list::-webkit-scrollbar {
    width: 5px;
}
.tz-options-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
}
.tz-options-list::-webkit-scrollbar-thumb {
    background: rgba(79, 110, 247, 0.35);
    border-radius: 4px;
}

.tz-option-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 0.95rem;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    transition: background 0.15s ease, color 0.15s ease;
    user-select: none;
}

.tz-option-item:hover {
    background: rgba(79, 110, 247, 0.16);
    color: #ffffff;
}

.tz-option-item.selected {
    background: #4F6EF7;
    color: #ffffff;
    font-weight: 600;
}

.tz-option-name {
    font-weight: 500;
}

.tz-option-time {
    font-size: 0.8rem;
    opacity: 0.85;
}

.appt-footer {
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
    padding-top: 0.8rem;
}

.btn-appt-next,
.btn-appt-submit {
    background: var(--accent-color);
    color: #fff;
    border: none;
    padding: 0.75rem 1.8rem;
    border-radius: 10px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-appt-next:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.btn-appt-next:not(:disabled):hover,
.btn-appt-submit:hover {
    background: #6b84ff;
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-2px);
}

/* Step 2 Form */
.appt-form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
}

@media (max-width: 550px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

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

.form-group.full-width {
    width: 100%;
}

.form-group label {
    font-size: 0.78rem;
    color: var(--secondary-text);
    font-weight: 600;
}

/* Input Icon Wrapper (Pill inputs matching reference image) */
.input-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-icon-wrapper .input-icon {
    position: absolute;
    left: 1.1rem;
    color: var(--secondary-text);
    pointer-events: none;
    transition: color 0.3s ease;
    z-index: 2;
}

.input-icon-wrapper input,
.input-icon-wrapper select {
    width: 100%;
    padding: 0.75rem 1.1rem 0.75rem 2.8rem !important;
    background: #0e1024 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 14px !important;
    color: #ffffff !important;
    font-size: 0.85rem;
    outline: none;
    transition: all 0.3s ease;
}

.input-icon-wrapper input:focus,
.input-icon-wrapper select:focus {
    border-color: #4F6EF7 !important;
    background: #121530 !important;
    box-shadow: 0 0 0 3px rgba(79, 110, 247, 0.25) !important;
}

.input-icon-wrapper:focus-within .input-icon {
    color: #4F6EF7;
}

.input-icon-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238BA4FF' 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") !important;
    background-repeat: no-repeat !important;
    background-position: right 1.1rem center !important;
    background-size: 14px !important;
    padding-right: 2.5rem !important;
}

.input-icon-wrapper select:invalid,
.input-icon-wrapper select option[value=""][disabled] {
    color: rgba(255, 255, 255, 0.45);
}

.input-icon-wrapper select option {
    background: #0e1024;
    color: #ffffff;
    padding: 0.6rem;
}

/* Textarea Wrapper & Counter matching reference image */
.textarea-wrapper {
    position: relative;
    width: 100%;
}

.textarea-wrapper textarea {
    width: 100%;
    padding: 0.85rem 1.1rem 2rem 1.1rem !important;
    background: #0e1024 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 14px !important;
    color: #ffffff !important;
    font-size: 0.85rem;
    outline: none;
    resize: vertical;
    min-height: 95px;
    transition: all 0.3s ease;
}

.textarea-wrapper textarea:focus {
    border-color: #4F6EF7 !important;
    background: #121530 !important;
    box-shadow: 0 0 0 3px rgba(79, 110, 247, 0.25) !important;
}

.char-count {
    position: absolute;
    bottom: 0.6rem;
    left: 1.1rem;
    font-size: 0.74rem;
    color: var(--secondary-text);
    pointer-events: none;
}

/* Privacy Terms Checkbox */
.form-terms-row {
    margin-top: 0.2rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.85);
}

.custom-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    cursor: pointer;
    user-select: none;
}

.custom-checkbox input {
    accent-color: #4F6EF7;
    width: 16px; 
    height: 16px;
    cursor: pointer;
}

.form-terms-row a {
    color: #8BA4FF;
    text-decoration: underline;
    margin-left: 0.25rem;
}

/* Full Width Submit Button matching reference image */
.full-btn-footer {
    width: 100%;
    margin-top: 0.5rem;
}

.btn-full-width {
    width: 100% !important;
    padding: 0.85rem 1.5rem !important;
    border-radius: 30px !important;
    background: #4F6EF7 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    box-shadow: 0 4px 20px rgba(79, 110, 247, 0.35) !important;
    transition: all 0.3s ease !important;
}

.btn-full-width:hover {
    background: #6b84ff !important;
    box-shadow: 0 6px 25px rgba(79, 110, 247, 0.5) !important;
    transform: translateY(-2px);
}

/* Hero Action CTA Group */
.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-top: 4rem;
    z-index: 10;
    position: relative;
}

.hero-client-cta {
    display: none;
}

.cta-lead-in {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #8BA4FF;
    text-transform: uppercase;
    opacity: 0.95;
    transition: color 0.3s ease;
}

.animated-underline-btn:hover .cta-lead-in {
    color: #5573ff;
}

/* Hero Animated Underline Link CTA (Zylos-Somiti Style) */
.animated-underline-btn {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    font-family: inherit;
    cursor: pointer;
    display: inline-block;
    animation: ctaPulse 3.2s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.animated-underline-btn:hover {
    animation-play-state: paused;
    transform: translateY(-2px) scale(1.02);
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

@keyframes ctaPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0px rgba(85, 115, 255, 0));
    }
    50% {
        transform: scale(1.035);
        filter: drop-shadow(0 0 14px rgba(85, 115, 255, 0.45));
    }
}

.underline-link-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.middle-arrow {
    color: #8BA4FF;
    opacity: 0.9;
    transform: translateX(0) scale(1);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.15s, opacity 0.3s ease 0.15s;
    flex-shrink: 0;
    margin: 0 0.1rem;
}

.animated-underline-btn:hover .middle-arrow {
    color: #5573ff;
    opacity: 0;
    transform: translateX(28px) scale(0.6);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1) 0s, opacity 0.22s ease 0s;
}

.left-calendar-icon {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease 0.12s, transform 0.3s ease 0.12s;
    flex-shrink: 0;
}

.animated-underline-btn:hover .left-calendar-icon {
    color: #5573ff;
    transform: scale(1.08);
}

.btn-char {
    display: inline-block;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), color 0.3s ease;
    transform: translateY(0);
}

.animated-underline-btn:hover .btn-char {
    color: #5573ff;
    transform: translateY(-4px);
}

/* Forward hover staggered wave (Arrow enters left -> fills right) */
.animated-underline-btn:hover .btn-char:nth-child(1)  { transition-delay: 0.10s; }
.animated-underline-btn:hover .btn-char:nth-child(2)  { transition-delay: 0.12s; }
.animated-underline-btn:hover .btn-char:nth-child(3)  { transition-delay: 0.14s; }
.animated-underline-btn:hover .btn-char:nth-child(4)  { transition-delay: 0.16s; }
.animated-underline-btn:hover .btn-char:nth-child(5)  { transition-delay: 0.18s; }
.animated-underline-btn:hover .btn-char:nth-child(6)  { transition-delay: 0.20s; }
.animated-underline-btn:hover .btn-char:nth-child(7)  { transition-delay: 0.22s; }
.animated-underline-btn:hover .btn-char:nth-child(8)  { transition-delay: 0.24s; }
.animated-underline-btn:hover .btn-char:nth-child(9)  { transition-delay: 0.26s; }
.animated-underline-btn:hover .btn-char:nth-child(10) { transition-delay: 0.28s; }
.animated-underline-btn:hover .btn-char:nth-child(11) { transition-delay: 0.30s; }
.animated-underline-btn:hover .btn-char:nth-child(12) { transition-delay: 0.32s; }
.animated-underline-btn:hover .btn-char:nth-child(13) { transition-delay: 0.34s; }
.animated-underline-btn:hover .btn-char:nth-child(14) { transition-delay: 0.36s; }
.animated-underline-btn:hover .btn-char:nth-child(15) { transition-delay: 0.38s; }
.animated-underline-btn:hover .btn-char:nth-child(16) { transition-delay: 0.40s; }
.animated-underline-btn:hover .btn-char:nth-child(17) { transition-delay: 0.42s; }
.animated-underline-btn:hover .btn-char:nth-child(18) { transition-delay: 0.44s; }
.animated-underline-btn:hover .btn-char:nth-child(19) { transition-delay: 0.46s; }

/* Reverse unhover staggered wave (Un-fills right -> Arrow exits left) */
.btn-char:nth-child(1)  { transition-delay: 0.28s; }
.btn-char:nth-child(2)  { transition-delay: 0.26s; }
.btn-char:nth-child(3)  { transition-delay: 0.24s; }
.btn-char:nth-child(4)  { transition-delay: 0.22s; }
.btn-char:nth-child(5)  { transition-delay: 0.20s; }
.btn-char:nth-child(6)  { transition-delay: 0.18s; }
.btn-char:nth-child(7)  { transition-delay: 0.16s; }
.btn-char:nth-child(8)  { transition-delay: 0.14s; }
.btn-char:nth-child(9)  { transition-delay: 0.12s; }
.btn-char:nth-child(10) { transition-delay: 0.10s; }
.btn-char:nth-child(11) { transition-delay: 0.08s; }
.btn-char:nth-child(12) { transition-delay: 0.06s; }
.btn-char:nth-child(13) { transition-delay: 0.04s; }
.btn-char:nth-child(14) { transition-delay: 0.02s; }
.btn-char:nth-child(15) { transition-delay: 0.00s; }
.btn-char:nth-child(16) { transition-delay: 0.00s; }
.btn-char:nth-child(17) { transition-delay: 0.00s; }
.btn-char:nth-child(18) { transition-delay: 0.00s; }
.btn-char:nth-child(19) { transition-delay: 0.00s; }

.underline-text-container {
    position: relative;
    padding-bottom: 0.55rem;
    display: inline-flex;
    white-space: nowrap;
}

.base-curve-line {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 8px;
    pointer-events: none;
}

.hover-curve-wrap {
    position: absolute;
    bottom: -2px;
    left: 0;
    height: 8px;
    width: 0%;
    overflow: hidden;
    pointer-events: none;
    transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0s;
}

.hover-curve-line {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    min-width: 250px;
    height: 8px;
}

.animated-underline-btn:hover .hover-curve-wrap {
    width: 100%;
    transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}

.underline-arrow {
    color: #5573ff;
    opacity: 0;
    transform: translateX(-16px) scale(0.7);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1) 0s, opacity 0.22s ease 0s;
    flex-shrink: 0;
}

.animated-underline-btn:hover .underline-arrow {
    opacity: 1;
    transform: translateX(0) scale(1);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.42s, opacity 0.35s ease 0.42s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(79, 110, 247, 0.15);
}

/* Success Step */
.success-container {
    text-align: center;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.success-icon-wrap {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: rgba(79, 110, 247, 0.12);
    border: 1px solid rgba(79, 110, 247, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    position: relative;
}

.confirmed-summary-box {
    background: rgba(79, 110, 247, 0.08);
    border: 1px solid rgba(79, 110, 247, 0.25);
    border-radius: 14px;
    padding: 1.1rem 1.8rem;
    margin: 1.2rem 0 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    width: 100%;
    max-width: 360px;
}

.confirm-item {
    font-size: 0.85rem;
    color: #fff;
}

.appt-done-btn {
    padding: 0.75rem 2.2rem;
}

/* ============================================================
   CLIENT MODAL
   ============================================================ */
.client-modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    background: rgba(4, 4, 13, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 200;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.client-modal.active { opacity: 1; pointer-events: all; }

.modal-content {
    background: rgba(10,10,30,0.95);
    border: 1px solid rgba(79,110,247,0.2);
    width: 90%;
    max-width: 600px;
    padding: 3rem;
    border-radius: 24px;
    transform: translateY(50px);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 40px rgba(79,110,247,0.08);
}

.client-modal.active .modal-content { transform: translateY(0); }

.modal-appt-row {
    display: none;
}

.modal-close {
    position: absolute;
    top: 10px; right: 10px;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: #0a0a20;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.modal-close:hover { background: var(--accent-color); border-color: var(--accent-color); }

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

.modal-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-header p { color: var(--secondary-text); font-size: 0.9rem; }

.client-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--secondary-text);
    letter-spacing: 0.08em;
    font-weight: 700;
}

.form-group input, .form-group textarea {
    background: #4f6ef70a;
    border: 1px solid rgba(79,110,247,0.15);
    padding: 1rem;
    font-family: var(--font-body);
    color: var(--text-color);
    font-size: 1rem;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(79,110,247,0.12);
}

.btn-submit {
    margin-top: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary));
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: var(--font-display);
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    letter-spacing: 0.05em;
}

.btn-submit:hover {
    box-shadow: 0 0 30px rgba(79,110,247,0.4);
    transform: translateY(-2px);
}

.btn-arrow {
    width: 30px; height: 30px;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .modal-content { padding: 2rem; }
}

/* ============================================================
   SECTION-TAG UTILITY
   ============================================================ */
.section-tag-light {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
    font-weight: 700;
}

/* ============================================================
   SCROLL-TRIGGERED FADE-IN UTILITY
   ============================================================ */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   ANIMATED GRADIENT BORDER UTILITY
   ============================================================ */
@keyframes border-dance {
    0%   { background-position: 0% 50%;   }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%;   }
}

/* ============================================================
   FLOATING TECH BADGE (Hero Area)
   ============================================================ */
.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(79,110,247,0.1);
    border: 1px solid rgba(79,110,247,0.25);
    border-radius: 50px;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: badge-float 3s ease-in-out infinite;
}

.tech-badge span.dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent-color);
    box-shadow: 0 0 8px var(--accent-color);
    animation: blink 1.5s infinite;
}

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

@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.3; }
}

/* ============================================================
   RESPONSIVE DESIGN SYSTEM (Desktop Preservation & Mobile Optimization)
   Target viewports: 320px, 375px, 390px, 414px, 430px, 768px, 1024px, 1440px+
   ============================================================ */

/* Global Overflow Safety */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Tablet Layout Adapters (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 768px) {
    #hero-3d-logo {
        width: 480px;
        height: 440px;
        right: -80px;
        bottom: -40px;
    }
    .about-visual {
        transform: none;
        margin-top: 2rem;
    }
}

/* Mobile & Small Screen Adapters (< 768px) */
@media (max-width: 767.98px) {
    /* Header & Navigation */
    header {
        padding: 0.8rem 5%;
    }
    .logo {
        font-size: 1.05rem;
    }
    header nav .btn-primary {
        display: none !important; /* Hide secondary button in top header bar on mobile so logo and MENU have plenty of space */
    }
    .menu-toggle {
        padding: 6px 0;
    }
    .menu-text {
        font-size: 0.95rem;
    }
    .hamburger {
        width: 24px;
    }
    
    /* Mobile Overlay Menu (Matching Reference Mockup) */
    .menu-overlay {
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100svh;
        max-height: 100svh;
        padding: 1.2rem 6% 1.6rem;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        background: #04040d;
        z-index: 1000;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-sizing: border-box;
    }
    .menu-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        margin-bottom: 0;
        height: 48px;
        order: 1;
        flex-shrink: 0;
    }
    .menu-logo {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .menu-logo-text {
        font-family: var(--font-display);
        font-weight: 700;
        font-size: 1.05rem;
        color: #ffffff;
        letter-spacing: -0.01em;
    }
    .menu-logo-brand {
        display: inline-block;
        font-family: var(--font-display);
        font-weight: 700;
        font-size: 1rem;
        color: #ffffff;
        letter-spacing: 0.02em;
    }
    .nav-label,
    .menu-top-client-btn {
        display: none !important; /* Hide overlapping center text and duplicate button on mobile overlay */
    }
    .menu-actions {
        display: flex;
        align-items: center;
        gap: 0.8rem;
    }
    /* Hide "Become a Client" from top bar on mobile */
    .menu-actions .btn-primary {
        display: none !important;
    }
    .lang-switch {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    .menu-close {
        width: 38px;
        height: 38px;
    }
    .menu-center {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 0.5rem 0;
        order: 2;
    }
    .menu-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.9rem;
        width: 100%;
    }
    .menu-link {
        font-family: var(--font-display);
        font-size: clamp(1.4rem, 5.2vw, 2.1rem);
        font-weight: 500;
        color: #ffffff;
        padding: 4px 0;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: fit-content;
        margin: 0 auto;
        position: relative;
    }
    .menu-link::before,
    .menu-link::after {
        content: "";
        position: absolute;
        top: 50%;
        width: 28px;
        height: 2px;
        background: var(--accent-color);
        transform: translateY(-50%) scaleX(0);
        transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        display: block !important;
    }
    .menu-link::before {
        left: -38px;
        transform-origin: right;
    }
    .menu-link::after {
        right: -38px;
        transform-origin: left;
    }
    .menu-link:hover,
    .menu-link:active {
        color: var(--accent-color);
    }
    .menu-link:hover::before,
    .menu-link:hover::after,
    .menu-link:active::before,
    .menu-link:active::after {
        transform: translateY(-50%) scaleX(1);
    }
    .menu-bottom {
        width: 100%;
        margin-top: 0.6rem;
        padding-top: 0.8rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding-bottom: 0.8rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.8rem;
        order: 3;
        flex-shrink: 0;
    }
    .m-info {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.9rem;
        opacity: 1;
    }
    .m-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.3rem;
    }
    .m-contact-header {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        font-size: 0.72rem;
        letter-spacing: 0.15em;
        color: var(--secondary-text);
        font-weight: 700;
        text-transform: uppercase;
    }
    .email-link {
        font-size: 0.95rem;
        color: #708DFE;
        text-decoration: underline;
    }
    .social-circles {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.8rem;
        margin: 0.2rem 0;
    }
    .s-circle {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 1px solid rgba(79, 110, 247, 0.35);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #ffffff;
    }
    .menu-bottom-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.6rem;
        width: 100%;
        max-width: 320px;
        padding: 0.85rem 1.5rem;
        border-radius: 50px;
        border: 1px solid rgba(79, 110, 247, 0.6);
        background: transparent;
        color: #ffffff;
        font-family: var(--font-body);
        font-weight: 600;
        font-size: 0.95rem;
        text-decoration: none;
        transition: all 0.3s ease;
        box-shadow: 0 0 20px rgba(79, 110, 247, 0.15);
        margin: 0.2rem auto 0;
    }
    .menu-bottom-cta:hover {
        background: rgba(79, 110, 247, 0.2);
        border-color: #4F6EF7;
        box-shadow: 0 0 25px rgba(79, 110, 247, 0.35);
    }

    /* Hero Section Vertical Layout */
    .hero {
        min-height: 100svh;
        padding: 85px 0 25px;
        display: flex;
        align-items: center;
    }
    .hero::before {
        width: 350px; height: 350px;
        top: -80px; right: -100px;
    }
    .hero::after {
        width: 280px; height: 280px;
        bottom: -40px; left: -80px;
    }
    .hero-content {
        min-height: auto;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 0.5rem;
    }
    .tech-badge {
        margin-left: auto;
        margin-right: auto;
        font-size: 0.68rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 1rem;
    }
    .reveal-text {
        font-size: clamp(1.65rem, 7.8vw, 2.5rem) !important;
        line-height: 1.12 !important;
        letter-spacing: -0.02em !important;
        min-height: auto !important;
        text-align: center !important;
        clip-path: none !important;
        overflow: visible !important;
        margin: 0 auto !important;
        width: 100% !important;
        word-break: normal;
    }
    .hero-cta-group {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 1rem;
    }
    /* Mobile Hero CTA: Hide lead-in prefix so button fits perfectly centered without overflowing screen edge */
    .hero-cta-group .cta-lead-in,
    .hero-cta-group .middle-arrow {
        display: none !important;
    }
    .hero-cta-group .animated-underline-btn {
        padding: 0.5rem 0;
    }
    .hero-cta-group .btn-appointment {
        display: none !important;
    }
    .hero-cta-group .hero-client-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        font-weight: 600;
    }
    .hero-sub {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 0.5rem;
    }
    #hero-3d-logo {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;
        top: auto;
        width: 100%;
        max-width: 320px;
        height: 310px;
        margin: 0.5rem auto;
        display: block;
        cursor: grab;
        overflow: hidden;
        touch-action: pan-y;
    }
    #hero-3d-logo canvas {
        display: block;
        touch-action: pan-y;
    }

    /* Section Headers on Mobile (Stack title & pill button vertically to prevent squishing) */
    .section-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
        margin-bottom: 2.5rem !important;
        text-align: left !important;
    }
    .section-header.center-align {
        align-items: flex-start !important;
        text-align: left !important;
    }
    .section-header h2 {
        font-size: clamp(1.75rem, 6.5vw, 2.6rem) !important;
        line-height: 1.08 !important;
        text-align: left !important;
    }
    .section-header .year,
    .section-header .btn-primary {
        white-space: nowrap !important;
        width: auto !important;
        max-width: max-content !important;
        margin-bottom: 0 !important;
    }

    /* About Section */
    .about-section {
        padding: 5vh 0;
    }
    .about-header {
        margin-bottom: 2rem;
    }
    .about-title {
        font-size: clamp(2rem, 7vw, 3.8rem);
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .about-description {
        font-size: clamp(0.95rem, 3.8vw, 1.2rem);
        margin-bottom: 1.8rem;
    }
    .stats-grid-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    .stat-card {
        padding: 1.2rem 0.8rem;
    }
    .stat-num {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 0.3rem;
    }
    .stat-desc {
        font-size: 0.78rem;
    }

    /* Process Wheel Section */
    .about-visual {
        height: auto;
        min-height: 340px;
        transform: none;
        margin-top: 3rem;
        margin-bottom: 1.5rem;
        padding-bottom: 3.5rem;
    }
    .process-wheel-container {
        width: 100%;
        max-width: 300px;
        height: 300px;
        margin: 0 auto;
    }
    .wheel-center {
        width: 140px;
        height: 140px;
        min-width: 140px;
        min-height: 140px;
        padding: 8px;
    }
    .wheel-center h3.glitch-text {
        font-size: 0.9rem;
    }
    .step-icon {
        width: 80px;
        height: 80px;
        top: -40px;
        left: -40px;
    }
    .step-icon svg {
        width: 34px;
        height: 34px;
    }
    .step-content {
        left: 50%;
        top: 40px;
        transform: translate(-50%, 10px);
        width: min(260px, 84vw);
        white-space: normal;
        text-align: center;
        z-index: 50;
    }
    .wheel-step.active-touch .step-content,
    .wheel-step:hover .step-content {
        opacity: 1;
        transform: translate(-50%, 0);
        pointer-events: auto;
    }

    /* Services Section (Our Expertise Touch Toggle) */
    .services-section {
        padding: 5vh 0;
    }
    .services-section .section-header {
        flex-direction: column-reverse !important;
        gap: 0.6rem !important;
    }
    .interactive-item {
        padding: 1.5rem 0.6rem !important;
        flex-wrap: wrap;
        gap: 0.4rem;
        transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
        border-radius: 12px;
        position: relative;
        background: transparent !important;
    }
    /* Mobile sticky hover override: force rest state on hover so only JS .active drives animation */
    .interactive-item:not(.active):hover {
        padding-left: 0.6rem !important;
        padding-right: 0.6rem !important;
        background: transparent !important;
        box-shadow: none !important;
    }
    .interactive-item:not(.active):hover::before {
        width: 0 !important;
    }
    .interactive-item:not(.active):hover .item-name {
        color: var(--secondary-text) !important;
        -webkit-text-stroke: none !important;
        transform: none !important;
        text-shadow: none !important;
    }
    .interactive-item:not(.active):hover .item-num {
        color: var(--secondary-text) !important;
        font-weight: normal !important;
    }
    .interactive-item:not(.active):hover .item-detail {
        opacity: 1 !important;
        color: #4F6EF7 !important;
    }
    .interactive-item:not(.active):hover .item-arrow {
        opacity: 0.3 !important;
        color: var(--text-color) !important;
        transform: rotate(-45deg) !important;
        filter: none !important;
    }

    /* Active state when tapped on mobile */
    .interactive-item.active {
        padding-left: 1.2rem !important;
        padding-right: 0.8rem !important;
        background: rgba(79, 110, 247, 0.1) !important;
        border-color: rgba(79, 110, 247, 0.4) !important;
        box-shadow: 0 0 25px rgba(79, 110, 247, 0.15) !important;
    }
    .interactive-item.active::before {
        width: 100% !important;
    }
    .interactive-item.active .item-name {
        color: #ffffff !important;
        -webkit-text-stroke: 0.5px rgba(79, 110, 247, 0.6) !important;
        transform: translateX(4px) !important;
    }
    .interactive-item.active .item-num {
        color: #4F6EF7 !important;
        font-weight: bold !important;
    }
    .interactive-item.active .item-detail {
        opacity: 1 !important;
        transform: translateY(0) !important;
        color: #4F6EF7 !important;
        font-weight: 700 !important;
        text-shadow: 0 0 12px rgba(79, 110, 247, 0.4) !important;
    }
    .interactive-item.active .item-arrow {
        opacity: 1 !important;
        color: #4F6EF7 !important;
        transform: rotate(0) scale(1.3) !important;
        filter: drop-shadow(0 0 8px #4F6EF7) !important;
    }
    .item-num {
        width: 40px;
        font-size: 0.8rem;
    }
    .item-name {
        font-size: clamp(1.35rem, 5.2vw, 2.4rem);
        line-height: 1.1;
        transition: all 0.3s ease;
    }
    .item-detail {
        opacity: 1 !important;
        transform: none !important;
        font-size: 0.82rem;
        margin-right: 0;
        margin-top: 0.35rem;
        width: 100%;
        color: #4F6EF7 !important;
        transition: all 0.3s ease;
    }



    .service-preview {
        display: none !important;
    }



    /* Industries Section (Vertically Stacked Touch Cards) */
    .industries-section {
        padding: 5vh 0;
    }
    .industries-accordion {
        flex-direction: column;
        height: auto;
        min-height: 0;
        gap: 1rem;
        background: transparent;
        border-radius: 0;
        margin-top: 1.5rem;
    }
    .acc-item {
        width: 100%;
        height: auto;
        min-height: 160px;
        flex: none !important;
        border-radius: 16px;
        border: 1px solid rgba(79, 110, 247, 0.2);
        background: var(--bg-secondary);
        padding: 1.5rem 1.2rem;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }
    .acc-bg {
        opacity: 0.35;
        filter: grayscale(30%);
    }
    .acc-title {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: clamp(1.3rem, 4.5vw, 2rem);
        margin-bottom: 0.3rem;
        white-space: normal;
    }
    .acc-hover-content {
        height: auto;
        opacity: 1;
        margin-top: 0.4rem;
    }

    /* Workflow & Clientele */
    .workflow-section {
        padding: 6vh 0;
    }
    .workflow-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        margin-top: 2.5rem;
    }
    .workflow-card {
        padding: 2rem 1.4rem;
    }
    .clientele-section {
        padding: 6vh 0;
    }
    .clientele-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .clientele-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .client-card {
        padding: 2rem 1.4rem;
    }

    /* Portfolio / Work Section */
    .work-section {
        padding: 6vh 0;
    }
    .work-section .container {
        display: flex;
        flex-direction: column;
    }
    .work-section .section-header {
        display: contents !important;
    }
    .work-section .section-header h2 {
        order: 1 !important;
        margin-bottom: 1.5rem !important;
        padding-bottom: 1rem !important;
        border-bottom: 1px solid var(--border-color);
        width: 100% !important;
    }
    .work-grid {
        order: 2 !important;
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-top: 0 !important;
    }
    .work-section .all-projects-btn {
        order: 3 !important;
        margin: 2.5rem auto 0 !important;
        display: inline-flex !important;
        align-self: center !important;
        justify-content: center !important;
        width: fit-content !important;
    }
    .project-info {
        flex-direction: column;
        gap: 0.5rem;
    }
    .info-right p {
        text-align: left;
        max-width: 100%;
    }

    /* Testimonials & Newsletter */
    .testimonials-section,
    .newsletter-section {
        padding: 6vh 0;
    }
    .testimonial-text {
        font-size: clamp(1.1rem, 4vw, 1.4rem);
    }
    .newsletter-form {
        flex-direction: column;
        gap: 0.8rem;
        padding: 0 1rem;
    }
    .btn-subscribe {
        width: 100%;
        justify-content: center;
    }

    /* Footer & Giant Link */
    .footer {
        padding: 6vh 0 4vh;
    }
    .footer-cta {
        margin-bottom: 3rem;
        padding: 0 1rem;
    }
    .giant-link {
        font-size: clamp(1.1rem, 5vw, 2.2rem);
        transform: none !important;
        word-break: break-all;
        text-align: center;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1.2rem;
        text-align: center;
    }

    /* Appointment & Contact Modals */
    .appointment-modal {
        padding: 12px;
    }
    .appointment-card,
    .client-modal .modal-content {
        width: min(580px, calc(100% - 16px));
        max-height: calc(100svh - 24px);
        border-radius: 20px;
        padding: 1.5rem 1.2rem !important;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    input, select, textarea {
        font-size: 16px !important;
        min-height: 48px;
    }
    .btn-primary, button[type="submit"] {
        min-height: 48px;
        touch-action: manipulation;
    }
    .appt-close-btn, .modal-close {
        width: 44px;
        height: 44px;
        top: 0.8rem;
        right: 0.8rem;
    }
    .modal-appt-row {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.35rem;
        margin: 0 0 1.5rem;
        text-align: center;
    }
    .modal-appt-text {
        font-size: 0.85rem;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.7);
    }
    .modal-appt-row .underline-link-wrap {
        font-size: 1.05rem;
    }
    .modal-appt-row .animated-underline-btn {
        padding: 0.5rem 0;
    }
    .modal-appt-row .base-curve-line,
    .modal-appt-row .hover-curve-wrap {
        display: none !important;
    }
    .modal-appt-row .underline-text-container {
        padding-bottom: 0;
    }
    /* Replay the desktop hover animation when the button is tapped */
    .modal-appt-row .animated-underline-btn.btn-hover-play {
        animation: none;
        transform: translateY(-2px) scale(1.02);
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }
    .modal-appt-row .animated-underline-btn.btn-hover-play .btn-char {
        color: #5573ff;
        transform: translateY(-4px);
    }
    .modal-appt-row .animated-underline-btn.btn-hover-play .left-calendar-icon {
        color: #5573ff;
        transform: scale(1.08);
    }
    .modal-appt-row .animated-underline-btn.btn-hover-play .underline-arrow {
        opacity: 1;
        transform: translateX(0) scale(1);
        transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.42s, opacity 0.35s ease 0.42s;
    }
    .modal-appt-row .animated-underline-btn.btn-hover-play .btn-char:nth-child(1)  { transition-delay: 0.10s; }
    .modal-appt-row .animated-underline-btn.btn-hover-play .btn-char:nth-child(2)  { transition-delay: 0.12s; }
    .modal-appt-row .animated-underline-btn.btn-hover-play .btn-char:nth-child(3)  { transition-delay: 0.14s; }
    .modal-appt-row .animated-underline-btn.btn-hover-play .btn-char:nth-child(4)  { transition-delay: 0.16s; }
    .modal-appt-row .animated-underline-btn.btn-hover-play .btn-char:nth-child(5)  { transition-delay: 0.18s; }
    .modal-appt-row .animated-underline-btn.btn-hover-play .btn-char:nth-child(6)  { transition-delay: 0.20s; }
    .modal-appt-row .animated-underline-btn.btn-hover-play .btn-char:nth-child(7)  { transition-delay: 0.22s; }
    .modal-appt-row .animated-underline-btn.btn-hover-play .btn-char:nth-child(8)  { transition-delay: 0.24s; }
    .modal-appt-row .animated-underline-btn.btn-hover-play .btn-char:nth-child(9)  { transition-delay: 0.26s; }
    .modal-appt-row .animated-underline-btn.btn-hover-play .btn-char:nth-child(10) { transition-delay: 0.28s; }
    .modal-appt-row .animated-underline-btn.btn-hover-play .btn-char:nth-child(11) { transition-delay: 0.30s; }
    .modal-appt-row .animated-underline-btn.btn-hover-play .btn-char:nth-child(12) { transition-delay: 0.32s; }
    .modal-appt-row .animated-underline-btn.btn-hover-play .btn-char:nth-child(13) { transition-delay: 0.34s; }
    .modal-appt-row .animated-underline-btn.btn-hover-play .btn-char:nth-child(14) { transition-delay: 0.36s; }
    .modal-appt-row .animated-underline-btn.btn-hover-play .btn-char:nth-child(15) { transition-delay: 0.38s; }
    .modal-appt-row .animated-underline-btn.btn-hover-play .btn-char:nth-child(16) { transition-delay: 0.40s; }
    .modal-appt-row .animated-underline-btn.btn-hover-play .btn-char:nth-child(17) { transition-delay: 0.42s; }
    .modal-appt-row .animated-underline-btn.btn-hover-play .btn-char:nth-child(18) { transition-delay: 0.44s; }
}

/* Extra Small Mobile Devices (320px - 375px) */
@media (max-width: 375px) {
    .reveal-text {
        font-size: 1.85rem;
    }
    #hero-3d-logo {
        height: 290px;
    }
    .stats-grid-cards {
        grid-template-columns: 1fr;
    }
    .process-wheel-container {
        max-width: 280px;
        height: 280px;
    }
    .wheel-center {
        width: 130px;
        height: 130px;
        min-width: 130px;
        min-height: 130px;
    }
    .wheel-center h3.glitch-text {
        font-size: 0.85rem;
    }
}

/* Typewriter Effect CSS */
.type-cursor { display: inline-block; width: 4px; height: 1em; background-color: currentColor; margin-left: 1vw; vertical-align: baseline;; animation: blink 1s step-end infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

#typewriter {
    font-size: 0.9em;
    background: linear-gradient(145deg, #ffffff 50%, rgba(79,110,247,0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

@keyframes flipSpin {
  0% { transform: rotateX(0deg); opacity: 1; }
  50% { transform: rotateX(-90deg); opacity: 0.5; }
  51% { transform: rotateX(90deg); opacity: 0.5; }
  100% { transform: rotateX(0deg); opacity: 1; }
}

.flip-anim {
  animation: flipSpin 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  display: inline-block;
  transform-style: preserve-3d;
  transform-origin: center center;
}

#hero-verb {
    display: inline-block;
    color: #fff;
    -webkit-text-fill-color: #fff;
    backface-visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

#hero-verb.verb-swap {
    opacity: 0;
    transform: translateY(-0.12em);
}

/* Appointment Modal Success Checkmark */
.success-icon-wrap {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem auto;
    border-radius: 50%;
    background: rgba(79, 110, 247, 0.15);
    border: 1px solid rgba(79, 110, 247, 0.4);
    box-shadow: 0 0 25px rgba(79, 110, 247, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-icon-wrap svg {
    width: 32px;
    height: 32px;
    stroke: #4F6EF7;
}

/* Accessibility: Reduced Motion */
@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;
    }
}

/* ============================================================
   MOBILE GMAIL / EMAIL APP PROMPT MODAL
   ============================================================ */
.email-prompt-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(4, 4, 13, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    padding: 1.2rem;
}
.email-prompt-modal.active {
    opacity: 1;
    pointer-events: auto;
}
.email-prompt-card {
    background: #090a1a;
    border: 1px solid rgba(79, 110, 247, 0.35);
    border-radius: 24px;
    padding: 2.2rem 1.6rem 1.8rem;
    width: min(380px, 92vw);
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(79, 110, 247, 0.2);
    position: relative;
    transform: translateY(20px) scale(0.96);
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.email-prompt-modal.active .email-prompt-card {
    transform: translateY(0) scale(1);
}
.email-prompt-header {
    margin-bottom: 1.5rem;
}
.email-prompt-icon {
    width: 48px;
    height: 48px;
    background: rgba(79, 110, 247, 0.15);
    border: 1px solid rgba(79, 110, 247, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.8rem;
    color: #708DFE;
}
.email-prompt-header h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
}
.email-prompt-address {
    font-size: 0.88rem;
    color: #708DFE;
    word-break: break-all;
    font-family: var(--font-body);
}
.email-prompt-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.email-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    min-height: 48px;
    padding: 0.8rem 1.2rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(79, 110, 247, 0.3);
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: var(--font-body);
}
.email-btn-gmail {
    background: #ea4335;
    color: #ffffff;
    border-color: #ea4335;
    box-shadow: 0 4px 18px rgba(234, 67, 53, 0.35);
}
.email-btn-gmail:active {
    transform: scale(0.98);
}
.email-btn-default {
    background: rgba(79, 110, 247, 0.15);
    color: #ffffff;
    border-color: rgba(79, 110, 247, 0.4);
}
.email-btn-default:active {
    background: rgba(79, 110, 247, 0.25);
}
.email-btn-copy {
    background: transparent;
    color: var(--secondary-text);
    border-color: rgba(255, 255, 255, 0.15);
}
.email-btn-copy:active {
    background: rgba(255, 255, 255, 0.08);
}
.email-prompt-close {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    background: none;
    border: none;
    color: var(--secondary-text);
    font-size: 1.4rem;
    cursor: pointer;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    line-height: 1;
}
.email-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(14, 165, 233, 0.95);
    color: #ffffff;
    padding: 0.75rem 1.4rem;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 100001;
}
.email-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ============================================================
   MOBILE SCROLL PERFORMANCE OPTIMIZATIONS
   ============================================================ */
@media (max-width: 768px), (pointer: coarse) {
    /* Disable expensive fixed SVG fractal noise overlay on mobile */
    body::before {
        display: none !important;
    }

    /* Hardware-accelerated smooth momentum scrolling */
    html, body {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: auto !important;
    }

    /* Promote scrolling card elements to GPU layer to prevent layout repaint bottlenecks */
    header, .hero-section, .project-card, .service-card, .workflow-card {
        transform: translateZ(0);
    }
}


