/* ============================================
   Arihant AI - Quiet ERP Design System
   Version: 3.0 (Light Mode Corporate Trust)
   Inspired by: QuietCubes "Calm Technology"
   ============================================ */

/* Google Fonts - Manrope + Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Manrope:wght@500;600;700;800&display=swap');

:root {
    /* --- Quiet ERP Palette (Light Mode) --- */

    /* Backgrounds */
    --bg-canvas: #F8F9FA;
    /* Primary Background (Soft Off-White) */
    --bg-surface: #FFFFFF;
    /* Cards / Elevated Surfaces */
    --bg-muted: #F1F3F5;
    /* Subtle Sections */

    /* Primary Brand */
    --brand-primary: #0A2463;
    /* Royal Blue (Trust, Authority) */
    --brand-secondary: #3E92CC;
    /* Vibrant Blue (Hover, Active) */
    --brand-accent: #247BA0;
    /* Mid Blue (Links) */

    /* Text */
    --text-heading: #293241;
    /* Charcoal (Never pure black) */
    --text-body: #495057;
    /* Dark Gray */
    --text-muted: #6C757D;
    /* Cool Gray */
    --text-light: #ADB5BD;
    /* Subtle Text */

    /* Borders & Dividers */
    --border-subtle: #E9ECEF;
    --border-default: #DEE2E6;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-blur: 20px;

    /* Typography */
    --font-heading: 'Manrope', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    --h1-size: clamp(2.75rem, 5vw, 4rem);
    --h2-size: clamp(2rem, 4vw, 3rem);
    --h3-size: clamp(1.25rem, 2.5vw, 1.75rem);
    --h4-size: clamp(1.1rem, 2vw, 1.5rem);
    --h5-size: 1.1rem;
    --h6-size: 1rem;
    --body-size: 1rem;
    --body-large: 1.125rem;

    /* Spacing */
    --section-padding: 6rem;
    --card-radius: 24px;
    --button-radius: 100px;

    /* Spacing Utilities */
    --spacing-1: 0.25rem;
    --spacing-2: 0.5rem;
    --spacing-3: 1rem;
    --spacing-4: 1.5rem;
    --spacing-5: 2rem;
    --spacing-6: 3rem;
    --spacing-7: 4rem;
    --spacing-8: 6rem;
    /* Matches section-padding */


    /* Shadows - Soft & Diffused */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================
   Text Selection Highlight
   Deep brand-blue highlight on text select
   ============================================ */

::selection {
    background: rgba(10, 36, 99, 0.18);
    color: #0A2463;
    text-shadow: none;
}

::-moz-selection {
    background: rgba(10, 36, 99, 0.18);
    color: #0A2463;
    text-shadow: none;
}

/* Dark / Hero sections - crisp white-on-blue selection */
.gm-hero ::selection,
.bg-brand ::selection,
[class*="bg-gradient"] ::selection,
[style*="background"] .text-white::selection {
    background: rgba(62, 146, 204, 0.55);
    color: #FFFFFF;
}

.gm-hero ::-moz-selection,
.bg-brand ::-moz-selection,
[class*="bg-gradient"] ::-moz-selection,
[style*="background"] .text-white::-moz-selection {
    background: rgba(62, 146, 204, 0.55);
    color: #FFFFFF;
}

/* ============================================
   Base Reset & Typography
   ============================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body) !important;
    font-size: var(--body-size);
    color: var(--text-body) !important;
    background-color: var(--bg-canvas) !important;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-1,
.display-2,
.display-3,
.display-4 {
    font-family: var(--font-heading) !important;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-heading) !important;
    line-height: 1.15;
}

h1,
.display-1 {
    font-size: var(--h1-size);
}

h2,
.display-2,
.display-3 {
    font-size: var(--h2-size);
}

h3,
.display-4,
.h4 {
    font-size: var(--h3-size);
}

p {
    color: var(--text-body);
    line-height: 1.8;
}

a {
    text-decoration: none !important;
    color: var(--brand-accent);
    transition: color 0.2s ease;
}

a:hover {
    color: var(--brand-primary);
}

/* ============================================
   Background Utilities
   ============================================ */

.bg-canvas {
    background-color: var(--bg-canvas) !important;
}

.bg-surface {
    background-color: var(--bg-surface) !important;
}

.bg-muted {
    background-color: var(--bg-muted) !important;
}

.bg-brand {
    background-color: var(--brand-primary) !important;
    color: white !important;
}

/* Subtle Gradient */
.bg-gradient-soft {
    background: linear-gradient(180deg, var(--bg-canvas) 0%, var(--bg-muted) 100%) !important;
}

/* ============================================
   Text Utilities
   ============================================ */

.text-brand {
    color: var(--brand-primary) !important;
}

.text-muted-custom {
    color: var(--text-muted) !important;
}

.text-large {
    font-size: var(--body-large);
    line-height: 1.8;
}

/* ============================================
   Glass Card (Quiet Glassmorphism)
   ============================================ */

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-subtle);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-md);
}

/* ============================================
   Quiet Card (Solid Surface)
   ============================================ */

.quiet-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-sm);
    padding: 2rem;
    transition: all 0.4s var(--ease-out);
}

.quiet-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

/* ============================================
   Bento Grid Layout
   ============================================ */

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

.bento-tile {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--card-radius);
    padding: 2rem;
    transition: all 0.4s var(--ease-out);
}

.bento-tile:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px) scale(1.01);
}

/* Bento Sizes */
.bento-span-3 {
    grid-column: span 3;
}

.bento-span-4 {
    grid-column: span 4;
}

.bento-span-6 {
    grid-column: span 6;
}

.bento-span-8 {
    grid-column: span 8;
}

.bento-span-12 {
    grid-column: span 12;
}

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

    .bento-span-3,
    .bento-span-4 {
        grid-column: span 3;
    }

    .bento-span-6,
    .bento-span-8 {
        grid-column: span 6;
    }
}

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

    .bento-span-3,
    .bento-span-4,
    .bento-span-6,
    .bento-span-8,
    .bento-span-12 {
        grid-column: span 1;
    }
}

/* ============================================
   Buttons - Pill Style
   ============================================ */

.btn-primary-quiet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-primary);
    color: white !important;
    border-radius: var(--button-radius);
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.btn-primary-quiet:hover {
    background: var(--brand-secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10, 36, 99, 0.25);
}

/*-------- Brand Gradients --------*/
.bg-gradient-brand {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--accent-secondary) 100%);
}

.text-gradient-brand {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/*-------- Hover Interactions --------*/
.hover-lift {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform, box-shadow;
}

.hover-lift:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    /* Softer, deeper shadow */
    z-index: 10;
}

/*-------- Custom Animations --------*/
@keyframes pulse-connection {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
        box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.7);
    }

    70% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 0 20px rgba(79, 70, 229, 0);
    }

    100% {
        transform: scale(0.95);
        opacity: 0.7;
        box-shadow: 0 0 0 0 rgba(79, 70, 229, 0);
    }
}

.animate-pulse-connection {
    animation: pulse-connection 2s infinite;
}


.btn-secondary-quiet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--brand-primary) !important;
    border: 2px solid var(--border-default);
    border-radius: var(--button-radius);
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.btn-secondary-quiet:hover {
    border-color: var(--brand-primary);
    background: var(--bg-muted);
}


/*-------- Spacing Utilities --------*/
.mb-6 {
    margin-bottom: var(--spacing-8) !important;
}

.pb-6 {
    padding-bottom: var(--spacing-8) !important;
}

.pt-6 {
    padding-top: var(--spacing-8) !important;
}

.py-6 {
    padding-top: var(--spacing-8) !important;
    padding-bottom: var(--spacing-8) !important;
}

.gap-5 {
    gap: var(--spacing-5) !important;
}

/*-------- Typography Consistency --------*/
body {
    font-size: var(--body-size);
    line-height: 1.6;
    color: var(--text-body);
    -webkit-font-smoothing: antialiased;
}

h1,
.h1 {
    font-size: var(--h1-size) !important;
}

h2,
.h2 {
    font-size: var(--h2-size) !important;
}

h3,
.h3 {
    font-size: var(--h3-size) !important;
}

h4,
.h4 {
    font-size: var(--h4-size) !important;
}

h5,
.h5 {
    font-size: var(--h5-size) !important;
}

h6,
.h6 {
    font-size: var(--h6-size) !important;
}

p.lead {
    font-size: var(--body-large);
    line-height: 1.7;
}


.section-quiet {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
}

.section-quiet-sm {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* ============================================
   Hero Section
   ============================================ */

.hero-quiet {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-headline {
    font-size: var(--h1-size);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subheadline {
    font-size: var(--body-large);
    color: var(--text-muted);
    max-width: 540px;
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* ============================================
   Trust Bar
   ============================================ */

.trust-bar {
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1.5rem 0;
}

.trust-logo {
    opacity: 0.4;
    filter: grayscale(1);
    transition: all 0.3s ease;
}

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

/* ============================================
   Scroll Reveal Animations (Subtle)
   ============================================ */

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s var(--ease-out);
}

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

.reveal-stagger-children>* {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s var(--ease-out);
}

.reveal-stagger-children>*.is-visible-child {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Icon Containers
   ============================================ */

.icon-box {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-muted);
    color: var(--brand-primary);
    font-size: 1.5rem;
    line-height: 0;
    /* Fix vertical alignment for some fonts */
}

.icon-box-lg {
    width: 72px;
    height: 72px;
    font-size: 2rem;
}

/* ============================================
   Stats / Metrics
   ============================================ */

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--brand-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.5rem;
}

/* ============================================
   Testimonials
   ============================================ */

.testimonial-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--card-radius);
    padding: 2.5rem;
}

.testimonial-quote {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--text-heading);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-muted);
}

/* ============================================
   Navigation Override
   ============================================ */

header,
nav,
.o_header_standard,
#wrapwrap>header {
    background: rgba(248, 249, 250, 0.9) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid var(--border-subtle) !important;
}

.navbar-light .navbar-nav .nav-link,
header a,
nav a {
    color: var(--text-body) !important;
    font-weight: 500;
    transition: color 0.2s ease;
}

.navbar-light .navbar-nav .nav-link:hover,
header a:hover,
nav a:hover {
    color: var(--brand-primary) !important;
}

/* ============================================
   Footer Override
   ============================================ */

footer,
#footer,
.o_footer {
    background-color: var(--brand-primary) !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

footer h3,
footer h4,
footer h5 {
    color: white !important;
}

footer a {
    color: rgba(255, 255, 255, 0.7) !important;
}

footer a:hover {
    color: white !important;
}

/* ============================================
   Utility Classes
   ============================================ */

.opacity-40 {
    opacity: 0.4 !important;
}

.opacity-60 {
    opacity: 0.6 !important;
}

.opacity-80 {
    opacity: 0.8 !important;
}

.tracking-wide {
    letter-spacing: 0.03em !important;
}

.tracking-widest {
    letter-spacing: 0.08em !important;
}

.border-subtle {
    border-color: var(--border-subtle) !important;
}

.rounded-quiet {
    border-radius: var(--card-radius) !important;
}

/* Hover Lift */
.hover-lift {
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

/* No Scrollbar */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ============================================
   Responsive Typography
   ============================================ */

@media (max-width: 768px) {
    :root {
        --section-padding: 4rem;
    }

    .hero-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }
}

/* ============================================
   Scale Reveal Animation
   ============================================ */

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ============================================
   Solutions Grid Mobile - Support Phase 15.10
   ============================================ */
@media (max-width: 767.98px) {
    .solutions-grid-item {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* ============================================
   Sticky Scroll Sections
   ============================================ */

.sticky-scroll-section {
    position: relative;
}

.sticky-content {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
}

.sticky-panel {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
    position: absolute;
}

.sticky-panel.is-active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Horizontal Scroll Sections
   ============================================ */

.horizontal-scroll-section {
    position: relative;
    height: 300vh;
}

.horizontal-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
}

.horizontal-track {
    display: flex;
    gap: 2rem;
    height: 100%;
    align-items: center;
    padding: 0 5vw;
    will-change: transform;
}

.horizontal-card {
    flex-shrink: 0;
    width: 80vw;
    max-width: 600px;
    height: 70vh;
    max-height: 500px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--card-radius);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ============================================
   Scroll Progress Bar
   ============================================ */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
    width: 0%;
    z-index: 9999;
    transition: width 0.1s linear;
}

/* ============================================
   Full-Width Section Cards
   ============================================ */

.full-card {
    min-height: 60vh;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.full-card-lg {
    min-height: 80vh;
}

/* ============================================
   Feature Grid (Large Cards)
   ============================================ */

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

.feature-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--card-radius);
    padding: 3rem;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s var(--ease-out);
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.feature-card.featured {
    grid-column: span 2;
    flex-direction: row;
    gap: 3rem;
    align-items: center;
}

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

    .feature-card.featured {
        grid-column: span 1;
        flex-direction: column;
    }

    .horizontal-card {
        width: 90vw;
    }
}

/* ============================================
   Mouse Follower
   ============================================ */

.mouse-follow {
    transition: transform 0.3s ease-out;
    pointer-events: none;
}

/* ============================================
   Micro-Interactions (Phase 20)
   ============================================ */

/* Scroll Progress Bar */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 99999;
    background: transparent;
}

.scroll-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
    transition: width 0.05s linear;
}

/* Magnetic Button Effect */
.magnetic-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s var(--ease-out);
}

/* Ripple Effect */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Glass Card Tilt */
.glass-card,
.tilt-card {
    transition: transform 0.3s ease-out, box-shadow 0.3s ease;
    transform-style: preserve-3d;
}

/* Floating Orbs */
.floating-orb {
    will-change: transform;
}

/* Typing Cursor */
.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: var(--brand-primary);
    margin-left: 4px;
    animation: cursorBlink 0.8s infinite;
    vertical-align: text-bottom;
}

@keyframes cursorBlink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

/* Smooth Section Transitions */
section {
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Enhanced Hover States */
.quiet-card:hover,
.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Pulsing Elements */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(10, 36, 99, 0.4);
    }

    50% {
        box-shadow: 0 0 0 15px rgba(10, 36, 99, 0);
    }
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, var(--bg-muted) 25%, var(--bg-surface) 50%, var(--bg-muted) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

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

    100% {
        background-position: -200% 0;
    }
}

/* Stagger Animation Delays */
.reveal-stagger-children>*:nth-child(1) {
    transition-delay: 0ms;
}

.reveal-stagger-children>*:nth-child(2) {
    transition-delay: 100ms;
}

.reveal-stagger-children>*:nth-child(3) {
    transition-delay: 200ms;
}

.reveal-stagger-children>*:nth-child(4) {
    transition-delay: 300ms;
}

.reveal-stagger-children>*:nth-child(5) {
    transition-delay: 400ms;
}

.reveal-stagger-children>*:nth-child(6) {
    transition-delay: 500ms;
}

/* Enhanced Button Focus States */
.btn-primary-quiet:focus,
.btn-secondary-quiet:focus {
    outline: 2px solid var(--brand-secondary);
    outline-offset: 3px;
}

/* Tracking Widest Utility */
.tracking-widest {
    letter-spacing: 0.15em;
}

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

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

    .scroll-progress-fill {
        transition: none;
    }
}

/* ============================================
   Advanced Interactions CSS (Phase 21)
   ============================================ */

/* Sticky Header */
.header-scrolled {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* Exit Intent Popup */
.exit-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.exit-popup-content {
    background: white;
    border-radius: 24px;
    max-width: 450px;
    width: 90%;
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
}

.exit-popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
}

.exit-popup-inner {
    padding: 3rem;
    text-align: center;
}

.exit-popup-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.exit-popup-icon i {
    font-size: 2rem;
    color: white;
}

.exit-popup-inner h3 {
    color: var(--text-heading);
    margin-bottom: 0.75rem;
}

.exit-popup-inner p {
    color: var(--text-body);
    margin-bottom: 1.5rem;
}

.exit-popup-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.exit-popup-form input {
    padding: 1rem 1.5rem;
    border: 2px solid var(--border-default);
    border-radius: 100px;
    font-size: 1rem;
    width: 100%;
}

.exit-popup-form input:focus {
    border-color: var(--brand-primary);
    outline: none;
}

.exit-popup-form button {
    padding: 1rem 1.5rem;
    background: var(--brand-primary);
    color: white;
    border: none;
    border-radius: 100px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.exit-popup-form button:hover {
    background: var(--brand-secondary);
}

.exit-popup-inner small {
    display: block;
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Floating Action Buttons */
.floating-action-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9998;
}

.fab-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
}

.fab-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.fab-whatsapp {
    background: #25D366;
}

.fab-demo {
    background: var(--brand-primary);
}

/* Scroll Navigation Dots */
.scroll-nav-dots {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 999;
}

.scroll-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-default);
    transition: all 0.3s ease;
    cursor: pointer;
}

.scroll-dot:hover,
.scroll-dot.active {
    background: var(--brand-primary);
    transform: scale(1.3);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 48px;
    height: 48px;
    background: var(--brand-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9998;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    background: var(--brand-secondary);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .scroll-nav-dots {
        display: none;
    }

    .floating-action-btn {
        bottom: 20px;
        right: 20px;
    }

    .fab-btn {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }

    .exit-popup-content {
        margin: 20px;
    }

    .exit-popup-inner {
        padding: 2rem;
    }
}

/* ============================================
   Social Proof & Premium Features (Phase 22)
   ============================================ */

/* Social Proof Toast Notification */
.social-proof-container {
    position: fixed;
    bottom: 100px;
    left: 30px;
    z-index: 9997;
}

.social-proof-toast {
    background: white;
    border-radius: 16px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transform: translateX(-120%);
    opacity: 0;
    transition: all 0.4s ease;
    max-width: 320px;
}

.social-proof-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.social-proof-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
}

.social-proof-avatar {
    width: 44px;
    height: 44px;
    background: var(--brand-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.social-proof-content {
    flex: 1;
}

.social-proof-message {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-body);
}

.social-proof-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Urgency Banner */
.urgency-banner {
    background: linear-gradient(90deg, #dc2626, #f87171);
    color: white;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 999;
}

.urgency-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.urgency-content span {
    font-weight: 500;
}

.urgency-content a {
    background: white;
    color: #dc2626;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.urgency-content a:hover {
    transform: scale(1.05);
}

.urgency-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.7;
    position: absolute;
    right: 1rem;
}

/* Countdown Timer */
.countdown-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.countdown-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    min-width: 70px;
}

.countdown-item span {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
}

.countdown-item small {
    font-size: 0.75rem;
    opacity: 0.8;
    text-transform: uppercase;
}

/* ============================================
   MARQUEE ANIMATION
   ============================================ */

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-muted) 0%, transparent 100%);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(90deg, transparent 0%, var(--bg-muted) 100%);
}

.marquee-no-blur::before,
.marquee-no-blur::after {
    display: none !important;
}

.marquee-track {
    display: inline-flex;
    animation: marquee 30s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 3rem;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.marquee-item:hover {
    opacity: 1;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Faster marquee variant */
.marquee-track.fast {
    animation-duration: 15s;
}

/* Slower marquee variant */
.marquee-track.slow {
    animation-duration: 45s;
}

/* Reverse direction */
.marquee-track.reverse {
    animation-direction: reverse;
}

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

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: typing 1.4s infinite both;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {

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

    30% {
        transform: translateY(-8px);
    }
}

/* Live Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 380px;
    max-height: 500px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chat-widget.open {
    display: flex;
}

.chat-header {
    background: var(--brand-primary);
    color: white;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-header-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.chat-header-info p {
    margin: 0;
    font-size: 0.8rem;
    opacity: 0.8;
}

.chat-close {
    margin-left: auto;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.7;
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    max-height: 300px;
    background: var(--bg-muted);
}

.chat-message {
    margin-bottom: 1rem;
    max-width: 80%;
}

.chat-message.bot {
    margin-right: auto;
}

.chat-message.user {
    margin-left: auto;
}

.chat-bubble {
    padding: 0.75rem 1rem;
    border-radius: 16px;
    font-size: 0.9rem;
}

.chat-message.bot .chat-bubble {
    background: white;
    border-bottom-left-radius: 4px;
}

.chat-message.user .chat-bubble {
    background: var(--brand-primary);
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-input-container {
    padding: 1rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    gap: 0.5rem;
}

.chat-input {
    flex: 1;
    border: 1px solid var(--border-default);
    border-radius: 100px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}

.chat-send {
    width: 44px;
    height: 44px;
    background: var(--brand-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-send:hover {
    background: var(--brand-secondary);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .social-proof-container {
        left: 10px;
        right: 10px;
        bottom: 80px;
    }

    .social-proof-toast {
        max-width: 100%;
    }

    .chat-widget {
        right: 10px;
        left: 10px;
        width: auto;
        bottom: 80px;
    }

    .urgency-banner {
        font-size: 0.85rem;
    }
}

/* Chat FAB Button */
.chat-fab {
    position: fixed;
    bottom: 30px;
    right: 100px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 9998;
    box-shadow: 0 4px 20px rgba(10, 36, 99, 0.4);
    transition: all 0.3s ease;
}

.chat-fab:hover {
    transform: scale(1.1);
}

.chat-fab-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 22px;
    height: 22px;
    background: #dc2626;
    color: white;
    font-size: 0.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Chat Suggestions */
.chat-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.5rem 0;
}

.chat-suggestions button {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-suggestions button:hover {
    background: var(--brand-primary);
    color: white;
    border-color: var(--brand-primary);
}

/* Status Dot */
.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    margin-right: 4px;
    animation: pulse 2s infinite;
}

/* Industry Marquee Cards */
.industry-marquee-item {
    text-decoration: none;
    color: inherit;
    padding: 0 1.5rem;
    opacity: 0.7;
}

.industry-marquee-item:hover {
    opacity: 1;
}

.industry-marquee-card {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    min-width: 160px;
}

.industry-marquee-item:hover .industry-marquee-card {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Trust Logo Item */
.trust-logo-item {
    opacity: 0.6;
    transition: all 0.3s ease;
}

.trust-logo-item:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* ============================================
   Video Testimonials (Phase 23)
   ============================================ */

.video-testimonial-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.video-testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.video-testimonial-card.featured .video-thumbnail {
    height: 250px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    position: relative;
}

.video-testimonial-card .video-thumbnail.small {
    height: 120px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
}

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.play-button {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--brand-primary);
    transition: all 0.3s ease;
}

.video-testimonial-card .video-thumbnail.small .play-button {
    width: 50px;
    height: 50px;
    font-size: 1rem;
}

.play-button:hover {
    transform: scale(1.1);
}

.pulse-animation {
    animation: pulse 2s infinite;
}

.video-quote {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.video-content {
    padding: 1.5rem;
}

.video-content.compact {
    padding: 1rem;
}

.video-testimonial-text {
    font-style: italic;
    color: var(--text-body);
    margin-bottom: 1rem;
}

.video-testimonial-text.small {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.video-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--brand-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.author-avatar.small {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
}

.video-metrics .badge {
    font-weight: 500;
}

.bg-success-subtle {
    background: rgba(22, 163, 74, 0.1) !important;
}

.bg-brand-subtle {
    background: rgba(10, 36, 99, 0.1) !important;
}

/* Video Modal */
.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
}

.video-modal.open {
    display: flex;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.video-container video {
    width: 100%;
    border-radius: 12px;
}

/* ============================================
   Product Tour (Phase 23)
   ============================================ */

.product-tour-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.product-tour-container {
    background: white;
    border-radius: 24px;
    max-width: 900px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.tour-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    z-index: 10;
}

.tour-progress {
    height: 4px;
    background: var(--bg-muted);
}

.tour-progress-bar {
    height: 100%;
    background: var(--brand-primary);
    transition: width 0.3s ease;
}

.tour-content {
    display: flex;
    flex-direction: row;
}

.tour-image {
    flex: 1;
    padding: 2rem;
    background: var(--bg-muted);
}

.tour-mockup {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.mockup-header {
    background: var(--bg-muted);
    padding: 0.75rem;
    display: flex;
    gap: 6px;
}

.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
}

.mockup-dot:nth-child(1) {
    background: #ff5f57;
}

.mockup-dot:nth-child(2) {
    background: #febc2e;
}

.mockup-dot:nth-child(3) {
    background: #28c840;
}

.mockup-content {
    padding: 1.5rem;
    min-height: 200px;
}

.tour-info {
    flex: 1;
    padding: 2rem;
}

.tour-step-indicator {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.tour-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.tour-description {
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.tour-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tour-feature {
    background: var(--bg-muted);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.85rem;
}

.tour-feature i {
    color: var(--brand-primary);
    margin-right: 0.5rem;
}

.tour-actions {
    display: flex;
    gap: 1rem;
}

.tour-btn-prev,
.tour-btn-next {
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tour-btn-prev {
    background: var(--bg-muted);
    border: none;
    color: var(--text-body);
}

.tour-btn-next {
    background: var(--brand-primary);
    border: none;
    color: white;
}

.tour-skip {
    padding: 1rem;
    text-align: center;
    border-top: 1px solid var(--border-subtle);
}

.tour-skip button {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
}

/* Tour Prompt */
.tour-prompt {
    position: fixed;
    bottom: 100px;
    right: 180px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 9997;
    animation: slideUp 0.4s ease;
}

.tour-prompt-btn {
    background: var(--brand-primary);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-weight: 600;
    cursor: pointer;
    margin-left: 0.5rem;
}

.tour-prompt-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    margin-left: 0.5rem;
}

/* Tour Mockup Content */
.mock-dashboard {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.mock-stat {
    background: var(--bg-muted);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-primary);
}

.mock-stat small {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 400;
}

.mock-pipeline {
    display: flex;
    gap: 0.5rem;
}

.mock-stage {
    flex: 1;
    padding: 0.75rem;
    background: var(--bg-muted);
    border-radius: 8px;
    font-size: 0.8rem;
    text-align: center;
}

.mock-stage.won {
    background: rgba(22, 163, 74, 0.1);
    color: #16a34a;
}

.mock-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    background: var(--bg-muted);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.mock-wo {
    padding: 0.75rem;
    background: var(--bg-muted);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mock-gst {
    padding: 0.75rem;
    background: var(--bg-muted);
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.mock-insight {
    padding: 0.75rem;
    background: var(--bg-muted);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.mock-final {
    padding: 3rem;
}

.mock-logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-primary);
    margin-bottom: 0.5rem;
}

.mock-tagline {
    color: var(--text-muted);
}

/* ============================================
   ROI Export Modal
   ============================================ */

.roi-export-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.roi-export-content {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    max-width: 400px;
    text-align: center;
}

.roi-export-content h4 {
    margin-bottom: 0.5rem;
}

.roi-export-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

#roi-export-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

#roi-export-form input {
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-default);
    border-radius: 100px;
    font-size: 1rem;
}

#roi-export-form button {
    padding: 0.875rem;
    background: var(--brand-primary);
    color: white;
    border: none;
    border-radius: 100px;
    font-weight: 600;
    cursor: pointer;
}

.roi-export-skip {
    background: none;
    border: none;
    color: var(--text-muted);
    margin-top: 1rem;
    cursor: pointer;
    font-size: 0.9rem;
}

/* AI Chat Enhancements */
.ai-suggestions button {
    background: linear-gradient(135deg, var(--bg-surface), var(--bg-muted));
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .tour-content {
        flex-direction: column;
    }

    .tour-image {
        padding: 1rem;
    }

    .tour-info {
        padding: 1.5rem;
    }

    .tour-prompt {
        right: 10px;
        left: 10px;
        bottom: 80px;
    }

    .video-testimonial-card.horizontal .row {
        flex-direction: column;
    }

    .video-testimonial-card.horizontal [class*="col-"] {
        width: 100%;
    }
}

/* ============================================
   Enhanced ROI Calculator Styles
   ============================================ */

/* Industry Chips */
.roi-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: var(--bg-surface);
    border: 2px solid var(--border-default);
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.roi-chip input {
    display: none;
}

.roi-chip:hover {
    border-color: var(--brand-primary);
}

.roi-chip.active {
    background: var(--brand-primary);
    color: white;
    border-color: var(--brand-primary);
}

/* ROI Gauge */
.roi-gauge-container {
    padding: 20px;
}

.roi-gauge {
    position: relative;
    width: 200px;
    height: 120px;
    margin: 0 auto;
}

.roi-gauge-svg {
    width: 100%;
    height: 100%;
}

.gauge-bg {
    fill: none;
    stroke: var(--bg-muted);
    stroke-width: 12;
    stroke-linecap: round;
}

.gauge-fill {
    fill: none;
    stroke: var(--brand-primary);
    stroke-width: 12;
    stroke-linecap: round;
    stroke-dasharray: 251;
    stroke-dashoffset: 125;
    transition: all 0.8s ease;
}

.gauge-needle {
    stroke: var(--text-heading);
    stroke-width: 3;
    stroke-linecap: round;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gauge-center {
    fill: var(--text-heading);
}

.roi-gauge-value {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.roi-gauge-number {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--brand-primary);
    line-height: 1;
}

.roi-gauge-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Benchmark Badge */
.roi-benchmark-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-radius: 100px;
    font-weight: 600;
    color: #92400e;
    margin-top: 15px;
}

.roi-benchmark-badge.gold {
    background: linear-gradient(135deg, #fef08a, #facc15);
    color: #854d0e;
}

.roi-benchmark-badge i {
    font-size: 1rem;
}

/* Result Cards */
.roi-result-card {
    background: var(--bg-muted);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.roi-result-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.roi-result-card.highlight {
    background: linear-gradient(135deg, var(--brand-primary), #1E4DB7);
    color: white;
}

.roi-result-card i {
    font-size: 1.25rem;
    margin-bottom: 8px;
    opacity: 0.7;
}

.roi-result-value {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
}

.roi-result-card.highlight .roi-result-value {
    color: white;
}

.roi-result-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.7;
    margin-top: 4px;
}

/* Achievement Badges */
.roi-achievements {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.roi-achievement {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
    background: var(--bg-muted);
    border-radius: 12px;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.roi-achievement i {
    font-size: 1.25rem;
    color: var(--text-muted);
}

.roi-achievement span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.roi-achievement.unlocked {
    opacity: 1;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
}

.roi-achievement.unlocked i {
    color: #f59e0b;
}

/* Enhanced Export Modal */
.roi-export-modal .roi-export-content {
    position: relative;
    max-width: 420px;
}

.roi-export-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

.roi-export-header {
    margin-bottom: 1rem;
}

.roi-export-header i {
    font-size: 2.5rem;
    color: var(--brand-primary);
    margin-bottom: 0.5rem;
}

.roi-export-header h4 {
    margin: 0;
    font-size: 1.25rem;
}

/* ============================================
   AI Scope of Work Generator
   ============================================ */

.sow-generator {
    background: linear-gradient(180deg, var(--bg-canvas) 0%, var(--bg-muted) 100%);
}

.sow-container {
    max-width: 700px;
    margin: 0 auto;
}

.sow-chat {
    background: white;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.sow-header {
    background: linear-gradient(135deg, var(--brand-primary), #1E4DB7);
    color: white;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sow-avatar {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.sow-header-text h4 {
    margin: 0;
    font-size: 1.125rem;
}

.sow-header-text p {
    margin: 0;
    opacity: 0.8;
    font-size: 0.875rem;
}

.sow-messages {
    max-height: 400px;
    overflow-y: auto;
    padding: 1.5rem;
}

.sow-message {
    display: flex;
    margin-bottom: 1rem;
}

.sow-message.bot {
    justify-content: flex-start;
}

.sow-message.user {
    justify-content: flex-end;
}

.sow-bubble {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.sow-message.bot .sow-bubble {
    background: var(--bg-muted);
    border-bottom-left-radius: 4px;
}

.sow-message.user .sow-bubble {
    background: var(--brand-primary);
    color: white;
    border-bottom-right-radius: 4px;
}

.sow-input-area {
    padding: 1rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    gap: 0.5rem;
}

.sow-input-area input,
.sow-input-area select {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--border-default);
    border-radius: 100px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.sow-input-area input:focus,
.sow-input-area select:focus {
    outline: none;
    border-color: var(--brand-primary);
}

.sow-input-area button {
    padding: 12px 24px;
    background: var(--brand-primary);
    color: white;
    border: none;
    border-radius: 100px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.sow-input-area button:hover {
    background: #1E4DB7;
}

/* Multi-select options */
.sow-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 1rem;
}

.sow-option {
    padding: 10px 16px;
    background: var(--bg-surface);
    border: 2px solid var(--border-default);
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.2s;
}

.sow-option:hover {
    border-color: var(--brand-primary);
}

.sow-option.selected {
    background: var(--brand-primary);
    color: white;
    border-color: var(--brand-primary);
}

/* Progress indicator */
.sow-progress {
    display: flex;
    gap: 4px;
    padding: 0 1.5rem 1rem;
}

.sow-progress-step {
    flex: 1;
    height: 4px;
    background: var(--bg-muted);
    border-radius: 2px;
    transition: background 0.3s;
}

.sow-progress-step.completed {
    background: var(--brand-primary);
}

.sow-progress-step.active {
    background: var(--brand-secondary);
}

/* Contact form in SOW */
.sow-contact-form {
    padding: 1rem;
}

.sow-contact-form input {
    width: 100%;
    margin-bottom: 0.75rem;
    padding: 12px 16px;
    border: 2px solid var(--border-default);
    border-radius: 12px;
    font-size: 1rem;
}

/* Typing indicator */
.sow-typing {
    display: flex;
    gap: 4px;
    padding: 8px 0;
}

.sow-typing span {
    width: 8px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: sowTyping 1.4s infinite;
}

.sow-typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.sow-typing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes sowTyping {

    0%,
    60%,
    100% {
        transform: translateY(0);
        opacity: 0.4;
    }

    30% {
        transform: translateY(-4px);
        opacity: 1;
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .roi-achievements {
        flex-wrap: wrap;
    }

    .roi-gauge {
        width: 160px;
        height: 100px;
    }

    .roi-gauge-number {
        font-size: 2rem;
    }

    .sow-bubble {
        max-width: 90%;
    }
}

/* ============================================
   Mobile Apps Portfolio Styles
   ============================================ */

/* Page Hero Override */
.page-hero {
    padding: var(--spacer-lg) 0;
    position: relative;
    overflow: hidden;
}

.page-title {
    font-size: var(--h1-size);
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.25rem;
    opacity: 0.8;
    max-width: 600px;
}

/* Filters */
.section-filters {
    border-bottom: 1px solid var(--border-subtle);
}

.app-filters {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    border: 1px solid var(--border-subtle);
    color: var(--color-charcoal);
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--color-obsidian);
    color: white;
    border-color: var(--color-obsidian);
}

/* App Card */
.app-card {
    background: white;
    border: 1px solid var(--border-subtle);
    border-radius: 1.5rem;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    transition: all 0.3s ease;
    height: 100%;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.app-card-left {
    flex-shrink: 0;
}

.app-icon {
    width: 80px;
    height: 80px;
    border-radius: 1.25rem;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.app-icon-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 1.25rem;
    background: var(--bg-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-muted);
}

.app-card-right {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.app-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.app-platforms {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.platform-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    background: var(--bg-muted);
    color: var(--text-muted);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.platform-badge.android {
    color: #3DDC84;
    background: rgba(61, 220, 132, 0.1);
}

.platform-badge.ios {
    color: #000000;
    background: rgba(0, 0, 0, 0.05);
}

.app-desc {
    color: var(--text-body);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.app-STATS {
    /* potential typo in my plan, using lower case in css mostly */
}

.app-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.offline-badge {
    color: var(--color-sage);
    font-weight: 500;
}

.app-actions {
    margin-top: auto;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Detail Page Hero */
.app-hero {
    padding: 4rem 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
}

.app-detail-icon {
    width: 120px;
    height: 120px;
    border-radius: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.app-platforms-large {
    display: flex;
    gap: 0.75rem;
    margin: 1rem 0 1.5rem;
}

.app-platforms-large .platform-badge {
    font-size: 0.9rem;
    padding: 0.4rem 1rem;
}

.app-desc-large {
    font-size: 1.25rem;
    color: var(--text-body);
    margin-bottom: 2rem;
    max-width: 600px;
}

.app-stats-large {
    display: flex;
    gap: 3rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    max-width: 500px;
}

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

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-obsidian);
}

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

.app-download-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    color: white;
    text-align: left;
    transition: transform 0.2s ease;
    min-width: 180px;
}

.store-btn:hover {
    transform: translateY(-2px);
    color: white;
}

.store-btn i {
    font-size: 1.75rem;
}

.store-btn span {
    font-size: 0.75rem;
    line-height: 1.2;
}

.store-btn strong {
    font-size: 1rem;
    display: block;
}

.store-btn.playstore {
    background: #000;
}

/* Or Google colors */
.store-btn.appstore {
    background: #000;
}

.store-btn.apk {
    background: var(--color-charcoal);
}

.app-phone-mockup {
    position: relative;
    padding: 1rem;
    border-radius: 3rem;
    border: 8px solid #333;
    background: #000;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 350px;
    margin: 0 auto;
}

.phone-screen {
    border-radius: 2rem;
    width: 100%;
    display: block;
}

/* Screenshots Carousel */
.app-screenshots-carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1rem;
    scroll-snap-type: x mandatory;
}

.app-screenshot {
    flex: 0 0 280px;
    scroll-snap-align: center;
}

.app-screenshot img {
    border-radius: 1.5rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 1rem;
}

.screenshot-caption {
    text-align: center;
    font-weight: 500;
    color: var(--text-muted);
}

/* Specs Table */
.specs-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.5rem;
}

.specs-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-subtle);
}

.specs-table td:first-child {
    font-weight: 600;
    color: var(--text-heading);
    width: 40%;
}

.specs-table td:last-child {
    color: var(--text-body);
}

.specs-table i {
    width: 24px;
    color: var(--text-muted);
    margin-right: 0.5rem;
}

/* Related Product */
.related-product-box {
    background: white;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-sm);
    max-width: 600px;
    margin: 0 auto;
}

/* Custom App CTA */
.section-custom-app {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

/* ============================================
   COMPREHENSIVE MOBILE OVERRIDES
   ============================================ */

/* --- Tablet & Mobile (≤ 768px) --- */
@media (max-width: 768px) {

    /* Section Spacing */
    .section-quiet {
        padding: 3rem 0;
    }

    .section-quiet-sm {
        padding: 2rem 0;
    }

    /* Card Components */
    .quiet-card {
        padding: 1.25rem;
        border-radius: 16px;
    }

    .glass-card {
        border-radius: 16px;
    }

    .full-card {
        padding: 2rem 1.5rem;
        min-height: auto;
    }

    .feature-card {
        padding: 1.5rem;
        min-height: auto;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .horizontal-card {
        padding: 1.5rem;
        width: 85vw;
    }

    /* Hero Section */
    .hero-quiet {
        min-height: 70vh;
        padding: 2rem 0;
    }

    .hero-subheadline {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* Typography Scale */
    .display-3 {
        font-size: 1.75rem;
    }

    .display-4 {
        font-size: 1.5rem;
    }

    .display-6 {
        font-size: 1.25rem;
    }

    .text-large {
        font-size: 1rem;
    }

    /* Mobile App Portfolio */
    .app-card {
        flex-direction: column;
        padding: 1.25rem;
        gap: 1rem;
    }

    .app-icon,
    .app-icon-placeholder {
        width: 60px;
        height: 60px;
        border-radius: 1rem;
        font-size: 1.5rem;
    }

    .app-name {
        font-size: 1.25rem;
    }

    .app-desc {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .app-stats {
        flex-wrap: wrap;
        gap: 0.5rem;
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }

    .app-detail-icon {
        width: 80px;
        height: 80px;
        border-radius: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .app-stats-large {
        gap: 1.5rem;
        flex-wrap: wrap;
        margin-bottom: 1.5rem;
    }

    .app-hero {
        padding: 2.5rem 0;
    }

    .app-phone-mockup {
        max-width: 280px;
        border-width: 6px;
        border-radius: 2.5rem;
    }

    .app-screenshot {
        flex: 0 0 220px;
    }

    .app-screenshots-carousel {
        gap: 1rem;
        padding: 0.75rem;
    }

    .app-desc-large {
        font-size: 1.1rem;
    }

    .store-btn {
        min-width: 160px;
        padding: 0.625rem 1.25rem;
    }

    .app-download-buttons {
        justify-content: center;
    }

    /* Page Hero */
    .page-hero {
        padding: 2.5rem 0;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .page-subtitle {
        font-size: 1.05rem;
    }

    /* Countdown */
    .countdown-container {
        gap: 0.5rem;
    }

    .countdown-item {
        min-width: 55px;
        padding: 0.5rem 0.75rem;
        border-radius: 8px;
    }

    .countdown-item span {
        font-size: 1.25rem;
    }

    .countdown-item small {
        font-size: 0.65rem;
    }

    /* Pricing Cards - improve stacking */
    .quiet-card .display-4 {
        font-size: 1.75rem;
    }

    /* Stat Numbers */
    .stat-number {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    .stat-value {
        font-size: 1.25rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    /* Buttons — full-width on mobile for easier tapping */
    .btn-primary-quiet,
    .btn-secondary-quiet {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }

    /* ROI & SOW Sections */
    .roi-chip {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .roi-gauge-container {
        padding: 10px;
    }

    /* Bento Grid - already handled, reinforce */
    .bento-tile {
        padding: 1.5rem;
    }

    /* Icon elements */
    .icon-circle {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 0;
    }

    /* Container horizontal padding */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Specs Table */
    .specs-table td {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .specs-table td:first-child {
        width: 45%;
    }

    /* Related Product */
    .related-product-box {
        padding: 2rem 1.5rem;
    }

    /* Marquee */
    .marquee-item {
        padding: 0 1.5rem;
    }

    /* Social Proof & Chat - already partially handled */
    .chat-fab {
        right: 20px;
        bottom: 20px;
        width: 52px;
        height: 52px;
        font-size: 1.25rem;
    }

    /* Trust Bar */
    .trust-bar {
        padding: 1.5rem 0;
    }

    /* Form Spacing */
    .form-control,
    .form-select {
        padding: 0.625rem 0.875rem;
    }
}

/* --- Small Phones (≤ 480px) --- */
@media (max-width: 480px) {

    /* Extra compact sections */
    .section-quiet {
        padding: 2.5rem 0;
    }

    .section-quiet-sm {
        padding: 1.5rem 0;
    }

    /* Extra compact cards */
    .quiet-card {
        padding: 1rem;
        border-radius: 12px;
    }

    .full-card {
        padding: 1.5rem 1rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .testimonial-card {
        padding: 1.25rem;
    }

    .horizontal-card {
        width: 90vw;
        padding: 1.25rem;
    }

    /* Hero */
    .hero-quiet {
        min-height: 60vh;
    }

    .display-3 {
        font-size: 1.5rem;
    }

    .display-4 {
        font-size: 1.25rem;
    }

    /* App Portfolio */
    .app-card {
        padding: 1rem;
        gap: 0.75rem;
    }

    .app-icon,
    .app-icon-placeholder {
        width: 50px;
        height: 50px;
    }

    .app-name {
        font-size: 1.1rem;
    }

    .app-screenshot {
        flex: 0 0 200px;
    }

    .store-btn {
        min-width: 140px;
        padding: 0.5rem 1rem;
    }

    .store-btn i {
        font-size: 1.25rem;
    }

    .store-btn strong {
        font-size: 0.85rem;
    }

    /* Countdown */
    .countdown-item {
        min-width: 48px;
        padding: 0.4rem 0.5rem;
    }

    .countdown-item span {
        font-size: 1rem;
    }

    /* Container padding */
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    /* Buttons stacked */
    .d-flex.gap-3 {
        flex-direction: column;
        gap: 0.75rem !important;
    }

    .btn-primary-quiet,
    .btn-secondary-quiet {
        width: 100%;
        text-align: center;
    }

    /* Glass card pain points */
    .glass-card.p-4 {
        padding: 1rem !important;
    }

    /* Urgency banner */
    .urgency-banner {
        padding: 0.5rem;
        font-size: 0.8rem;
    }

    /* ROI */
    .roi-gauge {
        width: 140px;
        height: 85px;
    }

    .roi-gauge-number {
        font-size: 1.5rem;
    }
}

/* ============================================
   App Features List — Polished Presentation
   ============================================ */

.app-features-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.75rem;
}

.app-features-list ul li {
    position: relative;
    padding: 0.875rem 1rem 0.875rem 2.75rem;
    background: var(--bg-canvas, #F8F9FA);
    border: 1px solid var(--border-subtle, #E9ECEF);
    border-radius: 12px;
    font-size: 0.95rem;
    color: var(--text-body, #495057);
    transition: all 0.2s ease;
    line-height: 1.5;
}

.app-features-list ul li:hover {
    background: #FFFFFF;
    border-color: var(--brand-secondary, #3E92CC);
    box-shadow: 0 2px 12px rgba(62, 146, 204, 0.08);
    transform: translateX(4px);
}

.app-features-list ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free', 'FontAwesome';
    font-weight: 900;
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-primary, #0A2463), var(--brand-secondary, #3E92CC));
    border-radius: 50%;
}

#static-key-features-fallback h3 {
    font-size: 1.25rem;
    color: var(--text-heading, #293241);
    position: relative;
    padding-bottom: 0.75rem;
    margin-bottom: 1.25rem;
}

#static-key-features-fallback h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-primary, #0A2463), var(--brand-secondary, #3E92CC));
    border-radius: 3px;
}