/* ==========================================================================
   GROOVI DEVELOPER — Architectural Studio Design System
   Light-first executive aesthetic with seamless Obsidian Dark Mode
   ========================================================================== */

:root {
    /* Dark Mode Tokens (applied when [data-theme="dark"] or default fallback) */
    --bg-primary: #070a12;
    --bg-secondary: #0d1220;
    --bg-band: rgba(255, 255, 255, 0.02);
    --bg-surface: rgba(15, 21, 37, 0.88);
    --bg-surface-solid: #0f1525;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-subtle: rgba(148, 163, 184, 0.14);
    --border-glass: rgba(148, 163, 184, 0.16);
    --border-strong: rgba(148, 163, 184, 0.24);
    --border-glow: rgba(56, 189, 248, 0.42);

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --accent-blue: #3b82f6;
    --accent-indigo: #6366f1;
    --accent-violet: #8b5cf6;
    --accent-purple: #8b5cf6;
    --accent-cyan: #38bdf8;
    --accent-emerald: #10b981;

    --grad-brand: linear-gradient(135deg, #2563eb 0%, #4f46e5 55%, #0ea5e9 100%);
    --grad-text: linear-gradient(135deg, #38bdf8 0%, #60a5fa 50%, #a78bfa 100%);
    --grad-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.005) 100%);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.4), 0 14px 34px rgba(0, 0, 0, 0.35);
    --shadow-hover: 0 18px 42px rgba(0, 0, 0, 0.5);

    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-sm: 8px;

    --font-display: 'Plus Jakarta Sans', 'Space Grotesk', system-ui, -apple-system, sans-serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
}

[data-theme="light"] {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-band: #f1f5f9;
    --bg-surface: #ffffff;
    --bg-surface-solid: #ffffff;
    --bg-card: #f8fafc;
    --border-subtle: rgba(15, 23, 42, 0.08);
    --border-glass: rgba(15, 23, 42, 0.09);
    --border-strong: rgba(15, 23, 42, 0.16);
    --border-glow: rgba(37, 99, 235, 0.36);

    --text-primary: #090d16;
    --text-secondary: #475569;
    --text-muted: #64748b;

    --accent-blue: #2563eb;
    --accent-indigo: #4f46e5;
    --accent-violet: #6d28d9;
    --accent-purple: #6d28d9;
    --accent-cyan: #0284c7;
    --accent-emerald: #059669;

    --grad-brand: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #1d4ed8 100%);
    --grad-text: linear-gradient(135deg, #1d4ed8 0%, #4f46e5 55%, #0284c7 100%);
    --grad-surface: none;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.04);
    --shadow-hover: 0 4px 12px rgba(15, 23, 42, 0.06), 0 18px 38px rgba(37, 99, 235, 0.08);
}

/* Base Reset & Accessibility */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    transition: background-color 0.25s ease, color 0.25s ease;
}

h1, h2, h3, h4, h5, h6, .font-display {
    font-family: var(--font-display);
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.18s ease, opacity 0.18s ease;
}

a:hover {
    color: var(--accent-indigo);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

button:disabled,
.btn:disabled,
.btn.disabled {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}

/* Scroll Progress Indicator */
.groovi-scroll-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 2.5px;
    width: 0%;
    z-index: 1050;
    background: linear-gradient(90deg, #0284c7, #2563eb, #4f46e5);
    transition: width 0.08s linear;
    pointer-events: none;
}

/* Subtle Architectural Background */
.groovi-bg-grid {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background-image:
        radial-gradient(rgba(15, 23, 42, 0.055) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, transparent 72%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, transparent 72%);
}

[data-theme="dark"] .groovi-bg-grid {
    background-image:
        radial-gradient(rgba(148, 163, 184, 0.09) 1px, transparent 1px);
}

.groovi-bg-glow {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 65% 45% at 50% -10%, rgba(37, 99, 235, 0.08), transparent 65%),
        radial-gradient(ellipse 40% 35% at 88% 8%, rgba(79, 70, 229, 0.06), transparent 60%);
}

[data-theme="dark"] .groovi-bg-glow {
    background:
        radial-gradient(ellipse 65% 45% at 50% -10%, rgba(56, 189, 248, 0.13), transparent 65%),
        radial-gradient(ellipse 40% 35% at 88% 8%, rgba(99, 102, 241, 0.12), transparent 60%);
}

/* ==========================================================================
   Bespoke Floating Architectural Navigation Bar
   ========================================================================== */
.groovi-navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    padding: 0.75rem 0;
    transition: padding 0.25s ease;
}

.groovi-navbar.is-scrolled {
    padding: 0.45rem 0;
}

.groovi-header-shell {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px) saturate(170%);
    -webkit-backdrop-filter: blur(20px) saturate(170%);
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    padding: 0.5rem 0.9rem !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    transition: box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

[data-theme="dark"] .groovi-header-shell {
    background: rgba(13, 18, 32, 0.86);
    border-color: rgba(148, 163, 184, 0.16);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.42);
}

.groovi-navbar.is-scrolled .groovi-header-shell {
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.1);
    border-color: var(--border-strong);
}

.groovi-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.groovi-brand img {
    height: 54px;
    width: auto;
    max-width: 245px;
    object-fit: contain;
    display: block;
}

@media (max-width: 575.98px) {
    .groovi-brand img {
        height: 44px;
        max-width: 205px;
    }
}

.groovi-nav-pill {
    gap: 0.15rem;
    padding: 0.22rem;
    border-radius: 999px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
}

@media (max-width: 991.98px) {
    .groovi-nav-pill {
        border-radius: 14px;
        padding: 0.5rem;
    }
    .groovi-header-actions {
        padding-top: 0.5rem;
        border-top: 1px solid var(--border-subtle);
    }
}

.groovi-nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.87rem;
    padding: 0.42rem 0.88rem !important;
    border-radius: 999px;
    transition: color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.groovi-nav-link:hover {
    color: var(--text-primary) !important;
    background: rgba(15, 23, 42, 0.05);
}

[data-theme="dark"] .groovi-nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
}

.groovi-nav-link.active {
    color: var(--text-primary) !important;
    background: var(--bg-secondary);
    box-shadow: var(--shadow-sm);
    font-weight: 600;
}

.icon-btn-wa {
    color: #16a34a;
}

.icon-btn-wa:hover {
    color: #ffffff;
    background: #16a34a;
    border-color: #16a34a;
}

.btn-groovi-nav {
    padding: 0.48rem 1rem;
    border-radius: 999px;
    font-size: 0.86rem;
}

/* Segmented Language Switcher */
.lang-switch {
    display: inline-flex;
    align-items: center;
    padding: 3px;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
}

.lang-switch a {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.28rem 0.58rem;
    border-radius: 7px;
    color: var(--text-secondary);
    transition: all 0.18s ease;
}

.lang-switch a.active {
    background: var(--bg-secondary);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-groovi {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--grad-brand);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.93rem;
    padding: 0.74rem 1.45rem;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12), 0 8px 20px rgba(37, 99, 235, 0.2);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.btn-groovi:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.16), 0 14px 28px rgba(37, 99, 235, 0.28);
    filter: brightness(1.06);
}

.btn-groovi-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--bg-secondary);
    color: var(--text-primary) !important;
    border: 1px solid var(--border-strong);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.93rem;
    padding: 0.74rem 1.45rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.btn-groovi-outline:hover {
    border-color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.btn-groovi-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #ffffff;
    color: #090d16 !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.93rem;
    padding: 0.76rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-groovi-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
}

.icon-btn {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.18s ease;
}

.icon-btn:hover {
    color: var(--text-primary);
    border-color: var(--accent-blue);
    background: var(--bg-card);
}

/* ==========================================================================
   Hero & Architectural Typography
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 4.5rem 0 4rem;
    overflow: hidden;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.38rem 0.95rem;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: var(--shadow-sm);
}

.hero-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
    display: inline-block;
}

.hero-title {
    font-size: clamp(2.45rem, 4.8vw, 3.95rem);
    font-weight: 800;
    line-height: 1.07;
    letter-spacing: -0.038em;
    margin: 1.2rem 0 1.15rem;
}

.text-gradient {
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: clamp(1.03rem, 1.5vw, 1.18rem);
    color: var(--text-secondary);
    max-width: 590px;
    line-height: 1.7;
}

.hero-trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.84rem;
    color: var(--text-secondary);
}

.hero-trust-strip span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 500;
}

/* Studio Showcase Bento Card (Hero Right) */
.studio-bento {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 1.4rem;
    box-shadow: var(--shadow-card);
    position: relative;
}

.studio-bento-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
}

.studio-bento-tile {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 1rem;
    transition: border-color 0.2s ease, transform 0.2s ease;
    height: 100%;
}

.studio-bento-tile:hover {
    border-color: var(--border-glow);
    transform: translateY(-2px);
}

/* ==========================================================================
   Sections, Contrast Bands & Cards
   ========================================================================== */
.section-py {
    padding: 4.5rem 0;
}

.section-band {
    background: var(--bg-band);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    color: var(--accent-blue);
    margin-bottom: 0.55rem;
}

.glass-card {
    position: relative;
    background: var(--bg-surface);
    background-image: var(--grad-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-card);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
    height: auto;
}

.glass-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-hover);
}

.glass-card-static:hover {
    transform: none;
    box-shadow: var(--shadow-card);
}

/* Dark Obsidian Feature Card (for Labs & Final CTA contrast) */
.obsidian-card {
    position: relative;
    background: linear-gradient(155deg, #0b1120 0%, #111827 60%, #172554 100%);
    color: #f8fafc;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.22);
    overflow: hidden;
}

.obsidian-card h2,
.obsidian-card h3,
.obsidian-card .fw-bold {
    color: #ffffff;
}

.obsidian-card p,
.obsidian-card .obsidian-muted {
    color: #cbd5e1;
}

/* Project Card Cover */
.project-cover-wrap {
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1.1rem;
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
}

.project-cover-wrap img {
    width: 100%;
    height: 185px;
    object-fit: cover;
    display: block;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.glass-card:hover .project-cover-wrap img {
    transform: scale(1.04);
}

/* Process / Client Experience Step Cards */
.workflow-step-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    height: 100%;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.workflow-step-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-3px);
}

.workflow-step-index {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-blue);
    background: rgba(37, 99, 235, 0.09);
    border: 1px solid rgba(37, 99, 235, 0.2);
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 0.85rem;
}

/* Icon Badge */
.icon-badge {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: rgba(37, 99, 235, 0.09);
    border: 1px solid rgba(37, 99, 235, 0.16);
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

/* Quote Form Helpers */
.quote-step-title {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid var(--border-subtle);
}

.quote-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--grad-brand);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    flex-shrink: 0;
}

.quote-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.34rem 0.8rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.18s ease;
}

.quote-chip:hover,
.quote-chip.active {
    background: rgba(37, 99, 235, 0.12);
    border-color: var(--accent-blue);
    color: var(--text-primary);
}

/* Status Pills & Tech Chips */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.68rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border: 1px solid var(--border-subtle);
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent-blue);
}

.status-pill.status-concepto { background: rgba(148, 163, 184, 0.16); color: #cbd5e1; }
.status-pill.status-prototipo { background: rgba(139, 92, 246, 0.16); color: #c4b5fd; }
.status-pill.status-en_desarrollo { background: rgba(59, 130, 246, 0.16); color: #93c5fd; }
.status-pill.status-en_pruebas { background: rgba(14, 165, 233, 0.16); color: #7dd3fc; }
.status-pill.status-finalizado,
.status-pill.status-publicado,
.status-pill.status-activo { background: rgba(16, 185, 129, 0.16); color: #6ee7b7; }

[data-theme="light"] .status-pill.status-concepto { color: #334155; }
[data-theme="light"] .status-pill.status-prototipo { color: #6d28d9; }
[data-theme="light"] .status-pill.status-en_desarrollo { color: #1d4ed8; }
[data-theme="light"] .status-pill.status-en_pruebas { color: #0369a1; }
[data-theme="light"] .status-pill.status-finalizado,
[data-theme="light"] .status-pill.status-publicado,
[data-theme="light"] .status-pill.status-activo { color: #047857; }

.tech-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.26rem 0.65rem;
    border-radius: 7px;
    font-size: 0.76rem;
    font-weight: 500;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
}

/* Forms */
.groovi-input,
.groovi-select,
.groovi-textarea {
    width: 100%;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-strong);
    border-radius: 11px;
    padding: 0.74rem 0.95rem;
    font-size: 0.94rem;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.groovi-input:focus,
.groovi-select:focus,
.groovi-textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16);
}

/* Filter Pills */
.filter-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    background: var(--bg-secondary);
    transition: all 0.18s ease;
}

.filter-pill:hover,
.filter-pill.active {
    background: var(--grad-brand);
    color: #ffffff;
    border-color: transparent;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
.groovi-footer {
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-secondary);
    padding: 4rem 0 2rem;
}

.groovi-footer a:hover {
    color: var(--accent-blue) !important;
}

/* Floating WhatsApp Action */
.groovi-wa-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1020;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.05rem;
    border-radius: 999px;
    background: #0f172a;
    color: #ffffff !important;
    font-size: 0.84rem;
    font-weight: 600;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.groovi-wa-float i {
    color: #22c55e;
    font-size: 1.1rem;
}

.groovi-wa-float:hover {
    transform: translateY(-3px);
    background: #1e293b;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.32);
}

@media (max-width: 575.98px) {
    .groovi-wa-float span {
        display: none;
    }
    .groovi-wa-float {
        width: 48px;
        height: 48px;
        padding: 0;
        justify-content: center;
    }
}

/* Honeypot */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ==========================================================================
   Partners & Ecosystem Continuous Marquee
   ========================================================================== */
.partners-marquee-section {
    position: relative;
    padding: 3rem 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    background: var(--bg-secondary);
}

.partners-marquee-viewport {
    position: relative;
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.partners-marquee-track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: groovi-marquee var(--marquee-duration, 32s) linear infinite;
}

.partners-marquee-viewport:hover .partners-marquee-track,
.partners-marquee-viewport:focus-within .partners-marquee-track {
    animation-play-state: paused;
}

.partners-marquee-group {
    display: flex;
    align-items: center;
    gap: 3.5rem;
    padding-right: 3.5rem;
}

.partner-logo-item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-width: 130px;
    padding: 0.4rem 0.6rem;
    text-decoration: none;
    color: var(--text-secondary);
    transition: transform 0.25s ease, color 0.25s ease;
}

.partner-logo-img {
    height: 36px;
    width: auto;
    max-width: 148px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.68);
    transition: filter 0.25s ease, transform 0.25s ease;
}

.partner-logo-wordmark {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.12rem;
    letter-spacing: -0.02em;
    color: var(--text-secondary);
    white-space: nowrap;
    opacity: 0.8;
    transition: color 0.25s ease, opacity 0.25s ease;
}

.partner-logo-item:hover .partner-logo-img,
.partner-logo-item:focus-visible .partner-logo-img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

.partner-logo-item:hover .partner-logo-wordmark,
.partner-logo-item:focus-visible .partner-logo-wordmark {
    color: var(--text-primary);
    opacity: 1;
}

.partner-logo-name {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.partner-logo-rel {
    font-size: 0.68rem;
    color: var(--text-muted);
    white-space: nowrap;
}

@keyframes groovi-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 3.2rem 0 2.8rem;
    }
    .section-py {
        padding: 3.2rem 0;
    }
    .partners-marquee-group {
        gap: 2.25rem;
        padding-right: 2.25rem;
    }
    .partner-logo-item {
        min-width: 105px;
    }
    .partner-logo-img {
        height: 28px;
        max-width: 115px;
    }
    .partner-logo-wordmark {
        font-size: 0.98rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .partners-marquee-viewport {
        mask-image: none;
        -webkit-mask-image: none;
    }
    .partners-marquee-track {
        animation: none;
        width: 100%;
        justify-content: center;
    }
    .partners-marquee-group {
        flex-wrap: wrap;
        justify-content: center;
        padding-right: 0;
        gap: 1.75rem;
    }
    .partners-marquee-group[aria-hidden="true"] {
        display: none;
    }
}

@media print {
    .groovi-wa-float,
    .groovi-scroll-bar {
        display: none !important;
    }
}


/* ==========================================================================
   DESIGN SYSTEM v3 — "Executive Studio"
   Refined palette, calm buttons, layered professional background
   (overrides earlier rules; keep at end of file)
   ========================================================================== */
:root {
    --ink: #0b1220;
    --ink-2: #172033;
    --brand: #1d4ed8;
    --brand-soft: rgba(29, 78, 216, 0.08);
    --font-display: 'Sora', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

[data-theme="light"] {
    --bg-primary: #f4f6fb;
    --bg-secondary: #ffffff;
    --bg-band: #eef1f8;
    --bg-card: #f7f8fc;
    --border-subtle: rgba(11, 18, 32, 0.08);
    --border-strong: rgba(11, 18, 32, 0.15);
    --text-primary: #0b1220;
    --text-secondary: #46526a;
    --text-muted: #6b7690;
    --grad-brand: linear-gradient(180deg, #172033 0%, #0b1220 100%);
    --grad-text: linear-gradient(120deg, #1d4ed8 0%, #4338ca 60%, #0e7490 100%);
    --shadow-card: 0 1px 2px rgba(11, 18, 32, 0.04), 0 6px 18px rgba(11, 18, 32, 0.035);
    --shadow-hover: 0 2px 6px rgba(11, 18, 32, 0.06), 0 14px 30px rgba(29, 78, 216, 0.07);
}

[data-theme="dark"] {
    --bg-primary: #080c16;
    --bg-secondary: #0e1424;
    --bg-band: #0b1120;
    --grad-brand: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
}

body {
    background-color: var(--bg-primary);
    letter-spacing: -0.003em;
}

h1, h2, h3, h4, h5, h6, .font-display {
    letter-spacing: -0.028em;
    font-weight: 700;
}

/* ---------- Professional layered background ---------- */
.groovi-bg-grid {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background-image:
        linear-gradient(to right, rgba(11, 18, 32, 0.045) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(11, 18, 32, 0.045) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 0%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 0%, transparent 78%);
}

[data-theme="dark"] .groovi-bg-grid {
    background-image:
        linear-gradient(to right, rgba(148, 163, 184, 0.07) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(148, 163, 184, 0.07) 1px, transparent 1px);
}

.groovi-bg-glow {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 60% 40% at 12% -5%, rgba(59, 130, 246, 0.13), transparent 70%),
        radial-gradient(ellipse 50% 38% at 92% 2%, rgba(99, 102, 241, 0.11), transparent 70%),
        radial-gradient(ellipse 45% 30% at 50% 100%, rgba(14, 116, 144, 0.07), transparent 70%);
}

[data-theme="dark"] .groovi-bg-glow {
    background:
        radial-gradient(ellipse 60% 40% at 12% -5%, rgba(59, 130, 246, 0.2), transparent 70%),
        radial-gradient(ellipse 50% 38% at 92% 2%, rgba(99, 102, 241, 0.16), transparent 70%),
        radial-gradient(ellipse 45% 30% at 50% 100%, rgba(14, 116, 144, 0.12), transparent 70%);
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

[data-theme="dark"] .hero-section::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, transparent 100%);
}

.hero-section::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

.section-band {
    background: linear-gradient(180deg, var(--bg-band) 0%, color-mix(in srgb, var(--bg-band) 70%, var(--bg-primary)) 100%);
}

/* ---------- Calm, professional buttons ---------- */
.btn-groovi {
    background: var(--grad-brand);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: -0.01em;
    padding: 0.66rem 1.25rem;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(11, 18, 32, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.btn-groovi:hover {
    transform: translateY(-1px);
    filter: brightness(1.12);
    box-shadow: 0 4px 12px rgba(11, 18, 32, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-groovi:active {
    transform: translateY(0);
}

.btn-groovi-outline {
    background: var(--bg-secondary);
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    font-size: 0.9rem;
    padding: 0.66rem 1.25rem;
    box-shadow: none;
}

.btn-groovi-outline:hover {
    transform: translateY(-1px);
    border-color: var(--ink);
    box-shadow: 0 4px 12px rgba(11, 18, 32, 0.08);
}

[data-theme="dark"] .btn-groovi-outline:hover {
    border-color: var(--accent-cyan);
}

.btn-groovi-nav {
    padding: 0.42rem 0.9rem;
    border-radius: 9px;
    font-size: 0.83rem;
    gap: 0.25rem;
    box-shadow: none;
}

.btn-groovi-nav i {
    font-size: 1rem !important;
    margin-left: -0.1rem;
}

.btn-groovi-light {
    border-radius: 10px;
    font-size: 0.9rem;
    padding: 0.66rem 1.25rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* ---------- Header refinement ---------- */
.groovi-header-shell {
    border-radius: 14px;
    padding: 0.4rem 0.8rem !important;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 1px 2px rgba(11, 18, 32, 0.04);
}

.groovi-nav-pill {
    background: transparent;
    border: none;
    padding: 0;
    gap: 0.1rem;
}

.groovi-nav-link {
    border-radius: 8px;
    font-size: 0.86rem;
    padding: 0.4rem 0.8rem !important;
}

.groovi-nav-link.active {
    background: var(--brand-soft);
    color: var(--brand) !important;
    box-shadow: none;
}

[data-theme="dark"] .groovi-nav-link.active {
    background: rgba(59, 130, 246, 0.14);
    color: #93c5fd !important;
}

.icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 9px;
}

/* ---------- Cards, chips, hero ---------- */
.glass-card {
    border-radius: 16px;
    padding: 1.6rem;
    box-shadow: var(--shadow-card);
}

.glass-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-strong);
}

.icon-badge {
    border-radius: 11px;
    background: var(--brand-soft);
    border-color: rgba(29, 78, 216, 0.14);
    color: var(--brand);
}

[data-theme="dark"] .icon-badge {
    background: rgba(59, 130, 246, 0.14);
    color: #93c5fd;
}

.hero-title {
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.06;
}

.hero-badge {
    border-radius: 8px;
    font-size: 0.76rem;
    padding: 0.34rem 0.8rem;
}

.studio-bento {
    border-radius: 20px;
    box-shadow: 0 1px 2px rgba(11, 18, 32, 0.05), 0 24px 48px rgba(11, 18, 32, 0.07);
}

.section-eyebrow {
    color: var(--brand);
    letter-spacing: 0.12em;
}

[data-theme="dark"] .section-eyebrow {
    color: var(--accent-cyan);
}

.obsidian-card {
    background:
        radial-gradient(ellipse 70% 90% at 100% 0%, rgba(59, 130, 246, 0.22), transparent 60%),
        linear-gradient(160deg, #0b1220 0%, #111a2e 100%);
    border-radius: 20px;
}

/* ==========================================================================
   Header fit fix: keep nav on one line at 992px+ (normal 100% zoom)
   ========================================================================== */
@media (min-width: 992px) {
    .groovi-navbar > .container { max-width: 1360px; }
    .groovi-header-shell { flex-wrap: nowrap; }
    .groovi-header-shell .navbar-collapse { flex-wrap: nowrap; min-width: 0; }
    .groovi-nav-pill { flex-wrap: nowrap; flex-shrink: 1; margin-left: auto; margin-right: auto; }
    .groovi-nav-link { white-space: nowrap; }
    .groovi-header-actions { flex-wrap: nowrap !important; flex-shrink: 0; }
    .groovi-header-actions .btn-groovi-nav,
    .groovi-header-actions .lang-switch { white-space: nowrap; flex-shrink: 0; }
    .groovi-brand { flex-shrink: 0; }
}
@media (min-width: 992px) and (max-width: 1279.98px) {
    .groovi-brand img { height: 44px; max-width: 190px; }
    .groovi-nav-link { font-size: 0.8rem; padding: 0.38rem 0.55rem !important; }
    .groovi-header-actions { gap: 0.4rem !important; }
    .groovi-header-actions .btn-groovi-nav { padding-left: 0.85rem; padding-right: 0.7rem; }
}
.groovi-nav-link .badge { display: none; }
@media (min-width: 1400px) { .groovi-nav-link .badge { display: inline-block; } }

/* ==========================================================================
   Header personalizado — acabado profesional
   ========================================================================== */
.groovi-header-shell {
    border-radius: 20px;
    border: 1px solid var(--border-strong);
    box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 10px 30px rgba(15,23,42,.07);
    position: relative;
}
.groovi-header-shell::before {
    content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, transparent, #2563eb 25%, #6366f1 60%, #0ea5e9 85%, transparent);
    opacity: .75; pointer-events: none;
}
[data-theme="dark"] .groovi-header-shell { box-shadow: 0 12px 34px rgba(0,0,0,.5); }

.groovi-nav-link { position: relative; letter-spacing: .005em; }
.groovi-nav-link::after {
    content: ""; position: absolute; left: 50%; bottom: 2px; width: 0; height: 2px; border-radius: 2px;
    background: var(--accent-blue); transform: translateX(-50%); transition: width .22s ease;
}
.groovi-nav-link:hover::after { width: 38%; }
.groovi-nav-link.active::after { width: 0; }
.groovi-nav-link.active { background: rgba(37,99,235,.10); }

/* Gstore destacado */
.groovi-nav-pill .nav-item:last-child .groovi-nav-link {
    color: var(--accent-blue) !important; font-weight: 700;
}
.groovi-nav-pill .nav-item:last-child .groovi-nav-link .badge {
    background: linear-gradient(135deg,#2563eb,#6366f1) !important; color: #fff !important; border: 0 !important;
    letter-spacing: .06em; font-weight: 800;
}

/* Botones de iconos */
.groovi-header-actions .icon-btn {
    border-radius: 11px; border: 1px solid var(--border-strong); background: var(--bg-card);
    transition: transform .18s, border-color .18s, box-shadow .18s;
}
.groovi-header-actions .icon-btn:hover { transform: translateY(-2px); border-color: var(--accent-blue); box-shadow: 0 6px 16px rgba(37,99,235,.22); }

/* CTA Cotizar */
.groovi-header-actions .btn-groovi-nav {
    background: var(--grad-brand); color: #fff !important; border: 0; border-radius: 11px; font-weight: 700;
    box-shadow: 0 8px 20px rgba(37,99,235,.32); transition: transform .18s, box-shadow .18s;
}
.groovi-header-actions .btn-groovi-nav:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(37,99,235,.45); }
.groovi-header-actions .btn-groovi-nav i { transition: transform .18s; }
.groovi-header-actions .btn-groovi-nav:hover i { transform: translateX(3px); }

/* Selector de idioma */
.groovi-header-actions .lang-switch { border-radius: 11px; border: 1px solid var(--border-strong); overflow: hidden; background: var(--bg-card); }
.groovi-header-actions .lang-switch a.active { background: var(--accent-blue); color: #fff; }

/* ==========================================================================
   Hero personalizado
   ========================================================================== */
.hero-section { padding: 5.5rem 0 4.5rem; isolation: isolate; }
.hero-section .container { position: relative; z-index: 2; }
.hero-section::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(760px 420px at 88% 8%, rgba(59,130,246,.20), transparent 62%),
        radial-gradient(620px 360px at 4% 96%, rgba(99,102,241,.15), transparent 62%) !important;
}
.hero-section::after {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55; pointer-events: none;
    background-image: linear-gradient(var(--border-subtle) 1px, transparent 1px), linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
    background-size: 54px 54px;
    -webkit-mask-image: radial-gradient(ellipse at 40% 30%, #000 0%, transparent 72%);
    mask-image: radial-gradient(ellipse at 40% 30%, #000 0%, transparent 72%);
}
.hero-title-accent {
    background: linear-gradient(120deg, #2563eb 0%, #6366f1 50%, #0ea5e9 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent; position: relative; white-space: nowrap;
}
.hero-title-accent::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -.08em; height: .09em; border-radius: 4px;
    background: linear-gradient(90deg, #2563eb, #0ea5e9); opacity: .35;
}
.hero-badge { border-color: rgba(37,99,235,.28); background: rgba(37,99,235,.06); color: var(--accent-blue); }
[data-theme="dark"] .hero-badge { color: #93c5fd; background: rgba(59,130,246,.12); }
.hero-live-dot { animation: heroPulse 2s infinite; }
@keyframes heroPulse { 0% { box-shadow: 0 0 0 0 rgba(16,185,129,.55); } 70% { box-shadow: 0 0 0 9px rgba(16,185,129,0); } 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } }
.hero-trust-strip span {
    padding: .4rem .8rem; border-radius: 999px; background: var(--bg-card); border: 1px solid var(--border-subtle);
}
.hero-section .btn-groovi { border-radius: 12px; padding: .85rem 1.5rem; box-shadow: 0 12px 28px rgba(15,23,42,.25); transition: transform .2s, box-shadow .2s; }
.hero-section .btn-groovi:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(37,99,235,.35); }
.hero-section .btn-groovi-outline { border-radius: 12px; padding: .85rem 1.4rem; transition: transform .2s, border-color .2s; }
.hero-section .btn-groovi-outline:hover { transform: translateY(-3px); border-color: var(--accent-blue); }

.studio-bento { border-radius: 24px; border: 1px solid var(--border-strong); position: relative; animation: bentoFloat 7s ease-in-out infinite; }
.studio-bento::before {
    content: ""; position: absolute; inset: -1px; border-radius: 25px; padding: 1px; pointer-events: none;
    background: linear-gradient(140deg, rgba(37,99,235,.65), transparent 35%, transparent 65%, rgba(14,165,233,.55));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
@keyframes bentoFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.studio-bento-tile { transition: transform .2s, border-color .2s, box-shadow .2s; }
.studio-bento-tile:hover { transform: translateY(-3px); border-color: var(--accent-blue); box-shadow: 0 10px 24px rgba(37,99,235,.18); }
.studio-bento-tile:hover .bi-arrow-up-right { color: var(--accent-blue) !important; transform: translate(2px,-2px); }
.studio-bento-store {
    padding: .85rem 1rem; border-radius: 14px; color: #fff;
    background: linear-gradient(120deg, #1d4ed8 0%, #4f46e5 60%, #0ea5e9 130%);
    box-shadow: 0 10px 24px rgba(37,99,235,.35); transition: transform .2s, box-shadow .2s;
}
.studio-bento-store:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(37,99,235,.48); }
.studio-bento-store-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,.18); color: #fff; font-size: 1.1rem; }
.studio-new { font-size: .58rem; font-weight: 800; letter-spacing: .08em; padding: .15rem .4rem; border-radius: 5px; background: #fbbf24; color: #1a1300; vertical-align: middle; margin-left: .25rem; }
@media (prefers-reduced-motion: reduce) { .studio-bento, .hero-live-dot { animation: none; } }

/* ==========================================================================
   Hero Tech Studio Canvas (Bespoke Redesign)
   ========================================================================== */
.hero-tech-section {
    position: relative;
    padding: 36px 0 65px;
    overflow: hidden;
    background: var(--bg-primary);
}

.hero-tech-backdrop {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.hero-tech-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(var(--border-subtle) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.55;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
}

.hero-tech-glow-1 {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 650px;
    height: 550px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.16), transparent 70%);
    filter: blur(50px);
}

.hero-tech-glow-2 {
    position: absolute;
    bottom: -15%;
    right: -5%;
    width: 600px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.14), transparent 70%);
    filter: blur(50px);
}

[data-theme="dark"] .hero-tech-glow-1 {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.22), transparent 70%);
}
[data-theme="dark"] .hero-tech-glow-2 {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.18), transparent 70%);
}

/* Eyebrow Badge */
.hero-tech-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.38rem 0.95rem;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: var(--bg-surface);
    color: var(--text-primary);
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.hero-tech-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.25);
    animation: heroDotPulse 2s infinite ease-in-out;
}
@keyframes heroDotPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.25); }
    50% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

.hero-tech-pill {
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(37, 99, 235, 0.12);
    color: var(--accent-blue);
    border: 1px solid rgba(37, 99, 235, 0.22);
}

/* Hero Typography */
.hero-tech-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4.4vw, 3.8rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: var(--text-primary);
}

.hero-tech-gradient {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 40%, #06b6d4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
[data-theme="dark"] .hero-tech-gradient {
    background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-tech-lead {
    font-size: clamp(1.02rem, 1.4vw, 1.15rem);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 620px;
}

/* Hero Buttons */
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    height: 48px;
    padding: 0 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    color: #ffffff !important;
    background: var(--grad-brand);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(37, 99, 235, 0.5);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    height: 48px;
    padding: 0 1.35rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--text-primary) !important;
    background: var(--bg-surface);
    border: 1px solid var(--border-strong);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.btn-hero-secondary:hover {
    transform: translateY(-2px);
    border-color: var(--accent-blue);
    background: var(--bg-card);
}

.hero-badge-new {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1a1300;
}

.btn-hero-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    height: 48px;
    padding: 0 1.1rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary) !important;
    text-decoration: none;
    transition: color 0.18s ease;
}
.btn-hero-ghost:hover {
    color: var(--text-primary) !important;
}

/* Trust Proof Items */
.hero-tech-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.4rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-subtle);
}
.hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* ==========================================================================
   Executive Tech Console (Right Column)
   ========================================================================== */
.hero-tech-console {
    background: #0b1224;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(11, 18, 36, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero-tech-console:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 70px rgba(11, 18, 36, 0.45), 0 0 28px rgba(37, 99, 235, 0.18);
}

.console-chrome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.2rem;
    background: rgba(15, 23, 42, 0.85);
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.console-dots {
    display: flex;
    gap: 0.45rem;
}
.console-dots .dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.console-title {
    font-size: 0.76rem;
    color: #94a3b8;
    letter-spacing: 0.02em;
}

.console-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.68rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: #10b981;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.28);
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
}
.status-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    animation: heroDotPulse 2s infinite ease-in-out;
}

.console-body {
    padding: 1.25rem 1.35rem;
}

.console-code {
    background: rgba(2, 6, 23, 0.65);
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 12px;
    padding: 1rem 1.15rem;
    font-size: 0.78rem;
    line-height: 1.6;
    color: #cbd5e1;
}

.code-comment { color: #64748b; font-style: italic; }
.code-keyword { color: #f43f5e; font-weight: 600; }
.code-var { color: #38bdf8; }
.code-class { color: #a78bfa; font-weight: 600; }
.code-prop { color: #94a3b8; }
.code-str { color: #34d399; }
.code-num { color: #fbbf24; }
.code-fn { color: #60a5fa; }

/* Console Tiles */
.console-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
}

.console-tile {
    display: block;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 14px;
    padding: 0.75rem 0.9rem;
    transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}
.console-tile:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.45);
    background: rgba(30, 41, 59, 0.85);
}

.console-tile.tile-highlight {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.28), rgba(99, 102, 241, 0.2));
    border-color: rgba(56, 189, 248, 0.35);
}
.console-tile.tile-highlight:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.4), rgba(99, 102, 241, 0.3));
    border-color: rgba(56, 189, 248, 0.6);
}

.tile-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.95rem;
}

.tile-name {
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.25;
}

.tile-sub {
    font-size: 0.72rem;
    color: #94a3b8;
    margin-top: 0.15rem;
}

/* Console Footer */
.console-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.2rem;
    background: rgba(15, 23, 42, 0.85);
    border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.console-metric {
    font-size: 0.78rem;
    color: #94a3b8;
}
.console-metric b {
    color: #38bdf8;
    font-family: var(--font-mono);
}

.console-divider {
    color: rgba(148, 163, 184, 0.25);
    font-size: 0.8rem;
}

.console-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #38bdf8;
    text-decoration: none;
    transition: color 0.18s ease, transform 0.18s ease;
}
.console-cta:hover {
    color: #ffffff;
    transform: translateX(3px);
}

@media (max-width: 991.98px) {
    .hero-tech-section {
        padding-top: 24px;
    }
    .hero-tech-console {
        margin-top: 1.5rem;
    }
}

/* Modal Theming for Light & Dark */
.modal-content {
    background: var(--bg-surface-solid);
    color: var(--text-primary);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
}
.modal-header,
.modal-footer {
    border-color: var(--border-glass);
}
[data-theme="dark"] .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}
[data-theme="light"] .btn-close {
    filter: none;
}

