﻿/* ============================================
   MENU-FREE - Base Styles & Landing Page
   Modern Premium Design System
   ============================================ */
/* NOTE: Inter & Battambang fonts loaded via <link> in HTML for faster rendering */

/* Khmer Language Support */
body[data-lang="km"],
html[lang="km"] body {
    font-family: 'Battambang', 'Inter', sans-serif;
}

/* Language Dropdown */
.site-lang-dropdown a:hover {
    background: var(--primary-light, #eaf4fe) !important;
}

/* ---- Keyframe Animations ---- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

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

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(231, 76, 60, 0.2); }
    50% { box-shadow: 0 0 40px rgba(231, 76, 60, 0.4); }
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ---- CSS Variables ---- */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #eff6ff;
    --secondary: #3498db;
    --success: #27ae60;
    --warning: #f39c12;
    --danger: #e74c3c;
    --info: #3498db;

    --dark: #1a1a2e;
    --gray-900: #2d2d44;
    --gray-800: #3d3d5c;
    --gray-700: #555;
    --gray-600: #777;
    --gray-500: #999;
    --gray-400: #bbb;
    --gray-300: #ddd;
    --gray-200: #e8e8e8;
    --gray-100: #f5f6fa;
    --white: #ffffff;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --border-radius: 14px;
    --border-radius-lg: 20px;
    --border-radius-xl: 24px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 24px 60px rgba(0,0,0,0.16);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.6;
    color: var(--dark);
    background: var(--gray-100);
    overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

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

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s var(--bounce);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.2px;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.2);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    border-radius: inherit;
}

.btn:hover::after { transform: scaleX(1); }

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37,99,235,0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 25px rgba(37,99,235,0.4);
}

.btn-secondary {
    background: var(--gray-100);
    color: var(--gray-700);
    border: 1.5px solid var(--gray-200);
}

.btn-secondary:hover { background: var(--gray-200); }

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

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

.btn-success { background: linear-gradient(135deg, #27ae60, #219a52); color: white; box-shadow: 0 4px 15px rgba(39,174,96,0.3); }
.btn-danger { background: linear-gradient(135deg, #e74c3c, #c0392b); color: white; box-shadow: 0 4px 15px rgba(231,76,60,0.3); }
.btn-warning { background: linear-gradient(135deg, #f39c12, #e67e22); color: white; }
.btn-sm { padding: 8px 18px; font-size: 13px; border-radius: 10px; }
.btn-lg { padding: 16px 36px; font-size: 17px; border-radius: 16px; }
.btn-block { width: 100%; }

/* ---- Forms ---- */
.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--gray-700);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: 12px;
    font-size: 15px;
    font-family: var(--font);
    transition: var(--transition);
    background: white;
    color: var(--dark);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37,99,235,0.08);
}

.form-control::placeholder { color: var(--gray-400); }

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23999' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

textarea.form-control { min-height: 100px; resize: vertical; }

/* ---- Alerts ---- */
.alert {
    padding: 14px 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: fadeInUp 0.4s ease;
}

.alert-success { background: #eafaf1; color: #1a7a42; border: 1px solid #b8e6cc; }
.alert-danger { background: #fdf0ef; color: #c0392b; border: 1px solid #f5c6cb; }
.alert-warning { background: #fef9e7; color: #9a6700; border: 1px solid #fce8a4; }
.alert-info { background: #edf7fd; color: #1a6fa5; border: 1px solid #b8dff5; }

/* ---- Cards ---- */
.card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 28px;
    transition: var(--transition);
}

.card:hover { box-shadow: var(--shadow-md); }

/* ---- Badges ---- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-primary { background: var(--primary-light); color: var(--primary); }
.badge-success { background: #eafaf1; color: #27ae60; }
.badge-warning { background: #fef9e7; color: #e67e22; }
.badge-danger { background: #fdf0ef; color: #e74c3c; }
.badge-info { background: #edf7fd; color: #3498db; }
.badge-primary { background: #ede9fe; color: #7c3aed; }
.badge-secondary { background: #f3f4f6; color: #6b7280; }

/* ============================================
   Auth Pages - Login/Register
   ============================================ */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    background-size: 200% 200%;
    animation: gradient-shift 15s ease infinite;
    position: relative;
}

.auth-wrapper::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    filter: blur(80px);
}

.auth-wrapper::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(52, 152, 219, 0.08);
    border-radius: 50%;
    bottom: -80px;
    left: -80px;
    filter: blur(60px);
}

.auth-card {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius-xl);
    padding: 48px;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-xl);
    animation: scaleIn 0.5s var(--bounce);
    position: relative;
    z-index: 1;
}

.auth-card h2 {
    text-align: center;
    margin-bottom: 8px;
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
}

.auth-card .subtitle {
    text-align: center;
    color: var(--gray-600);
    margin-bottom: 32px;
    font-size: 15px;
}

.auth-card .form-control {
    padding: 14px 18px;
    border-radius: 14px;
    font-size: 15px;
    background: var(--gray-100);
    border: 1.5px solid transparent;
}

.auth-card .form-control:focus {
    background: white;
    border-color: var(--primary);
}

.auth-card .btn {
    padding: 14px;
    width: 100%;
    font-size: 16px;
    border-radius: 14px;
    margin-top: 8px;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--gray-600);
}

.auth-footer a { font-weight: 600; color: var(--primary); }

.auth-logo {
    text-align: center;
    margin-bottom: 28px;
}

.auth-logo i {
    font-size: 48px;
    color: var(--primary);
    background: var(--primary-light);
    width: 80px;
    height: 80px;
    border-radius: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.auth-logo-icon {
    width: 64px;
    max-width: 64px;
    height: auto;
    display: block;
    margin: 0 auto 16px;
    border-radius: 14px;
    object-fit: contain;
}

/* ============================================
   Landing Page
   ============================================ */

/* Landing Nav */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 24px;
    transition: all 0.4s ease;
    background: transparent;
}

.landing-nav.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
    padding: 10px 24px;
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    color: white;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.landing-nav.scrolled .nav-brand { color: var(--dark); }

.nav-brand i {
    font-size: 28px;
    color: var(--primary);
}

.brand-icon {
    width: 32px;
    height: 32px;
    max-width: 100%;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links .btn {
    padding: 10px 24px;
    font-size: 14px;
    border-radius: 12px;
}

.nav-links .btn-ghost {
    background: rgba(255,255,255,0.12);
    color: white;
    border: none;
    backdrop-filter: blur(5px);
}

.landing-nav.scrolled .nav-links .btn-ghost {
    background: var(--gray-100);
    color: var(--gray-700);
}

/* Hamburger menu button — hidden on desktop */
.nav-hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
    padding: 6px;
}
.landing-nav.scrolled .nav-hamburger { color: var(--dark); }

@media (max-width: 768px) {
    .nav-hamburger { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: white;
        flex-direction: column;
        padding: 16px;
        gap: 10px;
        box-shadow: 0 8px 32px rgba(0,0,0,0.1);
        border-radius: 0 0 16px 16px;
    }
    .nav-links.open { display: flex; }
    .nav-links .btn-ghost { background: var(--gray-100); color: var(--gray-700); }
    .nav-links .btn { width: 100%; text-align: center; }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 24px 100px;
    background: linear-gradient(150deg, #0a0a1f 0%, #141432 30%, #1a1a4e 60%, #0f0c29 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(56,189,248,0.08) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    border-radius: 50%;
}

.hero-inner {
    position: relative;
    z-index: 10;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 380px;
    align-items: center;
    gap: 80px;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(37,99,235,0.15);
    border: 1px solid rgba(37,99,235,0.25);
    border-radius: 30px;
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.6s 0.1s both;
}

.hero-badge i { color: #38bdf8; }

.hero h1 {
    font-size: 60px;
    font-weight: 900;
    color: white;
    line-height: 1.08;
    margin-bottom: 24px;
    letter-spacing: -2px;
    animation: fadeInUp 0.6s 0.2s both;
}

.hero h1 span {
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p.hero-clarity {
    font-size: 15px;
    color: rgba(255,255,255,0.45);
    margin-bottom: 16px;
    max-width: 500px;
    line-height: 1.5;
    font-weight: 500;
    letter-spacing: 0.3px;
    animation: fadeInUp 0.6s 0.25s both;
}

.hero p {
    font-size: 18px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.7;
    animation: fadeInUp 0.6s 0.3s both;
}

.hero-trust {
    font-size: 13px !important;
    color: rgba(255,255,255,0.4) !important;
    margin-top: 20px;
    margin-bottom: 0 !important;
    animation: fadeInUp 0.6s 0.5s both;
    letter-spacing: 0.2px;
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s 0.4s both;
}

.hero-cta .btn {
    padding: 16px 36px;
    font-size: 16px;
    border-radius: 14px;
}

.hero-cta .btn-primary {
    box-shadow: 0 4px 20px rgba(37,99,235,0.4), 0 0 60px rgba(37,99,235,0.15);
}

.hero-cta .btn-outline {
    border-color: rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.8);
}

.hero-cta .btn-outline:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.4);
    color: white;
}

/* Hero Phone Mockup */
.hero-mockup {
    animation: fadeInUp 0.8s 0.5s both;
    display: flex;
    justify-content: center;
}

.mockup-phone {
    width: 280px;
    background: #1a1a2e;
    border-radius: 36px;
    padding: 12px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08), inset 0 0 0 1px rgba(255,255,255,0.05);
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.mockup-notch {
    width: 100px;
    height: 6px;
    background: #2d2d44;
    border-radius: 3px;
    margin: 8px auto 12px;
}

.mockup-screen {
    background: #f8f9fb;
    border-radius: 24px;
    padding: 16px;
    min-height: 380px;
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    padding-bottom: 14px;
    border-bottom: 1px solid #eee;
    margin-bottom: 14px;
}

.mockup-header i {
    color: var(--primary);
    font-size: 16px;
}

.mockup-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.mockup-item-img {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    flex-shrink: 0;
}

.mockup-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mockup-line {
    height: 10px;
    border-radius: 5px;
    background: #d1d5db;
}

.mockup-line.light { background: #e5e7eb; height: 8px; }
.mockup-line.w80 { width: 80%; }
.mockup-line.w70 { width: 70%; }
.mockup-line.w60 { width: 60%; }
.mockup-line.w50 { width: 50%; }
.mockup-line.w40 { width: 40%; }
.mockup-line.w30 { width: 30%; }

.mockup-cart-btn {
    margin-top: 16px;
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.mockup-cart-btn i { font-size: 12px; }

/* Hero floating decorative element */
.hero-visual {
    position: absolute;
    bottom: -30px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--gray-100);
    border-radius: 50px 50px 0 0;
}

/* Stats Section */
.stats-section {
    padding: 0 24px;
    background: var(--gray-100);
    position: relative;
    z-index: 5;
}

.stats-grid {
    max-width: 900px;
    margin: -40px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--gray-200);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.stat-item {
    text-align: center;
    padding: 36px 24px;
    background: white;
    animation: fadeInUp 0.5s ease both;
}

.stat-item:nth-child(2) { animation-delay: 0.1s; }
.stat-item:nth-child(3) { animation-delay: 0.2s; }

.stat-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -2px;
}

.stat-label {
    font-size: 14px;
    color: var(--gray-600);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Features Section */
.features {
    padding: 120px 24px;
    background: white;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 72px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 18px;
    letter-spacing: -1px;
    line-height: 1.15;
}

.section-header p {
    font-size: 17px;
    color: var(--gray-600);
    line-height: 1.7;
}

.features-grid {
    max-width: 1060px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    transition: all 0.4s var(--bounce);
    border: 1.5px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

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

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

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    border-color: transparent;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--primary);
    background: linear-gradient(135deg, #eff6ff, #e0e7ff);
    transition: all 0.3s var(--bounce);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--primary), #818cf8);
    color: white;
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.65;
}

/* Product Showcase Section */
.showcase-section {
    padding: 40px 24px 100px;
    background: white;
}

.showcase-grid {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.showcase-section-header {
    margin-bottom: 40px;
}

.showcase-card {
    text-align: center;
}

.showcase-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.showcase-label i {
    font-size: 14px;
}

.showcase-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-top: 20px;
    margin-bottom: 6px;
}

.showcase-card p {
    font-size: 14px;
    color: var(--gray-600);
}

.showcase-screen {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    background: #f8f9fb;
}

.showcase-topbar {
    background: #e5e7eb;
    padding: 10px 14px;
    display: flex;
    gap: 6px;
}

.showcase-topbar .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
}

.showcase-topbar .dot:first-child { background: #fca5a5; }
.showcase-topbar .dot:nth-child(2) { background: #fcd34d; }
.showcase-topbar .dot:nth-child(3) { background: #86efac; }

/* Kiosk Mockup */
.showcase-kiosk {
    min-height: 280px;
}

.showcase-kiosk-header {
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    border-bottom: 1px solid #eee;
    background: white;
}

.showcase-kiosk-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 16px 20px;
}

.showcase-kiosk-item {
    height: 80px;
    border-radius: 10px;
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
}

.showcase-kiosk-cart {
    margin: 0 20px 16px;
    height: 36px;
    border-radius: 8px;
    background: var(--primary);
}

/* Dashboard Mockup */
.showcase-dashboard {
    min-height: 280px;
}

.showcase-dash-sidebar {
    position: absolute;
    left: 0;
    top: 30px;
    bottom: 0;
    width: 60px;
    background: #1a1a2e;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 10px;
}

.showcase-dash-nav-item {
    height: 8px;
    border-radius: 4px;
    background: rgba(255,255,255,0.1);
}

.showcase-dash-nav-item.active {
    background: var(--primary);
}

.showcase-dash-main {
    margin-left: 60px;
    padding: 16px;
}

.showcase-dash-stat-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
}

.showcase-dash-stat {
    height: 50px;
    border-radius: 8px;
    background: white;
    border: 1px solid #eee;
}

.showcase-dash-table {
    height: 100px;
    border-radius: 8px;
    background: white;
    border: 1px solid #eee;
}

.showcase-dashboard {
    position: relative;
}

/* CTA Section */
.cta-section {
    padding: 120px 24px;
    background: linear-gradient(150deg, #0a0a1f 0%, #141432 40%, #1d4ed8 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: rgba(56,189,248,0.06);
    border-radius: 50%;
    right: -150px;
    top: -150px;
    filter: blur(80px);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 42px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    letter-spacing: -1px;
    line-height: 1.15;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-content .btn {
    padding: 18px 44px;
    font-size: 17px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(37,99,235,0.4), 0 0 60px rgba(37,99,235,0.15);
}

/* Feature New Badge */
.feature-new-badge {
    display: inline-block;
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    vertical-align: middle;
    margin-left: 6px;
    line-height: 1.6;
}

/* ============================================
   How It Works Section
   ============================================ */
.how-it-works {
    padding: 120px 24px;
    background: var(--gray-100);
}

.steps-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 60px 1fr 60px 1fr;
    align-items: start;
    gap: 0;
}

.step-item {
    text-align: center;
    padding: 0 8px;
}

.step-number {
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, var(--primary), #38bdf8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 900;
    color: white;
    margin: 0 auto 24px;
    box-shadow: 0 8px 28px rgba(37,99,235,0.3);
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    letter-spacing: -0.2px;
}

.step-content p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.65;
    max-width: 240px;
    margin: 0 auto;
}

.step-connector {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 20px;
}

.step-connector::after {
    content: '→';
    font-size: 32px;
    color: var(--primary);
    opacity: 0.35;
    line-height: 1;
    margin-top: 14px;
}

/* ============================================
   Trust / Social Proof Section
   ============================================ */
.trust-section {
    padding: 120px 24px;
    background: white;
}

.trust-stats {
    max-width: 720px;
    margin: 0 auto 64px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.trust-stat-val {
    font-size: 46px;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 8px;
}

.trust-stat-label {
    font-size: 14px;
    color: var(--gray-600);
    font-weight: 500;
}

.testimonials-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--gray-100);
    border-radius: var(--border-radius-lg);
    padding: 28px;
    transition: all 0.4s var(--bounce);
    border: 1.5px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: white;
    border-color: rgba(0,0,0,0.04);
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

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

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #38bdf8);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

.testimonial-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
}

.testimonial-role {
    font-size: 13px;
    color: var(--gray-500);
    margin-top: 2px;
}

/* ============================================
   Pricing Section
   ============================================ */
.pricing-section {
    padding: 120px 24px;
    background: var(--gray-100);
}

.pricing-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    align-items: stretch;
}

.pricing-card {
    background: white;
    border-radius: 0;
    padding: 40px 28px;
    border: 1px solid var(--gray-200);
    border-right: none;
    position: relative;
    transition: all 0.4s var(--bounce);
}

.pricing-card:first-child {
    border-radius: var(--border-radius-lg) 0 0 var(--border-radius-lg);
}

.pricing-card:last-child {
    border-radius: 0 var(--border-radius-lg) var(--border-radius-lg) 0;
    border-right: 1px solid var(--gray-200);
}

.pricing-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    z-index: 2;
    border-radius: var(--border-radius-lg);
}

.pricing-card.featured {
    background: linear-gradient(150deg, #0f0c29 0%, #1d4ed8 100%);
    border-color: transparent;
    transform: scale(1.06);
    box-shadow: 0 24px 60px rgba(29,78,216,0.35), 0 0 0 1px rgba(56,189,248,0.2);
    z-index: 3;
    border-radius: var(--border-radius-lg);
    border-right: none;
}

.pricing-card.featured:hover {
    transform: scale(1.06) translateY(-5px);
    box-shadow: 0 32px 80px rgba(29,78,216,0.4), 0 0 0 1px rgba(56,189,248,0.3);
}

.pricing-badge {
    display: inline-block;
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    color: white;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.pricing-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.pricing-price {
    margin-bottom: 6px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price-amount {
    font-size: 42px;
    font-weight: 900;
    color: var(--dark);
    letter-spacing: -2px;
    line-height: 1;
}

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

.price-cycle {
    font-size: 14px;
    color: var(--gray-400);
}

.pricing-card.featured .price-cycle {
    color: rgba(255,255,255,0.55);
}

.pricing-desc {
    font-size: 13px;
    color: var(--gray-500);
    margin-top: 6px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.pricing-card.featured .pricing-desc {
    color: rgba(255,255,255,0.55);
    border-bottom-color: rgba(255,255,255,0.12);
}

.pricing-features {
    list-style: none;
    margin-bottom: 28px;
    min-height: 176px;
}

.pricing-features li {
    font-size: 13px;
    color: var(--gray-700);
    padding: 5px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.45;
}

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

.pricing-features li::before {
    content: '✓';
    color: #16a34a;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 1px;
    font-size: 12px;
}

.pricing-card.featured .pricing-features li::before {
    color: #7dd3fc;
}

.pricing-features li.disabled {
    color: var(--gray-400);
    opacity: 0.6;
}

.pricing-features li.disabled::before {
    content: '✗';
    color: var(--gray-300);
}

.pricing-cta {
    width: 100%;
    text-align: center;
}

.pricing-card.featured .btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 16px rgba(255,255,255,0.2);
}

.pricing-card.featured .btn-primary:hover {
    background: rgba(255,255,255,0.92);
    box-shadow: 0 6px 24px rgba(255,255,255,0.3);
}

/* ============================================
   Responsive — All Sections
   ============================================ */

/* Tablet Landscape (1024px) */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    .hero-content { text-align: center; }
    .hero-cta { justify-content: center; }
    .hero p, .hero p.hero-clarity { margin-inline: auto; }
    .hero-trust { text-align: center; }
    .hero-mockup { order: 2; }
    .mockup-phone { width: 240px; }
    .mockup-screen { min-height: 320px; }
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
        gap: 16px;
    }
    .pricing-card { border-radius: var(--border-radius-lg) !important; border-right: 1px solid var(--gray-200) !important; }
    .pricing-card.featured {
        transform: none;
        box-shadow: 0 16px 40px rgba(29,78,216,0.3);
    }
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
    .showcase-grid { gap: 24px; }
}

/* Tablet Portrait (768px) */
@media (max-width: 768px) {
    .hero { padding: 120px 24px 80px; min-height: auto; }
    .hero h1 { font-size: 38px; letter-spacing: -1px; }
    .hero p { font-size: 16px; }
    .hero-mockup { display: none; }
    .hero-content { text-align: center; }
    .hero-cta { flex-direction: column; align-items: center; }
    .hero-cta .btn { width: 100%; max-width: 300px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: -30px; border-radius: 16px; }
    .stat-item { padding: 28px 16px; }
    .stat-number { font-size: 36px; }
    .section-header h2 { font-size: 30px; }
    .cta-content h2 { font-size: 30px; }
    .auth-card { padding: 32px 24px; }
    .features { padding: 80px 24px; }
    .cta-section { padding: 80px 24px; }
    .stats-section { padding: 0 24px; }
    .nav-links .btn { padding: 8px 16px; font-size: 13px; }
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 420px;
    }
    .step-connector { display: none; }
    .step-item { padding: 0; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .trust-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .trust-stat-val { font-size: 34px; }
    .how-it-works { padding: 80px 24px; }
    .trust-section { padding: 80px 24px; }
    .pricing-section { padding: 80px 24px; }
    .pricing-features { min-height: auto; }
    .showcase-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .showcase-section { padding: 20px 24px 80px; }
}

/* Phone Landscape (600px) */
@media (max-width: 600px) {
    .hero { padding: 100px 20px 60px; }
    .hero h1 { font-size: 32px; }
    .hero p { font-size: 15px; margin-bottom: 28px; }
    .section-header h2 { font-size: 26px; }
    .cta-content h2 { font-size: 26px; }
    .cta-content p { font-size: 15px; }
    .features-grid { grid-template-columns: 1fr; gap: 14px; }
    .feature-card { padding: 28px 22px; }
    .feature-icon { width: 50px; height: 50px; font-size: 22px; }
    .auth-card { max-width: 100%; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
    .trust-stats { grid-template-columns: 1fr; gap: 20px; }
    .trust-stat-val { font-size: 40px; }
}

/* Phone Portrait (480px) */
@media (max-width: 480px) {
    .hero { padding: 90px 16px 50px; }
    .hero h1 { font-size: 28px; letter-spacing: -0.5px; }
    .hero p { font-size: 14px; line-height: 1.6; }
    .hero-badge { font-size: 12px; padding: 6px 14px; }
    .hero-cta .btn { padding: 14px 24px; font-size: 14px; }
    .nav-brand { font-size: 18px; }
    .nav-brand i { font-size: 22px; }
    .landing-nav { padding: 12px 16px; }
    .nav-links { gap: 6px; }
    .nav-links .btn { padding: 8px 14px; font-size: 12px; }
    .feature-card { padding: 24px 18px; border-radius: 16px; }
    .feature-card h3 { font-size: 16px; }
    .feature-card p { font-size: 13px; }
    .auth-wrapper { padding: 16px; }
    .auth-card { padding: 28px 20px; border-radius: 20px; }
    .auth-card h2 { font-size: 22px; }
    .auth-logo i { width: 64px; height: 64px; font-size: 36px; border-radius: 18px; }
    .auth-logo-icon { width: 48px; height: 48px; border-radius: 12px; }
    .brand-icon { width: 26px; height: 26px; border-radius: 6px; }
    .stat-number { font-size: 32px; }
    .stat-label { font-size: 12px; }
    .stats-section { padding: 0 16px; }
    .stats-grid { margin-top: -24px; border-radius: 14px; }
    .stat-item { padding: 22px 12px; }
    .features { padding: 60px 16px; }
    .section-header { margin-bottom: 40px; }
    .cta-section { padding: 60px 16px; }
    .cta-content .btn { padding: 14px 28px; font-size: 15px; }
    .landing-footer { padding: 30px 16px; font-size: 13px; }
    .steps-grid { max-width: 100%; }
    .step-content p { max-width: 100%; }
    .how-it-works { padding: 60px 16px; }
    .trust-section { padding: 60px 16px; }
    .pricing-section { padding: 60px 16px; }
    .pricing-card { padding: 28px 20px; }
    .price-amount { font-size: 36px; }
    .showcase-section { padding: 10px 16px 60px; }

    /* Buttons global */
    .btn { padding: 10px 22px; font-size: 14px; }
    .btn-lg { padding: 14px 28px; font-size: 15px; }
    .btn-sm { padding: 7px 14px; font-size: 12px; }
}

/* Ultra Small Phone (360px) */
@media (max-width: 360px) {
    .hero h1 { font-size: 24px; }
    .hero p { font-size: 13px; }
    .auth-card { padding: 24px 16px; }
    .auth-card h2 { font-size: 20px; }
    .auth-card .subtitle { font-size: 13px; }
    .nav-brand span { display: none; }
    .feature-card { padding: 20px 16px; }
    .cta-content h2 { font-size: 22px; }
    .cta-content p { font-size: 14px; }
    .stats-grid { gap: 0; }
}

/* Footer */
.landing-footer {
    padding: 40px 24px;
    text-align: center;
    background: #0a0a1a;
    color: rgba(255,255,255,0.4);
    font-size: 14px;
}

.landing-footer a {
    color: var(--primary);
    font-weight: 600;
}

/* ---- Utility ---- */
.text-center { text-align: center; }
.text-muted { color: var(--gray-600); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

/* Loading spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    display: inline-block;
}
