/* ========================================
   MonAi Landing Page Styles
   ======================================== */

/* CSS Variables / Design System */
:root {
    /* Colors */
    --color-primary: #F05B53;
    --color-primary-light: #FF7161;
    --color-primary-dark: #D94A42;
    --color-dark: #363636;
    --color-body: rgba(0, 0, 0, 0.9);
    --color-muted: rgba(0, 0, 0, 0.6);
    --color-light: rgba(0, 0, 0, 0.4);
    --color-bg: #FFFFFF;
    --color-bg-alt: #F3F3F3;
    --color-accent-green: #E1F295;
    --color-accent-blue: #CBE7FF;
    --color-accent-orange: #FCCC8E;
    --gradient-primary: linear-gradient(135deg, #FFAD61 0%, #FF7161 100%);

    /* Typography */
    --font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3.5rem;

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

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;

    /* Layout */
    --container-max: 1200px;
    --nav-height: 72px;
}

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

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

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

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

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

ul, ol {
    list-style: none;
}

/* Screen reader only - visually hidden but accessible */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ========================================
   Navigation
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(0px);
    transition: background var(--transition-base), backdrop-filter var(--transition-base), box-shadow var(--transition-base);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-dark);
    letter-spacing: -0.02em;
}

.nav-logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    gap: var(--spacing-xl);
}

.nav-link {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-muted);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-dark);
}

.nav-link:hover::after {
    width: 100%;
}

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

.lang-toggle {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-muted);
    border-radius: var(--radius-full);
    border: 1px solid transparent;
    transition: all var(--transition-fast);
}

.lang-toggle:hover {
    background: var(--color-bg-alt);
    border-color: rgba(0, 0, 0, 0.1);
}

.nav-download-btn {
    display: none;
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--color-dark);
    color: var(--color-bg);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    transition: all var(--transition-fast);
}

.nav-download-btn:hover {
    background: #000;
    transform: translateY(-1px);
}

@media (min-width: 769px) {
    .nav-download-btn {
        display: inline-flex;
    }
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--spacing-sm);
}

.nav-hamburger span {
    width: 24px;
    height: 2px;
    background: var(--color-dark);
    transition: all var(--transition-fast);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--color-bg);
    padding: var(--spacing-xl) var(--spacing-lg);
    display: none;
    flex-direction: column;
    gap: var(--spacing-lg);
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    z-index: 999;
}

.mobile-menu.active {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu-link {
    font-size: var(--font-size-lg);
    font-weight: 500;
    color: var(--color-dark);
    padding: var(--spacing-sm) 0;
}

.mobile-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md) var(--spacing-xl);
    background: var(--color-dark);
    color: var(--color-bg);
    border-radius: var(--radius-full);
    font-size: var(--font-size-base);
    font-weight: 600;
    margin-top: var(--spacing-sm);
    transition: all var(--transition-fast);
}

.mobile-download-btn:hover {
    background: #000;
}

.mobile-lang-toggle {
    display: flex;
    gap: var(--spacing-sm);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--color-bg-alt);
}

.lang-btn {
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-muted);
    border-radius: var(--radius-full);
    border: 1px solid var(--color-bg-alt);
    transition: all var(--transition-fast);
}

.lang-btn.active {
    background: var(--color-dark);
    color: var(--color-bg);
    border-color: var(--color-dark);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    padding-top: calc(var(--nav-height) + var(--spacing-4xl));
    padding-bottom: var(--spacing-4xl);
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--color-bg);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

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

.hero-title {
    font-size: 3.75rem;
    font-weight: 900;
    line-height: 1.08;
    color: var(--color-dark);
    letter-spacing: -0.03em;
    margin-bottom: var(--spacing-lg);
}

/* Gradient text utility - uses primary gradient colors */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Muted/lighter word styling for hero title - apply to .hero-title-muted span */
.hero-title-muted {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-muted);
    margin-bottom: var(--spacing-2xl);
    max-width: 500px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

/* Store Buttons */
.store-button {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--color-dark);
    color: var(--color-bg);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.store-button:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.store-button-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.store-button-small {
    font-size: var(--font-size-xs);
    opacity: 0.8;
}

.store-button-large {
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.store-button--large {
    padding: var(--spacing-md) var(--spacing-xl);
}

.store-button--large .store-button-large {
    font-size: var(--font-size-base);
}

/* Store Badge Buttons (official badges) */
.store-badge {
    display: inline-block;
    transition: all var(--transition-fast);
}

.store-badge:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}

.store-badge img {
    height: 40px;
    width: auto;
    display: block;
}

.store-badge--large img {
    height: 50px;
}

/* Hero Phone */
.hero-phone {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
}

.hero-phone-img {
    max-width: 600px;
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform var(--transition-slow);
}

.hero-phone-img:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

/* ========================================
   Transformation Section
   ======================================== */
.transformation {
    padding: var(--spacing-4xl) 0;
    background: var(--color-bg-alt);
}

.transformation-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--spacing-xl);
}

.transformation-step {
    flex: 1;
    max-width: 320px;
    text-align: center;
    padding: var(--spacing-xl);
}

.step-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.step-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: var(--spacing-sm);
}

.step-description {
    font-size: var(--font-size-sm);
    color: var(--color-muted);
    line-height: 1.7;
}

.transformation-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-bg-alt) 0%, var(--color-muted) 50%, var(--color-bg-alt) 100%);
    margin-top: 80px;
    opacity: 0.3;
}

/* Step Visual Containers */
.step-visual {
    width: 100%;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
}

/* ========================================
   Notification Snackbar Animation
   ======================================== */
.step-visual--notification {
    position: relative;
    overflow: visible;
}

.notification-snackbar {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 8px;
    background: var(--color-bg);
    border-radius: var(--radius-full);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.04);
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}

.notification-snackbar.visible {
    transform: translateY(0);
    opacity: 1;
}

.notification-snackbar.exit {
    transform: translateY(-20px);
    opacity: 0;
    transition: transform 0.3s ease-in, opacity 0.25s ease-in;
}

.notification-emoji {
    width: 32px;
    height: 32px;
    background: var(--color-accent-green);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.notification-category {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--color-dark);
}

.notification-amount {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--color-dark);
    background: #f0f0f0;
    padding: 2px 10px;
    border-radius: 100px;
}

/* ========================================
   Calendar Habit Animation
   ======================================== */
.step-visual--calendar {
    position: relative;
}

.habit-calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    width: 180px;
}

.calendar-day {
    width: 22px;
    height: 22px;
    background: var(--color-bg);
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.calendar-day.checked {
    background: var(--color-accent-green);
}

.calendar-day.checked::after {
    content: '';
    width: 10px;
    height: 6px;
    border-left: 2px solid var(--color-dark);
    border-bottom: 2px solid var(--color-dark);
    transform: rotate(-45deg) scale(0);
    animation: checkmarkAppear 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    margin-top: -2px;
}

@keyframes checkmarkAppear {
    0% {
        transform: rotate(-45deg) scale(0);
        opacity: 0;
    }
    100% {
        transform: rotate(-45deg) scale(1);
        opacity: 1;
    }
}

.calendar-day.checking {
    animation: dayPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes dayPop {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* ========================================
   Budget Bars Animation - Simplified
   ======================================== */
.step-visual--budget {
    position: relative;
    align-items: flex-end;
    padding-bottom: 10px;
}

.budget-bars {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 160px;
}

.budget-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Container holds the full bar height */
.bar-container {
    width: 82px;
    position: relative;
    border-radius: 20px;
    transition: height 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: visible;
}

/* Hidden - no longer used */
.bar-budget-border {
    display: none;
}

/* Bar fill - light gray background */
.bar-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 20px;
    overflow: hidden;
    transition: height 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: #FFFFFF;
}

/* Content inside the fill (emoji, amount) - positioned at bottom */
.bar-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 12px 6px;
    height: 100%;
    box-sizing: border-box;
}

.bar-emoji {
    font-size: 20px;
    line-height: 1;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.bar-amount {
    margin-top: 4px;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-dark);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Hidden - no longer used */
.bar-percentage {
    display: none;
}

/* Keep emoji and amount size consistent regardless of bar height */

/* Hidden - no longer used */
.bar-budget-line {
    display: none;
}

/* ========================================
   Features Section
   ======================================== */
.features {
    padding: var(--spacing-4xl) 0;
    background: var(--color-bg-alt);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-4xl);
}

.section-label {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--color-bg);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-muted);
    margin-bottom: var(--spacing-lg);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--color-dark);
    letter-spacing: -0.02em;
}

/* Muted portion of section titles - gradient styling */
.section-title-muted {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-muted);
    max-width: 600px;
    margin: var(--spacing-md) auto 0;
    line-height: 1.7;
}

/* Feature Cards */
.feature-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    padding: var(--spacing-3xl) var(--spacing-3xl);
    margin-bottom: var(--spacing-xl);
    background: var(--color-bg);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.02),
        0 4px 8px rgba(0, 0, 0, 0.02);
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.feature-card:hover {
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.04),
        0 8px 24px rgba(0, 0, 0, 0.06);
}

.feature-card--reverse {
    direction: rtl;
}

.feature-card--reverse > * {
    direction: ltr;
}

.feature-content {
    max-width: 480px;
}

.feature-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.feature-title-muted {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-md);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-dark);
    transition: all var(--transition-fast);
}

.feature-link:hover {
    gap: var(--spacing-sm);
    color: #FF7161;
}

.feature-link svg {
    transition: transform var(--transition-fast);
}

.feature-link:hover svg {
    transform: translateX(4px);
}

.feature-description {
    font-size: var(--font-size-base);
    color: var(--color-muted);
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-sm);
    color: var(--color-body);
}

.feature-list li::before {
    content: '';
    width: 20px;
    height: 20px;
    background: transparent;
    border: 1.5px solid var(--color-muted);
    border-radius: var(--radius-full);
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23666666'%3E%3Cpath d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
}

/* Feature card CTA button */
.feature-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--color-dark);
    color: var(--color-bg);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.feature-cta:hover {
    background: #000;
    transform: translateY(-1px);
}

/* Feature Tabs (Segmented Control) */
.feature-tabs {
    display: inline-flex;
    background: var(--color-bg-alt);
    border-radius: var(--radius-full);
    padding: 4px;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.feature-tabs-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    height: calc(100% - 8px);
    background: var(--color-bg);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
    pointer-events: none;
}

.feature-tab-btn {
    padding: var(--spacing-sm) var(--spacing-xl);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-muted);
    border-radius: var(--radius-full);
    transition: color var(--transition-fast);
    background: transparent;
    position: relative;
    z-index: 1;
}

.feature-tab-btn:hover {
    color: var(--color-dark);
}

.feature-tab-btn.active {
    color: var(--color-dark);
}

.feature-tab-content {
    display: none;
}

.feature-tab-content.active {
    display: block;
    animation: fadeInContent 0.3s ease;
}

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

.feature-phone {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.feature-phone img {
    max-width: 260px;
    border-radius: 24px;
    box-shadow:
        0 20px 40px -10px rgba(0, 0, 0, 0.15),
        0 10px 20px -10px rgba(0, 0, 0, 0.1);
}

/* Hero-style feature phone (no shadow/radius, larger) */
.feature-phone--hero-style img {
    max-width: 500px;
    border-radius: 0;
    box-shadow: none;
}

/* Stacked phone images for tab switching */
#inputModePhone {
    position: relative;
}

#inputModePhone .feature-phone-picture {
    display: none;
}

#inputModePhone .feature-phone-picture.active {
    display: block;
}

#inputModePhone .feature-phone-picture img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 500px;
}

/* Chat Demo Feature Card — give chat side more room */
.feature-card:has(.feature-phone--chat) {
    grid-template-columns: 2fr 3fr;
}

/* Chat Demo Feature Phone */
.feature-phone--chat {
    width: 100%;
    max-width: 100%;
}

.chat-demo {
    padding: var(--spacing-md) 0;
    width: 100%;
}

.chat-demo-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    width: 100%;
}

.chat-messages {
    min-height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.chat-message {
    display: flex;
    justify-content: flex-end;
    opacity: 0;
    transform: translateY(10px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.chat-message.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.chat-message.sending {
    animation: messageSend 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes messageSend {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateY(-5px) scale(1.02);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
    }
}

.chat-message--sent {
    justify-content: flex-end;
}

.chat-message-text {
    display: inline-block;
    background: var(--color-dark);
    color: white;
    padding: 12px 18px;
    border-radius: 20px 20px 6px 20px;
    font-size: var(--font-size-sm);
    font-weight: 500;
    line-height: 1.4;
    max-width: 85%;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.chat-message-text:empty::after {
    content: '\00a0';
}

.chat-input-wrapper {
    position: relative;
}

.chat-input-container {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #F3F3F3;
    border-radius: 28px;
    padding: 6px 6px 6px 20px;
    width: 100%;
}

.chat-input {
    flex: 1;
    border: none;
    outline: none;
    font-family: var(--font-family);
    font-size: 14px;
    color: var(--color-dark);
    background: transparent;
    padding: 10px 0;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-input::placeholder {
    color: var(--color-light);
}

.chat-input.typing {
    caret-color: var(--color-primary);
}

.chat-send-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 12px rgba(240, 91, 83, 0.3);
}

.chat-send-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(240, 91, 83, 0.4);
}

.chat-send-btn.pulse {
    animation: sendPulse 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes sendPulse {
    0% {
        transform: scale(1);
    }
    30% {
        transform: scale(0.9);
    }
    60% {
        transform: scale(1.15);
        box-shadow: 0 8px 24px rgba(240, 91, 83, 0.5);
    }
    100% {
        transform: scale(1);
    }
}

.chat-send-btn svg {
    transition: transform 0.3s ease;
}

/* Typing cursor animation */
.chat-input.has-cursor::after {
    content: '|';
    animation: cursorBlink 1s infinite;
    color: var(--color-primary);
    font-weight: 300;
}

@keyframes cursorBlink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* Suggestion pill animation */
.chat-suggestion {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 0;
    right: 0;
    display: flex;
    gap: var(--spacing-xs);
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.3s ease;
}

.chat-suggestion.visible {
    opacity: 1;
    transform: translateY(0);
}

.chat-suggestion-pill {
    padding: 6px 12px;
    background: white;
    border-radius: 16px;
    font-size: var(--font-size-xs);
    color: var(--color-muted);
    border: 1px solid rgba(0, 0, 0, 0.06);
    white-space: nowrap;
}

@media (max-width: 768px) {
    .chat-demo {
        padding: var(--spacing-md) 0;
    }

    .chat-message-text {
        font-size: 13px;
        padding: 10px 14px;
    }

    .chat-input {
        font-size: 13px;
    }

    .chat-send-btn {
        width: 36px;
        height: 36px;
    }

    .chat-send-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* ========================================
   Shortcuts Section
   ======================================== */
.shortcuts {
    padding: var(--spacing-4xl) 0;
    background: var(--color-bg);
}

.shortcuts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.shortcut-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: var(--color-bg);
    padding: var(--spacing-xl);
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all var(--transition-base);
}

.shortcut-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 10px 30px -10px rgba(0, 0, 0, 0.1),
        0 4px 10px -4px rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.08);
}

.shortcut-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-alt);
    border-radius: 12px;
    color: var(--color-dark);
    margin-bottom: var(--spacing-md);
}

.shortcut-title {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: var(--spacing-xs);
}

.shortcut-description {
    font-size: var(--font-size-sm);
    color: var(--color-muted);
    line-height: 1.6;
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials {
    padding: var(--spacing-4xl) 0;
    background: var(--color-bg-alt);
    overflow: hidden;
}

.testimonials .section-header {
    margin-bottom: var(--spacing-xl);
}

/* Rating Badge */
.rating-badge {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: var(--spacing-lg);
    text-align: center;
    margin-bottom: var(--spacing-3xl);
    padding: var(--spacing-xl) 0;
}

.rating-badge-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.rating-laurel {
    width: auto;
    height: 100%;
    min-height: 100px;
    color: #FFB800;
    flex-shrink: 0;
    align-self: stretch;
}

.rating-laurel--right {
    transform: scaleX(-1);
}

.rating-score {
    font-size: 4rem;
    font-weight: 900;
    color: var(--color-dark);
    line-height: 1;
    letter-spacing: -0.02em;
}

.rating-stars {
    display: flex;
    gap: 4px;
}

.rating-star {
    color: #FFB800;
    font-size: 28px;
    line-height: 1;
}

.rating-star--partial {
    position: relative;
    color: #D1D1D1;
}

.rating-star--partial::before {
    content: '\2605';
    position: absolute;
    left: 0;
    top: 0;
    width: 80%;
    overflow: hidden;
    color: #FFB800;
}

.rating-text {
    font-size: var(--font-size-base);
    color: var(--color-muted);
    line-height: 1.4;
    max-width: 280px;
}

.rating-text strong {
    color: var(--color-dark);
    font-weight: 700;
}

@media (max-width: 768px) {
    .rating-score {
        font-size: 3rem;
    }

    .rating-star {
        font-size: 24px;
    }

    .rating-text {
        font-size: var(--font-size-sm);
        max-width: 280px;
    }

    .rating-laurel {
        min-height: 80px;
    }

    .rating-badge {
        gap: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .rating-badge {
        padding: var(--spacing-md) 0;
    }

    .rating-score {
        font-size: 2.5rem;
    }

    .rating-star {
        font-size: 20px;
    }

    .rating-stars {
        gap: 2px;
    }

    .rating-text {
        font-size: var(--font-size-xs);
        max-width: 240px;
    }

    .rating-laurel {
        min-height: 70px;
    }

    .rating-badge {
        gap: var(--spacing-sm);
    }
}

/* Wrapper with fade effect */
.testimonials-wrapper {
    position: relative;
    max-height: 720px;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonials-wrapper.expanded {
    max-height: 8000px;
}

/* Fade overlay at bottom */
.testimonials-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 220px;
    background: linear-gradient(to bottom,
        rgba(243, 243, 243, 0) 0%,
        rgba(243, 243, 243, 0.1) 25%,
        rgba(243, 243, 243, 0.4) 50%,
        rgba(243, 243, 243, 0.8) 75%,
        rgba(243, 243, 243, 1) 100%);
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.testimonials-wrapper.expanded .testimonials-fade {
    opacity: 0;
}

/* Masonry layout using CSS columns */
.testimonials-grid {
    column-count: 3;
    column-gap: var(--spacing-lg);
}

/* Individual testimonial cards */
.testimonial-card {
    background: var(--color-bg);
    padding: var(--spacing-xl);
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all var(--transition-base);
    break-inside: avoid;
    margin-bottom: var(--spacing-lg);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.1);
}

/* Star rating */
.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: var(--spacing-md);
}

.testimonial-stars .star {
    color: #FFB800;
    font-size: 16px;
    line-height: 1;
}

.testimonial-stars .star.filled-half {
    background: linear-gradient(90deg, #FFB800 50%, #D1D1D1 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testimonial-stars .star.star-empty {
    color: #D1D1D1;
}

/* Testimonial title */
.testimonial-title {
    font-size: var(--font-size-base);
    font-weight: 700;
    color: var(--color-dark);
    margin: 0 0 var(--spacing-sm) 0;
    line-height: 1.3;
}

/* Testimonial text */
.testimonial-text {
    font-size: var(--font-size-base);
    font-weight: 500;
    color: var(--color-dark);
    line-height: 1.6;
    margin: 0 0 var(--spacing-sm) 0;
    font-style: normal;
}

/* Author info */
.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-style: normal;
}

.testimonial-author .author-name {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--color-muted);
}

.testimonial-author .author-location {
    font-size: var(--font-size-xs);
    font-weight: 400;
    color: var(--color-muted);
}

/* Toggle button */
.testimonials-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin: var(--spacing-2xl) auto 0;
    padding: var(--spacing-md) var(--spacing-2xl);
    background: var(--color-bg);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-dark);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.testimonials-toggle:hover {
    background: var(--color-dark);
    color: var(--color-bg);
    border-color: var(--color-dark);
}

.testimonials-toggle svg {
    transition: transform 0.3s ease;
}

.testimonials-toggle.expanded svg {
    transform: rotate(180deg);
}

/* Responsive testimonials */
@media (max-width: 1024px) {
    .testimonials-grid {
        column-count: 2;
    }

    .testimonials-wrapper {
        max-height: 780px;
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        column-count: 1;
    }

    .testimonials-wrapper {
        max-height: 720px;
    }

    .testimonial-card {
        padding: var(--spacing-lg);
    }
}

/* ========================================
   About Section
   ======================================== */
.about {
    padding: var(--spacing-4xl) 0;
    background: var(--color-bg);
    text-align: center;
}

.about .section-header {
    margin-bottom: var(--spacing-xl);
}

.about-photo-container {
    width: 340px;
    height: 340px;
    margin: 0 auto var(--spacing-2xl);
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
}

.about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.about-photo.zoomed {
    transform: scale(1.7);
}

.about-description {
    max-width: 680px;
    margin: 0 auto;
    font-size: var(--font-size-lg);
    color: var(--color-muted);
    line-height: 2.7;
}

.about-chip {
    display: inline-block;
    padding: 0.35em 0.75em;
    border: 1.5px solid rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-full);
    font-weight: 700;
    color: var(--color-dark);
    cursor: pointer;
    transition: all var(--transition-fast);
    vertical-align: baseline;
    line-height: normal;
    user-select: none;
    -webkit-user-select: none;
}

.about-description .emoji {
    color: #000;
}

.about-chip:hover,
.about-chip.active {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
}

/* Responsive about */
@media (max-width: 768px) {
    .about-photo-container {
        width: 280px;
        height: 280px;
    }

    .about-description {
        font-size: var(--font-size-base);
        padding: 0 var(--spacing-md);
    }
}

/* ========================================
   CTA Section
   ======================================== */
.cta {
    padding: var(--spacing-4xl) 0;
    background: var(--color-bg-alt);
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* Muted text in CTA title - gradient styling */
.cta-title-muted {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-muted);
    margin-bottom: var(--spacing-2xl);
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: var(--spacing-4xl) 0 var(--spacing-xl);
    background: var(--color-bg-alt);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-3xl);
    margin-bottom: var(--spacing-3xl);
}

.footer-logo {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-dark);
    display: inline-block;
    margin-bottom: var(--spacing-sm);
}

.footer-tagline {
    font-size: var(--font-size-sm);
    color: var(--color-muted);
    max-width: 240px;
}

.footer-heading {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

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

.footer-links a:hover {
    color: var(--color-dark);
}

.footer-stores {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-store-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
    border-radius: var(--radius-md);
    color: var(--color-dark);
    transition: all var(--transition-fast);
}

.footer-store-link:hover {
    background: var(--color-dark);
    color: var(--color-bg);
}

.footer-bottom {
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.footer-bottom p {
    font-size: var(--font-size-sm);
    color: var(--color-muted);
}

/* ========================================
   Animations
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
}

/* ========================================
   GSAP Fallbacks - Ensure visibility without JS
   ======================================== */
/* Default state: all elements visible for no-JS or failed-JS scenarios */
.store-button,
.store-badge,
.shortcut-card,
.hero-title,
.hero-subtitle,
.hero-content,
.hero-buttons,
.feature-card,
.feature-content,
.feature-phone,
.nav,
.hero-phone,
.transformation-step,
.step-visual,
.section-header,
.section-title,
.section-subtitle {
    opacity: 1;
    visibility: visible;
}

/* When GSAP is active, allow it to control animations */
.gsap-active .store-button,
.gsap-active .store-badge,
.gsap-active .shortcut-card,
.gsap-active .hero-title,
.gsap-active .hero-subtitle,
.gsap-active .hero-content,
.gsap-active .hero-buttons,
.gsap-active .feature-card,
.gsap-active .feature-content,
.gsap-active .feature-phone,
.gsap-active .nav,
.gsap-active .hero-phone,
.gsap-active .transformation-step,
.gsap-active .step-visual,
.gsap-active .section-header,
.gsap-active .section-title,
.gsap-active .section-subtitle {
    /* Allow GSAP to animate these properties */
}

/* ========================================
   IFRAME / EMBEDDED CONTEXT FALLBACK
   Force visibility when animations fail to trigger
   This uses !important to override GSAP inline styles
   ======================================== */
/* Target elements that may have GSAP inline styles with opacity: 0 */
.hero-title[style*="opacity"],
.hero-subtitle[style*="opacity"],
.hero-content[style*="opacity"],
.hero-buttons[style*="opacity"],
.hero .store-button[style*="opacity"],
.hero .store-badge[style*="opacity"],
.hero-phone[style*="opacity"],
.hero-phone-img[style*="opacity"] {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    :root {
        --font-size-5xl: 2.75rem;
        --font-size-4xl: 2rem;
        --font-size-3xl: 1.75rem;
    }

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

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

    .hero-content {
        max-width: 100%;
        order: 2;
        margin-top: var(--spacing-2xl);
    }

    .hero-subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

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

    .hero-phone {
        order: 1;
    }

    .hero-phone-img {
        transform: none;
        max-width: 400px;
    }

    .feature-card {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
        overflow: hidden;
        max-width: 100%;
    }

    .feature-card--reverse {
        direction: ltr;
    }

    .feature-content {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center;
        order: 1;
        box-sizing: border-box;
        overflow: hidden;
    }

    .feature-content * {
        max-width: 100%;
        box-sizing: border-box;
    }

    .feature-tab-content {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .feature-title,
    .feature-description {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .feature-phone {
        order: 2;
    }

    .feature-phone img,
    .feature-phone--hero-style img {
        max-width: 100%;
    }

    .feature-tabs {
        justify-content: center;
    }

    .feature-list {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        box-sizing: border-box;
    }

    .feature-list li {
        justify-content: center;
        text-align: center;
        max-width: 100%;
    }

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

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

@media (max-width: 768px) {
    :root {
        --font-size-5xl: 2.25rem;
        --font-size-4xl: 1.75rem;
        --font-size-3xl: 1.5rem;
        --spacing-4xl: 4rem;
    }

    /* ========================================
       FORCE HERO CONTENT VISIBILITY ON MOBILE
       Override GSAP inline styles that may set opacity: 0
       ======================================== */
    .hero-title,
    .hero-subtitle,
    .hero-content,
    .hero-buttons,
    .store-button,
    .store-badge,
    .hero-phone,
    .hero-phone-img {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    /* Navigation - Mobile */
    .nav-links {
        display: none !important;
    }

    .nav-hamburger {
        display: flex !important;
    }

    /* Hero Section - Single Column Layout */
    .hero-container {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: var(--spacing-2xl);
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        order: 2;
        margin-top: var(--spacing-xl);
    }

    .hero-subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

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

    .hero-phone {
        order: 1;
    }

    .hero-phone-img {
        transform: none;
        max-width: 350px;
        margin: 0 auto;
    }

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

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

    .transformation-steps {
        flex-direction: column;
        align-items: center;
    }

    .transformation-connector {
        width: 2px;
        height: 40px;
        margin: 0;
        background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-muted) 50%, var(--color-bg-alt) 100%);
    }

    .step-visual {
        height: 120px;
    }

    .habit-calendar {
        width: 160px;
        gap: 5px;
    }

    .calendar-day {
        width: 18px;
        height: 18px;
    }

    .budget-bars {
        gap: 8px;
        height: 120px;
    }

    .bar-container {
        width: 60px;
        border-radius: 16px;
    }

    .bar-fill {
        overflow: visible;
    }

    .step-visual--budget {
        overflow: visible;
    }

    .bar-fill {
        border-radius: 16px;
    }

    .bar-budget-border,
    .bar-budget-line {
        border-radius: 16px;
    }

    .bar-content {
        padding: 10px 6px;
    }

    .bar-emoji {
        font-size: 16px;
    }

    .bar-amount {
        font-size: 12px;
    }

    .bar-percentage {
        font-size: 10px;
    }

    .notification-snackbar {
        padding: 10px 16px;
    }

    .notification-emoji {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .testimonials-phones {
        display: none;
    }

    .shortcuts-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: var(--spacing-sm) !important;
    }

    .shortcut-card {
        padding: var(--spacing-md) !important;
    }

    .shortcut-title {
        font-size: var(--font-size-sm) !important;
    }

    .shortcut-description {
        font-size: var(--font-size-xs) !important;
    }

    .shortcut-icon {
        width: 36px !important;
        height: 36px !important;
        margin-bottom: var(--spacing-sm) !important;
    }

    .shortcut-icon svg {
        width: 18px !important;
        height: 18px !important;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }

    .footer-tagline {
        max-width: 100%;
    }

    .footer-stores {
        justify-content: center;
    }

    /* Feature Cards - Single Column Layout */
    .feature-card {
        grid-template-columns: 1fr !important;
        gap: var(--spacing-2xl);
        overflow: hidden !important;
        max-width: 100% !important;
        padding: var(--spacing-xl) !important;
    }

    .feature-card--reverse {
        direction: ltr;
    }

    .feature-content {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center;
        order: 1;
        box-sizing: border-box;
        overflow: hidden;
        transform: none !important;
    }

    .feature-content * {
        max-width: 100% !important;
        box-sizing: border-box;
        transform: none !important;
    }

    .feature-tab-content {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .feature-title,
    .feature-description {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto;
    }

    .feature-phone {
        order: 2;
    }

    .feature-phone img,
    .feature-phone--hero-style img {
        max-width: 100% !important;
    }

    .feature-tabs {
        justify-content: center;
    }

    .feature-list {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100% !important;
        box-sizing: border-box;
    }

    .feature-list li {
        justify-content: center;
        text-align: center;
        max-width: 100%;
        font-weight: 700;
    }

    .feature-list li::before {
        display: none;
    }
}

@media (max-width: 480px) {
    :root {
        --font-size-5xl: 1.875rem;
        --font-size-4xl: 1.5rem;
        --spacing-lg: 1rem;
    }

    /* ========================================
       FORCE HERO CONTENT VISIBILITY ON SMALL MOBILE
       Override GSAP inline styles that may set opacity: 0
       ======================================== */
    .hero-title,
    .hero-subtitle,
    .hero-content,
    .hero-buttons,
    .store-button,
    .store-badge,
    .hero-phone,
    .hero-phone-img {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .container {
        padding: 0 var(--spacing-md);
    }

    .hero {
        padding-top: calc(var(--nav-height) + var(--spacing-2xl));
        padding-bottom: var(--spacing-2xl);
        min-height: auto;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.15;
    }

    .hero-subtitle {
        font-size: var(--font-size-base);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .store-button {
        width: 100%;
        justify-content: center;
        min-height: 48px !important;
    }

    .store-badge {
        display: block;
        text-align: center;
    }

    .hero-phone-img {
        max-width: 100%;
    }

    .section-title {
        font-size: var(--font-size-2xl);
    }

    .section-subtitle {
        font-size: var(--font-size-base);
    }

    .feature-card {
        padding: var(--spacing-lg);
        margin-bottom: var(--spacing-md);
    }

    .feature-content {
        width: 100%;
        box-sizing: border-box;
    }

    .feature-tab-content {
        width: 100%;
        box-sizing: border-box;
    }

    .feature-title {
        font-size: var(--font-size-xl);
    }

    .feature-description {
        font-size: var(--font-size-sm);
    }

    .feature-phone img {
        max-width: 200px;
    }

    .feature-phone--hero-style img {
        max-width: 100%;
    }

    .transformation {
        padding: var(--spacing-2xl) 0;
    }

    .transformation-step {
        padding: var(--spacing-md);
    }

    .step-title {
        font-size: var(--font-size-lg);
    }

    /* Shortcuts - 2 columns on mobile */
    .shortcuts-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: var(--spacing-sm) !important;
    }

    .shortcut-card {
        padding: var(--spacing-md) !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .shortcut-title {
        font-size: var(--font-size-sm) !important;
    }

    .shortcut-description {
        font-size: var(--font-size-xs) !important;
        line-height: 1.4 !important;
    }

    .shortcut-icon {
        width: 32px !important;
        height: 32px !important;
        margin-bottom: var(--spacing-xs) !important;
        border-radius: 8px !important;
    }

    .shortcut-icon svg {
        width: 16px !important;
        height: 16px !important;
    }

    .testimonial-card {
        padding: var(--spacing-md);
    }

    .testimonial-text {
        font-size: var(--font-size-sm);
    }

    /* CTA Section - Mobile */
    .cta {
        padding: var(--spacing-2xl) 0 !important;
    }

    .cta-title {
        font-size: var(--font-size-xl);
        padding: 0 var(--spacing-sm);
    }

    .cta-subtitle {
        font-size: var(--font-size-sm);
        margin-bottom: var(--spacing-xl) !important;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-sm) !important;
        width: 100%;
        padding: 0 var(--spacing-md);
    }

    .cta-buttons .store-button {
        width: 100%;
        max-width: 280px;
        min-height: 52px !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .cta-buttons .store-badge {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .cta-buttons .store-button--large {
        padding: var(--spacing-md) var(--spacing-xl) !important;
    }

    /* Footer - Mobile */
    .footer {
        padding: var(--spacing-2xl) 0 var(--spacing-lg);
    }

    .footer-grid {
        gap: var(--spacing-lg);
    }

    .footer-column {
        text-align: center;
    }

    .footer-stores {
        justify-content: center !important;
    }

    .footer-store-link {
        width: 44px !important;
        height: 44px !important;
    }
}

/* Extra small devices (less than 375px) */
@media (max-width: 374px) {
    :root {
        --font-size-5xl: 1.5rem;
        --font-size-4xl: 1.25rem;
    }

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

    .store-button {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .store-button-large {
        font-size: var(--font-size-sm);
    }

    .feature-tabs {
        flex-wrap: wrap;
        gap: var(--spacing-xs);
    }

    .feature-tab-btn {
        padding: var(--spacing-xs) var(--spacing-md);
        font-size: var(--font-size-xs);
    }

    /* Shortcuts - smaller on extra small */
    .shortcuts-grid {
        gap: var(--spacing-xs) !important;
    }

    .shortcut-card {
        padding: var(--spacing-sm) !important;
    }

    .shortcut-title {
        font-size: var(--font-size-xs) !important;
    }

    .shortcut-description {
        font-size: 10px !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .shortcut-icon {
        width: 28px !important;
        height: 28px !important;
    }

    .shortcut-icon svg {
        width: 14px !important;
        height: 14px !important;
    }

    /* CTA smaller padding */
    .cta-title {
        font-size: var(--font-size-lg) !important;
    }

    .cta-buttons .store-button {
        max-width: 100% !important;
    }
}

/* Ensure proper touch targets (44px minimum) */
@media (max-width: 768px) {
    .nav-hamburger {
        min-width: 44px;
        min-height: 44px;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .lang-toggle {
        min-height: 44px;
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .mobile-menu-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .testimonials-toggle {
        min-height: 48px;
    }

    .feature-tab-btn {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ========================================
   Sticky Floating Video Player
   ======================================== */

/* Container — covers full viewport when expanded */
.sticky-video-container {
    position: fixed;
    inset: 0;
    z-index: 998;
    pointer-events: none;
    display: none;
}

.sticky-video-container.is-minimized,
.sticky-video-container.is-expanded {
    display: block;
}

.sticky-video-container.is-expanded {
    z-index: 1001;
}

/* Backdrop — visible only in expanded state */
.sticky-video-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.sticky-video-container.is-expanded .sticky-video-backdrop {
    opacity: 1;
    pointer-events: auto;
}

/* Player wrapper — the moving/resizing element */
.sticky-video-player {
    position: absolute;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    cursor: pointer;
    pointer-events: auto;
    transition:
        bottom 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        right 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        top 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        left 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        width 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        border-radius 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.3s ease,
        transform 0.3s ease;
}

/* Video element */
.sticky-video-player video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
}

/* ---- Minimized state (9:16 portrait) ---- */
.sticky-video-container.is-minimized .sticky-video-player {
    top: calc(100dvh - 178px - 24px);
    left: calc(100vw - 100px - 24px);
    width: 100px;
    height: 178px;
    bottom: auto;
    right: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

/* ---- Expanded state (9:16 portrait, centered) ---- */
.sticky-video-container.is-expanded .sticky-video-player {
    width: min(90vw, calc(90dvh * 9 / 16));
    height: min(90dvh, calc(90vw * 16 / 9));
    top: calc((100dvh - min(90dvh, calc(90vw * 16 / 9))) / 2);
    left: calc((100vw - min(90vw, calc(90dvh * 9 / 16))) / 2);
    bottom: auto;
    right: auto;
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    cursor: default;
}

/* ---- Control buttons (mute & close) ---- */
.sticky-video-mute,
.sticky-video-close {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: background var(--transition-fast), transform var(--transition-fast);
    pointer-events: auto;
    z-index: 2;
}

.sticky-video-mute:hover,
.sticky-video-close:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

/* Minimized button sizes */
.sticky-video-mute {
    bottom: 8px;
    left: 8px;
    width: 30px;
    height: 30px;
}

.sticky-video-close {
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
}

/* Expanded button sizes */
.sticky-video-container.is-expanded .sticky-video-mute {
    bottom: 44px;
    left: 20px;
    width: 40px;
    height: 40px;
}

.sticky-video-container.is-expanded .sticky-video-close {
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
}

.sticky-video-container.is-expanded .sticky-video-mute svg,
.sticky-video-container.is-expanded .sticky-video-close svg {
    width: 20px;
    height: 20px;
}

/* Mute/unmute icon toggling */
.sticky-video-icon-unmuted {
    display: none;
}

.sticky-video-icon-muted {
    display: block;
}

.sticky-video-player.is-unmuted .sticky-video-icon-unmuted {
    display: block;
}

.sticky-video-player.is-unmuted .sticky-video-icon-muted {
    display: none;
}

/* Close/minimize icon toggling */
.sticky-video-icon-close {
    display: block;
}

.sticky-video-icon-minimize {
    display: none;
}

.sticky-video-container.is-expanded .sticky-video-icon-close {
    display: none;
}

.sticky-video-container.is-expanded .sticky-video-icon-minimize {
    display: block;
}

/* ---- Progress bar (expanded only) ---- */
.sticky-video-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    display: none;
    align-items: flex-end;
    padding: 0 16px 14px;
    cursor: pointer;
    z-index: 3;
    pointer-events: auto;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.sticky-video-container.is-expanded .sticky-video-progress {
    display: flex;
}

.sticky-video-progress-track {
    position: relative;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: visible;
    transition: height 0.15s ease;
}

.sticky-video-progress:hover .sticky-video-progress-track,
.sticky-video-progress.is-dragging .sticky-video-progress-track {
    height: 6px;
}

.sticky-video-progress-filled {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: #fff;
    border-radius: 2px;
    pointer-events: none;
}

.sticky-video-progress-thumb {
    position: absolute;
    top: 50%;
    left: 0%;
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.15s ease;
    pointer-events: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.sticky-video-progress:hover .sticky-video-progress-thumb,
.sticky-video-progress.is-dragging .sticky-video-progress-thumb {
    transform: translate(-50%, -50%) scale(1);
}

/* ---- Restart button (expanded only) ---- */
.sticky-video-restart {
    position: absolute;
    bottom: 44px;
    right: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 40px;
    padding: 0 16px;
    border-radius: var(--radius-full);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: background var(--transition-fast), transform var(--transition-fast), opacity 0.3s ease;
    pointer-events: auto;
    z-index: 3;
    opacity: 0;
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    font-weight: 600;
    white-space: nowrap;
}

.sticky-video-container.is-expanded .sticky-video-restart.is-visible {
    display: flex;
    opacity: 1;
}

.sticky-video-restart:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

/* ---- Pill button ---- */
.sticky-video-pill {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    z-index: 998;
    display: none;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-xl);
    background: var(--color-dark);
    color: var(--color-bg);
    border: none;
    border-radius: var(--radius-full);
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.sticky-video-pill.is-visible {
    display: inline-flex;
}

.sticky-video-pill:hover {
    background: #000;
    transform: translateX(-50%) translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.sticky-video-pill svg {
    flex-shrink: 0;
}

/* ---- Entrance / exit animation helpers ---- */
.sticky-video-player.is-entering {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
}

.sticky-video-player.is-visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.sticky-video-player.is-exiting {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

/* ---- Responsive: Mobile ---- */
@media (max-width: 768px) {
    .nav.video-fullscreen {
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .sticky-video-container.is-minimized .sticky-video-player {
        top: calc(100dvh - 142px - 16px);
        left: calc(100vw - 80px - 16px);
        width: 80px;
        height: 142px;
    }

    .sticky-video-mute {
        bottom: 6px;
        left: 6px;
        width: 26px;
        height: 26px;
    }

    .sticky-video-mute svg {
        width: 13px;
        height: 13px;
    }

    .sticky-video-close {
        top: 6px;
        right: 6px;
        width: 24px;
        height: 24px;
    }

    .sticky-video-close svg {
        width: 12px;
        height: 12px;
    }

    .sticky-video-container.is-expanded .sticky-video-player {
        width: min(95vw, calc(95dvh * 9 / 16));
        height: min(95dvh, calc(95vw * 16 / 9));
        top: calc((100dvh - min(95dvh, calc(95vw * 16 / 9))) / 2);
        left: calc((100vw - min(95vw, calc(95dvh * 9 / 16))) / 2);
    }

    .sticky-video-container.is-expanded .sticky-video-mute {
        bottom: 38px;
        left: 14px;
        width: 36px;
        height: 36px;
    }

    .sticky-video-container.is-expanded .sticky-video-close {
        top: 14px;
        right: 14px;
        width: 36px;
        height: 36px;
    }

    .sticky-video-pill {
        bottom: 16px;
        padding: var(--spacing-sm) var(--spacing-lg);
    }

    .sticky-video-progress {
        padding: 0 12px 10px;
    }

    .sticky-video-restart {
        bottom: 36px;
        right: 14px;
        height: 36px;
        padding: 0 14px;
        font-size: var(--font-size-xs);
    }

    .sticky-video-restart svg {
        width: 14px;
        height: 14px;
    }
}
