/* ==========================================================================
   FONTS - Nohemi Font Family
   ========================================================================== */

@font-face {
    font-family: 'Nohemi';
    src: url('../fonts/Nohemi-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nohemi';
    src: url('../fonts/Nohemi-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nohemi';
    src: url('../fonts/Nohemi-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nohemi';
    src: url('../fonts/Nohemi-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
/* ==========================================================================
   BASE STYLES - CSS Variables, Reset, Typography
   ========================================================================== */

/* CSS Custom Properties */
:root {
    /* Brand Colors */
    --primary-blue: #0080FF;
    --primary-blue-light: #3399FF;
    --primary-blue-dark: #0066CC;
    --accent-green: #00DB4F;
    --primary-green: #00DB4F; /* Alias for backwards compatibility */
    --accent-green-light: #33E573;
    --accent-green-dark: #00B341;

    /* Neutrals */
    --black: #000000;
    --dark: #0a1628;
    --dark-secondary: #0f2847;
    --gray-900: #1a1a24;
    --gray-700: #475569;
    --gray-500: #64748b;
    --gray-300: #cbd5e1;
    --gray-100: #F2F2F2;
    --white: #FFFFFF;
    --light: #F2F2F2;

    /* Semantic */
    --text-primary: #000000;
    --text-secondary: #475569;
    --text-muted: #5b6776;
    --bg-light: #F2F2F2;
    --bg-white: #FFFFFF;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #0a1628 0%, #0f2847 50%, #0a1628 100%);
    --gradient-blue-green: linear-gradient(135deg, #0080FF 0%, #00DB4F 100%);
    --gradient-blue: linear-gradient(135deg, #0080FF, #004080);
    --gradient-green: linear-gradient(135deg, #00DB4F, #00a83c);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.15);
    --shadow-glow-blue: 0 0 40px rgba(0, 128, 255, 0.3);
    --shadow-glow-green: 0 0 40px rgba(0, 219, 79, 0.3);
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.2);

    /* Spacing & Sizing */
    --radius: 8px;
    --radius-lg: 20px;
    --border-radius: 16px;
    --container-max: 1280px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Nohemi', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Blog pages use Poppins */
body.blog-page {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

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

::selection {
    background: var(--primary-blue);
    color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 4px;
}

/* ==========================================================================
   CONTAINER
   ========================================================================== */

.container {
    width: 92%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Blog container variant */
.container.blog-container {
    width: 90%;
    max-width: 1200px;
    padding: 0 20px;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
    line-height: 1.7;
}

/* ==========================================================================
   GREEN PILL SEPARATOR
   ========================================================================== */

.pill-separator {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 2rem 0;
}

.pill-separator span {
    width: 32px;
    height: 4px;
    background: var(--accent-green);
    border-radius: 2px;
}

/* ==========================================================================
   SECTION HEADER WITH LEFT ACCENT
   ========================================================================== */

.section-header {
    margin-bottom: 3rem;
}

.section-header-accent {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.section-header-accent::before {
    content: '';
    width: 4px;
    height: 2.5rem;
    background: var(--accent-green);
    border-radius: 2px;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.section-header h2 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 600px;
}

/* Centered variant */
.section-header.centered {
    text-align: center;
}

.section-header.centered .section-header-accent {
    justify-content: center;
}

.section-header.centered .section-header-accent::before {
    display: none;
}

.section-header.centered p {
    margin: 0 auto;
}

/* ==========================================================================
   REDUCED MOTION PREFERENCE
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* ==========================================================================
   ANIMATIONS - All @keyframes Definitions
   ========================================================================== */

/* Concentric Arcs Animation - Spin in place like tires */
@keyframes arcSpin1 {
    from { stroke-dashoffset: 0; }
    to { stroke-dashoffset: 2513; }
}

@keyframes arcSpin2 {
    from { stroke-dashoffset: 0; }
    to { stroke-dashoffset: -2011; }
}

@keyframes arcSpin3 {
    from { stroke-dashoffset: 0; }
    to { stroke-dashoffset: 1508; }
}

@keyframes arcSpin4 {
    from { stroke-dashoffset: 0; }
    to { stroke-dashoffset: -1005; }
}

@keyframes arcSpin5 {
    from { stroke-dashoffset: 0; }
    to { stroke-dashoffset: 503; }
}

@keyframes arcPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

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

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

@keyframes countUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUpCTA {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes checkmarkReveal {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes pulseOut {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
}

@keyframes testimonialFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Legacy animations for testimonials page */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes sweep {
    0% { background-position: -100% 0; }
    100% { background-position: 200% 0; }
}
/* ==========================================================================
   COMPONENTS - Buttons, Cards, Navigation, Forms
   ========================================================================== */

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-family: 'Nohemi', 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent-green);
    color: var(--dark);
    box-shadow: 0 4px 14px rgba(0, 219, 79, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 219, 79, 0.5);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue-dark);
    border: 2px solid var(--primary-blue-dark);
}

.btn-outline:hover {
    background: var(--primary-blue-dark);
    color: white;
}

.btn-white {
    background: white;
    color: var(--primary-blue) !important;
}

.btn-white:hover {
    background: #f8f9fa;
}

/* Blog button variant */
.btn.btn-blog {
    background: var(--gradient-green);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0, 219, 79, 0.3);
}

.btn.btn-blog:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 219, 79, 0.4);
}

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

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 107px;
    display: flex;
    align-items: center;
}

.logo img {
    height: 100%;
}

/* Icon shows at top, hides when scrolled */
.logo-icon {
    display: block;
    height: 107px;
    width: auto;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Full logo hidden at top, shows when scrolled */
.logo-full {
    display: none;
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 10px 16px;
    border-radius: var(--radius);
    transition: var(--transition-base);
}

.nav-links a:not(.btn):hover {
    color: white;
    background: rgba(255, 255, 255, 0.15);
}

/* "Join" link in nav — subtle outlined button so it's noticeable but doesn't compete with the primary green CTA */
.nav-links .nav-join-link {
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--radius);
    padding: 8px 16px;
    font-weight: 600;
}

.nav-links .nav-join-link:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.6);
    color: white;
}

header.scrolled .nav-links .nav-join-link {
    border-color: var(--primary-blue-dark);
    color: var(--primary-blue-dark);
}

header.scrolled .nav-links .nav-join-link:hover {
    background: var(--primary-blue-dark);
    color: white;
}

/* Blog nav links (dark text on white header) */
.blog-page .nav-links a {
    color: var(--dark);
}

.blog-page .nav-links a:hover {
    color: var(--primary-blue);
}

/* Nav Phone */
.nav-phone {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.85rem;
    padding: 8px 14px;
    border-radius: var(--radius);
    transition: var(--transition-base);
    white-space: nowrap;
}

.nav-phone:hover {
    color: white;
    background: rgba(255, 255, 255, 0.15);
}

header.scrolled .nav-phone {
    color: var(--text-secondary);
}

header.scrolled .nav-phone:hover {
    color: var(--primary-blue);
    background: rgba(0, 128, 255, 0.08);
}

/* ==========================================================================
   MOBILE MENU
   ========================================================================== */

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 2000;
}

.hamburger {
    display: block;
    position: relative;
    width: 24px;
    height: 2px;
    background: white;
    transition: var(--transition-base);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: white;
    transition: var(--transition-base);
}

.hamburger::before { transform: translateY(-8px); }
.hamburger::after { transform: translateY(8px); }

/* Dark hamburger when header is scrolled (white background) */
header.scrolled .hamburger,
header.scrolled .hamburger::before,
header.scrolled .hamburger::after {
    background: var(--black);
}

.mobile-menu-toggle.active .hamburger { background: transparent; }
.mobile-menu-toggle.active .hamburger::before { transform: rotate(45deg); background: var(--black); }
.mobile-menu-toggle.active .hamburger::after { transform: rotate(-45deg); background: var(--black); }

/* When menu is open, fix toggle button position above menu */
.mobile-menu-toggle.active {
    position: fixed;
    top: 1.25rem;
    right: 1.5rem;
    z-index: 10000;
}

/* ==========================================================================
   CARDS - Generic Card Styles
   ========================================================================== */

.card {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: var(--transition-base);
}

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

/* Card icon */
.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 128, 255, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

/* ==========================================================================
   READ MORE LINK
   ========================================================================== */

.read-more {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.read-more:hover {
    gap: 0.8rem;
}

/* ==========================================================================
   TAGS
   ========================================================================== */

.tag,
.blog-tag {
    background: rgba(0, 128, 255, 0.1);
    color: var(--primary-blue);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ==========================================================================
   RESPONSIVE - MOBILE MENU
   ========================================================================== */

/* ==========================================================================
   CONTACT FORM
   ========================================================================== */

.contact-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

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

.contact-info h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.contact-info p {
    font-size: 1.1rem;
    color: #495057;
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 128, 255, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.contact-detail-icon svg {
    width: 24px;
    height: 24px;
}

.contact-detail-text h3 {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.contact-detail-text p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

.contact-form-card {
    background: white;
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.contact-form-card h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.contact-form-card > p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e9ecef;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    color: var(--dark);
    transition: var(--transition-base);
    background: #f8f9fa;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 128, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #adb5bd;
}

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

/* Checkbox group */
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-top: 0.5rem;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 400;
    font-size: 0.95rem;
    color: var(--dark);
    padding: 8px 14px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: var(--radius);
    transition: var(--transition-base);
}

.checkbox-label:hover {
    border-color: var(--primary-blue);
    background: white;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-blue);
    cursor: pointer;
}

.checkbox-label:has(input:checked) {
    background: rgba(0, 128, 255, 0.1);
    border-color: var(--primary-blue);
}

.other-input {
    margin-top: 0.75rem;
}

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

.form-submit {
    margin-top: 0.5rem;
}

.form-submit .btn {
    width: 100%;
    padding: 16px 28px;
    font-size: 1.1rem;
}

/* Form success/error states */
.form-status {
    padding: 1rem;
    border-radius: var(--radius);
    margin-top: 1rem;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(0, 219, 79, 0.1);
    color: var(--accent-green);
    border: 1px solid var(--accent-green);
}

.form-status.error {
    display: block;
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid #dc3545;
}

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

    .contact-info h2 {
        font-size: 2rem;
    }

    .contact-form-card {
        padding: 1.5rem;
    }

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

/* ==========================================================================
   RESPONSIVE - MOBILE MENU
   ========================================================================== */

@media (max-width: 768px) {
    /* Smaller logo on mobile */
    .logo {
        height: 50px;
    }

    .logo-icon {
        height: 50px;
    }

    .nav-phone {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        background: #ffffff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.7rem;
        z-index: 9999;
        padding: 4rem 2rem;
        isolation: isolate;
        overflow-y: auto;
    }

    .nav-links.active {
        display: flex;
    }

    /* Suppress hero and other high z-index elements when menu is open */
    body.menu-open .hero,
    body.menu-open .hero > .container,
    body.menu-open .demo-btn-wrapper,
    body.menu-open .demo-info-panel {
        z-index: 1 !important;
    }

    .nav-links li {
        margin: 0;
        width: 100%;
        text-align: center;
    }

    .nav-links a:not(.btn) {
        display: block;
        padding: 1rem;
        font-size: 1.1rem;
        font-weight: 500;
        color: var(--text-primary);
        border-radius: var(--radius);
        transition: var(--transition-base);
    }

    .nav-links a:not(.btn):hover,
    .nav-links a:not(.btn):active {
        background: var(--bg-light);
        color: var(--primary-blue);
    }

    .nav-links .btn {
        margin-top: 1rem;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    body.menu-open {
        overflow: hidden;
    }

    /* Hide all content when mobile menu is open */
    body.menu-open .mobile-action-bar,
    body.menu-open .testimonial-preview,
    body.menu-open .mobile-bottom-sheet,
    body.menu-open .mobile-feature-stack-wrapper,
    body.menu-open .mobile-compact-features {
        display: none !important;
    }

    /* Hide main content sections when menu is open */
    body.menu-open main,
    body.menu-open .hero,
    body.menu-open .features,
    body.menu-open .comparison,
    body.menu-open .testimonials,
    body.menu-open .app-demo,
    body.menu-open .cta,
    body.menu-open footer {
        visibility: hidden !important;
    }
}
/* ==========================================================================
   LAYOUT - Header, Footer, Grid Systems
   ========================================================================== */

/* ==========================================================================
   HEADER
   ========================================================================== */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    background: transparent;
    border-bottom: 1px solid transparent;
    padding: 1rem 0;
    transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0.75rem 0;
    box-shadow: var(--shadow-sm);
}

header.scrolled .logo {
    height: 40px;
}

header.scrolled .logo-icon {
    display: none;
}

header.scrolled .logo-full {
    display: block;
}

/* Dark nav links when scrolled */
header.scrolled .nav-links a {
    color: var(--text-secondary);
}

header.scrolled .nav-links a:not(.btn):hover {
    color: var(--primary-blue);
    background: rgba(0, 128, 255, 0.08);
}

/* Blog header - white background, sticky */
.blog-page header {
    background: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
}

.blog-page header .logo {
    height: 40px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

footer {
    background: var(--dark);
    color: white;
    padding: 5rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3rem;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column:first-child {
    flex: 1.5;
}

.footer-column h3 {
    color: white;
    margin-bottom: 1.25rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.contact-icon {
    margin-right: 12px;
    opacity: 0.7;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

/* Blog footer variant */
.blog-page footer {
    margin-top: 0;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
}
/* ==========================================================================
   HOME PAGE - Homepage-Specific Styles
   ========================================================================== */

/* ==========================================================================
   DEMO BUTTON WRAPPER & INFO PANEL
   ========================================================================== */

.demo-btn-wrapper {
    position: relative;
    display: inline-flex;
    z-index: 1450;
}

.demo-btn-wrapper .btn {
    height: 100%;
}

/* Demo info panel - hero section only */
.demo-info-panel {
    position: absolute;
    inset: 0;
    z-index: 15;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.demo-info-panel.active {
    opacity: 1;
    z-index: 1400;
}

.demo-info-panel-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #00DB4F 0%, #00c445 50%, #00a83a 100%);
    clip-path: circle(0% at var(--origin-x, 50%) var(--origin-y, 50%));
    transition: clip-path 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.demo-info-panel-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 40%);
    pointer-events: none;
}

.demo-info-panel.active .demo-info-panel-bg {
    clip-path: circle(150% at var(--origin-x, 50%) var(--origin-y, 50%));
}

.demo-info-panel-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 4rem 8%;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease 0.2s;
}

.demo-info-panel.active .demo-info-panel-content {
    opacity: 1;
    pointer-events: auto;
}

.demo-info-main {
    transform: translateX(-20px);
    opacity: 0;
    transition: all 0.4s ease 0.25s;
}

.demo-info-panel.active .demo-info-main {
    transform: translateX(0);
    opacity: 1;
}

.demo-info-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(0, 0, 0, 0.55);
    margin-bottom: 1.25rem;
    padding: 8px 14px 8px 10px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 100px;
}

.demo-info-eyebrow svg {
    width: 18px;
    height: 18px;
    stroke: #000;
    opacity: 0.7;
}

.demo-info-panel h3 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #000;
    line-height: 1.05;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
}

.demo-info-panel h3 span {
    display: block;
    font-size: 0.75em;
    color: rgba(0, 0, 0, 0.5);
    font-weight: 500;
    margin-top: 0.25rem;
    letter-spacing: -0.01em;
}

.demo-info-subtext {
    font-size: 1.1rem;
    color: rgba(0, 0, 0, 0.65);
    line-height: 1.7;
    max-width: 400px;
}

.demo-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.demo-info-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
    transform: translateX(30px);
    opacity: 0;
    transition: all 0.4s ease;
}

.demo-info-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.demo-info-panel.active .demo-info-card {
    transform: translateX(0);
    opacity: 1;
}

.demo-info-panel.active .demo-info-card:nth-child(1) { transition-delay: 0.3s; }
.demo-info-panel.active .demo-info-card:nth-child(2) { transition-delay: 0.4s; }
.demo-info-panel.active .demo-info-card:nth-child(3) { transition-delay: 0.5s; }

.demo-info-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #00DB4F 0%, #00a83a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 219, 79, 0.3);
}

.demo-info-card-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
    stroke-width: 2.5;
}

.demo-info-card-text h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.demo-info-card-text p {
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.6);
    margin: 0;
    line-height: 1.4;
}

.demo-info-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.3s ease 0.6s;
}

.demo-info-panel.active .demo-info-hint {
    opacity: 1;
}

.demo-info-hint svg {
    width: 14px;
    height: 14px;
    animation: pulseOut 2s ease-in-out infinite;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
    padding: 160px 0 80px;
}

.hero > .container {
    position: relative;
    z-index: 1300;
}

/* Concentric Arcs SVG Background */
.hero-arcs {
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    pointer-events: none;
    z-index: 1;
    contain: layout paint;
}

.hero-arcs svg {
    width: 100%;
    height: 100%;
}

.hero-arcs .arc {
    fill: none;
    stroke-linecap: round;
}

.hero-arcs .arc-1 {
    stroke: rgba(0, 128, 255, 0.25);
    stroke-width: 3;
    stroke-dasharray: 1200 1313;
    animation: arcSpin1 30s linear infinite;
}

.hero-arcs .arc-2 {
    stroke: rgba(0, 128, 255, 0.20);
    stroke-width: 3;
    stroke-dasharray: 900 1111;
    animation: arcSpin2 40s linear infinite;
    animation-delay: -15s;
}

.hero-arcs .arc-3 {
    stroke: rgba(0, 128, 255, 0.15);
    stroke-width: 2;
    stroke-dasharray: 700 808;
    animation: arcSpin3 50s linear infinite;
    animation-delay: -30s;
}

.hero-arcs .arc-4 {
    stroke: rgba(0, 128, 255, 0.12);
    stroke-width: 2;
    stroke-dasharray: 500 505;
    animation: arcSpin4 60s linear infinite;
    animation-delay: -45s;
}

.hero-arcs .arc-5 {
    stroke: rgba(0, 219, 79, 0.1);
    stroke-width: 1.5;
    stroke-dasharray: 250 253;
    animation: arcSpin5 25s linear infinite;
    animation-delay: -10s;
}

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

/* Demo panel active states */
.hero.demo-active > .container {
    z-index: 1500;
}

.hero.demo-active .hero-grid {
    z-index: 20;
}

.hero.demo-active .hero-badge,
.hero.demo-active .hero-content > h1,
.hero.demo-active .hero-content > p,
.hero.demo-active .hero-stats,
.hero.demo-active .hero-image,
.hero.demo-active .btn-secondary {
    opacity: 0 !important;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.hero.demo-active .demo-btn-wrapper .btn {
    background: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.hero.demo-active .demo-btn-wrapper .btn:hover {
    background: #1a1a1a !important;
    transform: scale(1.08);
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: arcPulse 2s infinite;
}

.hero h1 {
    color: white;
    margin-bottom: 1.5rem;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--accent-green-light), var(--accent-green));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: clamp(1.1rem, 1.8vw, 1.25rem);
    opacity: 0.9;
    max-width: 500px;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: stretch;
}

/* Hero Free Tier Trust Line */
.hero-free-line {
    margin-top: 1.25rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.hero-free-line .hero-free-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: var(--accent-green);
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
    animation: arcPulse 2s infinite;
}

.hero-free-sub {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 0.1rem;
    padding-left: 13px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat {
    text-align: left;
}

.hero-stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.hero-stat-value.count-up {
    opacity: 0;
}

.hero-stat-value.count-up.animated {
    animation: countUp 0.6s ease forwards;
}

.hero-stat-label {
    font-size: 0.9rem;
    opacity: 0.7;
    font-weight: 500;
}

/* Hero Image */
.hero-image {
    position: relative;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-image-wrapper {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.hero-image img {
    border-radius: var(--radius);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4), var(--shadow-glow-blue);
    transition: var(--transition-slow);
}

.hero-image-wrapper:hover img {
    transform: scale(1.02);
}

/* ==========================================================================
   BENTO GRID - FEATURES
   ========================================================================== */

.features {
    padding: 6rem 0;
    background: var(--bg-light);
}

.bento-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto;
    gap: 1.25rem;
    grid-template-areas:
        "left right";
}

.bento-column-left {
    grid-area: left;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.bento-column-right {
    grid-area: right;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.bento-row-bottom {
    grid-area: bottom;
    display: flex;
    gap: 1.25rem;
}

.bento-row-bottom .bento-card {
    flex: 1;
}

.bento-row-inline {
    display: flex;
    gap: 1.25rem;
}

.bento-row-inline .bento-card {
    flex: 1;
}

.bento-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.15s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    display: flex;
    flex-direction: column;
    transform-style: preserve-3d;
    will-change: transform;
    opacity: 0;
    transform: translateY(20px);
}

.bento-card.revealed {
    animation: fadeInUp 0.6s ease forwards;
}

.bento-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-green);
    transform: translateY(-4px);
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M4 4 L4 28 L12 20 L20 28 L24 24 L16 16 L24 8 L4 4Z' fill='%23000' stroke='%23fff' stroke-width='1'/%3E%3C/svg%3E") 4 4, auto;
}

.bento-card.large {
    padding: 2rem;
}

.bento-card.medium-v {
    position: relative;
}

.bento-card.medium-v .bento-feature-list {
    padding-right: 45%;
}

.bento-card.medium-v .bento-card-image {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 42%;
}

.bento-card.medium-v .bento-card-image img {
    width: 100%;
    display: block;
}

/* Video CTA */
.video-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: var(--primary-blue);
    color: white;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s ease;
    width: fit-content;
}

.video-cta:hover {
    background: #0066cc;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 128, 255, 0.3);
}

.video-cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.video-cta-icon svg {
    width: 12px;
    height: 12px;
    margin-left: 1px;
}

/* Bento card content */
.bento-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 128, 255, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.bento-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.bento-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.bento-card-image {
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: 1.5rem;
}

.bento-card-image img {
    width: 100%;
    transition: var(--transition-base);
}

.bento-card:hover .bento-card-image img {
    transform: scale(1.02);
}

/* Feature list in bento cards */
.bento-feature-list {
    list-style: none;
    margin-top: 1rem;
}

.bento-feature-list li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.bento-feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background: rgba(0, 219, 79, 0.15);
    border-radius: 4px;
}

.bento-feature-list li::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 50%;
    width: 8px;
    height: 5px;
    border: 2px solid var(--accent-green);
    border-top: none;
    border-right: none;
    transform: translateY(-60%) rotate(-45deg);
}

/* ==========================================================================
   COMPARISON SECTION
   ========================================================================== */

.comparison {
    padding: 6rem 0;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.comparison::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 128, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 128, 255, 0.1) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
    pointer-events: none;
}

.comparison .section-header h2,
.comparison .section-header p {
    color: white;
}

.comparison .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

/* Comparison Toggle (Segmented Control) */
.comparison-toggle {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.comparison-toggle-btn {
    padding: 0.75rem 1.75rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(0, 128, 255, 0.3);
    color: rgba(255, 255, 255, 0.5);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
}

.comparison-toggle-btn:first-child {
    border-radius: var(--radius) 0 0 var(--radius);
    border-right: none;
}

.comparison-toggle-btn:last-child {
    border-radius: 0 var(--radius) var(--radius) 0;
}

.comparison-toggle-btn:hover:not(.active) {
    background: rgba(0, 128, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.comparison-toggle-btn.active {
    background: rgba(0, 219, 79, 0.15);
    border-color: var(--accent-green);
    color: var(--accent-green);
    text-shadow: 0 0 15px rgba(0, 219, 79, 0.4);
}

.comparison-toggle-btn:first-child.active {
    border-right: 1px solid var(--accent-green);
}

.comparison-toggle-btn:first-child.active + .comparison-toggle-btn {
    border-left: none;
}

.comparison-toggle-btn:last-child.active {
    border-left: 1px solid var(--accent-green);
}

.comparison-table-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.comparison-table-header {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    color: white;
    padding: 1.5rem 0;
    font-weight: 600;
    font-size: 1rem;
    border-bottom: 1px solid rgba(0, 128, 255, 0.3);
    border-right: 1px solid rgba(0, 128, 255, 0.15);
    position: relative;
}

.comparison-table-header::before {
    content: '';
    position: absolute;
    left: 42.86%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(0, 128, 255, 0.2);
}

.comparison-table-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 128, 255, 0.6), transparent);
}

.comparison-table-header span {
    position: relative;
}

.comparison-table-header span:nth-child(3)::before {
    content: '';
    position: absolute;
    left: 0;
    top: -1.5rem;
    bottom: -1.5rem;
    width: 1px;
    background: rgba(0, 128, 255, 0.2);
}

.comparison-table-header span:nth-child(2),
.comparison-table-header span:nth-child(3) {
    text-align: center;
}

.comparison-table-header span:nth-child(3) {
    color: var(--accent-green);
    text-shadow: 0 0 20px rgba(0, 219, 79, 0.5);
}

.comparison-section-title {
    padding: 1.5rem 0 0.75rem;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 12px;
}

.comparison-section-title::before {
    content: '';
    width: 20px;
    height: 2px;
    background: var(--accent-green);
    border-radius: 1px;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    border-right: 1px solid rgba(0, 128, 255, 0.15);
    align-items: center;
    transition: var(--transition-base);
    position: relative;
}

.comparison-row::before,
.comparison-row::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(0, 128, 255, 0.15);
}

.comparison-row::before {
    left: 42.86%;
}

.comparison-row::after {
    left: 71.43%;
}

.comparison-row:hover {
    background: linear-gradient(90deg, transparent, rgba(0, 128, 255, 0.05), transparent);
}

.comparison-feature {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.comparison-safe,
.comparison-fieldbase {
    text-align: center;
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
}

.comparison-safe {
    color: rgba(255, 255, 255, 0.35);
    font-weight: 400;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.comparison-safe.swapping {
    opacity: 0;
    transform: translateY(4px);
}

.comparison-fieldbase {
    color: var(--accent-green);
    font-weight: 600;
    text-shadow: 0 0 15px rgba(0, 219, 79, 0.4);
}

.comparison-fieldbase .check {
    display: inline-block;
    margin-left: 4px;
    opacity: 0;
    transform: scale(0.5);
    transition: var(--transition-base);
}

.comparison-fieldbase .check.revealed {
    opacity: 1;
    transform: scale(1);
}

.comparison-cta {
    text-align: center;
    padding: 4rem 2rem 2rem;
    color: white;
    position: relative;
    z-index: 1;
}

.comparison-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.comparison-cta p {
    opacity: 0.7;
    margin-bottom: 1.5rem;
}

.comparison-cta .btn {
    background: var(--accent-green);
    color: var(--dark);
    box-shadow: 0 0 30px rgba(0, 219, 79, 0.3);
}

.comparison-cta .btn:hover {
    box-shadow: 0 0 50px rgba(0, 219, 79, 0.5);
    transform: translateY(-2px);
}

.comparison-free-line {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 400;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */

.testimonials {
    padding: 6rem 0;
    background: var(--bg-light);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.testimonial-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: var(--transition-base);
    position: relative;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-blue), var(--accent-green));
    border-radius: var(--radius) 0 0 var(--radius);
    opacity: 0;
    transition: var(--transition-base);
}

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

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

.testimonial-quote {
    color: var(--primary-blue);
    opacity: 0.2;
    margin-bottom: 0.5rem;
}

.testimonial-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.testimonial-card p strong {
    color: var(--text-primary);
}

.testimonial-author {
    display: flex;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.testimonial-author strong {
    color: var(--primary-blue);
}

/* ==========================================================================
   APP DEMO SECTION
   ========================================================================== */

.app-demo {
    padding: 6rem 0;
    background: white;
}

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

.demo-content h3 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin-bottom: 1rem;
}

.demo-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.demo-image img,
.demo-image video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
}

.demo-image:hover img,
.demo-image:hover video {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), var(--shadow-glow-blue);
}

/* ==========================================================================
   RESOURCES SECTION
   ========================================================================== */

.resources {
    padding: 6rem 0;
    background: white;
}

.resource-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.resource-card {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition-base);
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-green);
}

.resource-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 128, 255, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.resource-card h3 {
    margin-bottom: 0.75rem;
}

.resource-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.resource-link {
    color: var(--primary-blue-dark);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-base);
}

.resource-link:hover {
    gap: 0.75rem;
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */

.cta {
    padding: 6rem 0;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-arcs {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    pointer-events: none;
    opacity: 0.5;
}

.cta-inner {
    position: relative;
    z-index: 10;
    max-width: 720px;
    margin: 0 auto;
    color: white;
}

.cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta .btn {
    background: white;
    color: var(--primary-blue-dark);
}

.cta .btn:hover {
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.35);
}

/* ==========================================================================
   MOBILE ACTION BAR + BOTTOM SHEET
   ========================================================================== */

.mobile-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1400;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    display: none;
}

.mobile-action-bar.visible {
    transform: translateY(0);
}

.mobile-action-bar-inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: var(--container-max);
    margin: 0 auto;
}

.mobile-demo-btn {
    flex: 1;
    text-align: center;
    justify-content: center;
}

.mobile-action-expand {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background: rgba(0, 128, 255, 0.1);
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-base);
}

.mobile-action-expand:active {
    background: rgba(0, 128, 255, 0.2);
    transform: scale(0.95);
}

.mobile-action-expand svg {
    transition: transform 0.3s ease;
}

.mobile-action-expand[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

/* Bottom Sheet */
.mobile-bottom-sheet {
    position: fixed;
    inset: 0;
    z-index: 1500;
    pointer-events: none;
    visibility: hidden;
    display: none;
}

.mobile-bottom-sheet.open {
    pointer-events: auto;
    visibility: visible;
}

.bottom-sheet-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
}

.mobile-bottom-sheet.open .bottom-sheet-backdrop {
    background: rgba(0, 0, 0, 0.5);
}

.bottom-sheet-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 24px 24px 0 0;
    padding: 0.5rem 1.25rem calc(1rem + env(safe-area-inset-bottom, 0px));
    max-height: 85vh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-bottom-sheet.open .bottom-sheet-content {
    transform: translateY(0);
}

.bottom-sheet-handle {
    width: 40px;
    height: 4px;
    background: var(--gray-300);
    border-radius: 2px;
    margin: 0 auto 0.75rem;
}

.bottom-sheet-header {
    text-align: center;
    margin-bottom: 0.875rem;
}

.bottom-sheet-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-green);
    margin-bottom: 0.35rem;
}

.bottom-sheet-eyebrow svg {
    stroke: var(--accent-green);
}

.bottom-sheet-header h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.25rem;
}

.bottom-sheet-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.bottom-sheet-cards {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.875rem;
}

.bottom-sheet-card {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.65rem 0.875rem;
    background: var(--bg-light);
    border-radius: var(--radius);
}

.bottom-sheet-card-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 9px;
    background: rgba(0, 128, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bottom-sheet-card-icon svg {
    stroke: var(--primary-blue);
}

.bottom-sheet-card-text h4 {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 1px;
    line-height: 1.25;
}

.bottom-sheet-card-text p {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.3;
}

/* Compact horizontal video link */
.bottom-sheet-video-placeholder {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.875rem;
    background: linear-gradient(135deg, #0a1628 0%, #0f2847 100%);
    border-radius: var(--radius);
    margin-bottom: 0.875rem;
    text-decoration: none;
    transition: transform 0.15s ease;
}

.bottom-sheet-video-placeholder:active {
    transform: scale(0.98);
}

.video-placeholder-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-placeholder-icon svg {
    stroke: rgba(255, 255, 255, 0.85);
    fill: none;
}

.video-placeholder-icon svg polygon {
    fill: rgba(255, 255, 255, 0.85);
}

.bottom-sheet-video-placeholder span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.25;
}

.bottom-sheet-video-placeholder strong {
    color: var(--accent-green);
    font-weight: 600;
}

.bottom-sheet-cta {
    width: 100%;
    justify-content: center;
    text-align: center;
}

/* ==========================================================================
   MOBILE TESTIMONIAL CAROUSEL
   ========================================================================== */

.testimonial-carousel {
    display: none;
    overflow: hidden;
}

.testimonial-carousel-track {
    display: flex;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    touch-action: pan-y pinch-zoom;
}

.testimonial-carousel .testimonial-card {
    flex: 0 0 100%;
    min-width: 100%;
    box-sizing: border-box;
    margin: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 1.5rem 0 0;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    padding: 8px;
    box-sizing: content-box;
    border-radius: 50%;
    background: var(--gray-300);
    background-clip: content-box;
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
}

.carousel-dot:hover {
    background: var(--gray-400);
}

.carousel-dot.active {
    background: var(--primary-blue);
    transform: scale(1.25);
}

/* Comparison expand button - hidden on desktop */
.comparison-expand-btn {
    display: none;
}

/* ==========================================================================
   MOBILE FEATURE STACK (Tinder-style cards)
   ========================================================================== */

.mobile-feature-stack-wrapper {
    display: none;
}

.mobile-feature-stack {
    display: none;
}

.mobile-compact-features {
    display: none;
}

/* ==========================================================================
   FLOATING TESTIMONIAL PREVIEW WIDGET
   ========================================================================== */

.testimonial-preview {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 320px;
    z-index: 1350;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.testimonial-preview.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.testimonial-preview-card {
    display: none;
    background: linear-gradient(135deg, #0a1628 0%, #0f2847 100%);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-preview-card.active {
    display: block;
    animation: testimonialFadeIn 0.4s ease;
}

.testimonial-preview-card .preview-quote {
    color: var(--accent-green);
    margin-bottom: 0.5rem;
}

.testimonial-preview-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 0.75rem 0;
}

.testimonial-preview-card p strong {
    color: var(--accent-green);
}

.testimonial-preview-card .preview-author {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.testimonial-preview-card .preview-author strong {
    color: white;
}

.testimonial-preview-link {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.testimonial-preview-link.visible {
    opacity: 1;
    pointer-events: auto;
}

.testimonial-preview-link.visible:hover {
    color: var(--accent-green);
}

/* ==========================================================================
   PRICING SECTION
   ========================================================================== */

.pricing-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
    margin-top: 2.5rem;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--border-radius);
    padding: 2rem 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

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

.pricing-card-featured {
    background: var(--gradient-hero);
    border-color: var(--accent-green);
    color: white;
    transform: scale(1.03);
    box-shadow: 0 20px 50px rgba(10, 22, 40, 0.25), 0 0 0 1px var(--accent-green) inset;
}

.pricing-card-featured:hover {
    transform: translateY(-4px) scale(1.03);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-green);
    color: var(--dark);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 14px;
    border-radius: 100px;
    box-shadow: 0 4px 14px rgba(0, 219, 79, 0.4);
}

.pricing-card-head h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.pricing-card-featured .pricing-card-head h3 {
    color: white;
}

.pricing-tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.pricing-card-featured .pricing-tagline {
    color: rgba(255, 255, 255, 0.7);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.pricing-card-featured .pricing-price {
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

.pricing-currency {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    align-self: flex-start;
    margin-top: 0.5rem;
}

.pricing-card-featured .pricing-currency {
    color: white;
}

.pricing-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    letter-spacing: -0.02em;
}

.pricing-card-featured .pricing-amount {
    color: white;
}

.pricing-amount-text {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.pricing-period {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.pricing-card-featured .pricing-period {
    color: rgba(255, 255, 255, 0.7);
}

.pricing-extra {
    flex-basis: 100%;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.4rem;
}

.pricing-card-featured .pricing-extra {
    color: rgba(255, 255, 255, 0.85);
}

.pricing-extra strong {
    color: var(--accent-green-dark);
    font-weight: 700;
}

.pricing-card-featured .pricing-extra strong {
    color: var(--accent-green);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    flex: 1;
}

.pricing-features li {
    position: relative;
    padding: 6px 0 6px 24px;
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

.pricing-card-featured .pricing-features li {
    color: rgba(255, 255, 255, 0.92);
}

.pricing-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 14px;
    height: 14px;
    background: var(--accent-green);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 10px 10px;
    background-position: center;
    background-repeat: no-repeat;
}

.pricing-features li strong {
    color: var(--text-primary);
    font-weight: 700;
}

.pricing-card-featured .pricing-features li strong {
    color: white;
}

.pricing-addons {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
    margin: 0 0 1.25rem;
    padding: 0.65rem 0.875rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    border-left: 2px solid var(--accent-green);
}

.pricing-cta {
    width: 100%;
    justify-content: center;
}

.pricing-card-featured .pricing-cta.btn-primary {
    background: var(--accent-green);
    color: var(--dark);
    box-shadow: 0 4px 14px rgba(0, 219, 79, 0.5);
}

.pricing-footnote {
    text-align: center;
    margin-top: 2.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.pricing-footnote strong {
    color: var(--text-primary);
}

/* ==========================================================================
   RESPONSIVE STYLES
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-image {
        order: 2;
        max-width: 600px;
        margin: 0 auto;
    }

    .hero p {
        margin: 0 auto 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-free-line {
        text-align: center;
        font-size: 0.8rem;
        margin-top: 1.75rem;
        padding-top: 1.75rem;
    }

    .hero-free-sub {
        padding-left: 0;
    }

    .hero-stats {
        justify-content: center;
    }

    .bento-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "left left"
            "right right";
    }

    .bento-row-inline {
        flex-direction: row;
    }

    .demo-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .demo-image {
        max-width: 600px;
        margin: 0 auto;
    }

    /* App Demo section mobile adjustments */
    .demo-content .bento-feature-list {
        text-align: left;
        max-width: 400px;
        margin: 0 auto 1.5rem;
    }

    /* Pricing: 2-up at narrow desktop, featured tier loses scale lift */
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-card-featured {
        transform: none;
    }

    .pricing-card-featured:hover {
        transform: translateY(-4px);
    }
}

@media (max-width: 900px) {
    .demo-info-panel-content {
        grid-template-columns: 1fr;
        padding: 3rem 6%;
        gap: 2rem;
    }

    .demo-info-cards {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .demo-info-card {
        flex: 1 1 calc(50% - 0.5rem);
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    /* Hide demo overlay entirely on mobile — buttons just link directly */
    .demo-info-panel {
        display: none !important;
    }

    .hero.demo-active .hero-badge,
    .hero.demo-active .hero-content > h1,
    .hero.demo-active .hero-content > p,
    .hero.demo-active .hero-stats,
    .hero.demo-active .hero-image,
    .hero.demo-active .btn-secondary {
        opacity: 1 !important;
        pointer-events: auto;
    }

    .hero.demo-active .demo-btn-wrapper .btn {
        background: var(--accent-green) !important;
        color: #000 !important;
        border-color: var(--accent-green) !important;
        box-shadow: none;
        transform: none;
    }

    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero-image {
        display: none;
    }

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

    .hero-arcs {
        opacity: 0.3;
        top: -20%;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    /* Hide desktop bento grid, show mobile stack */
    .bento-grid {
        display: none;
    }

    .bento-row-inline {
        flex-direction: column;
    }

    /* Mobile feature sections (vertical stack with bento card styling) */
    .mobile-feature-stack-wrapper {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding-top: 1rem;
        /* leave space at bottom so the bottom nav doesn't cover the last card */
        padding-bottom: 80px;
    }

    .mobile-feature-section {
        background: linear-gradient(165deg, #0f2847 0%, #1a3a5c 50%, #0f2847 100%);
        border-radius: 20px;
        padding: 1.5rem;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
        border: 1px solid rgba(255, 255, 255, 0.1);
        scroll-margin-top: 96px; /* offset for sticky header when scroll-spying */
    }

    .mobile-feature-section .bento-card-icon {
        margin-bottom: 1rem;
    }

    .mobile-feature-section h3 {
        font-size: 1.35rem;
        margin-bottom: 0.5rem;
        color: white;
        font-weight: 600;
    }

    .mobile-feature-section p {
        font-size: 0.95rem;
        color: rgba(255, 255, 255, 0.78);
        margin-bottom: 1rem;
        line-height: 1.5;
    }

    .mobile-feature-section .bento-feature-list {
        font-size: 0.9rem;
    }

    .mobile-feature-section .bento-feature-list li {
        margin-bottom: 0.5rem;
        color: rgba(255, 255, 255, 0.95);
    }

    /* Bottom scroll-spy nav (4 icon buttons, hides on scroll-down) */
    .mobile-feature-nav {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 12px;
        /* Sits above the Schedule Demo bar (z-index 1400) so transitions never show
           the demo bar peeking above the card menu. */
        z-index: 1410;
        display: flex;
        justify-content: space-around;
        align-items: stretch;
        gap: 4px;
        padding: 6px;
        background: rgba(15, 40, 71, 0.92);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 18px;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
        opacity: 0;
        transform: translateY(20px);
        pointer-events: none;
        transition: opacity 0.25s ease, transform 0.25s ease;
    }

    .mobile-feature-nav.visible {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .mobile-feature-nav-btn {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        padding: 8px 4px;
        border-radius: 12px;
        color: rgba(255, 255, 255, 0.65);
        font-size: 0.68rem;
        font-weight: 600;
        letter-spacing: 0.01em;
        text-decoration: none;
        transition: color 0.2s ease, background 0.2s ease;
        min-height: 48px;
    }

    .mobile-feature-nav-btn svg {
        width: 22px;
        height: 22px;
    }

    .mobile-feature-nav-btn span {
        display: block;
    }

    .mobile-feature-nav-btn.active {
        color: var(--accent-green);
        background: rgba(0, 219, 79, 0.12);
    }

    .mobile-feature-nav-btn:active {
        background: rgba(255, 255, 255, 0.08);
    }

    /* While in the features section, hide the Schedule Demo bar so the feature nav is the only bottom UI.
       Snap it off-screen instantly (no transition) so users never see a stacked intermediate state. */
    body.feature-nav-visible .mobile-action-bar {
        transform: translateY(120%) !important;
        opacity: 0;
        pointer-events: none;
        transition: none;
    }

    /* Compact features - full-width rows below the card stack */
    .mobile-compact-features {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1.5rem;
    }

    .mobile-compact-card {
        background: white;
        border-radius: 16px;
        padding: 1.25rem;
        border: 1px solid rgba(0, 0, 0, 0.06);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        display: flex;
        align-items: flex-start;
        gap: 1rem;
    }

    .mobile-compact-card .bento-card-icon {
        width: 44px;
        height: 44px;
        flex-shrink: 0;
        margin-bottom: 0;
        background: rgba(0, 128, 255, 0.1);
        border: 1px solid rgba(0, 128, 255, 0.2);
    }

    .mobile-compact-card .bento-card-icon svg {
        width: 22px;
        height: 22px;
        color: var(--primary-blue);
        stroke: var(--primary-blue);
    }

    .mobile-compact-card-content {
        flex: 1;
    }

    .mobile-compact-card h3 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
        color: var(--dark);
    }

    .mobile-compact-card p {
        font-size: 0.85rem;
        color: var(--text-secondary);
        margin: 0;
        line-height: 1.4;
        overflow: hidden;
    }

    .mobile-compact-card .bento-feature-list,
    .mobile-compact-card .bento-card-image {
        display: none;
    }

    .testimonial-grid {
        display: none;
    }

    .testimonial-carousel {
        display: block;
    }

    .mobile-action-bar {
        display: block;
    }

    .mobile-bottom-sheet {
        display: block;
    }

    .testimonial-preview {
        display: none;
    }

    .comparison::before {
        background-size: 40px 40px;
    }

    .comparison-table-header {
        position: sticky;
        top: 60px;
        z-index: 10;
        grid-template-columns: 1.2fr 1fr 1fr;
        padding: 1rem 0;
        font-size: 0.8rem;
        background: rgba(10, 22, 40, 0.98);
        backdrop-filter: blur(10px);
    }

    .comparison-row {
        grid-template-columns: 1.2fr 1fr 1fr;
        padding: 0.75rem 0;
        font-size: 0.85rem;
    }

    .comparison-row::before,
    .comparison-row::after {
        display: none;
    }

    .comparison-safe,
    .comparison-fieldbase {
        font-size: 0.75rem;
        padding: 0.4rem 0.5rem;
    }

    .comparison-section-title {
        font-size: 0.65rem;
        padding: 1rem 0 0.5rem;
    }

    .comparison-feature {
        font-size: 0.85rem;
    }

    .comparison-toggle {
        margin-bottom: 1.5rem;
    }

    .comparison-toggle-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    /* Comparison collapse on mobile */
    .comparison-row:not([data-key="true"]) {
        display: none;
    }

    .comparison-section-hidden {
        display: none;
    }

    .comparison-table-wrapper.expanded .comparison-row:not([data-key="true"]) {
        display: grid;
    }

    .comparison-table-wrapper.expanded .comparison-section-hidden {
        display: block;
    }

    .comparison-expand-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        padding: 1rem;
        margin-top: 1rem;
        background: rgba(0, 128, 255, 0.1);
        border: 1px solid rgba(0, 128, 255, 0.3);
        border-radius: var(--radius);
        color: var(--primary-blue);
        font-size: 0.9rem;
        font-weight: 600;
        cursor: pointer;
        transition: var(--transition-base);
    }

    .comparison-expand-btn:active {
        background: rgba(0, 128, 255, 0.2);
    }

    .comparison-expand-btn svg {
        transition: transform 0.3s ease;
    }

    .comparison-expand-btn[aria-expanded="true"] svg {
        transform: rotate(180deg);
    }

    /* App Demo Section - Mobile Cleanup */
    .app-demo {
        padding: 4rem 0;
    }

    .app-demo .demo-content {
        text-align: left;
    }

    .app-demo .section-header {
        text-align: left;
        margin-bottom: 1.5rem;
    }

    .app-demo .section-header h2 {
        font-size: 1.75rem;
    }

    .app-demo .demo-content h3 {
        font-size: 1.25rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .app-demo .demo-content p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.25rem;
    }

    .app-demo .demo-content .bento-feature-list {
        text-align: left;
        max-width: none;
        margin: 0 0 1.5rem 0;
    }

    .app-demo .demo-content .bento-feature-list li {
        font-size: 0.9rem;
        padding: 6px 0;
        padding-left: 26px;
    }

    .app-demo .demo-image {
        margin-top: 2rem;
    }

    .app-demo .demo-image img,
    .app-demo .demo-image video {
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-stat-value {
        font-size: 2rem;
    }

    .comparison-section-title {
        font-size: 0.7rem;
        padding: 0.5rem 1rem;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .hero-arcs svg,
    .hero-image-wrapper {
        animation: none;
    }
}
