/* ============================================
   Loyalynx Landing Page Styles
   Modern, refined design for professional loyalty platform
   ============================================ */

/* CSS Variables - Using provided color palette */
:root {
    /* Primary Brand Colors - Teal Palette */
    --primary-light: #CCFBF1;
    --primary: #14B8A6;
    --primary-dark: #0D9488;
    --primary-glow: rgba(20, 184, 166, 0.2);
    --ring-color: #14B8A6;

    /* Border Colors */
    --border-subtle: rgba(226, 232, 240, 0.8);
    --border-medium: rgba(203, 213, 225, 0.9);
    --border-strong: rgba(148, 163, 184, 0.4);
    --border-accent: rgba(20, 184, 166, 0.3);

    /* Semantic Colors */
    --color-success: #10B981;
    --color-warning: #F59E0B;
    --color-error: #EF4444;

    /* Neutrals - Refined Gray Scale */
    --color-text: #0F172A;
    --color-text-secondary: #475569;
    --color-text-muted: #94A3B8;
    --color-bg: #FAFCFE;
    --color-bg-warm: #F8FAFC;
    --color-bg-card: #FFFFFF;
    --color-bg-dark: #0F172A;

    /* Typography - Google Fonts with Greek support */
    --font-display: 'Outfit', 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

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

    /* Shadows - Refined depth system */
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 8px 32px rgba(15, 23, 42, 0.12);
    --shadow-xl: 0 16px 48px rgba(15, 23, 42, 0.16);
    --shadow-2xl: 0 24px 64px rgba(15, 23, 42, 0.2);
    --shadow-glow: 0 0 40px var(--primary-glow);
    --shadow-primary: 0 4px 20px rgba(20, 184, 166, 0.25);

    /* Border Radius */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

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

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

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

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: all var(--transition-base);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-subtle);
    padding: var(--space-sm) 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.nav-logo img {
    height: 200px;
    width: auto;
    object-fit: contain;
    margin-top: -75px;
    margin-bottom: -75px;
}

.logo-icon {
    width: 60px;
    height: 60px;
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-links a {
    font-size: 0.938rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: var(--radius-full);
    transition: width var(--transition-base);
}

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

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

.nav-cta {
    background: var(--primary);
    color: white !important;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    font-weight: 600 !important;
    transition: all var(--transition-base) !important;
    box-shadow: var(--shadow-primary);
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(20, 184, 166, 0.35);
}

.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.nav-mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 4px;
    margin-left: var(--space-md);
    padding: 4px;
    background: var(--color-bg-warm);
    border-radius: var(--radius-full);
    border: 1px solid var(--border-subtle);
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: transparent;
    border: none;
    border-radius: var(--radius-full);
    font-size: 0.813rem;
    font-weight: 600;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lang-btn:hover {
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.5);
}

.lang-btn.active {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.lang-flag {
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-flag svg {
    width: 20px;
    height: 14px;
    border-radius: 2px;
}

.lang-code {
    display: none;
}

@media (min-width: 768px) {
    .lang-code {
        display: inline;
    }
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(20, 184, 166, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(20, 184, 166, 0.1), transparent),
        linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-warm) 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.4;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(20, 184, 166, 0.08) 1px, transparent 0);
    background-size: 32px 32px;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.6;
    animation: float 25s ease-in-out infinite;
    will-change: transform;
}

.hero-orb-1 {
    width: 700px;
    height: 700px;
    background: linear-gradient(135deg, var(--primary-light), rgba(20, 184, 166, 0.2));
    top: -300px;
    right: -200px;
}

.hero-orb-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.2), var(--primary-light));
    bottom: -200px;
    left: -150px;
    animation-delay: -12s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(30px, -40px) scale(1.05) rotate(5deg); }
    66% { transform: translate(-20px, 30px) scale(0.95) rotate(-5deg); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) var(--space-md);
    background: white;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-sm);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-success);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    50% { opacity: 0.8; transform: scale(1.1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-text);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.03em;
}

.title-accent {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.title-accent::after {
    content: '';
    position: absolute;
    bottom: 0.05em;
    left: 0;
    right: 0;
    height: 0.25em;
    background: var(--primary-light);
    z-index: -1;
    border-radius: 4px;
}

.hero-description {
    font-size: 1.188rem;
    color: var(--color-text-secondary);
    line-height: 1.75;
    margin-bottom: var(--space-xl);
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(20, 184, 166, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: white;
    color: var(--color-text);
    border: 1px solid var(--border-medium);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--color-bg-warm);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: var(--space-md) var(--space-2xl);
    font-size: 1.063rem;
}

.btn-full {
    width: 100%;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: var(--space-xl);
    align-items: center;
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--border-subtle);
}

.stat {
    text-align: left;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--border-medium);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-phone-image {
    position: relative;
    z-index: 2;
    max-width: 420px;
    width: 100%;
}

.hero-app-screenshot {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 40px 80px rgba(15, 23, 42, 0.25));
    transition: transform var(--transition-slow);
    border-radius: var(--radius-xl);
}

.hero-phone-image:hover .hero-app-screenshot {
    transform: scale(1.02) translateY(-8px);
}

/* Floating Cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    font-size: 0.875rem;
    font-weight: 600;
    animation: floatCard 5s ease-in-out infinite;
    z-index: 10;
    border: 1px solid var(--border-subtle);
}

.card-1 {
    top: 60px;
    right: -30px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 100px;
    left: -30px;
    animation-delay: -2.5s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}

.floating-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-md);
}

.floating-icon.success {
    background: rgba(16, 185, 129, 0.15);
    color: var(--color-success);
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-text-muted);
    font-size: 0.813rem;
    font-weight: 500;
}

.scroll-indicator {
    width: 28px;
    height: 44px;
    border: 2px solid var(--border-medium);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-dot {
    width: 4px;
    height: 10px;
    background: var(--primary);
    border-radius: 2px;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(14px); opacity: 0.3; }
}

/* ============================================
   Section Styles
   ============================================ */
.section-header {
    max-width: 680px;
    margin-bottom: var(--space-3xl);
}

.section-header.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.813rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
    padding: var(--space-xs) var(--space-sm);
    background: var(--primary-light);
    border-radius: var(--radius-full);
}

.section-tag.light {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-text);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.section-title.light {
    color: white;
}

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

.section-title .accent-light {
    color: var(--primary-light);
}

.section-description {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    line-height: 1.75;
}

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

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.feature-card {
    background: var(--color-bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

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

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card.featured {
    border-color: var(--border-accent);
    background: linear-gradient(135deg, var(--primary-light), rgba(255, 255, 255, 0.8));
}

.feature-card.featured::before {
    transform: scaleX(1);
}

.feature-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    padding: var(--space-xs) var(--space-sm);
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
    transition: all var(--transition-base);
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.01em;
}

.feature-description {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.938rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.feature-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ============================================
   Analytics Section
   ============================================ */
.analytics {
    position: relative;
    padding: var(--space-4xl) 0;
    overflow: hidden;
}

.analytics-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.analytics-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #0EA5A0 100%);
}

.analytics-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%);
}

.analytics-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: var(--space-3xl);
    align-items: center;
}

.analytics-content {
    color: white;
}

.analytics-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.75;
    margin-bottom: var(--space-xl);
}

.analytics-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.analytics-feature {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
}

.analytics-feature:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(8px);
}

.af-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.af-content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.af-content p {
    font-size: 0.938rem;
    color: rgba(255, 255, 255, 0.75);
}

/* Dashboard Mockup */
.analytics-visual {
    position: relative;
}

.dashboard-mockup-image {
    position: relative;
    max-width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.dashboard-mockup-image .dashboard-screenshot {
    width: 100%;
    height: auto;
    display: block;
}

/* Metric Cards */
.metric-card {
    position: absolute;
    background: white;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    text-align: center;
    animation: floatCard 5s ease-in-out infinite;
    border: 1px solid var(--border-subtle);
}

.metric-1 {
    top: -30px;
    right: 30px;
}

.metric-2 {
    bottom: 50px;
    left: -50px;
    animation-delay: -2.5s;
}

.metric-value {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.metric-label {
    font-size: 0.813rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* ============================================
   Engagement Section
   ============================================ */
.engagement {
    padding: var(--space-4xl) 0;
    background: var(--color-bg-warm);
    position: relative;
}

.engagement::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 100%, var(--primary-light), transparent);
    opacity: 0.3;
}

.engagement .container {
    position: relative;
    z-index: 1;
}

.engagement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.engagement-card {
    background: var(--color-bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
}

.engagement-card:hover {
    border-color: var(--border-accent);
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
}

.ec-visual {
    padding: var(--space-lg);
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.08), rgba(20, 184, 166, 0.02));
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-subtle);
}

.ec-content {
    padding: var(--space-lg);
}

.ec-content h3 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.01em;
}

.ec-content p {
    font-size: 0.938rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* Campaign Preview */
.campaign-preview {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-md);
    width: 100%;
    border: 1px solid var(--border-subtle);
}

.campaign-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.campaign-content h4 {
    font-size: 1.063rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 4px;
}

.campaign-content > p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.campaign-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.813rem;
    color: var(--color-text-muted);
}

.stat-positive {
    color: var(--color-success);
    font-weight: 700;
}

/* Notification Stack */
.notification-stack {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    width: 100%;
}

.notif-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: white;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-subtle);
}

.notif-item.faded {
    opacity: 0.5;
    transform: scale(0.96);
}

.notif-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.notif-icon svg {
    width: 20px;
    height: 20px;
}

.notif-text {
    display: flex;
    flex-direction: column;
}

.notif-text strong {
    font-size: 0.938rem;
    color: var(--color-text);
}

.notif-text span {
    font-size: 0.813rem;
    color: var(--color-text-muted);
}

/* Rewards Preview */
.rewards-preview {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    width: 100%;
}

.reward-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: white;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-fast);
}

.reward-item.active {
    border-color: var(--primary);
    background: var(--primary-light);
}

.reward-icon {
    font-size: 1.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

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

.reward-name {
    flex: 1;
    font-size: 0.938rem;
    font-weight: 600;
    color: var(--color-text);
}

.reward-stamps {
    font-size: 0.813rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* ============================================
   Showcase Section
   ============================================ */
.showcase {
    position: relative;
    padding: var(--space-2xl) 0;
    overflow: hidden;
    margin-bottom: -40px;
}

.showcase-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-warm) 50%, var(--color-bg) 100%);
}

.showcase .container {
    position: relative;
    z-index: 1;
}

/* Interactive Showcase Container */
.showcase-interactive {
    position: relative;
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3xl);
    margin: var(--space-2xl) 0;
}

/* Demo Phone */
.demo-phone {
    position: relative;
    z-index: 10;
    animation: demoPhoneFloat 6s ease-in-out infinite;
}

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

.demo-phone-frame {
    position: relative;
    width: 300px;
    height: 620px;
    background: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 44px;
    padding: 12px;
    box-shadow:
        0 30px 100px rgba(0, 0, 0, 0.4),
        0 15px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.demo-phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: #0f0f15;
    border-radius: 0 0 18px 18px;
    z-index: 20;
}

.demo-phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    border-radius: 36px;
    padding: 50px 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
}

.demo-phone-reflection {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 40%);
    border-radius: 44px;
    pointer-events: none;
}

.demo-phone-shadow {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 30px;
    background: radial-gradient(ellipse, rgba(0,0,0,0.35) 0%, transparent 70%);
    filter: blur(12px);
}

/* App Header */
.demo-app-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.demo-shop-logo {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.demo-shop-logo svg {
    width: 24px;
    height: 24px;
}

.demo-shop-info {
    display: flex;
    flex-direction: column;
}

.demo-shop-name {
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.demo-shop-reward {
    color: var(--primary-light);
    font-size: 0.8rem;
}

/* Stamp Card */
.demo-stamp-card {
    background: linear-gradient(135deg, rgba(20,184,166,0.15) 0%, rgba(13,148,136,0.1) 100%);
    border: 1px solid rgba(20,184,166,0.2);
    border-radius: 20px;
    padding: 16px;
    backdrop-filter: blur(10px);
}

.demo-card-title {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 12px;
    text-align: center;
}

.demo-stamps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.demo-stamp {
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.demo-stamp.filled {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}

.demo-stamp.filled::after {
    content: '✓';
    color: white;
    font-size: 1rem;
    font-weight: bold;
}

.demo-stamp.animating {
    animation: stampPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes stampPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Progress Section */
.demo-progress-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.demo-progress-bar {
    flex: 1;
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    overflow: hidden;
}

.demo-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 4px;
    transition: width 0.5s ease-out;
}

.demo-progress-text {
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
}

/* Stats Row */
.demo-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.demo-stat-box {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
}

.demo-stat-value {
    display: block;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.demo-stat-label {
    color: rgba(255,255,255,0.5);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* QR Section */
.demo-qr-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.demo-qr-code {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 12px;
    padding: 10px;
    position: relative;
    overflow: hidden;
}

.demo-qr-svg {
    width: 100%;
    height: 100%;
    color: #1a1a2e;
}

.demo-qr-scan-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
    opacity: 0;
    top: 0;
}

.demo-qr-scan-line.scanning {
    opacity: 1;
    animation: scanLine 1.5s ease-in-out;
}

@keyframes scanLine {
    0% { top: 0; }
    50% { top: calc(100% - 3px); }
    100% { top: 0; }
}

.demo-qr-text {
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
}

/* Notification */
.demo-notification {
    position: absolute;
    top: 60px;
    left: 20px;
    right: 20px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateY(-120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 30;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.demo-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.demo-notif-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.demo-notif-icon svg {
    width: 20px;
    height: 20px;
}

.demo-notif-content {
    display: flex;
    flex-direction: column;
}

.demo-notif-content strong {
    color: white;
    font-size: 0.9rem;
}

.demo-notif-content span {
    color: rgba(255,255,255,0.6);
    font-size: 0.75rem;
}

/* Celebration */
.demo-celebration {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.8);
    border-radius: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 40;
}

.demo-celebration.show {
    opacity: 1;
    visibility: visible;
}

.demo-reward-popup {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 24px;
    padding: 32px 48px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.demo-celebration.show .demo-reward-popup {
    transform: scale(1);
}

.demo-reward-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.demo-reward-icon svg {
    width: 32px;
    height: 32px;
}

.demo-reward-title {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
}

.demo-reward-desc {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

/* Confetti */
.demo-confetti {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.confetti-piece {
    position: absolute;
    width: 10px;
    height: 10px;
    top: 50%;
    left: 50%;
    animation: confettiFall 2s ease-out forwards;
}

@keyframes confettiFall {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translate(var(--x), var(--y)) rotate(720deg);
        opacity: 0;
    }
}

/* Dashboard Preview */
.demo-dashboard {
    position: relative;
    z-index: 5;
    animation: demoDashboardFloat 7s ease-in-out infinite;
    animation-delay: 1s;
}

@keyframes demoDashboardFloat {
    0%, 100% { transform: translateY(0) rotateY(-8deg); }
    50% { transform: translateY(-20px) rotateY(-8deg); }
}

.demo-dashboard-frame {
    width: 420px;
    height: 300px;
    background: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 16px;
    padding: 8px;
    box-shadow:
        0 25px 80px rgba(0,0,0,0.35),
        0 10px 30px rgba(0,0,0,0.25);
    transform: perspective(1000px) rotateY(-8deg);
}

.demo-dashboard-screen {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.demo-dashboard-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
}

.demo-live-stats {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(20,184,166,0.9);
    border-radius: 12px;
    padding: 10px 16px;
    backdrop-filter: blur(10px);
}

.demo-live-stat {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.demo-live-label {
    color: rgba(255,255,255,0.8);
    font-size: 0.7rem;
}

.demo-live-value {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
}

.demo-live-unit {
    color: rgba(255,255,255,0.8);
    font-size: 0.7rem;
}

/* Action Hint */
.demo-action-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 30px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-lg);
    animation: hintPulse 2s ease-in-out infinite;
}

@keyframes hintPulse {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.05); }
}

.demo-hint-icon {
    font-size: 1.2rem;
    animation: pointUp 1s ease-in-out infinite;
}

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

.demo-hint-text {
    color: var(--color-text);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1024px) {
    .showcase-interactive {
        flex-direction: column;
        height: auto;
        padding: var(--space-xl) 0;
    }

    .demo-dashboard {
        display: none;
    }

    .demo-phone-frame {
        width: 280px;
        height: 580px;
    }
}

@media (max-width: 480px) {
    .demo-phone-frame {
        width: 260px;
        height: 540px;
    }
}

/* Legacy 3D Showcase - keep for reference */
.showcase-3d {
    position: relative;
    height: 700px;
    perspective: 1500px;
    perspective-origin: 50% 50%;
    margin: var(--space-2xl) 0;
}

/* Animated Particles Background */
.showcase-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.showcase-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.4;
    animation: particleFloat 8s ease-in-out infinite;
}

.showcase-particle:nth-child(odd) {
    background: var(--primary-light);
    animation-duration: 10s;
}

.showcase-particle:nth-child(3n) {
    width: 12px;
    height: 12px;
    opacity: 0.2;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) translateX(0) scale(1); }
    25% { transform: translateY(-30px) translateX(20px) scale(1.1); }
    50% { transform: translateY(-10px) translateX(-15px) scale(0.9); }
    75% { transform: translateY(-40px) translateX(10px) scale(1.05); }
}

/* Glow Effect */
.showcase-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    opacity: 0.6;
    pointer-events: none;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.4; }
}

/* Orbit Rings */
.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid var(--border-accent);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotateX(75deg);
    pointer-events: none;
}

.orbit-ring-1 {
    width: 400px;
    height: 400px;
    animation: orbitSpin 20s linear infinite;
}

.orbit-ring-2 {
    width: 550px;
    height: 550px;
    animation: orbitSpin 30s linear infinite reverse;
    opacity: 0.5;
}

.orbit-ring-3 {
    width: 700px;
    height: 700px;
    animation: orbitSpin 25s linear infinite;
    opacity: 0.3;
}

@keyframes orbitSpin {
    from { transform: translate(-50%, -50%) rotateX(75deg) rotateZ(0deg); }
    to { transform: translate(-50%, -50%) rotateX(75deg) rotateZ(360deg); }
}

/* Device Stage */
.device-stage {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

/* Floating Devices */
.floating-device {
    position: absolute;
    transform-style: preserve-3d;
    transition: transform 0.3s ease-out;
}

.device-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(80px);
    z-index: 10;
    animation: floatCenter 6s ease-in-out infinite;
}

.device-left {
    top: 55%;
    left: 15%;
    transform: translate(-50%, -50%) translateZ(40px) rotateY(15deg);
    z-index: 5;
    animation: floatLeft 7s ease-in-out infinite;
}

.device-right {
    top: 45%;
    right: 5%;
    transform: translate(0, -50%) translateZ(20px) rotateY(-10deg);
    z-index: 5;
    animation: floatRight 8s ease-in-out infinite;
}

@keyframes floatCenter {
    0%, 100% { transform: translate(-50%, -50%) translateZ(80px) translateY(0); }
    50% { transform: translate(-50%, -50%) translateZ(80px) translateY(-20px); }
}

@keyframes floatLeft {
    0%, 100% { transform: translate(-50%, -50%) translateZ(40px) rotateY(15deg) translateY(0); }
    50% { transform: translate(-50%, -50%) translateZ(40px) rotateY(15deg) translateY(-15px); }
}

@keyframes floatRight {
    0%, 100% { transform: translate(0, -50%) translateZ(20px) rotateY(-10deg) translateY(0); }
    50% { transform: translate(0, -50%) translateZ(20px) rotateY(-10deg) translateY(-25px); }
}

/* Phone Frame */
.phone-frame {
    position: relative;
    width: 280px;
    height: 580px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.4),
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

.device-left .phone-frame {
    width: 240px;
    height: 500px;
    opacity: 0.9;
}

/* Notch */
.device-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #0a0a0f;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

/* Device Screen */
.device-screen {
    position: relative;
    width: 100%;
    height: 100%;
    background: #0a0a0f;
    border-radius: 32px;
    overflow: hidden;
}

.device-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* Screen Reflection */
.device-reflection {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.15) 0%,
        transparent 50%,
        transparent 100%
    );
    border-radius: 32px;
    pointer-events: none;
}

/* Device Shadow */
.device-shadow {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 30px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.3) 0%, transparent 70%);
    filter: blur(10px);
}

/* Tablet Frame */
.tablet-frame {
    position: relative;
    width: 500px;
    height: 340px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    padding: 10px;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.35),
        0 10px 30px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.tablet-frame .device-screen {
    border-radius: 12px;
}

.tablet-frame .device-reflection {
    border-radius: 12px;
}

/* Floating UI Elements */
.floating-element {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: white;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 20;
    transform: translateZ(150px);
    animation: elementFloat 5s ease-in-out infinite;
}

.fe-stamp {
    top: 20%;
    left: 18%;
    background: linear-gradient(135deg, var(--primary-light) 0%, white 100%);
    color: var(--primary-dark);
    animation-delay: 0s;
}

.fe-reward {
    bottom: 20%;
    left: 22%;
    background: linear-gradient(135deg, #FEF3C7 0%, white 100%);
    color: #D97706;
    animation-delay: 1s;
}

.fe-notification {
    top: 25%;
    right: 18%;
    padding: 10px;
    background: var(--primary);
    animation-delay: 2s;
}

.fe-icon {
    font-size: 1.3rem;
}

.fe-badge {
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
}

@keyframes elementFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-12px) scale(1.05); }
}

/* Hover effects */
.floating-device:hover {
    z-index: 15;
}

.device-center:hover {
    transform: translate(-50%, -50%) translateZ(100px) scale(1.05);
}

.device-left:hover {
    transform: translate(-50%, -50%) translateZ(60px) rotateY(5deg) scale(1.05);
}

.device-right:hover {
    transform: translate(0, -50%) translateZ(40px) rotateY(-5deg) scale(1.05);
}

/* ============================================
   Benefits Section
   ============================================ */
.benefits {
    padding: var(--space-4xl) 0;
    background: var(--color-bg);
}

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

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.benefit-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.benefit-item:hover {
    background: var(--color-bg-warm);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-full);
    flex-shrink: 0;
}

.benefit-content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 4px;
}

.benefit-content p {
    font-size: 0.938rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* Benefit Stats */
.benefit-stats {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.bs-card {
    background: var(--color-bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.bs-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.bs-card:hover {
    border-color: var(--border-accent);
    box-shadow: var(--shadow-lg);
    transform: translateX(12px);
}

.bs-card:hover::before {
    transform: scaleX(1);
}

.bs-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.bs-icon svg {
    width: 28px;
    height: 28px;
}

.bs-number {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-xs);
    letter-spacing: -0.03em;
}

.bs-label {
    font-size: 0.938rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials {
    padding: var(--space-4xl) 0;
    background: var(--color-bg-warm);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.testimonial-card {
    background: var(--color-bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    transition: all var(--transition-base);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: var(--space-md);
    right: var(--space-lg);
    font-size: 4rem;
    font-family: Georgia, serif;
    color: var(--primary-light);
    line-height: 1;
    opacity: 0.5;
}

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

.testimonial-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--primary-light), rgba(255, 255, 255, 0.9));
}

.tc-rating {
    color: var(--color-warning);
    font-size: 1.125rem;
    letter-spacing: 3px;
    margin-bottom: var(--space-md);
}

.tc-quote {
    font-size: 1.063rem;
    color: var(--color-text);
    line-height: 1.75;
    margin-bottom: var(--space-lg);
    font-style: italic;
    position: relative;
    z-index: 1;
}

.tc-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.tc-avatar {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--radius-full);
}

.tc-info {
    display: flex;
    flex-direction: column;
}

.tc-info strong {
    font-size: 1rem;
    color: var(--color-text);
}

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

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    position: relative;
    padding: var(--space-4xl) 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 60%, #0F766E 100%);
}

.cta-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background-image:
        radial-gradient(circle at 2px 2px, white 1px, transparent 0);
    background-size: 24px 24px;
}

.cta-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 40% at 20% 80%, rgba(255,255,255,0.15) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 40%);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-md);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.cta-description {
    font-size: 1.188rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xl);
    line-height: 1.75;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.cta-actions .btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.cta-actions .btn-primary:hover {
    background: var(--color-bg-warm);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.cta-note {
    font-size: 0.938rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    padding: var(--space-4xl) 0;
    background: var(--color-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.contact-description {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    line-height: 1.75;
    margin-bottom: var(--space-xl);
}

.contact-benefits {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.cb-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-text-secondary);
    font-weight: 500;
}

.cb-item svg {
    color: var(--primary);
    flex-shrink: 0;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--color-bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.form-group label {
    font-size: 0.938rem;
    font-weight: 600;
    color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--space-md);
    background: var(--color-bg);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    font-size: 1rem;
    color: var(--color-text);
    transition: all var(--transition-fast);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 44px;
}

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

.form-note {
    font-size: 0.813rem;
    color: var(--color-text-muted);
    text-align: center;
    margin-top: var(--space-sm);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--color-bg-dark);
    color: white;
    padding: var(--space-3xl) 0 var(--space-lg);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-md);
}

.footer-logo img {
    height: 250px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    margin-top: -80px;
    margin-bottom: -80px;
}

.footer-logo .logo-icon {
    color: var(--primary-light);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: var(--space-lg);
    font-size: 1rem;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.footer-column h4 {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-md);
    color: white;
}

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

.footer-column a {
    font-size: 0.938rem;
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--transition-fast);
}

.footer-column a:hover {
    color: var(--primary-light);
    transform: translateX(4px);
}

.footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   Animations
   ============================================ */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-animate="fade-left"] {
    transform: translateX(60px);
}

[data-animate="fade-right"] {
    transform: translateX(-60px);
}

[data-animate="scale-up"] {
    transform: scale(0.92);
}

[data-animate].animated {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

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

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

    .hero-visual {
        margin-top: var(--space-xl);
    }

    .floating-card {
        display: none;
    }

    /* Interactive Showcase Responsive */
    .showcase-interactive {
        flex-direction: column;
        height: auto;
        padding: var(--space-xl) 0;
    }

    .demo-dashboard {
        display: none;
    }

    .demo-phone-frame {
        width: 280px;
        height: 580px;
    }

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

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

    .analytics-visual {
        margin-top: var(--space-xl);
    }

    .metric-card {
        display: none;
    }

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

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

    .benefits-visual {
        margin-top: var(--space-xl);
    }

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

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

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

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-mobile-toggle {
        display: flex;
    }

    .hero {
        padding: 120px 0 80px;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
    }

    .stat-divider {
        width: 48px;
        height: 1px;
    }

    .section-title {
        font-size: 1.875rem;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }

    /* Interactive Showcase 768px */
    .demo-phone-frame {
        width: 260px;
        height: 540px;
    }

    .demo-action-hint {
        display: none;
    }
}

@media (max-width: 480px) {
    :root {
        --space-lg: 1.5rem;
        --space-xl: 2rem;
        --space-2xl: 3rem;
        --space-3xl: 4rem;
        --space-4xl: 5rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

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

/* Print Styles */
@media print {
    .nav,
    .hero-scroll,
    .cta-section {
        display: none;
    }
}

/* Focus styles for accessibility */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

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

    html {
        scroll-behavior: auto;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --border-subtle: rgba(0, 0, 0, 0.3);
        --border-medium: rgba(0, 0, 0, 0.5);
    }
}

/* ============================================
   Cookie Consent Banner
   ============================================ */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-bg-card);
    border-top: 1px solid var(--border-subtle);
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.1);
    padding: var(--space-lg);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
}

.cookie-text h4 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
}

.cookie-text p {
    font-size: 0.938rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

.cookie-text a {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: var(--space-sm);
    flex-shrink: 0;
}

.cookie-btn {
    padding: var(--space-sm) var(--space-lg) !important;
    font-size: 0.938rem !important;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: var(--space-md);
    }

    .cookie-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .cookie-btn {
        flex: 1;
        max-width: 120px;
        min-width: 90px;
    }
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cookie-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.cookie-modal {
    background: var(--color-bg-card);
    border-radius: var(--radius-2xl);
    max-width: 540px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cookie-modal-overlay.show .cookie-modal {
    transform: scale(1) translateY(0);
}

.cookie-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) var(--space-xl);
    border-bottom: 1px solid var(--border-subtle);
}

.cookie-modal-header h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
}

.cookie-modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--color-bg-warm);
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    transition: all var(--transition-fast);
}

.cookie-modal-close:hover {
    background: var(--color-bg);
    color: var(--color-text);
}

.cookie-modal-body {
    padding: var(--space-xl);
}

.cookie-modal-body > p {
    font-size: 0.938rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

/* Cookie Category */
.cookie-category {
    background: var(--color-bg-warm);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-md) var(--space-lg);
    margin-bottom: var(--space-md);
}

.cookie-category:last-child {
    margin-bottom: 0;
}

.cookie-category-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-md);
}

.cookie-category-info {
    flex: 1;
}

.cookie-category-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 var(--space-xs);
}

.cookie-category-info p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin: 0;
}

/* Cookie Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border-subtle);
    border-radius: 26px;
    transition: background-color 0.3s ease;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: var(--primary);
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(22px);
}

.cookie-toggle.disabled .cookie-toggle-slider {
    cursor: not-allowed;
    opacity: 0.7;
}

.cookie-toggle.disabled input:checked + .cookie-toggle-slider {
    background-color: var(--primary-light);
}

/* Cookie Modal Footer */
.cookie-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-sm);
    padding: var(--space-lg) var(--space-xl);
    border-top: 1px solid var(--border-subtle);
    background: var(--color-bg-warm);
    border-radius: 0 0 var(--radius-2xl) var(--radius-2xl);
}

/* Outline button style for Settings */
.btn-outline {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--color-text);
}

.btn-outline:hover {
    background: var(--color-bg-warm);
    border-color: var(--primary);
    color: var(--primary);
}

/* Responsive for cookie modal */
@media (max-width: 768px) {
    .cookie-modal-overlay {
        padding: var(--space-md);
        align-items: flex-end;
    }

    .cookie-modal {
        max-height: 80vh;
        border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
    }

    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding-left: var(--space-lg);
        padding-right: var(--space-lg);
    }

    .cookie-modal-footer {
        flex-direction: column;
    }

    .cookie-modal-footer .btn {
        width: 100%;
    }
}
