/* ═══════════════════════════════════════════════════════════════════
   MIT Solutions — Master Stylesheet
   Color Palette: Dark Purple, Cyan/Teal, Cream, Magenta
   Typography: Poppins + Inter
   ═══════════════════════════════════════════════════════════════════ */

/* ── CSS Custom Properties ─────────────────────────────────────── */
:root {
    /* Primary Palette */
    --purple-deep: #1a0e2e;
    --purple-dark: #2E1A47;
    --purple-mid: #4a2d6b;
    --purple-light: #6b42a0;
    --purple-accent: #8A328A;

    /* Accent Colors */
    --cyan: #00C2CB;
    --cyan-light: #21e6f0;
    --cyan-glow: rgba(0, 194, 203, 0.3);
    --magenta: #C77DBA;
    --magenta-light: #e0a5d6;

    /* Neutrals */
    --cream: #F5F0E8;
    --cream-dark: #e8e0d0;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-500: #6c757d;
    --gray-700: #495057;
    --gray-900: #212529;
    --black: #0a0a0a;

    /* Service Category Colors */
    --color-creative: #00C2CB;
    --color-marketing: #e8c547;
    --color-technical: #2c5282;
    --color-software: #4a90d9;
    --color-business: #7c3aed;

    /* Typography */
    --font-heading: var(--font-main), 'Poppins', sans-serif;
    --font-body: var(--font-main), 'Inter', sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 24px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
    --shadow-glow: 0 0 30px var(--cyan-glow);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}


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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: clip;
    max-width: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.6;
    overflow-x: clip;
    max-width: 100%;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
}

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


/* ── Animations ────────────────────────────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

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

@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Hero wordmark glow: a soft highlight orbits the word in a circle while
   the overall glow slowly emerges and vanishes — no sliding band. The
   first background layer (the highlight) traces a circular path; the
   brand gradient layer stays put. */
@keyframes titleGlow {
    0%   { background-position: 32% 30%, 0 0; filter: brightness(1)    drop-shadow(0 4px 16px rgba(199,125,186,0.10)); }
    25%  { background-position: 70% 38%, 0 0; filter: brightness(1.07) drop-shadow(0 5px 26px rgba(255,177,255,0.28)); }
    50%  { background-position: 68% 70%, 0 0; filter: brightness(1.14) drop-shadow(0 7px 36px rgba(255,177,255,0.46)); }
    75%  { background-position: 30% 64%, 0 0; filter: brightness(1.07) drop-shadow(0 5px 26px rgba(255,177,255,0.28)); }
    100% { background-position: 32% 30%, 0 0; filter: brightness(1)    drop-shadow(0 4px 16px rgba(199,125,186,0.10)); }
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -80px) scale(1.1); }
    50% { transform: translate(-30px, -120px) scale(0.9); }
    75% { transform: translate(-60px, -40px) scale(1.05); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-60px, 60px) scale(0.95); }
    50% { transform: translate(40px, 100px) scale(1.1); }
    75% { transform: translate(80px, 30px) scale(1); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(70px, -50px) scale(1.08); }
    66% { transform: translate(-40px, 70px) scale(0.92); }
}

@keyframes typingDot {
    0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(-5px); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }


/* ── Buttons ───────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.btn .material-icons-round {
    font-size: 1.2rem;
}

.btn-primary {
    background: var(--cyan);
    color: var(--purple-deep);
}

.btn-primary:hover {
    background: var(--cyan-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    border-color: var(--cyan);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}


/* ══════════════════════════════════════════════════════════════════
   CHAT PAGE STYLES
   ══════════════════════════════════════════════════════════════════ */

.chat-page {
    min-height: 100vh;
    overflow: hidden;
    background: var(--purple-deep);
    position: relative;
}

/* ── Chat Background ───────────────────────────────────────────── */
.chat-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.chat-bg-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(138, 50, 138, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 194, 203, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(74, 45, 107, 0.3) 0%, transparent 60%),
        linear-gradient(180deg, var(--purple-deep) 0%, #1e1040 50%, var(--purple-dark) 100%);
}

.chat-bg-orbs .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--purple-accent), transparent 70%);
    top: -10%;
    left: -10%;
    animation: orbFloat1 20s ease-in-out infinite;
}

.orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--cyan), transparent 70%);
    top: 60%;
    right: -5%;
    animation: orbFloat2 25s ease-in-out infinite;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--magenta), transparent 70%);
    bottom: 10%;
    left: 20%;
    animation: orbFloat3 18s ease-in-out infinite;
}

.orb-4 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0,194,203,0.5), transparent 70%);
    top: 30%;
    left: 60%;
    animation: orbFloat1 22s ease-in-out infinite reverse;
}

.chat-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* ── Chat Container ────────────────────────────────────────────── */
.chat-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: var(--space-lg) var(--space-xl);
}

/* ── Chat Header ───────────────────────────────────────────────── */
.chat-header {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding: var(--space-sm) 0;
}

.chat-explore-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 10px 22px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-full);
    color: rgba(255,255,255,0.8);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    backdrop-filter: blur(12px);
    transition: all var(--transition-normal);
}

.chat-explore-link:hover {
    background: rgba(0,194,203,0.15);
    border-color: var(--cyan);
    color: var(--cyan);
    transform: translateY(-1px);
}

.chat-explore-link .material-icons-round {
    font-size: 1.1rem;
}

/* ── Chat Branding ─────────────────────────────────────────────── */
.chat-branding {
    text-align: center;
    padding: var(--space-3xl) 0 var(--space-xl);
    transition: all 0.5s ease;
}

.chat-branding.minimized {
    padding: var(--space-md) 0;
}

.chat-branding.minimized .chat-logo {
    width: 48px;
    height: 48px;
}

.chat-branding.minimized .chat-brand-name {
    font-size: 1.2rem;
}

.chat-branding.minimized .chat-motto,
.chat-branding.minimized .chat-tagline {
    display: none;
}

.chat-logo-wrapper {
    margin-bottom: var(--space-lg);
}

.chat-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--cream);
    padding: 12px;
    border: 3px solid rgba(0,194,203,0.35);
    box-shadow: 0 0 40px rgba(0,194,203,0.2), 0 0 80px rgba(138,50,138,0.15);
    transition: all var(--transition-slow);
}

.chat-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 0 60px rgba(0,194,203,0.35), 0 0 100px rgba(138,50,138,0.25);
}

.chat-brand-name {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--cyan), var(--magenta-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-sm);
    transition: font-size var(--transition-slow);
}

.chat-motto {
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: var(--space-xs);
}

.chat-tagline {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--cyan);
    opacity: 0.7;
}

/* ── Chat Messages ─────────────────────────────────────────────── */
.chat-messages {
    flex: 1;
    width: 100%;
    max-width: 700px;
    overflow-y: auto;
    padding: var(--space-md) 0;
    display: flex;
    flex-direction: column;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.15) transparent;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.15);
    border-radius: 3px;
}

/* Welcome Suggestions */
.chat-welcome-suggestions {
    text-align: center;
    padding: var(--space-xl) 0;
}

.suggestions-label {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    margin-bottom: var(--space-lg);
    font-family: var(--font-heading);
}

.suggestions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-md);
    max-width: 600px;
    margin: 0 auto;
}

.suggestion-chip {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 14px 18px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    color: rgba(255,255,255,0.8);
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-align: left;
}

.suggestion-chip:hover {
    background: rgba(0,194,203,0.12);
    border-color: rgba(0,194,203,0.4);
    color: var(--cyan-light);
    transform: translateY(-2px);
}

.chip-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* Message Bubbles */
.chat-message {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    max-width: 100%;
}

.chat-message.user {
    justify-content: flex-end;
    animation: slideInRight 0.3s ease;
}

.chat-message.assistant {
    justify-content: flex-start;
    animation: slideInLeft 0.3s ease;
}

.message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.chat-message.assistant .message-avatar {
    background: linear-gradient(135deg, var(--purple-accent), var(--cyan));
    color: var(--white);
}

.chat-message.user .message-avatar {
    background: var(--cyan);
    color: var(--purple-deep);
    order: 2;
}

.message-bubble {
    padding: 14px 20px;
    border-radius: var(--radius-lg);
    max-width: 80%;
    line-height: 1.6;
    font-size: 0.92rem;
}

.chat-message.user .message-bubble {
    background: var(--cyan);
    color: var(--purple-deep);
    border-bottom-right-radius: 4px;
    font-weight: 500;
}

.chat-message.assistant .message-bubble {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.08);
    border-bottom-left-radius: 4px;
    backdrop-filter: blur(8px);
}

.message-bubble strong {
    color: var(--cyan);
}

.message-bubble p {
    margin-bottom: var(--space-sm);
}

.message-bubble p:last-child {
    margin-bottom: 0;
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 16px 24px;
}

.typing-indicator .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan);
    opacity: 0.3;
}

.typing-indicator .dot:nth-child(1) { animation: typingDot 1.4s ease-in-out infinite; }
.typing-indicator .dot:nth-child(2) { animation: typingDot 1.4s ease-in-out 0.2s infinite; }
.typing-indicator .dot:nth-child(3) { animation: typingDot 1.4s ease-in-out 0.4s infinite; }


/* ── Chat Input ────────────────────────────────────────────────── */
.chat-input-area {
    width: 100%;
    max-width: 700px;
    padding: var(--space-lg) 0 var(--space-md);
}

.chat-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.06);
    border: 1.5px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-xl);
    padding: 6px 6px 6px 24px;
    backdrop-filter: blur(16px);
    transition: all var(--transition-normal);
}

.chat-input-wrapper:focus-within {
    border-color: var(--cyan);
    background: rgba(255,255,255,0.1);
    box-shadow: 0 0 30px rgba(0,194,203,0.15), inset 0 0 30px rgba(0,194,203,0.05);
}

.chat-input-glow {
    position: absolute;
    inset: -2px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--cyan), var(--magenta), var(--cyan));
    background-size: 200% 200%;
    opacity: 0;
    z-index: -1;
    transition: opacity var(--transition-normal);
    animation: shimmer 3s ease-in-out infinite;
}

.chat-input-wrapper:focus-within .chat-input-glow {
    opacity: 0.3;
}

.chat-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 12px 0;
}

.chat-input::placeholder {
    color: rgba(255,255,255,0.35);
}

.chat-send-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--cyan);
    border: none;
    color: var(--purple-deep);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition-normal);
}

.chat-send-btn:hover {
    background: var(--cyan-light);
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--cyan-glow);
}

.chat-send-btn:active {
    transform: scale(0.95);
}

.chat-disclaimer {
    text-align: center;
    color: rgba(255,255,255,0.3);
    font-size: 0.75rem;
    margin-top: var(--space-md);
}

.chat-disclaimer a {
    color: rgba(0,194,203,0.6);
    text-decoration: underline;
}

.chat-disclaimer a:hover {
    color: var(--cyan);
}


/* ══════════════════════════════════════════════════════════════════
   CLASSIC PAGE STYLES
   ══════════════════════════════════════════════════════════════════ */

.classic-page {
    background: var(--white);
}

/* ── Navbar ────────────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 1.5rem;
    left: 2rem;
    right: 2rem;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 40px rgba(31,38,73,0.12);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    top: 0;
    left: 0;
    right: 0;
    border-radius: 0;
    border-top: none;
    border-left: none;
    border-right: none;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 30px rgba(31,38,73,0.12);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-logo-img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    background: transparent;
    padding: 0;
    border: none;
}

.nav-logo-text {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--purple-deep);
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: var(--space-xs);
}

.nav-link {
    padding: 8px 16px;
    color: rgba(26,14,46,0.72);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link:hover {
    color: var(--purple-deep);
    background: rgba(26,14,46,0.06);
}

.nav-arrow {
    font-size: 1.1rem;
    transition: transform var(--transition-fast);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: rgba(26, 14, 46, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    padding: var(--space-sm);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown:hover .nav-arrow {
    transform: rotate(180deg);
}

.dropdown-link {
    display: block;
    padding: 10px 16px;
    color: rgba(255,255,255,0.7);
    font-size: 0.88rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.dropdown-link:hover {
    background: rgba(0,194,203,0.1);
    color: var(--cyan);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition-normal);
    background: rgba(26,14,46,0.04);
    color: var(--purple-deep);
    border: 1px solid rgba(26,14,46,0.12);
}

.nav-cta:hover {
    background: rgba(26,14,46,0.08);
    transform: translateY(-1px);
}

.nav-cta .material-icons-round {
    font-size: 1.1rem;
}

.nav-cta-accent {
    background: var(--cyan);
    color: var(--purple-deep);
    border-color: var(--cyan);
}

.nav-cta-accent:hover {
    background: var(--cyan-light);
    box-shadow: var(--shadow-glow);
}

/* Mobile Nav Toggle */
.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--purple-deep);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

.nav-mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

.mobile-menu-overlay.active {
    display: block;
}

/* ── Hero Section ──────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 25% 20%, rgba(0,194,203,0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 30%, rgba(138,50,138,0.10) 0%, transparent 55%),
        linear-gradient(180deg, #ffffff 0%, #f6f8fc 55%, #eef1f8 100%);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 120px;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: var(--space-4xl) var(--space-xl);
    /* Soft light spotlight so the copy reads clearly above the service chips */
    background: radial-gradient(62% 56% at 50% 42%, rgba(247,249,253,0.85) 0%, rgba(247,249,253,0) 72%);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: var(--space-lg);
    letter-spacing: 1px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
}

.hero-title-gradient {
    background: linear-gradient(120deg, #009ba3 0%, #8A328A 55%, #5b2d86 100%);
    background-size: 180% auto;
    background-position: 0 0;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 12s ease-in-out infinite;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: rgba(26,14,46,0.66);
    margin-bottom: var(--space-2xl);
}

.hero-cta-group {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    flex-wrap: wrap;
}


/* ── Section Headers ───────────────────────────────────────────── */
.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-overline {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--cyan);
    text-transform: uppercase;
    margin-bottom: var(--space-md);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 5vw, 2.5rem);
    font-weight: 800;
    color: var(--purple-dark);
    margin-bottom: var(--space-md);
    line-height: 1.2;
    overflow-wrap: break-word;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}


/* ── Services Cards ────────────────────────────────────────────── */
.services-section {
    padding: var(--space-4xl) 0;
    background: var(--white);
}

.services-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card-creative::before { background: var(--color-creative); }
.service-card-marketing::before { background: var(--color-marketing); }
.service-card-technical::before { background: var(--color-technical); }
.service-card-software::before { background: var(--color-software); }
.service-card-business::before { background: var(--color-business); }

.service-card-creative:hover { border-color: rgba(0,194,203,0.3); }
.service-card-marketing:hover { border-color: rgba(232,197,71,0.3); }
.service-card-technical:hover { border-color: rgba(44,82,130,0.3); }
.service-card-software:hover { border-color: rgba(74,144,217,0.3); }
.service-card-business:hover { border-color: rgba(124,58,237,0.3); }

/* per-category accent (drives the stylish title + index) */
.service-card-creative  { --cat: #00C2CB; --cat2: #21e6f0; }
.service-card-marketing { --cat: #c5a400; --cat2: #e8c547; }
.service-card-technical { --cat: #2c5282; --cat2: #4a90d9; }
.service-card-software  { --cat: #4a90d9; --cat2: #74b3ff; }
.service-card-business  { --cat: #7c3aed; --cat2: #b794f6; }

/* faint editorial index numeral, top-right */
.service-card-index {
    position: absolute;
    top: 16px;
    right: 22px;
    font-family: var(--font-heading);
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -3px;
    color: var(--cat);
    opacity: 0.12;
    pointer-events: none;
    transition: opacity var(--transition-normal), transform var(--transition-normal);
}
.service-card:hover .service-card-index { opacity: 0.22; transform: translateY(-3px); }

/* stylish gradient title with an animated accent underline */
.service-card-title {
    position: relative;
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 1.95rem;
    font-weight: 800;
    letter-spacing: -0.6px;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    padding-bottom: 12px;
    color: var(--purple-dark);
}
.service-card-title span {
    background: linear-gradient(120deg, var(--cat2), var(--cat));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.service-card-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 36px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--cat), transparent);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover .service-card-title::after { width: 78%; }

.service-card-desc {
    color: var(--gray-700);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.service-card-desc p {
    margin: 0 0 var(--space-md);
}

.service-card-desc p:last-child {
    margin-bottom: 0;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin-top: auto;
    gap: var(--space-xs);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--purple-accent);
    transition: all var(--transition-fast);
}

.service-card-link:hover {
    color: var(--cyan);
    gap: var(--space-sm);
}

.service-card-link .material-icons-round {
    font-size: 1rem;
    transition: transform var(--transition-fast);
}

.service-card-link:hover .material-icons-round {
    transform: translateX(4px);
}


/* ── Sub-Services Grid ─────────────────────────────────────────── */
.sub-services-section {
    padding: var(--space-4xl) 0;
    background:
        radial-gradient(720px 300px at 85% 0%, rgba(138,50,138,0.05), transparent 60%),
        radial-gradient(640px 300px at 8% 60%, rgba(0,194,203,0.05), transparent 60%),
        linear-gradient(180deg, #eef1f8 0%, #ffffff 100%);
}

.sub-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
}

.sub-service-tile {
    padding: var(--space-xl) var(--space-lg);
    background: var(--purple-mid);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all var(--transition-normal);
    cursor: default;
}

.sub-service-tile:hover {
    background: var(--purple-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.sub-service-name {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.5px;
}


/* ── Custom AI Products ────────────────────────────────────────── */
.ai-products-section {
    padding: var(--space-4xl) 0;
    background:
        radial-gradient(ellipse at 0% 0%, rgba(0,194,203,0.06) 0%, transparent 55%),
        radial-gradient(ellipse at 100% 100%, rgba(138,50,138,0.06) 0%, transparent 55%),
        var(--white);
}

.ai-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.ai-product-card {
    position: relative;
    padding: var(--space-2xl);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    overflow: hidden;
}

.ai-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--cyan) 0%, var(--purple-accent) 100%);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.ai-product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0,194,203,0.3);
}

.ai-product-card:hover::before {
    transform: scaleX(1);
}

.ai-product-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(0,194,203,0.12) 0%, rgba(138,50,138,0.12) 100%);
    margin-bottom: var(--space-lg);
    transition: all var(--transition-normal);
}

.ai-product-icon .material-icons-round {
    font-size: 1.75rem;
    color: var(--cyan);
    transition: all var(--transition-normal);
}

.ai-product-card:hover .ai-product-icon {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--purple-accent) 100%);
}

.ai-product-card:hover .ai-product-icon .material-icons-round {
    color: var(--white);
    transform: scale(1.1);
}

.ai-product-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--purple-dark);
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.ai-product-desc {
    color: var(--gray-700);
    font-size: 0.92rem;
    line-height: 1.7;
    margin: 0;
}

.ai-products-footer {
    display: flex;
    justify-content: center;
    margin-top: var(--space-3xl);
}


/* ── Subscription Section ──────────────────────────────────────── */
.subscription-section {
    padding: var(--space-4xl) 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(0,194,203,0.08) 0%, transparent 60%),
        linear-gradient(180deg, #ffffff 0%, #eef1f8 100%);
    color: var(--purple-deep);
}

.subscription-section .section-title {
    color: var(--purple-dark);
}

.subscription-card {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-3xl);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
    text-align: center;
}

.subscription-card-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: var(--space-3xl);
}

.subscription-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-3xl);
    text-align: left;
}

.subscription-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-xl);
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.subscription-item:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--cyan);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.subscription-icon {
    width: 48px;
    height: 48px;
    background: rgba(0,194,203,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition-normal);
}

.subscription-item:hover .subscription-icon {
    background: var(--cyan);
}

.subscription-icon .material-icons-round {
    color: var(--cyan);
    font-size: 1.5rem;
    transition: all var(--transition-normal);
}

.subscription-item:hover .subscription-icon .material-icons-round {
    color: var(--white);
    transform: scale(1.1);
}

.subscription-text h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.subscription-text p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.4;
    margin: 0;
}

.subscription-footer {
    display: flex;
    justify-content: center;
}


/* ── Process Section ───────────────────────────────────────────── */
.process-section {
    padding: var(--space-4xl) 0;
    background: var(--white);
}

/* ── Process — horizontal journey stepper ─────────────────────────
   Four numbered milestones on a single track; a glowing light glides
   along it (the "seamless flow"). Each milestone carries its own card.
   Collapses to a clean vertical list on narrow screens. */
.process-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    max-width: 1120px;
    margin: var(--space-2xl) auto 0;
}

/* track line running through the number row + the travelling light */
.proc-rail {
    position: absolute;
    top: 30px;                 /* centre of the 60px number circles */
    left: 12.5%;
    right: 12.5%;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--cyan), var(--magenta), #FFB1FF);
    overflow: hidden;
    z-index: 0;
}
.proc-rail::after {            /* a comet of light gliding along the track */
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.95) 50%, transparent 100%);
    background-size: 26% 100%;
    background-repeat: no-repeat;
    animation: railFlow 5s linear infinite;
}
@keyframes railFlow {
    from { background-position: -30% 0; }
    to   { background-position: 130% 0; }
}

.proc-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* number circle sits on the track (opaque, so it masks the line behind) */
.proc-num {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(135deg, var(--cyan), var(--magenta));
    box-shadow: 0 8px 26px rgba(0,194,203,0.30), 0 0 0 6px var(--white);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
.proc-step:hover .proc-num {
    transform: scale(1.08);
    box-shadow: 0 12px 34px rgba(199,125,186,0.42), 0 0 0 6px var(--white);
}

.proc-card {
    width: 100%;
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 12px 34px rgba(0,0,0,0.05);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
.proc-step:hover .proc-card {
    transform: translateY(-4px);
    box-shadow: 0 18px 46px rgba(0,0,0,0.09);
}

.process-step-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--purple-dark);
    margin-bottom: var(--space-sm);
}

.process-step-desc {
    color: var(--gray-700);
    font-size: 0.9rem;
    line-height: 1.65;
    margin: 0;
}

/* Vertical list on narrow screens — rail hidden, numbers lead each step */
@media (max-width: 860px) {
    .process-track {
        grid-template-columns: 1fr;
        max-width: 480px;
        gap: var(--space-xl);
    }
    .proc-rail { display: none; }
    .proc-step {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: var(--space-lg);
    }
    .proc-num { margin-bottom: 0; flex: 0 0 auto; }
}

@media (prefers-reduced-motion: reduce) {
    .proc-rail::after { animation: none; opacity: 0; }
}


/* ── Contact Section ───────────────────────────────────────────── */
.contact-section {
    padding: var(--space-4xl) 0;
    background:
        radial-gradient(760px 320px at 12% 0%, rgba(0,194,203,0.06), transparent 65%),
        radial-gradient(720px 340px at 88% 30%, rgba(138,50,138,0.06), transparent 65%),
        linear-gradient(180deg, #ffffff 0%, #eef1f8 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.contact-desc {
    color: var(--gray-700);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
}

.contact-method:hover {
    border-color: var(--cyan);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.contact-method .material-icons-round {
    font-size: 2rem;
    color: var(--cyan);
}

.contact-method strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--purple-dark);
}

.contact-method span {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.form-group-full {
    grid-column: span 2;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--purple-dark);
    margin-bottom: var(--space-sm);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--gray-900);
    background: var(--white);
    transition: all var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0,194,203,0.12);
}

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

select.form-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236c757d' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-status {
    text-align: center;
    margin-top: var(--space-md);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-status.success { color: #22c55e; }
.form-status.error { color: #ef4444; }


/* ── Footer ────────────────────────────────────────────────────── */
.footer {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #eef1f8 0%, #e6ebf5 100%);
    color: rgba(26,14,46,0.7);
    padding: var(--space-2xl) 0 var(--space-lg);
}

/* Animated gradient hairline along the top edge */
.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--magenta), var(--purple-accent), var(--cyan));
    background-size: 300% 100%;
    animation: footerSheen 9s linear infinite;
}

@keyframes footerSheen {
    to { background-position: 300% 0; }
}

/* Soft aurora glow behind the content */
.footer-aurora {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(620px 220px at 12% -10%, rgba(0,194,203,0.14), transparent 70%),
        radial-gradient(560px 240px at 88% 30%, rgba(199,125,186,0.13), transparent 70%);
}

.footer .container { position: relative; z-index: 1; }

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: var(--space-3xl);
    align-items: center;
    margin-bottom: var(--space-lg);
}

/* ── Brand ── */
.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.footer-logo-wrap {
    position: relative;
    flex-shrink: 0;
    padding: 0;
    border-radius: 50%;
    background: none;
    transition: transform var(--transition-normal);
}

.footer-logo-wrap::after {
    content: '';
    position: absolute;
    inset: -7px;
    border-radius: 50%;
    background: inherit;
    filter: blur(16px);
    opacity: 0.45;
    z-index: -1;
}

.footer-brand:hover .footer-logo-wrap {
    transform: rotate(6deg) scale(1.05);
}

.footer-logo {
    display: block;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    background: transparent;
    padding: 0;
}

.footer-brand-name {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--purple-deep);
    margin-bottom: 4px;
    line-height: 1.1;
}

.footer-tagline {
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    color: #0891a0;
    opacity: 0.9;
    max-width: 26ch;
}

/* ── Connect pills ── */
.footer-connect {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.footer-pill {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: 0.7rem 0.95rem;
    border-radius: var(--radius-md);
    background: rgba(26,14,46,0.03);
    border: 1px solid rgba(26,14,46,0.09);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: transform var(--transition-fast), border-color var(--transition-fast),
                background var(--transition-fast), box-shadow var(--transition-fast);
}

.footer-pill > .material-icons-round {
    font-size: 22px;
    color: var(--cyan);
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.footer-pill-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    min-width: 0;
}

.footer-pill-label {
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(26,14,46,0.5);
}

.footer-pill-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--purple-deep);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.footer-pill-arrow {
    margin-left: auto;
    font-size: 17px !important;
    color: rgba(26,14,46,0.35);
    transition: transform var(--transition-fast), color var(--transition-fast);
}

a.footer-pill:hover {
    transform: translateY(-3px);
    border-color: var(--cyan);
    background: rgba(0,194,203,0.08);
    box-shadow: 0 10px 26px rgba(31,38,73,0.16), 0 0 0 1px rgba(0,194,203,0.25);
}

a.footer-pill:hover > .material-icons-round { transform: scale(1.15); }

a.footer-pill:hover .footer-pill-arrow {
    color: var(--cyan);
    transform: translate(3px, -3px);
}

/* Highlighted AI Chat pill */
.footer-pill--accent {
    background: linear-gradient(120deg, rgba(0,194,203,0.18), rgba(199,125,186,0.18));
    border-color: rgba(0,194,203,0.35);
}

.footer-pill--accent > .material-icons-round { color: var(--cyan-light); }

a.footer-pill--accent:hover {
    background: linear-gradient(120deg, rgba(0,194,203,0.3), rgba(199,125,186,0.3));
    box-shadow: 0 12px 30px rgba(0,194,203,0.22);
}

.footer-pill--static { cursor: default; }

/* ── Bottom bar ── */
.footer-bottom {
    padding-top: var(--space-md);
    border-top: 1px solid rgba(26,14,46,0.10);
    text-align: center;
    font-size: 0.78rem;
    color: rgba(26,14,46,0.5);
}

.footer-bottom a {
    color: var(--purple-light);
    transition: color var(--transition-fast);
}

.footer-bottom a:hover { color: var(--cyan); }

.footer-heart {
    color: #8A328A;   /* brand purple (was red) */
    font-size: 13px !important;
    vertical-align: middle;
}

/* On phones, drop the credit onto its own line */
@media (max-width: 600px) {
    .footer-sep { display: none; }
    .footer-made { display: block; margin-top: 4px; }
}


/* ── Back to Top ───────────────────────────────────────────────── */
.back-to-top {
    position: fixed;
    bottom: 144px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), var(--purple-accent));
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    box-shadow: 0 10px 26px -8px rgba(138,50,138,0.45), inset 0 1px 0 rgba(255,255,255,0.35);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: linear-gradient(135deg, var(--cyan-light), var(--magenta));
    color: var(--white);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 16px 34px -8px rgba(0,201,198,0.5);
}

/* ── WhatsApp floating button (brand-gradient, matches the FAB stack) ── */
.whatsapp-float {
    position: fixed;
    bottom: 84px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--cyan), var(--purple-accent));
    box-shadow: 0 10px 26px -8px rgba(138,50,138,0.45), inset 0 1px 0 rgba(255,255,255,0.35);
    z-index: 901;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}
.whatsapp-float svg { width: 26px; height: 26px; display: block; }
.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.05);
    background: linear-gradient(135deg, var(--cyan-light), var(--magenta));
    box-shadow: 0 16px 34px -8px rgba(0,201,198,0.5);
}

@keyframes menuFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes menuItemIn { to { opacity: 1; transform: translateY(0); } }
@keyframes menuDrop { from { opacity: 0; transform: translateY(-10px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }


/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-actions {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        gap: 2px;
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        right: 0;
        padding: 16px 14px 14px;
        border-radius: 22px;
        z-index: 1000;
        overflow: hidden;
        background:
            radial-gradient(420px 220px at 18% 0%, rgba(0,194,203,0.12), transparent 60%),
            radial-gradient(420px 220px at 92% 30%, rgba(138,50,138,0.12), transparent 60%),
            rgba(255,255,255,0.92);
        -webkit-backdrop-filter: blur(24px) saturate(1.4);
        backdrop-filter: blur(24px) saturate(1.4);
        border: 1px solid rgba(255,255,255,0.75);
        box-shadow: 0 28px 60px -22px rgba(31,38,73,0.42);
        animation: menuDrop 0.32s cubic-bezier(0.22,1,0.36,1);
    }
    .nav-links.active::before {
        content: '';
        position: absolute; top: 0; left: 20px; right: 20px; height: 3px;
        border-radius: 999px;
        background: linear-gradient(90deg, var(--cyan), var(--purple-accent), var(--magenta));
    }
    .nav-links.active li { width: 100%; list-style: none; }
    .nav-links.active .nav-link {
        justify-content: center;
        font-family: var(--font-heading);
        font-size: 1.15rem;
        font-weight: 600;
        color: var(--purple-deep);
        padding: 13px 18px;
        border-radius: 14px;
        opacity: 0;
        transform: translateY(8px);
        animation: menuItemIn 0.45s cubic-bezier(0.22,1,0.36,1) forwards;
    }
    .nav-links.active li:nth-child(1) .nav-link { animation-delay: 0.05s; }
    .nav-links.active li:nth-child(2) .nav-link { animation-delay: 0.10s; }
    .nav-links.active li:nth-child(3) .nav-link { animation-delay: 0.15s; }
    .nav-links.active li:nth-child(4) .nav-link { animation-delay: 0.20s; }
    .nav-links.active li:nth-child(5) .nav-link { animation-delay: 0.25s; }
    .nav-links.active .nav-link:hover,
    .nav-links.active .nav-link:active {
        color: #fff;
        background: linear-gradient(135deg, var(--cyan), var(--purple-accent));
    }

    /* Mobile CTAs live in the hero + the floating WhatsApp button, so the
       dropdown menu stays a clean links-only card. */

    .nav-mobile-toggle {
        display: flex;
        position: relative;
        z-index: 1001;
    }

    .nav-logo { position: relative; z-index: 1001; }

    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255,255,255,0.05);
        margin-top: var(--space-sm);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .services-cards {
        grid-template-columns: 1fr;
    }

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

    .form-grid {
        grid-template-columns: 1fr;
    }

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

    /* ── Subscription section (mobile) ── */
    .subscription-section {
        padding: var(--space-3xl) 0;
    }

    .subscription-card {
        padding: var(--space-xl) var(--space-lg);
    }

    .subscription-card-title {
        font-size: 1.2rem;
        margin-bottom: var(--space-xl);
    }

    .subscription-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
        margin-bottom: var(--space-xl);
    }

    .subscription-item {
        padding: var(--space-lg);
    }

    .subscription-footer .btn {
        width: 100%;
        justify-content: center;
    }

    /* ── Footer (mobile) ── */
    .footer-main {
        text-align: center;
    }

    .footer-brand {
        flex-direction: column;
        text-align: center;
        max-width: 100%;
    }

    .footer-brand-text {
        min-width: 0;
        max-width: 100%;
    }

    .footer-tagline {
        max-width: 34ch;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-connect {
        grid-template-columns: 1fr;
    }

    /* Let pills shrink to the screen and wrap instead of overflowing */
    .footer-pill {
        min-width: 0;
    }

    .footer-pill-text {
        min-width: 0;
        text-align: left;
    }

    .footer-pill-value {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        word-break: break-word;
    }

    .chat-brand-name {
        font-size: 2rem;
    }

    .suggestions-grid {
        grid-template-columns: 1fr 1fr;
    }

    .chat-input {
        font-size: 0.9rem;
    }
}

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

    .sub-services-grid {
        grid-template-columns: 1fr;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-cta-group .btn {
        width: 100%;
        justify-content: center;
    }

    /* Keep long, all-caps section titles from clipping on narrow phones */
    .section-title {
        font-size: 1.5rem;
        overflow-wrap: break-word;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .subscription-card {
        padding: var(--space-lg) var(--space-md);
    }

    .subscription-card-title {
        font-size: 1.1rem;
    }

    .subscription-item {
        padding: var(--space-md);
        gap: var(--space-sm);
    }
}

/* ── Clients Section ───────────────────────────────────────────── */
.clients-section {
    padding: var(--space-4xl) 0;
    background: linear-gradient(180deg, var(--white) 0%, rgba(99, 102, 241, 0.02) 50%, var(--gray-100) 100%);
    text-align: center;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--space-xl);
    align-items: stretch;
    justify-items: center;
    margin-top: var(--space-3xl);
}

.client-item {
    width: 100%;
    max-width: 180px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    position: relative;
}

.client-logo {
    max-width: 140px;
    max-height: 64px;
    object-fit: contain;
    filter: grayscale(1) opacity(0.5);
    transition: all var(--transition-normal);
}

.client-item:hover .client-logo {
    filter: grayscale(0) opacity(0.95);
    transform: scale(1.05);
}

.client-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid rgba(99, 102, 241, 0.06);
    box-shadow: 0 4px 20px -2px rgba(148, 163, 184, 0.05), 0 2px 6px -1px rgba(148, 163, 184, 0.03);
    padding: var(--space-md);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.client-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary, #6366f1) 0%, var(--secondary, #00c2cb) 100%);
    opacity: 0.7;
    transition: all var(--transition-normal);
}

.client-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.02) 0%, rgba(0, 194, 203, 0.02) 100%);
    opacity: 0;
    transition: all var(--transition-normal);
    z-index: 1;
}

.client-initial {
    font-size: 1.8rem;
    font-weight: 900;
    font-family: var(--font-heading);
    background: linear-gradient(135deg, var(--primary, #6366f1) 0%, var(--secondary, #00c2cb) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2px;
    z-index: 2;
    transition: all var(--transition-normal);
}

.client-name-text {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--purple-dark);
    text-transform: uppercase;
    letter-spacing: 0.75px;
    opacity: 0.75;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 90%;
    z-index: 2;
    transition: all var(--transition-normal);
}

/* Hover Interactions */
.client-item:hover {
    transform: translateY(-6px);
}

.client-item:hover .client-placeholder {
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 20px 25px -5px rgba(99, 102, 241, 0.1), 0 10px 10px -5px rgba(99, 102, 241, 0.04);
}

.client-item:hover .client-placeholder::before {
    opacity: 1;
    height: 4px;
}

.client-item:hover .client-placeholder::after {
    opacity: 1;
}

.client-item:hover .client-initial {
    transform: scale(1.08);
}

.client-item:hover .client-name-text {
    opacity: 0.95;
    color: var(--primary, #6366f1);
}

@media (max-width: 768px) {
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl);
    }
}


/* ═══════════════════════════════════════════════════════════════════
   AWARD-WINNING UPGRADE — hero atmosphere, stats, glass, marquee, motion
   ═══════════════════════════════════════════════════════════════════ */

/* ── Scroll progress bar ───────────────────────────────────────── */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0;
    z-index: 1100;
    background: linear-gradient(90deg, var(--cyan), var(--magenta), var(--purple-accent));
    box-shadow: 0 0 12px rgba(0,194,203,0.5);
    transition: width 0.1s linear;
}

/* ── Hero atmosphere ───────────────────────────────────────────── */
.hero-orbs { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.4;
    will-change: transform;
}
.hero-orb-1 { width: 540px; height: 540px; top: -140px; left: -90px;
    background: radial-gradient(circle, var(--purple-accent), transparent 70%);
    animation: heroFloatA 16s ease-in-out infinite; }
.hero-orb-2 { width: 480px; height: 480px; bottom: -160px; right: -70px;
    background: radial-gradient(circle, var(--cyan), transparent 70%);
    animation: heroFloatB 19s ease-in-out infinite; }
.hero-orb-3 { width: 380px; height: 380px; top: 26%; right: 22%;
    background: radial-gradient(circle, var(--magenta), transparent 70%);
    animation: heroFloatC 22s ease-in-out infinite; }

.hero-grid {
    position: absolute; inset: 0; z-index: 1;
    background-image:
        linear-gradient(rgba(26,14,46,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26,14,46,0.05) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 38%, #000 0%, transparent 72%);
    mask-image: radial-gradient(ellipse at 50% 38%, #000 0%, transparent 72%);
}

.hero-fade {
    position: absolute; bottom: 0; left: 0; right: 0; height: 170px; z-index: 1;
    background: linear-gradient(180deg, transparent, rgba(238,241,248,0.9));
}

.hero-content { max-width: 980px; }

/* ── Hero service cloud: ~22 brand chips summarising MIT's full spectrum of
   services, gently drifting behind the hero copy. Light hero only — hidden
   on narrow screens and in the glass theme (which has its particle wave). ── */
.hero-services { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.hero-chip {
    position: absolute;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px 6px 9px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(0,194,203,0.20);
    box-shadow: 0 6px 18px -9px rgba(31,38,73,0.22);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    font-family: var(--font-heading); font-size: 0.72rem; font-weight: 600;
    color: rgba(26,14,46,0.62); white-space: nowrap;
    opacity: 0.6;
    animation: heroChipFloat 9s ease-in-out infinite;
    will-change: transform;
}
.hero-chip .material-icons-round { font-size: 15px; color: var(--cyan); }
@keyframes heroChipFloat {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-16px) translateX(7px); }
}
@media (prefers-reduced-motion: reduce) { .hero-chip, .hero-ticker-row { animation: none; } }
[data-theme="glass"] .hero-services, [data-theme="glass"] .hero-ticker { display: none; }

/* Mobile: swap the scattered chips for one gently drifting ticker at the top,
   safely above the hero copy. Duplicated row → seamless loop. */
.hero-ticker {
    position: absolute; left: 0; right: 0; top: 104px; z-index: 1;
    overflow: hidden; pointer-events: none; display: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.hero-ticker-row { display: flex; width: max-content; gap: 10px; padding: 0 10px; animation: heroTicker 28s linear infinite; }
.hero-ticker .hero-chip { position: static; animation: none; opacity: 0.9; }
@keyframes heroTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 900px) {
    .hero-services { display: none; }
    .hero-ticker { display: block; }
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 0.55rem;
    padding: 8px 18px; margin-bottom: var(--space-xl);
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(0,194,203,0.32);
    backdrop-filter: blur(12px);
    box-shadow: 0 6px 20px -8px rgba(31,38,73,0.20);
    color: rgba(26,14,46,0.85);
    font-family: var(--font-heading);
    font-size: 0.78rem; font-weight: 600;
    letter-spacing: 1.6px; text-transform: uppercase;
}
.hero-title { letter-spacing: -1.5px; }
.hero-title-gradient { filter: drop-shadow(0 6px 40px rgba(0,194,203,0.18)); }

.hero-tagline {
    font-size: 1.15rem; font-weight: 500; letter-spacing: 0.2px;
    text-transform: none;
    max-width: 620px; margin-left: auto; margin-right: auto;
    color: rgba(26,14,46,0.82);
    font-weight: 600;
    text-shadow: 0 1px 12px rgba(247,249,253,0.9);
}

.hero-trust {
    display: flex; align-items: center; justify-content: center;
    gap: 0.85rem; margin-top: var(--space-2xl);
    color: rgba(255,255,255,0.6); font-size: 0.9rem;
}
.hero-trust-dots { display: inline-flex; }
.hero-trust-dots i {
    width: 28px; height: 28px; border-radius: 50%;
    margin-left: -9px; border: 2px solid var(--purple-deep);
    background: linear-gradient(135deg, var(--cyan), var(--magenta));
}
.hero-trust-dots i:first-child { margin-left: 0; }

.hero-scroll {
    position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
    z-index: 3; display: flex;
}
.hero-scroll-mouse {
    width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.35);
    border-radius: 14px; display: flex; justify-content: center; padding-top: 7px;
}
.hero-scroll-dot {
    width: 4px; height: 8px; border-radius: 2px; background: var(--cyan);
    animation: scrollDot 1.8s ease-in-out infinite;
}

.btn-glass {
    background: rgba(26,14,46,0.035);
    color: var(--purple-deep);
    border: 1px solid rgba(26,14,46,0.14);
    backdrop-filter: blur(12px);
}
.btn-glass:hover {
    background: rgba(26,14,46,0.07);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(31,38,73,0.14);
}

/* ── Stats band ────────────────────────────────────────────────── */
.stats-section {
    position: relative;
    z-index: 5;
    margin-top: -118px;               /* float the card up so it straddles the hero's lower edge */
    padding: 0 0 var(--space-3xl);
    background: transparent;
}
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-xl);
    max-width: 1100px; margin: 0 auto;
    border-radius: var(--radius-xl);
    padding: var(--space-2xl) var(--space-xl);
    /* Light view: a clean white card floating over the hero→content seam.
       The glass view reskins this as a frosted translucent panel. */
    background: linear-gradient(135deg, #ffffff 0%, #f4f7fc 100%);
    border: 1.5px solid rgba(0,194,203,0.30);
    box-shadow: 0 30px 70px -30px rgba(31,38,73,0.25), inset 0 1px 0 rgba(255,255,255,0.6);
}
.stat-item { position: relative; text-align: center; padding: var(--space-md) var(--space-lg); }
.stat-item:not(:last-child)::after {
    content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    width: 1px; height: 54px;
    background: linear-gradient(180deg, transparent, rgba(26,14,46,0.12), transparent);
}
.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 900; line-height: 1;
    background: linear-gradient(135deg, var(--cyan), var(--purple-accent));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-label {
    margin-top: 0.65rem; color: rgba(26,14,46,0.55);
    font-size: 0.82rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
}

/* ── Sub-services → glass chips ────────────────────────────────── */
.sub-service-tile {
    display: flex; align-items: center; justify-content: flex-start; gap: 0.7rem;
    text-align: left;
    padding: var(--space-lg);
    background: rgba(255,255,255,0.72);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    backdrop-filter: blur(6px);
    box-shadow: var(--shadow-sm);
}
.sub-service-tile:hover {
    background: var(--white);
    border-color: rgba(0,194,203,0.4);
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(46,26,71,0.12);
}
.sub-service-dot {
    width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
    background: linear-gradient(135deg, var(--cyan), var(--purple-accent));
    box-shadow: 0 0 0 4px rgba(0,194,203,0.12);
}
.sub-service-name { color: var(--purple-dark); font-weight: 600; }
.sub-service-tile:hover .sub-service-name { color: var(--purple-accent); }
.sub-service-ico {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 12px; flex: 0 0 auto;
    background: linear-gradient(135deg, var(--cyan), var(--purple-accent));
    color: #fff;
    box-shadow: 0 4px 12px -5px rgba(0,194,203,0.45);
}
.sub-service-ico .material-icons-round { font-size: 21px; }

/* ── Clients marquee ───────────────────────────────────────────── */
.clients-marquee {
    position: relative; overflow: hidden; padding: var(--space-lg) 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.clients-track {
    display: flex; gap: var(--space-lg); width: max-content;
    animation: marquee 42s linear infinite;
}
.clients-marquee:hover .clients-track { animation-play-state: paused; }
.client-pill {
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 13px 22px; white-space: nowrap;
    background: var(--white); border: 1px solid var(--gray-200);
    border-radius: var(--radius-full); box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}
.client-pill:hover {
    border-color: rgba(0,194,203,0.4); transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(46,26,71,0.10);
}
.client-pill-initial {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 50%;
    font-family: var(--font-heading); font-weight: 800; font-size: 0.9rem; color: var(--white);
    background: linear-gradient(135deg, var(--cyan), var(--purple-accent));
}
.client-pill-name { font-family: var(--font-heading); font-weight: 600; color: var(--purple-dark); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.02em; }
.client-pill-logo { height: 30px; width: auto; object-fit: contain; }

/* ── Keyframes ─────────────────────────────────────────────────── */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes badgePulse {
    0% { box-shadow: 0 0 0 0 rgba(0,194,203,0.5); }
    70% { box-shadow: 0 0 0 10px rgba(0,194,203,0); }
    100% { box-shadow: 0 0 0 0 rgba(0,194,203,0); }
}
@keyframes scrollDot {
    0% { opacity: 0; transform: translateY(-4px); }
    30% { opacity: 1; }
    60% { opacity: 1; transform: translateY(10px); }
    100% { opacity: 0; transform: translateY(12px); }
}
@keyframes heroFloatA { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px,30px) scale(1.08); } }
@keyframes heroFloatB { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-50px,-30px) scale(1.10); } }
@keyframes heroFloatC { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(20px,-40px) scale(1.05); } }

/* ── Responsive + reduced motion ───────────────────────────────── */
@media (max-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); }
    .stat-item:not(:last-child)::after { display: none; }
    .stat-item { padding: var(--space-sm) var(--space-xs); }
    .hero-trust { flex-direction: column; gap: 0.6rem; }

    /* ── Hero (mobile) ──────────────────────────────────────────────
       Top-anchor the copy instead of vertically centering it: on short
       phones the centered layout dropped the badge onto the drifting
       service ticker, and the floated stats card landed on the CTAs.
       Padding-top clears the fixed navbar + ticker; padding-bottom
       leaves room for the stats card to straddle empty space.        */
    .hero {
        min-height: auto;
        align-items: flex-start;
    }
    .hero-content {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 170px 1.25rem 150px;
    }
    .hero-badge {
        max-width: 88vw;
        margin-bottom: var(--space-lg);
        padding: 7px 15px;
        font-size: 0.66rem;
        letter-spacing: 1.1px;
        line-height: 1.4;
        text-align: center;
    }
    .hero-title {
        font-size: clamp(2.4rem, 12vw, 3.1rem);
        margin-bottom: var(--space-md);
    }
    .hero-tagline {
        font-size: 1rem;
        letter-spacing: 0.4px;
        max-width: 92vw;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: var(--space-xl);
    }
}
@media (prefers-reduced-motion: reduce) {
    .hero-orb, .clients-track, .hero-scroll-dot, .hero-badge-dot { animation: none !important; }
}


/* ═══════════════════════════════════════════════════════════════════
   AI GALAXY — chat landing hero (spiral of services + platform apps)
   ═══════════════════════════════════════════════════════════════════ */

/* header brand */
.chat-header { justify-content: space-between; align-items: center; gap: 12px; }
.chat-brand { display: inline-flex; align-items: center; gap: 10px; }
.chat-brand-logo {
    width: 34px; height: 34px; border-radius: 50%; object-fit: cover;
    background: var(--cream); padding: 3px; border: 2px solid rgba(0,194,203,0.35);
}
.chat-brand-word { font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; color: #fff; letter-spacing: 0.4px; }
.chat-header-links { display: inline-flex; gap: 12px; }

/* stage fills the space between header and input */
.chat-stage { flex: 1; width: 100%; min-height: 0; display: flex; flex-direction: column; }
.chat-branding { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 0; }
.chat-messages:empty { flex: 0 0 auto; }

/* galaxy area (edge-faded so nothing hard-clips) */
.chat-galaxy {
    position: relative; flex: 1; min-height: 0; width: 100%;
    -webkit-mask-image: radial-gradient(ellipse 74% 78% at 50% 50%, #000 58%, transparent 97%);
    mask-image: radial-gradient(ellipse 74% 78% at 50% 50%, #000 58%, transparent 97%);
}
.galaxy-parallax { position: absolute; inset: 0; will-change: transform; }
.galaxy-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 1; }
.galaxy-nodes { position: absolute; inset: 0; z-index: 2; }

/* spiral arms + service spokes */
.garm { fill: none; stroke: url(#garm); stroke-width: 1.2; stroke-opacity: 0.13; stroke-linecap: round; }
.gspoke { stroke: url(#garm); stroke-width: 1.4; stroke-opacity: 0.22; stroke-dasharray: 3 7; animation: cflow 5s linear infinite; }
.gspoke.is-focused { stroke-opacity: 1; stroke-width: 2.4; animation-duration: 2.2s; }

/* per-accent palette */
.cnode--cyan    { --ac:#00C2CB; --ac2:#21e6f0; --acs:rgba(0,194,203,0.5); }
.cnode--magenta { --ac:#e0a5d6; --ac2:#C77DBA; --acs:rgba(199,125,186,0.55); }
.cnode--gold    { --ac:#f0cf6b; --ac2:#e8c547; --acs:rgba(232,197,71,0.55); }
.cnode--blue    { --ac:#74b3ff; --ac2:#4a90d9; --acs:rgba(74,144,217,0.55); }
.cnode--violet  { --ac:#b794f6; --ac2:#7c3aed; --acs:rgba(124,58,237,0.55); }
.cnode--mint    { --ac:#5eead4; --ac2:#2dd4bf; --acs:rgba(94,234,212,0.55); }

/* nodes (icon centred on the spiral point; labels float below) */
.cnode {
    position: absolute; transform: translate(-50%, -50%);
    display: flex; align-items: center; justify-content: center;
    background: none; border: none; padding: 0; cursor: pointer; z-index: 2;
}
.cnode-icon {
    display: flex; align-items: center; justify-content: center; border-radius: 50%;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), background var(--transition-normal);
}
.cnode-label {
    position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%);
    font-family: var(--font-heading); font-weight: 600; letter-spacing: 0.3px;
    color: rgba(255,255,255,0.82); white-space: nowrap; text-shadow: 0 1px 6px rgba(0,0,0,0.7);
    transition: color var(--transition-normal), opacity var(--transition-normal), transform var(--transition-normal);
}
.cnode:hover { z-index: 8; }
.cnode:hover .cnode-icon { transform: scale(1.18); }

/* services: bold filled discs, always labelled */
.cnode--service .cnode-icon {
    width: 54px; height: 54px; font-size: 1.45rem; color: #fff;
    background: linear-gradient(135deg, var(--ac2), var(--ac));
    box-shadow: 0 8px 22px -6px var(--acs), 0 0 0 5px rgba(255,255,255,0.05);
}
.cnode--service .cnode-label { font-size: 0.78rem; color: rgba(255,255,255,0.92); }
.cnode--service:hover .cnode-icon { box-shadow: 0 10px 28px -4px var(--acs), 0 0 0 7px rgba(255,255,255,0.08); }

/* apps: glass icon-stars, label on hover/focus */
.cnode--app .cnode-icon {
    width: 38px; height: 38px; font-size: 1.1rem; color: var(--ac);
    background: rgba(255,255,255,0.05); border: 1px solid var(--acs); backdrop-filter: blur(7px);
    box-shadow: 0 0 14px -3px var(--acs), 0 4px 12px rgba(0,0,0,0.28);
}
.cnode--app .cnode-label {
    opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(-4px); font-size: 0.66rem;
    padding: 3px 9px; border-radius: var(--radius-full);
    background: rgba(26,14,46,0.92); border: 1px solid rgba(255,255,255,0.12); backdrop-filter: blur(8px);
}
.cnode--app:hover .cnode-label, .cnode--app.is-selected .cnode-label { opacity: 1; transform: translateX(-50%) translateY(0); }

/* selected (active context) */
.cnode.is-selected .cnode-icon { transform: scale(1.14); box-shadow: 0 0 0 3px var(--acs), 0 0 26px var(--acs); }

/* core */
.cnode--core { left: 50%; top: 50%; z-index: 5; width: 96px; height: 96px; }
.cnode-core-img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: var(--cream); padding: 9px; border: 3px solid rgba(0,194,203,0.5); box-shadow: 0 0 40px rgba(0,194,203,0.35), 0 0 90px rgba(138,50,138,0.25); transition: transform var(--transition-slow), box-shadow var(--transition-slow); }
.cnode--core:hover .cnode-core-img { transform: scale(1.05); box-shadow: 0 0 60px rgba(0,194,203,0.5), 0 0 120px rgba(138,50,138,0.3); }
.cnode-core-pulse { position: absolute; left: 50%; top: 50%; width: 96px; height: 96px; transform: translate(-50%,-50%); border-radius: 50%; pointer-events: none; box-shadow: 0 0 0 0 rgba(0,194,203,0.4); animation: corePulse 3.4s ease-out infinite; }

/* caption */
.galaxy-caption { text-align: center; padding: var(--space-xs) 0 var(--space-sm); }
.galaxy-caption .chat-tagline { margin-bottom: var(--space-sm); }
.constellation-legend { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; }
.legend-item { display: inline-flex; align-items: center; gap: 7px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.legend-swatch { width: 13px; height: 13px; border-radius: 50%; }
.legend-swatch--service { background: linear-gradient(135deg, var(--cyan), var(--magenta)); }
.legend-swatch--app { background: rgba(255,255,255,0.06); border: 1.5px solid rgba(255,255,255,0.45); }
.legend-hint { color: rgba(255,255,255,0.45); font-size: 0.78rem; text-transform: none; letter-spacing: 0; font-weight: 500; }

/* active-context bar */
.chat-context-bar { position: relative; overflow: hidden; display: flex; align-items: center; gap: 10px; align-self: center; width: 100%; max-width: 560px; margin: 0 auto var(--space-sm); padding: 8px 10px 8px 16px; border-radius: var(--radius-full); background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); backdrop-filter: blur(12px); color: rgba(255,255,255,0.85); font-size: 0.88rem; animation: cFade 0.3s ease both; }
.chat-context-bar[hidden] { display: none; }
.chat-context-glow { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,194,203,0.14), transparent 55%); pointer-events: none; }
.chat-context-icon { font-size: 1.2rem; color: var(--cyan); z-index: 1; }
.chat-context-text { z-index: 1; }
.chat-context-text strong { color: #fff; }
.chat-context-clear { margin-left: auto; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; border: none; cursor: pointer; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7); transition: all var(--transition-fast); }
.chat-context-clear:hover { background: rgba(255,80,80,0.28); color: #fff; }
.chat-context-clear .material-icons-round { font-size: 1rem; }

/* collapse on chat */
.chat-branding.minimized { display: none; }

@keyframes cflow { to { stroke-dashoffset: -110; } }
@keyframes corePulse { 0% { box-shadow: 0 0 0 0 rgba(0,194,203,0.45); } 70% { box-shadow: 0 0 0 24px rgba(0,194,203,0); } 100% { box-shadow: 0 0 0 0 rgba(0,194,203,0); } }
@keyframes cFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (max-width: 640px) {
    .chat-brand-word { display: none; }
    .cnode--service .cnode-icon { width: 44px; height: 44px; font-size: 1.2rem; }
    .cnode--service .cnode-label { font-size: 0.64rem; }
    .cnode--app .cnode-icon { width: 30px; height: 30px; font-size: 0.92rem; }
    .cnode--core, .cnode-core-img, .cnode-core-pulse { width: 72px; height: 72px; }
}
@media (prefers-reduced-motion: reduce) {
    .gspoke, .cnode-core-pulse, .cnode--app .cnode-icon { animation: none !important; }
}

/* ══════════════════════════════════════════════════════════════════
   COOKIE CONSENT — brand theming (orestbida/cookieconsent v3)
   Self-hosted, no third-party calls. Matches the MIT Solutions palette.
   ══════════════════════════════════════════════════════════════════ */
#cc-main {
    --cc-font-family: var(--font-body);
    --cc-modal-border-radius: var(--radius-lg);
    --cc-btn-border-radius: var(--radius-full);
    --cc-pm-toggle-border-radius: var(--radius-full);
    --cc-z-index: 2147483000;

    /* Surfaces (light) — the glass theme restores the dark palette below */
    --cc-bg: #ffffff;
    --cc-primary-color: var(--purple-deep);
    --cc-secondary-color: rgba(26,14,46,0.7);
    --cc-separator-border-color: rgba(26,14,46,0.10);
    --cc-overlay-bg: rgba(20,15,40,0.35);

    /* Primary button = cyan accent */
    --cc-btn-primary-bg: var(--cyan);
    --cc-btn-primary-color: var(--purple-deep);
    --cc-btn-primary-border-color: var(--cyan);
    --cc-btn-primary-hover-bg: var(--cyan-light);
    --cc-btn-primary-hover-color: var(--purple-deep);
    --cc-btn-primary-hover-border-color: var(--cyan-light);

    /* Secondary button = subtle ink */
    --cc-btn-secondary-bg: rgba(26,14,46,0.05);
    --cc-btn-secondary-color: var(--purple-deep);
    --cc-btn-secondary-border-color: rgba(26,14,46,0.15);
    --cc-btn-secondary-hover-bg: rgba(26,14,46,0.10);
    --cc-btn-secondary-hover-color: var(--purple-deep);
    --cc-btn-secondary-hover-border-color: rgba(26,14,46,0.25);

    --cc-link-color: #0891a0;

    /* Category blocks in the preferences modal */
    --cc-cookie-category-block-bg: rgba(26,14,46,0.03);
    --cc-cookie-category-block-border: rgba(26,14,46,0.08);
    --cc-cookie-category-block-hover-bg: rgba(0,194,203,0.08);
    --cc-cookie-category-block-hover-border: rgba(0,194,203,0.30);
    --cc-cookie-category-expanded-block-bg: rgba(26,14,46,0.02);
    --cc-cookie-category-expanded-block-hover-bg: rgba(26,14,46,0.05);

    /* Toggles */
    --cc-toggle-on-bg: var(--cyan);
    --cc-toggle-off-bg: rgba(26,14,46,0.25);
    --cc-toggle-on-knob-bg: #ffffff;
    --cc-toggle-off-knob-bg: #ffffff;
    --cc-toggle-enabled-icon-color: var(--purple-deep);
    --cc-toggle-disabled-icon-color: rgba(26,14,46,0.6);
    --cc-toggle-readonly-bg: rgba(199,125,186,0.5);
    --cc-toggle-readonly-knob-bg: #ffffff;
    --cc-toggle-readonly-knob-icon-color: rgba(199,125,186,0.9);

    --cc-footer-bg: transparent;
    --cc-footer-color: rgba(26,14,46,0.55);
    --cc-footer-border-color: rgba(26,14,46,0.10);

    --cc-webkit-scrollbar-bg: rgba(26,14,46,0.18);
    --cc-webkit-scrollbar-hover-bg: var(--cyan);
}

/* Glass (dark) theme: restore the dark cookie palette */
[data-theme="glass"] #cc-main {
    --cc-bg: #211437;
    --cc-primary-color: #ffffff;
    --cc-secondary-color: rgba(255,255,255,0.72);
    --cc-separator-border-color: rgba(255,255,255,0.10);
    --cc-overlay-bg: rgba(13,7,23,0.72);
    --cc-btn-secondary-bg: rgba(255,255,255,0.06);
    --cc-btn-secondary-color: #ffffff;
    --cc-btn-secondary-border-color: rgba(255,255,255,0.16);
    --cc-btn-secondary-hover-bg: rgba(255,255,255,0.12);
    --cc-btn-secondary-hover-color: #ffffff;
    --cc-btn-secondary-hover-border-color: rgba(255,255,255,0.28);
    --cc-link-color: var(--cyan);
    --cc-cookie-category-block-bg: rgba(255,255,255,0.04);
    --cc-cookie-category-block-border: rgba(255,255,255,0.08);
    --cc-cookie-category-expanded-block-bg: rgba(255,255,255,0.03);
    --cc-cookie-category-expanded-block-hover-bg: rgba(255,255,255,0.06);
    --cc-toggle-off-bg: rgba(255,255,255,0.22);
    --cc-toggle-on-knob-bg: var(--purple-deep);
    --cc-toggle-disabled-icon-color: rgba(255,255,255,0.7);
    --cc-footer-color: rgba(255,255,255,0.55);
    --cc-footer-border-color: rgba(255,255,255,0.10);
    --cc-webkit-scrollbar-bg: rgba(255,255,255,0.18);
}

/* Gradient hairline accent on the consent box to echo the footer */
#cc-main .cm,
#cc-main .pm {
    border: 1px solid rgba(26,14,46,0.08);
    box-shadow: 0 20px 60px rgba(31,38,73,0.18);
    background:
        radial-gradient(420px 160px at 0% 0%, rgba(0,194,203,0.10), transparent 70%),
        radial-gradient(420px 160px at 100% 100%, rgba(199,125,186,0.10), transparent 70%),
        var(--cc-bg);
}
[data-theme="glass"] #cc-main .cm,
[data-theme="glass"] #cc-main .pm {
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}

#cc-main .cm__title,
#cc-main .pm__title { font-family: var(--font-heading); }


/* ══════════════════════════════════════════════════════════════════
   HERO PARTICLE WAVE  (animated halftone canvas)
   Hidden by default; the glass theme turns it on.
   ══════════════════════════════════════════════════════════════════ */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: none;
    pointer-events: none;
}


/* ══════════════════════════════════════════════════════════════════
   THEME SWITCHER BUTTON  (floating, bottom-right; back-to-top stacks above)
   ══════════════════════════════════════════════════════════════════ */
.theme-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 901;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255,255,255,0.4);
    background: linear-gradient(135deg, var(--cyan), var(--purple-accent));
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    backdrop-filter: blur(16px) saturate(1.4);
    box-shadow: 0 8px 28px rgba(0,0,0,0.22);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast),
                background var(--transition-fast);
}
.theme-toggle:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(0,0,0,0.28);
}
.theme-toggle .theme-toggle-icon { font-size: 1.4rem; }

[data-theme="glass"] .theme-toggle {
    background: linear-gradient(135deg, var(--cyan), var(--purple-accent));
    color: #fff;
    border: 1px solid rgba(255,255,255,0.35);
    box-shadow: 0 10px 28px -8px rgba(138,50,138,0.5);
}


/* ══════════════════════════════════════════════════════════════════
   GLASS THEME  —  Apple-style frosted "Liquid Glass" variant
   Frosted translucent panels float over a deep, vibrant gradient so the
   blur/saturation actually reads. Activated by <html data-theme="glass">.
   Self-contained: the default ("classic") theme is untouched.
   ══════════════════════════════════════════════════════════════════ */
/* Light == classic, dark == glass. Tell the UA so native scrollbars and
   form controls match the active mode. */
:root { color-scheme: light; }

[data-theme="glass"] {
    color-scheme: dark;

    /* Brand palette */
    --bp-navy:    #344767;
    --bp-magenta: #8A328A;
    --bp-pink:    #FFB1FF;
    --bp-cream:   #FFF7D6;
    --bp-cyan:    #00C9C6;
    --bp-teal:    #006E91;
    --bp-grey:    #A4ABBD;

    /* Frosted-glass surface — gradient fill + bright edge make it read as glass */
    --glass-grad:        linear-gradient(135deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.045) 62%);
    --glass-grad-strong: linear-gradient(135deg, rgba(255,255,255,0.26) 0%, rgba(255,255,255,0.09) 62%);
    --glass-stroke:      rgba(255,255,255,0.34);
    --glass-edge:        inset 0 1px 0 rgba(255,255,255,0.5), inset 0 -1px 0 rgba(255,255,255,0.06);
    --glass-shadow:      0 18px 50px rgba(0,0,0,0.40);
    --glass-blur:        blur(16px) saturate(1.85) brightness(1.07);

    --glass-ink:         #f6f1fc;                 /* primary light text   */
    --glass-ink-soft:    rgba(246,241,252,0.70);  /* secondary light text */
    --nav-ink:           #2b1a40;                 /* dark text for the light navbar */
    --nav-ink-soft:      #5b4a73;
}

/* One continuous gradient flows down the whole page, but it TRAVELS the
   full brand spectrum so the page never reads monotone: a warm magenta-plum
   hero cools through indigo into teal mid-page, then settles into deep navy
   by the footer. Each brand hue (magenta, cyan, teal, navy, pink) owns a
   real glow somewhere instead of everything being purple.
   Scoped to .classic-page so the chat app (body.vpage) keeps its own bg. */
[data-theme="glass"] body.classic-page {
    /* The two brand MAINS own the page — magenta-plum at the hero easing into
       deep navy (the logo's navy). Cyan + pink stay as small corner accents
       only; no teal-green fields, no per-section colour washes. */
    background:
        radial-gradient(1150px 760px at 82% 1%,  rgba(138,50,138,0.32), transparent 56%),  /* magenta hero glow  */
        radial-gradient(880px 680px at 8% 20%,   rgba(0,201,198,0.09),  transparent 58%),  /* cyan accent (small) */
        radial-gradient(980px 800px at 92% 52%,  rgba(138,50,138,0.15), transparent 60%),  /* magenta echo       */
        radial-gradient(960px 780px at 8% 78%,   rgba(52,71,103,0.5),   transparent 60%),  /* navy lower-left    */
        radial-gradient(620px 560px at 90% 94%,  rgba(199,125,186,0.13), transparent 62%),  /* pink footer accent */
        linear-gradient(180deg,
            #1a0c2c 0%,    /* deep magenta-plum (hero base) */
            #1c1136 18%,   /* plum → navy                   */
            #1a2138 44%,   /* navy                          */
            #172234 68%,   /* navy                          */
            #141e2e 86%,   /* deep navy                     */
            #101926 100%); /* deep navy (footer)            */
    color: var(--glass-ink);
}

/* Brand watermark intentionally disabled: every spiral so far has been a
   recreation (the real artwork only arrives as an inline image, not a file),
   and the client confirmed it isn't their mark. Re-enable once the actual
   single-spiral file lands in ../images/ — keep it a single calm watermark,
   not the full 3-swirl logo, not repeated per section. */

/* ── Hero: swap CSS orbs for the moving particle wave; no white fade ── */
[data-theme="glass"] .hero-orbs,
[data-theme="glass"] .hero-grid,
[data-theme="glass"] .hero-fade { display: none; }
[data-theme="glass"] .hero-particles { display: block; }
[data-theme="glass"] .hero-gradient {
    background:
        radial-gradient(ellipse at 80% 18%, rgba(199,125,186,0.42) 0%, transparent 55%),   /* magenta */
        radial-gradient(ellipse at 12% 26%, rgba(0,201,198,0.20) 0%, transparent 52%),      /* cyan accent */
        radial-gradient(ellipse at 50% 98%, rgba(52,71,103,0.40) 0%, transparent 60%),      /* navy floor */
        radial-gradient(ellipse at 18% 78%, rgba(138,50,138,0.26) 0%, transparent 55%),     /* magenta */
        linear-gradient(155deg, #160a28 0%, #1c1140 46%, #161f33 100%);                     /* plum → navy */
}

/* ── Navbar: dark frosted bar, light text, bare logo (no white circle) —
   keeps the dark view consistently dark instead of a bright white bar ── */
[data-theme="glass"] .navbar {
    background: rgba(20, 15, 40, 0.55);
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow: 0 10px 40px rgba(0,0,0,0.35);
}
[data-theme="glass"] .navbar.scrolled { background: rgba(18, 13, 36, 0.82); }
[data-theme="glass"] .nav-logo-img {
    background: transparent;
    border: none;
    padding: 0;
}
[data-theme="glass"] .nav-logo-text { color: var(--glass-ink); }
[data-theme="glass"] .nav-link { color: var(--glass-ink-soft); }

/* Footer logo: in the glass view drop the cream disc + colour-ring glow —
   the transparent spiral mark reads cleanly straight on the dark footer */
[data-theme="glass"] .footer-logo-wrap {
    background: none;
    padding: 0;
}
[data-theme="glass"] .footer-logo-wrap::after { display: none; }
[data-theme="glass"] .footer-logo {
    background: none;
    padding: 0;
    border-radius: 0;
}
[data-theme="glass"] .nav-link:hover { color: var(--glass-ink); background: rgba(255,255,255,0.12); }
/* ── Revamped nav CTAs: a matched pair sharing the brand gradient —
   "AI Chat" wears it as a glowing ring (ghost), "LET US CHAT" as a filled
   gradient (primary). Both lift and brighten on hover. ── */
[data-theme="glass"] .nav-cta {
    padding: 9px 18px;
    color: var(--nav-ink);
    font-weight: 700;
    /* frosted fill + a cyan→magenta gradient ring (border-box trick) */
    background: linear-gradient(rgba(255,255,255,0.94), rgba(255,255,255,0.84)) padding-box,
                linear-gradient(135deg, var(--cyan), var(--purple-accent)) border-box;
    border: 1.6px solid transparent;
    box-shadow: 0 6px 18px -9px rgba(138,50,138,0.35);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}
[data-theme="glass"] .nav-cta:hover {
    transform: translateY(-2px);
    background: linear-gradient(rgba(0,201,198,0.14), rgba(199,125,186,0.16)) padding-box,
                linear-gradient(135deg, var(--cyan), var(--purple-accent)) border-box;
    box-shadow: 0 12px 26px -10px rgba(0,201,198,0.45);
}
[data-theme="glass"] .nav-cta-accent {
    color: #fff;
    background: linear-gradient(135deg, var(--cyan) 0%, var(--purple-accent) 62%, var(--magenta) 100%);
    border: 1.6px solid transparent;
    box-shadow: 0 8px 22px -9px rgba(138,50,138,0.6), inset 0 1px 0 rgba(255,255,255,0.45);
}
[data-theme="glass"] .nav-cta-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px -8px rgba(199,125,186,0.65), inset 0 1px 0 rgba(255,255,255,0.55);
}
[data-theme="glass"] .nav-mobile-toggle span { background: var(--glass-ink); }
/* Restore dark surfaces the light base now owns (mobile menu + glass hero button) */
[data-theme="glass"] .nav-links.active {
    background:
        radial-gradient(420px 220px at 18% 0%, rgba(0,201,198,0.14), transparent 60%),
        radial-gradient(420px 220px at 92% 30%, rgba(138,50,138,0.18), transparent 60%),
        rgba(22,16,43,0.92);
    border: 1px solid rgba(255,255,255,0.14);
}
[data-theme="glass"] .nav-links.active .nav-link { color: var(--glass-ink); }
[data-theme="glass"] .btn-glass {
    background: rgba(255,255,255,0.08);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.22);
}
[data-theme="glass"] .btn-glass:hover {
    background: rgba(255,255,255,0.16);
    box-shadow: 0 12px 30px rgba(0,0,0,0.28);
}

/* Sections stay transparent so the single flowing gradient + the one
   spiral read as a cohesive canvas — no clashing colour blocks, no seams. */
[data-theme="glass"] .services-section,
[data-theme="glass"] .sub-services-section,
[data-theme="glass"] .ai-products-section,
[data-theme="glass"] .subscription-section,
[data-theme="glass"] .process-section,
[data-theme="glass"] .clients-section,
[data-theme="glass"] .contact-section,
[data-theme="glass"] .legal-hero,
[data-theme="glass"] .legal-wrap {
    background: transparent;
}

/* ── Shared frosted-glass surface (translucent light panel on dark) ── */
[data-theme="glass"] .service-card,
[data-theme="glass"] .ai-product-card,
[data-theme="glass"] .subscription-card,
[data-theme="glass"] .subscription-item,
[data-theme="glass"] .sub-service-tile,
[data-theme="glass"] .contact-form,
[data-theme="glass"] .contact-method,
[data-theme="glass"] .client-pill,
[data-theme="glass"] .stats-grid,
[data-theme="glass"] .legal-body {
    background: var(--glass-grad);
    border: 1px solid var(--glass-stroke);
    box-shadow: var(--glass-shadow), var(--glass-edge);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
}
[data-theme="glass"] .service-card:hover,
[data-theme="glass"] .ai-product-card:hover,
[data-theme="glass"] .sub-service-tile:hover,
[data-theme="glass"] .contact-method:hover,
[data-theme="glass"] .client-pill:hover,
[data-theme="glass"] .subscription-item:hover {
    background: var(--glass-grad-strong);
    border-color: rgba(255,255,255,0.5);
    box-shadow: 0 24px 60px rgba(0,0,0,0.46), inset 0 1px 0 rgba(255,255,255,0.65);
}

/* Stats card layout (radius + padding) is shared via the base .stats-grid;
   the frosted-panel skin comes from the shared glass surface rule above. */
[data-theme="glass"] .stat-label { color: var(--glass-ink-soft); }
[data-theme="glass"] .stat-item:not(:last-child)::after {
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.18), transparent);
}

/* ── Text: flip dark-on-light copy to light-on-glass ── */
[data-theme="glass"] .section-title,
[data-theme="glass"] .service-card-title,
[data-theme="glass"] .ai-product-title,
[data-theme="glass"] .sub-service-name,
[data-theme="glass"] .process-step-title,
[data-theme="glass"] .client-pill-name,
[data-theme="glass"] .contact-method strong,
[data-theme="glass"] .form-group label { color: var(--glass-ink); }

[data-theme="glass"] .section-subtitle,
[data-theme="glass"] .service-card-desc,
[data-theme="glass"] .service-card-desc p,
[data-theme="glass"] .ai-product-desc,
[data-theme="glass"] .process-step-desc,
[data-theme="glass"] .contact-desc,
[data-theme="glass"] .contact-method span { color: var(--glass-ink-soft); }

/* (Service-card category hues are remapped to the brand palette in the
   COLOUR RHYTHM block below — cyan/magenta/teal/pink/cream.) */

/* Process stepper → frosted glass cards + glowing number nodes */
[data-theme="glass"] .proc-card {
    background: var(--glass-grad);
    border: 1px solid var(--glass-stroke);
    box-shadow: var(--glass-shadow), var(--glass-edge);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
}
[data-theme="glass"] .proc-step:hover .proc-card {
    background: var(--glass-grad-strong);
    border-color: rgba(255,255,255,0.5);
}
/* the number ring breaks the rail with the dark page tone, not white */
[data-theme="glass"] .proc-num {
    color: #ffffff;
    box-shadow: 0 0 22px rgba(0,201,198,0.32), 0 10px 30px rgba(0,0,0,0.42),
                0 0 0 6px var(--glass-page-tone, #171430);
}
[data-theme="glass"] .proc-step:hover .proc-num {
    box-shadow: 0 0 30px rgba(199,125,186,0.5), 0 12px 34px rgba(0,0,0,0.46),
                0 0 0 6px var(--glass-page-tone, #171430);
}

/* Sub-service chips: compact, uniform size (was too tall / too wide) */
[data-theme="glass"] .sub-services-grid {
    grid-template-columns: repeat(auto-fit, minmax(186px, 1fr));
    gap: 14px;
}
/* Lift the chips to the same level as the service / AI cards: each gets a
   brand-gradient icon disc, richer glass, and a hover that floats + spins
   the icon and brightens the label. */
[data-theme="glass"] .sub-service-tile {
    justify-content: flex-start;
    gap: 13px;
    padding: 0 16px;
    min-height: 72px;
    border-radius: 16px;
    transition: transform var(--transition-normal), border-color var(--transition-normal),
                background var(--transition-normal), box-shadow var(--transition-normal);
}
[data-theme="glass"] .sub-service-ico {
    background: linear-gradient(135deg, rgba(0,201,198,0.26), rgba(199,125,186,0.32));
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.32), 0 6px 16px -8px rgba(199,125,186,0.5);
    color: #f4fbff;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
[data-theme="glass"] .sub-service-tile:hover {
    transform: translateY(-4px);
    border-color: rgba(0,201,198,0.5);
    box-shadow: 0 16px 34px -16px rgba(0,201,198,0.5), inset 0 1px 0 rgba(255,255,255,0.5);
}
[data-theme="glass"] .sub-service-tile:hover .sub-service-ico {
    transform: scale(1.12) rotate(-5deg);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.45), 0 8px 20px -6px rgba(199,125,186,0.75);
}
[data-theme="glass"] .sub-service-name { letter-spacing: 0.1px; font-weight: 600; }

/* Form fields → dark glass with light text */
[data-theme="glass"] .form-input {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.18);
    color: var(--glass-ink);
}
[data-theme="glass"] .form-input::placeholder { color: rgba(255,255,255,0.4); }
[data-theme="glass"] .form-input:focus {
    border-color: var(--cyan);
    background: rgba(255,255,255,0.1);
    box-shadow: 0 0 0 3px rgba(0,194,203,0.18);
}

/* ── Footer: frosted teal slab that settles into the gradient's base ── */
[data-theme="glass"] .footer {
    background: rgba(22,33,59,0.62);   /* deep navy (main) */
    border-top: 1px solid rgba(255,255,255,0.12);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    backdrop-filter: blur(24px) saturate(1.4);
}
[data-theme="glass"] .footer-pill {
    background: var(--glass-grad);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: var(--glass-edge);
    -webkit-backdrop-filter: blur(10px) saturate(1.6);
    backdrop-filter: blur(10px) saturate(1.6);
}
[data-theme="glass"] .footer-pill:hover {
    background: var(--glass-grad-strong);
    border-color: rgba(255,255,255,0.4);
}

/* ── Restore dark-theme copy for the footer + subscription (the light base
   now owns the light treatment; these bring back light-on-dark for glass) ── */
[data-theme="glass"] .footer { color: rgba(246,241,252,0.72); }
[data-theme="glass"] .footer-brand-name { color: var(--glass-ink); }
[data-theme="glass"] .footer-tagline { color: var(--cyan); }
[data-theme="glass"] .footer-pill-label { color: rgba(255,255,255,0.45); }
[data-theme="glass"] .footer-pill-value { color: var(--white); }
[data-theme="glass"] .footer-pill-arrow { color: rgba(255,255,255,0.3); }
[data-theme="glass"] .footer-bottom { color: rgba(255,255,255,0.4); border-top-color: rgba(255,255,255,0.08); }
[data-theme="glass"] .footer-bottom a { color: #b39ddb; }

[data-theme="glass"] .subscription-section { color: var(--glass-ink); }
[data-theme="glass"] .sub-sat {
    background: linear-gradient(150deg, rgba(255,255,255,0.11), rgba(255,255,255,0.035));
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 12px 30px -16px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.16);
}
[data-theme="glass"] .sub-sat-ico {
    background: linear-gradient(135deg, rgba(0,201,198,0.3), rgba(199,125,186,0.34));
    border: 1px solid rgba(255,255,255,0.22); color: #f1fdff;
}
[data-theme="glass"] .sub-sat-text h4 { color: #fff; }
[data-theme="glass"] .sub-sat-text p { color: rgba(246,241,252,0.62); }
[data-theme="glass"] .sub-core {
    background:
        linear-gradient(165deg, rgba(26,22,48,0.66), rgba(15,12,32,0.58)) padding-box,
        linear-gradient(135deg, rgba(0,201,198,0.85), rgba(199,125,186,0.85)) border-box;
    box-shadow: 0 26px 64px -18px rgba(0,0,0,0.65), 0 0 60px -22px rgba(0,201,198,0.4), inset 0 1px 0 rgba(255,255,255,0.22);
}
[data-theme="glass"] .sub-core-badge { background: linear-gradient(135deg, rgba(0,201,198,0.42), rgba(199,125,186,0.42)); }
[data-theme="glass"] .sub-core-title { color: #fff; }
[data-theme="glass"] .sub-core-sub { color: rgba(255,255,255,0.86); }

/* ── Legal (privacy) page: glass document panel ── */
[data-theme="glass"] .legal-body {
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
}

@media (prefers-reduced-motion: reduce) {
    [data-theme="glass"] body.classic-page { background-attachment: scroll; }
    [data-theme="glass"] body.classic-page::before { animation: none; }
}


/* ══════════════════════════════════════════════════════════════════
   GLASS THEME — REVAMP polish
   Brand-true accents (navy → magenta → pink, from the ink-brush logo)
   layered onto the glass surfaces so the page reads as a designed whole,
   not a recoloured default. Scoped entirely to the glass theme.
   ══════════════════════════════════════════════════════════════════ */

/* Hero wordmark: brand ink-gradient + soft magenta glow (was cyan shimmer) */
[data-theme="glass"] .hero-title-gradient {
    background:
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0) 42%),
        linear-gradient(108deg, #FFB1FF 0%, #e0a5d6 24%, #C77DBA 48%, #00C9C6 100%);
    background-size: 165% 165%, 220% auto;
    background-position: 50% 50%, 0 0;
    -webkit-background-clip: text;
    background-clip: text;
    /* glow + circular highlight are driven by the inherited titleGlow animation */
}
[data-theme="glass"] .hero-badge {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.18);
    color: var(--glass-ink);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
[data-theme="glass"] .hero-tagline { color: rgba(246,241,252,0.78); text-shadow: none; }
[data-theme="glass"] .hero-content { background: none; }

/* Section overline → a small frosted brand chip, centred */
[data-theme="glass"] .section-overline {
    display: inline-block;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, rgba(0,201,198,0.16), rgba(199,125,186,0.16));
    border: 1px solid rgba(255,255,255,0.16);
    color: #f3d9ef;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

/* Section title: a hairline gradient underline ties the headers together */
[data-theme="glass"] .section-header .section-title { position: relative; }
[data-theme="glass"] .section-header .section-title::after {
    content: '';
    display: block;
    width: 72px;
    height: 3px;
    margin: 18px auto 0;
    border-radius: var(--radius-full);
    background: linear-gradient(90deg, #00C9C6, #C77DBA, #FFB1FF);
    opacity: 0.9;
}

/* Glass cards: brighter top hairline + lift on hover (depth = beauty) */
[data-theme="glass"] .service-card,
[data-theme="glass"] .ai-product-card {
    position: relative;
    border-radius: var(--radius-lg);
    transition: transform var(--transition-normal),
                box-shadow var(--transition-normal),
                border-color var(--transition-normal),
                background var(--transition-normal);
}
[data-theme="glass"] .service-card::after,
[data-theme="glass"] .ai-product-card::after {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    pointer-events: none;
}
[data-theme="glass"] .service-card:hover,
[data-theme="glass"] .ai-product-card:hover {
    transform: translateY(-6px);
}

/* AI-product icons: brand ink-gradient discs (were a flat tint) */
[data-theme="glass"] .ai-product-icon {
    background: linear-gradient(135deg, rgba(0,201,198,0.22), rgba(199,125,186,0.30));
    border: 1px solid rgba(255,255,255,0.22);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 6px 18px -8px rgba(199,125,186,0.5);
}
[data-theme="glass"] .ai-product-icon .material-icons-round { color: #ffffff; }
[data-theme="glass"] .ai-product-card:hover .ai-product-icon {
    background: linear-gradient(135deg, rgba(0,201,198,0.4), rgba(199,125,186,0.5));
}

/* Sub-service dot → brand gradient bead */
[data-theme="glass"] .sub-service-dot {
    background: linear-gradient(135deg, #00C9C6, #C77DBA);
    box-shadow: 0 0 10px rgba(199,125,186,0.6);
}

/* Stat numbers: keep them bright and on-brand */
[data-theme="glass"] .stat-number {
    background: linear-gradient(135deg, #ffffff, #FFB1FF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Primary buttons: warm brand gradient + glow that lifts on hover */
[data-theme="glass"] .btn-primary {
    background: linear-gradient(135deg, #00C9C6 0%, #8A328A 70%, #C77DBA 100%);
    border: none;
    box-shadow: 0 10px 30px -10px rgba(138,50,138,0.7);
}
[data-theme="glass"] .btn-primary:hover {
    box-shadow: 0 16px 40px -10px rgba(199,125,186,0.7);
    transform: translateY(-2px);
}

/* Contact-method / footer accent icons pick up the cyan brand accent */
[data-theme="glass"] .contact-method .material-icons-round { color: #5eead4; }

@media (prefers-reduced-motion: reduce) {
    [data-theme="glass"] .service-card:hover,
    [data-theme="glass"] .ai-product-card:hover,
    [data-theme="glass"] .btn-primary:hover { transform: none; }
}


/* ══════════════════════════════════════════════════════════════════
   GLASS THEME — COLOUR RHYTHM  (BRAND PALETTE ONLY)
   Variety without leaving the brand. The only hues used here are the
   official brand colours — cyan #00C9C6, teal #006E91, magenta #8A328A,
   pink #FFB1FF, cream #FFF7D6, navy #344767 — alternating cool↔warm down
   the page. No blue/indigo/violet/gold (those are NOT brand colours).
   Glows are large, low-alpha and bleed across seams, so it stays cohesive.
   ══════════════════════════════════════════════════════════════════ */

/* No per-section colour washes — they made each section read as a different
   brand. Sections stay transparent over the single navy→plum page gradient;
   variety comes from the ELEMENTS below (cards, icons, beads, stats), the way
   the classic theme does it. */

/* ── Service cards: each pillar wears one brand hue (title + underline + bar +
      glass tint). cyan · magenta · teal · pink · cream — all brand. ── */
[data-theme="glass"] .service-card-creative  { --cat:#00C9C6; --cat2:#21e6f0; --cardtint: rgba(0,201,198,0.20); }
[data-theme="glass"] .service-card-marketing { --cat:#C77DBA; --cat2:#8A328A; --cardtint: rgba(138,50,138,0.24); }
[data-theme="glass"] .service-card-technical { --cat:#0a96aa; --cat2:#006E91; --cardtint: rgba(0,110,145,0.26); }
[data-theme="glass"] .service-card-software  { --cat:#FFB1FF; --cat2:#e0a5d6; --cardtint: rgba(255,177,255,0.20); }
[data-theme="glass"] .service-card-business  { --cat:#f3e4ad; --cat2:#FFF7D6; --cardtint: rgba(255,247,214,0.16); }  /* cream (warm) */
[data-theme="glass"] .service-card-creative::before  { background: linear-gradient(90deg, #00C9C6, #21e6f0); }
[data-theme="glass"] .service-card-marketing::before { background: linear-gradient(90deg, #8A328A, #C77DBA); }
[data-theme="glass"] .service-card-technical::before { background: linear-gradient(90deg, #006E91, #0a96aa); }
[data-theme="glass"] .service-card-software::before  { background: linear-gradient(90deg, #C77DBA, #FFB1FF); }
[data-theme="glass"] .service-card-business::before  { background: linear-gradient(90deg, #FFF7D6, #f3e4ad); }
[data-theme="glass"] .services-cards .service-card {
    background: linear-gradient(152deg, var(--cardtint, rgba(255,255,255,0.16)) 0%, rgba(255,255,255,0.045) 70%);
}
[data-theme="glass"] .services-cards .service-card:hover {
    background: linear-gradient(152deg, var(--cardtint, rgba(255,255,255,0.2)) 0%, rgba(255,255,255,0.10) 64%);
}

/* ── AI-product cards: cycle the brand palette so the big grid isn't one tone:
      cyan · teal · magenta · pink. ── */
[data-theme="glass"] .ai-products-grid .ai-product-card {
    background: linear-gradient(152deg, rgba(0,201,198,0.13) 0%, rgba(255,255,255,0.05) 72%);   /* cyan */
}
[data-theme="glass"] .ai-products-grid .ai-product-card:nth-child(4n+2) {
    background: linear-gradient(152deg, rgba(0,110,145,0.18) 0%, rgba(255,255,255,0.05) 72%);   /* teal */
}
[data-theme="glass"] .ai-products-grid .ai-product-card:nth-child(4n+3) {
    background: linear-gradient(152deg, rgba(138,50,138,0.20) 0%, rgba(255,255,255,0.05) 72%);  /* magenta */
}
[data-theme="glass"] .ai-products-grid .ai-product-card:nth-child(4n) {
    background: linear-gradient(152deg, rgba(199,125,186,0.18) 0%, rgba(255,255,255,0.05) 72%); /* pink */
}
[data-theme="glass"] .ai-products-grid .ai-product-card:hover {
    background: linear-gradient(152deg, rgba(0,201,198,0.22) 0%, rgba(255,255,255,0.10) 64%);
}
/* AI-product icon discs follow each card's brand hue */
[data-theme="glass"] .ai-products-grid .ai-product-card:nth-child(4n+2) .ai-product-icon { background: linear-gradient(135deg, rgba(0,110,145,0.5), rgba(0,201,198,0.3)); }
[data-theme="glass"] .ai-products-grid .ai-product-card:nth-child(4n+3) .ai-product-icon { background: linear-gradient(135deg, rgba(138,50,138,0.5), rgba(199,125,186,0.35)); }
[data-theme="glass"] .ai-products-grid .ai-product-card:nth-child(4n)   .ai-product-icon { background: linear-gradient(135deg, rgba(199,125,186,0.5), rgba(255,177,255,0.4)); }

/* Sub-service beads use ONE consistent marker (the site's cyan→magenta
   signature) — see the .sub-service-dot rule above. No confetti / no cream-gold;
   that's what made the chips clash with the rest of the page. */

/* ── Stat numbers: cycle brand cyan · pink · teal · cream ── */
[data-theme="glass"] .stat-item:nth-child(1) .stat-number { background: linear-gradient(135deg, #ffffff, #5eead4); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
[data-theme="glass"] .stat-item:nth-child(2) .stat-number { background: linear-gradient(135deg, #ffffff, #FFB1FF); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
[data-theme="glass"] .stat-item:nth-child(3) .stat-number { background: linear-gradient(135deg, #ffffff, #2bbfd0); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
[data-theme="glass"] .stat-item:nth-child(4) .stat-number { background: linear-gradient(135deg, #ffffff, #FFF7D6); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ── Section overline chips tint to their section's brand hue ── */
[data-theme="glass"] .ai-products-section .section-overline { background: linear-gradient(135deg, rgba(138,50,138,0.22), rgba(0,201,198,0.18)); }
[data-theme="glass"] .subscription-section .section-overline { background: linear-gradient(135deg, rgba(255,247,214,0.16), rgba(199,125,186,0.18)); }
[data-theme="glass"] .subscription-section .section-subtitle { color: #FFF7D6; }
[data-theme="glass"] .clients-section .section-overline { background: linear-gradient(135deg, rgba(138,50,138,0.22), rgba(0,201,198,0.18)); }


/* ══════════════════════════════════════════════════════════════════
   SUBSCRIPTION — "UNIFIED" HUB-AND-SPOKE ORBIT
   The plan is "everything in one place", so the six benefits orbit a
   single glowing core and connect to it with brand-gradient spokes.
   (The section is dark in both themes, so one set of styles serves both.)
   Collapses to a stacked grid on small screens.
   ══════════════════════════════════════════════════════════════════ */
.subscription-card { max-width: 1060px; }

.sub-orbit { position: relative; min-height: 540px; }

.sub-orbit-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; overflow: visible; }
/* spokes drawn as a stream of round dots that flow inward toward the core */
.sub-orbit-lines line {
    stroke: url(#sub-spoke);
    stroke-width: 3;
    vector-effect: non-scaling-stroke;
    stroke-linecap: round;
    stroke-dasharray: 0.1 8.5;
    opacity: 0.9;
    animation: subFlow 2.8s linear infinite;
}
@keyframes subFlow { to { stroke-dashoffset: 17.2; } }   /* 2 dot-periods → seamless loop, toward core */

/* central core */
/* Apple-style frosted hub: a darker, deeply-blurred panel so the white
   text reads with strong contrast (was a bright washy gradient). */
.sub-core {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3;
    width: min(31%, 290px); text-align: center; box-sizing: border-box;
    padding: 30px 24px; border-radius: 26px;
    background:
        linear-gradient(165deg, rgba(255,255,255,0.97), rgba(244,247,252,0.93)) padding-box,
        linear-gradient(135deg, rgba(0,201,198,0.9), rgba(199,125,186,0.9)) border-box;
    border: 1.5px solid transparent;
    box-shadow:
        0 26px 64px -20px rgba(31,38,73,0.28),
        0 0 60px -24px rgba(0,201,198,0.32),
        inset 0 1px 0 rgba(255,255,255,0.9);
    -webkit-backdrop-filter: blur(26px) saturate(1.7);
    backdrop-filter: blur(26px) saturate(1.7);
}
.sub-core-badge {
    display: inline-block; padding: 4px 13px; border-radius: var(--radius-full);
    font-family: var(--font-heading); font-size: 0.64rem; font-weight: 700; letter-spacing: 1.6px;
    background: linear-gradient(135deg, var(--cyan), var(--purple-accent));
    border: 1px solid rgba(255,255,255,0.4);
    color: #ffffff; margin-bottom: 12px;
}
.sub-core-title { font-family: var(--font-heading); font-size: 1.16rem; font-weight: 800; color: var(--purple-deep); line-height: 1.22; margin-bottom: 8px; }
.sub-core-sub { font-size: 0.8rem; color: rgba(26,14,46,0.72); line-height: 1.45; margin-bottom: 18px; }
.sub-core .btn { width: 100%; justify-content: center; }

/* orbiting benefit cards */
.sub-sat {
    position: absolute; transform: translate(-50%, -50%); z-index: 2;
    width: 238px; display: flex; align-items: center; gap: 12px;
    padding: 13px 15px; border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(26,14,46,0.10);
    box-shadow: 0 12px 30px -16px rgba(31,38,73,0.28), inset 0 1px 0 rgba(255,255,255,0.9);
    -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal),
                background var(--transition-normal), transform var(--transition-normal);
}
.sub-sat:hover {
    transform: translate(-50%, -50%) scale(1.06);
    border-color: rgba(0,201,198,0.55);
    box-shadow: 0 18px 38px -16px rgba(0,201,198,0.5), inset 0 1px 0 rgba(255,255,255,0.4);
}
.sub-sat-ico {
    width: 42px; height: 42px; border-radius: 12px; flex: 0 0 auto;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--cyan), var(--purple-accent));
    border: 1px solid rgba(255,255,255,0.5); color: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
    transition: transform var(--transition-normal);
}
.sub-sat:hover .sub-sat-ico { transform: scale(1.1) rotate(-5deg); }
.sub-sat-ico .material-icons-round { font-size: 22px; }
.sub-sat-text h4 { font-family: var(--font-heading); font-size: 0.9rem; font-weight: 700; color: var(--purple-deep); line-height: 1.18; margin: 0 0 2px; }
.sub-sat-text p { font-size: 0.73rem; color: rgba(26,14,46,0.6); line-height: 1.32; margin: 0; }

/* the six positions (left column / right column) — endpoints match the SVG spokes */
.sub-sat-1 { left: 15%; top: 18%; }
.sub-sat-2 { left: 14%; top: 50%; }
.sub-sat-3 { left: 15%; top: 82%; }
.sub-sat-4 { left: 85%; top: 18%; }
.sub-sat-5 { left: 86%; top: 50%; }
.sub-sat-6 { left: 85%; top: 82%; }

/* small screens: drop the orbit geometry, stack into a clean grid */
@media (max-width: 880px) {
    .sub-orbit { min-height: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .sub-orbit-lines { display: none; }
    .sub-core, .sub-sat { position: static; transform: none; width: 100%; box-sizing: border-box; }
    .sub-core { grid-column: 1 / -1; width: 100%; }
    .sub-sat:hover { transform: translateY(-3px); }
}
@media (max-width: 540px) {
    .sub-orbit { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .sub-sat:hover, .sub-sat:hover .sub-sat-ico { transform: none; }
    .sub-orbit-lines line { animation: none; stroke-dasharray: 1 7; }
}


/* ══════════════════════════════════════════════════════════════════
   BUSINESS JOURNEY — "NO IT DEPARTMENT TO FULLY DIGITAL"
   A vertical timeline: a flowing light runs down a brand-gradient rail
   through numbered milestones, each a glass card with outcome chips.
   Two gradient call-to-action banners close the section.
   Floating orbs sit behind the container for depth.
   ══════════════════════════════════════════════════════════════════ */
.business-journey-section { padding: var(--space-4xl) 0; background: var(--white); position: relative; overflow: hidden; }
.business-journey-orb { position: absolute; border-radius: 50%; filter: blur(10px); pointer-events: none; }
.business-journey-orb-1 { top: -80px; right: -100px; width: 340px; height: 340px; background: radial-gradient(circle, rgba(0,194,203,0.16), transparent 70%); animation: bjOrbFloatA 14s ease-in-out infinite; }
.business-journey-orb-2 { bottom: -100px; left: -80px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(199,125,186,0.16), transparent 70%); animation: bjOrbFloatB 16s ease-in-out infinite; }
@keyframes bjOrbFloatA { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px,20px) scale(1.06); } }
@keyframes bjOrbFloatB { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-26px,-18px) scale(1.08); } }

.journey-empathy { position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; background: var(--cream); border-radius: var(--radius-lg); padding: 20px 28px; margin: 0 auto var(--space-3xl); max-width: 760px; }
.journey-empathy .material-icons-round { font-size: 30px; color: var(--purple-accent); flex: 0 0 auto; }
.journey-empathy p { margin: 0; color: var(--purple-mid); font-size: 0.98rem; font-weight: 500; }

/* ── Empathy note: "no X, no Y … no worries" crossed-out reveal ── */
.journey-empathy { align-items: flex-start; }
.empathy-logo { flex: 0 0 auto; width: 46px; height: auto; margin-top: 2px; }
.empathy-lines { display: flex; flex-direction: column; gap: 10px; }
.empathy-intro { color: var(--purple-dark); font-size: 1.12rem; font-weight: 700; line-height: 1.5; margin-bottom: 4px; opacity: 0; }
.empathy-nope { position: relative; display: inline-flex; align-items: center; gap: 11px; width: max-content; max-width: 100%; font-size: 1rem; font-weight: 600; color: var(--purple-mid); opacity: 0; }
.empathy-x { flex: 0 0 auto; width: 23px; height: 23px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #ff6aa9, var(--magenta, #c71d8c)); box-shadow: 0 4px 13px rgba(199,29,140,0.38); transform: scale(0) rotate(-120deg); }
.empathy-x .material-icons-round { font-size: 15px; color: #ffffff; }
.empathy-txt { position: relative; }
.empathy-txt::after { content: ''; position: absolute; left: -3px; right: -3px; top: 54%; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #ff6aa9, var(--magenta, #c71d8c)); transform: scaleX(0); transform-origin: left center; }

.empathy-reassure { display: inline-flex; align-items: center; gap: 11px; margin-top: 6px; font-size: 1.06rem; font-weight: 700; color: var(--purple-dark); opacity: 0; }
.empathy-reassure b { font-weight: 800; background: linear-gradient(90deg, var(--cyan, #00c2cb), var(--magenta, #c71d8c)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.empathy-check { flex: 0 0 auto; width: 27px; height: 27px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--cyan, #00c2cb), #009aa6); box-shadow: 0 4px 15px rgba(0,194,203,0.42); transform: scale(0); }
.empathy-check .material-icons-round { font-size: 17px; color: #ffffff; }

/* Run the sequence once the note scrolls into view */
.journey-empathy.visible .empathy-intro { animation: empathyReassureIn .55s cubic-bezier(.22,1,.36,1) forwards; animation-delay: .1s; }
.journey-empathy.visible .empathy-nope { animation: empathyItemIn .5s ease forwards; animation-delay: calc(var(--i) * .55s + .45s); }
.journey-empathy.visible .empathy-x { animation: empathyXPop .5s cubic-bezier(.34,1.56,.64,1) forwards; animation-delay: calc(var(--i) * .55s + .55s); }
.journey-empathy.visible .empathy-txt::after { animation: empathyStrike .45s ease forwards; animation-delay: calc(var(--i) * .55s + .62s); }
.journey-empathy.visible .empathy-nope .empathy-txt { animation: empathyDim .5s ease forwards; animation-delay: calc(var(--i) * .55s + .7s); }
.journey-empathy.visible .empathy-reassure { animation: empathyReassureIn .7s cubic-bezier(.22,1,.36,1) forwards; animation-delay: 2.95s; }
.journey-empathy.visible .empathy-check { animation: empathyCheckPop .65s cubic-bezier(.34,1.56,.64,1) forwards, empathyCheckGlow 2.4s ease-in-out 3.6s infinite; animation-delay: 3.1s; }

@keyframes empathyItemIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: translateX(0); } }
@keyframes empathyXPop { 0% { transform: scale(0) rotate(-120deg); } 70% { transform: scale(1.18) rotate(8deg); } 100% { transform: scale(1) rotate(0); } }
@keyframes empathyStrike { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes empathyDim { to { color: var(--gray-500, #9aa0ab); } }
@keyframes empathyReassureIn { from { opacity: 0; transform: translateY(12px) scale(.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes empathyCheckPop { 0% { transform: scale(0) rotate(-40deg); } 70% { transform: scale(1.2) rotate(6deg); } 100% { transform: scale(1) rotate(0); } }
@keyframes empathyCheckGlow { 0%, 100% { box-shadow: 0 4px 15px rgba(0,194,203,0.42); } 50% { box-shadow: 0 4px 22px rgba(0,194,203,0.75); } }

/* Glass theme legibility */
[data-theme="glass"] .empathy-intro { color: #ffffff; text-shadow: 0 1px 10px rgba(8,5,20,0.6); }
[data-theme="glass"] .empathy-nope { color: var(--glass-ink-soft, rgba(255,255,255,0.82)); }
[data-theme="glass"] .empathy-reassure { color: var(--glass-ink, #ffffff); }
[data-theme="glass"] .journey-empathy.visible .empathy-nope .empathy-txt { animation-name: empathyDimGlass; }
@keyframes empathyDimGlass { to { color: rgba(255,255,255,0.42); } }

/* Respect reduced-motion: show the final crossed-out state instantly */
@media (prefers-reduced-motion: reduce) {
  .empathy-intro, .empathy-nope, .empathy-reassure { opacity: 1 !important; animation: none !important; transform: none !important; }
  .empathy-x, .empathy-check { transform: none !important; animation: none !important; }
  .empathy-txt::after { transform: scaleX(1) !important; animation: none !important; }
  .empathy-nope .empathy-txt { color: var(--gray-500, #9aa0ab); }
}

.journey-timeline { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.journey-rail { position: absolute; left: 27px; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; background: linear-gradient(180deg, var(--cyan), var(--magenta), #FFB1FF); overflow: hidden; z-index: 0; }
.journey-rail::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.95) 50%, transparent 100%); background-size: 100% 26%; background-repeat: no-repeat; animation: journeyRailFlow 5s linear infinite; }
@keyframes journeyRailFlow { from { background-position: 0 -30%; } to { background-position: 0 130%; } }

.journey-step { display: flex; gap: 24px; align-items: flex-start; position: relative; padding-bottom: 48px; }
.journey-step:last-child { padding-bottom: 0; }
.journey-dot { width: 56px; height: 56px; border-radius: 50%; flex: 0 0 56px; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; background: linear-gradient(135deg, var(--cyan), var(--magenta)); box-shadow: 0 8px 26px rgba(0,194,203,0.30), 0 0 0 6px var(--white); }
.journey-dot .material-icons-round { font-size: 24px; color: #ffffff; }
.journey-card { flex: 1; min-width: 0; border-radius: var(--radius-lg); padding: 26px 30px; border: 1px solid var(--gray-200); box-shadow: 0 4px 24px rgba(0,0,0,0.06); background: var(--white); }
.journey-card h3 { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; color: var(--purple-dark); margin: 0 0 8px; }
.journey-card p { margin: 0 0 16px; color: var(--gray-700); font-size: 0.95rem; line-height: 1.6; }
.journey-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.journey-chip { font-size: 0.78rem; font-weight: 600; color: var(--purple-mid); background: rgba(138,50,138,0.08); border: 1px solid rgba(138,50,138,0.14); border-radius: var(--radius-full); padding: 5px 12px; }

.journey-banner { position: relative; z-index: 1; text-align: center; margin-top: 24px; padding: 56px 40px; border-radius: var(--radius-xl); overflow: hidden; }
.journey-banner-leads { background: linear-gradient(135deg, var(--cyan) 0%, var(--purple-accent) 55%, var(--magenta) 100%); margin-top: 16px; }
.journey-banner-ai { background: linear-gradient(135deg, var(--purple-accent) 0%, var(--magenta) 45%, var(--cyan) 100%); }
.journey-banner-savings { background: linear-gradient(135deg, #0a8f9a 0%, var(--cyan) 45%, var(--purple-accent) 100%); }
.journey-banner-savings strong { color: #ffffff; font-weight: 800; }
.journey-banner-glow { position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(0,194,203,0.25), transparent 55%); }
.journey-banner-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.journey-banner-stat { font-family: var(--font-heading); font-size: clamp(2.2rem, 6vw, 3.4rem); font-weight: 800; color: #ffffff; margin-bottom: 8px; }
.journey-banner-stat.small { font-size: clamp(1.4rem, 3.4vw, 2rem); margin-bottom: 12px; }
.journey-banner p { color: rgba(255,255,255,0.82); font-size: 1.05rem; max-width: 480px; margin: 0 auto 28px; }

/* Glass theme: cards and empathy note adopt the frosted surface */
[data-theme="glass"] .business-journey-section { background: transparent; }
[data-theme="glass"] .journey-empathy { background: var(--glass-grad); border: 1px solid var(--glass-stroke); box-shadow: var(--glass-shadow), var(--glass-edge); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
[data-theme="glass"] .journey-empathy .material-icons-round { color: var(--cyan-light, #21e6f0); }
[data-theme="glass"] .journey-empathy p { color: var(--glass-ink); }
[data-theme="glass"] .journey-card { background: var(--glass-grad); border: 1px solid var(--glass-stroke); box-shadow: var(--glass-shadow), var(--glass-edge); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
[data-theme="glass"] .journey-card h3 { color: var(--glass-ink); }
[data-theme="glass"] .journey-card p { color: var(--glass-ink-soft); }
[data-theme="glass"] .journey-chip { color: var(--glass-ink); background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); }
[data-theme="glass"] .journey-dot { box-shadow: 0 0 22px rgba(0,201,198,0.32), 0 10px 30px rgba(0,0,0,0.42), 0 0 0 6px var(--glass-page-tone, #171430); }
[data-theme="glass"] .journey-rail { background: linear-gradient(180deg, #00C9C6, #C77DBA, #FFB1FF); }

@media (max-width: 640px) {
    .journey-step { gap: 16px; }
    .journey-card { padding: 20px 22px; }
    .journey-banner { padding: 40px 24px; }
}
