/* =========================================
   DESIGN SYSTEM
   ========================================= */
:root {
    /* Colors — Lighter Warm Charcoal (matches logo background) */
    --bg-dark: #252825;
    --bg-surface: rgba(45, 49, 45, 0.6);
    --bg-surface-hover: rgba(55, 60, 55, 0.8);

    /* Primary: Sage Green — WCAG AA compliant (~4.7:1 on --bg-dark) */
    --primary: #7d9474;
    --primary-glow: rgba(125, 148, 116, 0.4);

    /* Accent: Burnt Orange — WCAG AA compliant (~5.2:1 on --bg-dark) */
    --accent: #d4560f;
    --accent-glow: rgba(212, 86, 15, 0.3);

    /* Text — high contrast for readability */
    --text-main: #e8ebe7;
    /* ~12:1 on --bg-dark */
    --text-muted: #a8b0b8;
    /* ~5.2:1 on --bg-dark */

    /* Borders & Focus */
    --border-color: rgba(255, 255, 255, 0.15);
    --focus-ring: 0 0 0 3px rgba(125, 148, 116, 0.5);

    /* Typography */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Effects */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

    /* Spacing Scale - Consistent spacing system for maintainability */
    --spacing-xs: 1rem;      /* 16px - smallest padding for tight mobile layouts */
    --spacing-sm: 1.25rem;   /* 20px - small padding for mobile components */
    --spacing-md: 1.5rem;    /* 24px - medium padding */
    --spacing-lg: 2rem;      /* 32px - large padding */
    --spacing-xl: 2.5rem;    /* 40px - extra large padding */
    --spacing-2xl: 3.5rem;   /* 56px - section margins */
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo-text,
.badge {
    font-family: var(--font-heading);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6rem 0;
}

/* =========================================
   COMPONENTS
   ========================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 500;
    transition: var(--transition-fast);
    cursor: pointer;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    z-index: -1;
    transition: opacity var(--transition-medium);
    opacity: 0;
}

.btn-primary:hover::before {
    opacity: 1;
}

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

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(125, 148, 116, 0.1);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Accessibility: Keyboard focus indicators */
.btn:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
button:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

.glass-card {
    background: var(--bg-surface);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: rgba(212, 86, 15, 0.1);
    border: 1px solid rgba(212, 86, 15, 0.3);
    color: #fdba74;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

/* =========================================
   LAYOUT
   ========================================= */

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(37, 40, 37, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-medium);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition-fast);
}

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.gradient-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(125, 148, 116, 0.15) 0%, rgba(212, 86, 15, 0.1) 40%, rgba(37, 40, 37, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

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

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.dynamic-text-container {
    display: inline-block;
    color: transparent;
    background: linear-gradient(135deg, var(--text-main), var(--primary));
    background-clip: text;
    -webkit-background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.trust-signals-mini {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.avatars {
    display: flex;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--bg-dark);
    margin-left: -10px;
}

.avatar:first-child {
    margin-left: 0;
}

/* Hero Visual Animation */
.hero-visual {
    position: relative;
    height: 500px;
}

.visual-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 450px;
    height: auto;
    min-height: 400px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translate(-50%, -50%);
    }

    50% {
        transform: translate(-50%, -55%);
    }
}

.visual-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background-color: #ef4444;
}

.dot.yellow {
    background-color: #f59e0b;
}

.dot.green {
    background-color: #10b981;
}

.visual-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.chart-line {
    height: 30px;
    border-bottom: 2px dashed rgba(255, 255, 255, 0.2);
    position: relative;
    margin-bottom: 0.5rem;
}

.chart-line::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

.chart-bar-group {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    height: 90px;
    margin-top: 0.5rem;
}

.bar {
    flex: 1;
    background: linear-gradient(to top, rgba(125, 148, 116, 0.2), var(--primary));
    border-radius: 4px 4px 0 0;
    transition: height 1s ease;
}

.bar-1 {
    height: 40%;
}

.bar-2 {
    height: 60%;
}

.bar-3 {
    height: 30%;
}

.bar-4 {
    height: 90%;
}

.metric-row {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    margin-bottom: 0.5rem;
}

.metric {
    display: flex;
    flex-direction: column;
}

.metric-val {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.metric-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.floating-element {
    position: absolute;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.4;
    z-index: -1;
}

.element-1 {
    width: 150px;
    height: 150px;
    top: 10%;
    right: 10%;
    animation: pulse 8s infinite alternate;
}

.element-2 {
    width: 200px;
    height: 200px;
    bottom: -10%;
    left: -10%;
    animation: pulse 10s infinite alternate-reverse;
}

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

    100% {
        transform: scale(1.5);
        opacity: 0.6;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-content {
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

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

    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .nav-links {
        display: none;
        /* Add hamburger menu later */
    }
}

/* =========================================
   SECTIONS
   ========================================= */

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* About / Ethos Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.about-content {
    max-width: 500px;
}

.gap-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.gap-checklist li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem;
    color: var(--text-main);
    font-weight: 500;
}

.gap-checklist .check {
    width: 24px;
    height: 24px;
    stroke: var(--accent);
    stroke-width: 3;
    flex-shrink: 0;
}

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

/* Client Logos */
.client-logos {
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-color);
    background: rgba(37, 40, 37, 0.5);
}

.logos-title {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.logo-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: var(--transition-medium);
}

.logo-grid:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.logo-item {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    color: #fff;
    user-select: none;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-card {
    transition: var(--transition-medium);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(125, 148, 116, 0.1), transparent 50%);
    opacity: 0;
    transition: var(--transition-medium);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border-color: var(--primary);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(125, 148, 116, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.8rem;
    border: 1px solid rgba(125, 148, 116, 0.2);
    transition: var(--transition-medium);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 20px rgba(125, 148, 116, 0.5);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-desc {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.service-features {
    list-style: none;
    margin-top: auto;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: #e5e7eb;
    font-size: 0.95rem;
}

.service-features .check {
    width: 20px;
    height: 20px;
    stroke: var(--accent);
    stroke-width: 3;
}

/* Case Studies */
.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.case-card {
    background: linear-gradient(145deg, rgba(36, 40, 36, 0.6), rgba(37, 40, 37, 0.4));
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 2.5rem;
    transition: var(--transition-medium);
}

.case-card:hover {
    border-color: rgba(212, 86, 15, 0.5);
    transform: translateY(-5px);
}

.case-meta {
    font-size: 0.85rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.case-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.case-desc {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.case-stats {
    display: flex;
    gap: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-val {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--primary);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Testimonial */
.testimonial-block {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 3rem;
    text-align: center;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.quote-icon {
    font-family: serif;
    font-size: 6rem;
    color: rgba(125, 148, 116, 0.2);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1;
}

.quote-text {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.author-info strong {
    display: block;
    font-size: 1.1rem;
    color: white;
}

.author-info span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Contact Section & Form */
.contact {
    background: radial-gradient(circle at bottom right, rgba(212, 86, 15, 0.1), transparent 50%);
}

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

.contact-info {
    padding-right: 2rem;
}

.contact-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.method svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.contact-form-wrapper {
    padding: 3rem;
    border-color: rgba(212, 86, 15, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(212, 86, 15, 0.05);
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

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

.form-group input {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(125, 148, 116, 0.2);
}

.btn-submit {
    width: 100%;
    font-size: 1.1rem;
    padding: 1.2rem;
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
}

.form-footer {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
    background: #050508;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    max-width: 300px;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

    .contact-info {
        padding-right: 0;
        text-align: center;
    }

    .section-title[style] {
        text-align: center !important;
    }

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

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

/* =========================================
   VOICE AGENT UI
   ========================================= */

.voice-agent-fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(125, 148, 116, 0.5);
    z-index: 1000;
    transition: transform var(--transition-fast);
}

.voice-agent-fab:hover {
    transform: scale(1.05);
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary);
    animation: voice-pulse 2s infinite;
}

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

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

.voice-agent-panel {
    position: fixed;
    bottom: 6rem;
    right: 2rem;
    width: 350px;
    height: 450px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-medium);
}

.voice-agent-panel.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.panel-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
}

.panel-header h4 {
    font-size: 1rem;
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.panel-body {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ai-msg,
.user-msg {
    padding: 0.8rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    max-width: 85%;
    line-height: 1.4;
}

.ai-msg {
    background: rgba(125, 148, 116, 0.1);
    border: 1px solid rgba(125, 148, 116, 0.2);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.user-msg {
    background: rgba(212, 86, 15, 0.2);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.panel-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
}

.panel-status {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.mic-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--bg-surface-hover);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.mic-btn.listening {
    background: #ef4444;
    color: white;
    animation: bounce 1s infinite alternate;
}

@keyframes bounce {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}
/* Voice Agent Tooltip Expansion */
.voice-agent-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1000;
}

/* Override existing fab position since parent handles it now */
.voice-agent-fab {
    position: relative;
    bottom: 0;
    right: 0;
}

.voice-agent-tooltip {
    background: rgba(37, 40, 37, 0.95);
    border: 1px solid var(--border-color);
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: gentle-bob 3s ease-in-out infinite;
    cursor: pointer;
}

.voice-agent-tooltip strong {
    color: var(--primary);
}

.tooltip-arrow {
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: rgba(37, 40, 37, 0.95);
    border-top: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
}

@keyframes gentle-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@media (max-width: 768px) {
    .voice-agent-tooltip {
        display: none; /* Hide tooltip on narrow mobile screens to save space */
    }
}

.operator-snapshot {
  margin-top: var(--spacing-2xl);
  padding: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.snapshot-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.snapshot-header h3 {
  margin: 0;
}

.snapshot-kicker {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.snapshot-badge {
  margin-bottom: var(--spacing-sm);
}

.snapshot-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.45fr;
  gap: var(--spacing-lg);
  align-items: stretch;
}

.snapshot-rail {
  display: grid;
  gap: var(--spacing-md);
}

.snapshot-box {
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.snapshot-box-accent {
  background: rgba(125, 148, 116, 0.08);
  border: 1px solid rgba(125, 148, 116, 0.22);
}

.snapshot-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.45rem; /* Keeping specific value for precise label spacing */
}

.snapshot-label-accent {
  color: var(--primary);
  font-weight: 700;
}

.snapshot-text {
  font-weight: 600;
  line-height: 1.55;
}

.snapshot-narrative {
  padding: 1.2rem var(--spacing-sm); /* Top/bottom kept specific for narrative feel */
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.06);
}

.snapshot-narrative p {
  margin-top: 0;
  margin-bottom: var(--spacing-md);
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 1.02rem;
}

.snapshot-metrics {
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem var(--spacing-lg);
  align-items: center;
}

.snapshot-metric-value {
  font-weight: 700;
  color: var(--text-main);
}

.snapshot-metric-value.accent {
  color: var(--primary);
}

.philosophy-block {
  margin-top: var(--spacing-2xl);
}

.section-subtitle.narrow {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

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

/* =========================================
   MOBILE RESPONSIVE - SMALL DEVICES
   Breakpoint: 640px (small mobile devices)
   ========================================= */
@media (max-width: 640px) {
  /* Reduce padding for smaller screens to maximize content area */
  .operator-snapshot {
    padding: var(--spacing-sm);
  }

  /* Further reduce padding for narrative content on very small screens */
  .snapshot-narrative {
    padding: var(--spacing-xs);
  }
}