/* =====================================================
   Upmerk POS - Modern CSS Stylesheet
   ===================================================== */

/* CSS Variables */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #0ea5e9;
    --accent: #f59e0b;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    --white: #ffffff;
    --black: #000000;
    
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-dark: linear-gradient(135deg, var(--primary-dark) 0%, #0284c7 100%);
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
    
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.slide-up {
    opacity: 0;
    transform: translateY(40px);
    animation: slideUp 1s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes slideUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Card Elevation */
.elevate {
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-lg);
    background: var(--white);
}

/* Gradient Button */
.gradient-bg {
    background: var(--gradient);
    color: var(--white);
    border: none;
    transition: var(--transition);
}
.gradient-bg:hover {
    background: var(--gradient-dark);
}
.check {
    color: var(--primary);
    font-weight: bold;
}

/* Responsive for Hero and Form */
@media (max-width: 900px) {
    .hero .container.hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 0;
    }
    .form-card {
        margin-top: 2rem;
        padding: 1.5rem;
    }
    .hero-content {
        padding: 0 0.5rem;
    }
}
@media (max-width: 600px) {
    .form-card {
        padding: 1rem;
        border-radius: var(--radius-md);
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero-description {
        font-size: 1rem;
    }
}
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    border-color: transparent;
}

.btn-primary:hover {
    background: var(--gradient-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--white);
    color: var(--gray-700);
    border-color: var(--gray-200);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* Section Badge */
.section-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

/* Section Header */
.section-header {
    margin-bottom: 3rem;
}

.section-header.center {
    text-align: center;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--gray-500);
    font-size: 1.125rem;
    max-width: 600px;
}

.section-header.center p {
    margin: 0 auto;
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.navbar {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
}

.logo-icon {
    color: var(--primary);
    font-size: 1.75rem;
}

.logo-text .highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--gray-600);
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-700);
    cursor: pointer;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
    position: relative;
    padding: 10rem 0 6rem;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    top: -200px;
    right: -100px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--gradient);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--gray-500);
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gray-900);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* POS Mockup */
.hero-image {
    display: flex;
    justify-content: center;
}

.pos-mockup {
    position: relative;
    perspective: 1000px;
}

.screen {
    width: 400px;
    background: var(--gray-900);
    border-radius: var(--radius-lg);
    padding: 0.75rem;
    box-shadow: var(--shadow-xl);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: var(--transition);
}

.screen:hover {
    transform: rotateY(0) rotateX(0);
}

.screen-header {
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.screen-content {
    background: var(--white);
    border-radius: var(--radius);
    height: 280px;
    padding: 1rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
}

.mock-header {
    grid-column: 1 / -1;
    height: 30px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
}

.mock-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.mock-item {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    border-radius: var(--radius-sm);
    height: 60px;
}

.mock-sidebar {
    width: 100px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mock-line {
    height: 12px;
    background: var(--gray-200);
    border-radius: var(--radius-sm);
}

.mock-line.short {
    width: 60%;
}

.mock-button {
    margin-top: auto;
    height: 36px;
    background: var(--gradient);
    border-radius: var(--radius-sm);
}

/* =====================================================
   BUSINESS TYPES
   ===================================================== */
.business-types {
    padding: 6rem 0;
    background: var(--white);
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.business-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    cursor: pointer;
}

.business-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.business-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    border-radius: var(--radius-md);
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.business-card:hover .business-icon {
    background: var(--gradient);
    color: var(--white);
}

.business-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.business-card p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* =====================================================
   FEATURES SECTION
   ===================================================== */
.features {
    padding: 6rem 0;
    background: var(--gray-50);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.feature-card.featured {
    grid-row: span 2;
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    border: none;
}

.feature-card.featured h3,
.feature-card.featured p {
    color: var(--white);
}

.feature-card.featured p {
    opacity: 0.8;
}

.feature-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.feature-icon.gradient {
    background: var(--gradient);
    color: var(--white);
}

.feature-card h3 {
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--gray-500);
    font-size: 0.9375rem;
}

.feature-list {
    margin-top: 1.5rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--gray-300);
    font-size: 0.9375rem;
}

.feature-list li i {
    color: var(--success);
}

/* =====================================================
   SOLUTIONS SECTION
   ===================================================== */
.solutions {
    padding: 6rem 0;
    background: var(--white);
}

.solutions-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.solutions-description {
    color: var(--gray-500);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

/* Accordion */
.solutions-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item.active {
    border-color: var(--primary);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
}

.accordion-header:hover {
    background: var(--gray-50);
}

.accordion-item.active .accordion-header {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(14, 165, 233, 0.05) 100%);
}

.accordion-header h4 {
    font-weight: 600;
}

.accordion-header i {
    color: var(--primary);
    transition: var(--transition);
}

.accordion-item.active .accordion-header i {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
}

.accordion-content p {
    padding: 0 1.25rem 1.25rem;
    color: var(--gray-500);
    font-size: 0.9375rem;
}

/* Visual Cards */
.solutions-visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.visual-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
}

.visual-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.visual-card:first-child {
    grid-column: span 2;
    background: var(--gradient);
    border: none;
}

.visual-card:first-child .visual-stat {
    color: var(--white);
}

.visual-stat {
    text-align: center;
}

.visual-stat i {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
}

.visual-stat .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.visual-stat .label {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* =====================================================
   HARDWARE SECTION
   ===================================================== */
.hardware {
    padding: 6rem 0;
    background: var(--gray-50);
}

.hardware-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.hardware-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.hardware-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.hardware-image {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    padding: 3rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 220px;
}

.hardware-mockup {
    position: relative;
}

.hardware-mockup.tablet .device-screen {
    width: 120px;
    height: 90px;
    background: var(--gray-800);
    border-radius: var(--radius);
    border: 3px solid var(--gray-700);
}

.hardware-mockup.tablet .device-stand {
    width: 60px;
    height: 8px;
    background: var(--gray-400);
    margin: 0.5rem auto 0;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.hardware-mockup.dual {
    display: flex;
    gap: 0.5rem;
    align-items: flex-end;
}

.hardware-mockup.dual .device-screen.main {
    width: 100px;
    height: 80px;
    background: var(--gray-800);
    border-radius: var(--radius);
    border: 3px solid var(--gray-700);
}

.hardware-mockup.dual .device-screen.secondary {
    width: 60px;
    height: 50px;
    background: var(--gray-700);
    border-radius: var(--radius-sm);
    border: 2px solid var(--gray-600);
}

.hardware-mockup.kiosk .device-screen.tall {
    width: 80px;
    height: 120px;
    background: var(--gray-800);
    border-radius: var(--radius);
    border: 3px solid var(--gray-700);
}

.hardware-mockup.kiosk .device-base {
    width: 40px;
    height: 30px;
    background: var(--gray-500);
    margin: 0 auto;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.hardware-info {
    padding: 2rem;
}

.hardware-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
}

.hardware-info h3 {
    margin-bottom: 0.5rem;
}

.hardware-info > p {
    color: var(--gray-500);
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.hardware-info ul {
    margin-bottom: 1.5rem;
}

.hardware-info li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.hardware-info li i {
    color: var(--success);
    font-size: 0.75rem;
}

/* =====================================================
   PRICING SECTION
   ===================================================== */
.pricing {
    padding: 6rem 0;
    background: var(--white);
}

.pricing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.toggle-label {
    font-weight: 500;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toggle-label.active {
    color: var(--gray-900);
}

.save-badge {
    padding: 0.125rem 0.5rem;
    background: var(--success);
    color: var(--white);
    font-size: 0.75rem;
    border-radius: var(--radius-full);
}

.toggle {
    position: relative;
    width: 50px;
    height: 28px;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: var(--gray-300);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.slider::before {
    content: '';
    position: absolute;
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background: var(--white);
    border-radius: 50%;
    transition: var(--transition);
}

input:checked + .slider {
    background: var(--gradient);
}

input:checked + .slider::before {
    transform: translateX(22px);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.pricing-card {
    position: relative;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    transition: var(--transition);
}

.pricing-card:hover {
    border-color: var(--primary-light);
}

.pricing-card.popular {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.375rem 1rem;
    background: var(--gradient);
    color: var(--white);
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.pricing-header h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.pricing-header p {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.pricing-amount {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-200);
}

.pricing-amount .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-600);
    vertical-align: top;
}

.pricing-amount .price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
}

.pricing-amount .period {
    color: var(--gray-500);
}

.pricing-features {
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0;
    font-size: 0.9375rem;
}

.pricing-features li i {
    color: var(--success);
}

.pricing-features li.disabled {
    color: var(--gray-400);
}

.pricing-features li.disabled i {
    color: var(--gray-300);
}

.pricing-note {
    text-align: center;
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* =====================================================
   TESTIMONIALS SECTION
   ===================================================== */
.testimonials {
    padding: 6rem 0;
    background: var(--gray-50);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.testimonial-card.featured {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    border: none;
}

.testimonial-card.featured .testimonial-text,
.testimonial-card.featured .author-info h4 {
    color: var(--white);
}

.testimonial-card.featured .author-info span {
    color: var(--gray-400);
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-rating i {
    color: var(--accent);
}

.testimonial-text {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: 50%;
}

.author-info h4 {
    font-size: 0.9375rem;
    font-weight: 600;
}

.author-info span {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

/* Partners */
.partners-section {
    text-align: center;
}

.partners-label {
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.partner-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-400);
    opacity: 0.7;
    transition: var(--transition);
}

.partner-logo:hover {
    opacity: 1;
    color: var(--gray-600);
}

/* =====================================================
   FAQ SECTION
   ===================================================== */
.faq {
    padding: 6rem 0;
    background: var(--white);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--primary);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--gray-50);
}

.faq-question h4 {
    font-weight: 600;
    font-size: 1rem;
}

.faq-question i {
    color: var(--primary);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta {
    padding: 6rem 0;
    background: var(--gradient);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */
.contact {
    padding: 6rem 0;
    background: var(--gray-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--gray-500);
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-method i {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    color: var(--primary);
    border-radius: var(--radius-md);
    font-size: 1.25rem;
}

.contact-method h4 {
    font-size: 0.9375rem;
    margin-bottom: 0.125rem;
}

.contact-method span {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.9375rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: var(--gray-900);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--gray-800);
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand > p {
    color: var(--gray-400);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-800);
    color: var(--gray-400);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-links h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray-400);
    font-size: 0.9375rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.footer-legal a:hover {
    color: var(--white);
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-description {
        margin: 0 auto 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .screen {
        width: 320px;
        transform: none;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-card.featured {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .solutions-content {
        grid-template-columns: 1fr;
    }
    
    .solutions-visual {
        order: -1;
    }
    
    .hardware-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hardware-grid .hardware-card:last-child {
        grid-column: span 2;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto 2rem;
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto 4rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-buttons {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        padding: 8rem 0 4rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .business-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card.featured {
        grid-column: span 1;
    }
    
    .solutions-visual {
        grid-template-columns: 1fr;
    }
    
    .visual-card:first-child {
        grid-column: span 1;
    }
    
    .hardware-grid {
        grid-template-columns: 1fr;
    }
    
    .hardware-grid .hardware-card:last-child {
        grid-column: span 1;
        max-width: none;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }
    
    .business-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-logos {
        gap: 1.5rem;
    }
    
    .partner-logo {
        font-size: 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.hero-image {
    animation: fadeInUp 0.8s ease-out;
}

.hero-image {
    animation-delay: 0.2s;
}

/* =====================================================
   LIVE CHAT WIDGET
   ===================================================== */
.chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    font-family: 'Inter', sans-serif;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.chat-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(99, 102, 241, 0.5);
}

.chat-toggle.active {
    transform: rotate(90deg);
}

.chat-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    background: var(--error);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

.chat-badge.hidden {
    display: none;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 520px;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 60px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
    overflow: hidden;
}

.chat-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chat-header {
    background: var(--gradient);
    color: white;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.chat-header h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 0.125rem;
}

.chat-status {
    font-size: 0.75rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.chat-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--gray-50);
}

.chat-message {
    display: flex;
    gap: 0.625rem;
    max-width: 85%;
    animation: messageIn 0.3s ease;
}

@keyframes messageIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message.bot {
    align-self: flex-start;
}

.chat-message.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.chat-message.user .message-avatar {
    background: var(--gray-600);
}

.message-content {
    background: white;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.chat-message.bot .message-content {
    border-top-left-radius: 4px;
}

.chat-message.user .message-content {
    background: var(--primary);
    color: white;
    border-top-right-radius: 4px;
}

.message-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.message-time {
    font-size: 0.7rem;
    color: var(--gray-400);
    margin-top: 0.375rem;
    display: block;
}

.chat-message.user .message-time {
    color: rgba(255, 255, 255, 0.7);
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 0.75rem 1rem;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--gray-400);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-4px); }
}

.chat-suggestions {
    padding: 0.75rem 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-top: 1px solid var(--gray-200);
    background: white;
}

.suggestion-btn {
    padding: 0.5rem 0.875rem;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s ease;
}

.suggestion-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.chat-input-area {
    padding: 1rem;
    background: white;
    border-top: 1px solid var(--gray-200);
}

.chat-form {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.chat-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    outline: none;
    transition: all 0.2s ease;
}

.chat-form input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.chat-send {
    width: 42px;
    height: 42px;
    background: var(--gradient);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.chat-send:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.chat-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Mobile Chat Styles */
@media (max-width: 480px) {
    .chat-widget {
        bottom: 16px;
        right: 16px;
    }
    
    .chat-window {
        width: calc(100vw - 32px);
        height: calc(100vh - 120px);
        bottom: 70px;
        right: -8px;
    }
    
    .chat-toggle {
        width: 56px;
        height: 56px;
        font-size: 1.25rem;
    }
}

/* ===============================
   Demo Modal Styles
   =============================== */

.demo-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.demo-modal.active {
    opacity: 1;
    visibility: visible;
}

.demo-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.demo-modal-container {
    position: relative;
    width: calc(100% - 48px);
    max-width: 1100px;
    max-height: calc(100vh - 80px);
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.demo-modal.active .demo-modal-container {
    transform: scale(1) translateY(0);
}

.demo-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--gray-100);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    color: var(--gray-600);
    transition: all 0.2s ease;
    z-index: 10;
}

.demo-modal-close:hover {
    background: var(--gray-200);
    color: var(--gray-900);
    transform: rotate(90deg);
}

.demo-modal-content {
    display: grid;
    grid-template-columns: 1fr 380px;
    min-height: 580px;
}

.demo-left {
    padding: 48px;
    overflow-y: auto;
    max-height: calc(100vh - 80px);
}

.demo-header {
    margin-bottom: 32px;
}

.demo-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 12px;
    line-height: 1.2;
}

.demo-header p {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Demo Accordion */
.demo-accordion {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.demo-accordion-item {
    border-bottom: 1px solid var(--gray-200);
}

.demo-accordion-item:last-child {
    border-bottom: none;
}

.demo-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.demo-accordion-header:hover {
    opacity: 0.8;
}

.demo-accordion-header h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
}

.demo-accordion-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--gray-400);
    transition: all 0.3s ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-accordion-item.active .demo-accordion-icon {
    transform: rotate(45deg);
    color: var(--primary);
}

.demo-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.demo-accordion-item.active .demo-accordion-content {
    max-height: 200px;
    padding-bottom: 20px;
}

.demo-accordion-content p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.demo-accordion-content .highlight-link {
    color: var(--primary);
    font-weight: 500;
    text-decoration: underline;
    cursor: pointer;
}

.demo-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gray-900);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.demo-link:hover {
    gap: 10px;
}

.demo-link i {
    font-size: 0.75rem;
}

/* Demo Phone Mockup */
.demo-right {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    border-left: 1px solid var(--gray-200);
}

.demo-phone-mockup {
    position: relative;
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.3),
        inset 0 0 0 2px #333,
        inset 0 0 0 4px #1a1a1a;
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: #1a1a1a;
    border-radius: 0 0 18px 18px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.phone-screen-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 36px 16px 16px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s ease;
    pointer-events: none;
    display: flex;
    flex-direction: column;
}

.phone-screen-content.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

/* App Screen Styles */
.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0 16px;
    font-weight: 600;
    color: var(--gray-900);
    font-size: 0.875rem;
}

.app-header i {
    color: var(--gray-500);
    cursor: pointer;
}

.app-tabs {
    display: flex;
    gap: 4px;
    background: var(--gray-100);
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 16px;
}

.app-tabs .tab {
    flex: 1;
    text-align: center;
    padding: 8px 12px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-500);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.app-tabs .tab.active {
    background: white;
    color: var(--gray-900);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.menu-items {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--gray-50);
    border-radius: 12px;
    position: relative;
}

.menu-item .item-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
}

.menu-item .item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.menu-item .item-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--gray-900);
}

.menu-item .item-price {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.menu-item .item-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--primary);
    color: white;
    font-size: 0.625rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.app-button {
    background: var(--primary);
    color: white;
    padding: 14px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    margin-top: auto;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.app-button:hover {
    transform: scale(1.02);
}

/* Payment Screen */
.payment-amount {
    text-align: center;
    padding: 24px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    margin: -36px -16px 16px;
    padding-top: 48px;
    color: white;
}

.payment-amount .amount-label {
    font-size: 0.75rem;
    opacity: 0.8;
    display: block;
    margin-bottom: 4px;
}

.payment-amount .amount-value {
    font-size: 2.5rem;
    font-weight: 800;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.payment-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 8px;
    background: var(--gray-50);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.payment-option:hover {
    background: var(--gray-100);
}

.payment-option i {
    font-size: 1.25rem;
    color: var(--primary);
}

.payment-option span {
    font-size: 0.6875rem;
    color: var(--gray-600);
    font-weight: 500;
}

.split-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 10px;
    margin-bottom: 16px;
    font-size: 0.8125rem;
}

.split-info .split-amount {
    font-weight: 700;
    color: var(--primary);
}

/* Loyalty Screen */
.loyalty-header {
    flex-direction: column;
    gap: 8px;
    padding-top: 16px !important;
    padding-bottom: 24px !important;
}

.brand-logo .logo-circle {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
}

.brand-name {
    font-size: 0.875rem;
    letter-spacing: 1px;
    color: var(--gray-900);
}

.loyalty-welcome {
    text-align: center;
    margin-bottom: 24px;
}

.loyalty-welcome p {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

.loyalty-form {
    flex: 1;
}

.loyalty-form label {
    display: block;
    font-size: 0.8125rem;
    color: var(--gray-600);
    margin-bottom: 8px;
}

.phone-input {
    display: flex;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
}

.phone-input .country-code {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px;
    background: var(--gray-50);
    font-size: 0.8125rem;
    color: var(--gray-600);
    border-right: 1px solid var(--gray-200);
}

.phone-input .country-code img {
    width: 20px;
    border-radius: 2px;
}

.phone-input input {
    flex: 1;
    border: none;
    padding: 12px;
    font-size: 0.9375rem;
    outline: none;
}

.form-note {
    font-size: 0.6875rem;
    color: var(--gray-500);
    text-align: center;
    line-height: 1.5;
}

.loyalty-btn {
    background: var(--primary);
}

/* Management Screen */
.staff-overview {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.staff-stat {
    flex: 1;
    background: var(--gray-50);
    padding: 16px;
    border-radius: 12px;
    text-align: center;
}

.staff-stat .stat-num {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
}

.staff-stat .stat-label {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.staff-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.staff-member {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--gray-50);
    border-radius: 12px;
}

.staff-member .avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
}

.staff-member .staff-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.staff-member .name {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--gray-900);
}

.staff-member .role {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.staff-member .status {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.staff-member .status.online {
    background: #10b981;
}

.staff-member .status.break {
    background: #f59e0b;
}

/* Insights Screen */
.insights-period {
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.insights-main {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px;
}

.insights-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--gray-900);
}

.insights-change {
    font-size: 0.8125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.insights-change.positive {
    color: #10b981;
}

.chart-placeholder {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 100px;
    padding: 16px 0;
    margin-bottom: 16px;
}

.chart-placeholder .bar {
    flex: 1;
    background: var(--gray-200);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.chart-placeholder .bar.active {
    background: var(--primary);
}

.insights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.insight-card {
    background: var(--gray-50);
    padding: 16px;
    border-radius: 12px;
    text-align: center;
}

.insight-card .insight-label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.insight-card .insight-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
}

/* Demo Modal Responsive */
@media (max-width: 900px) {
    .demo-modal-content {
        grid-template-columns: 1fr;
    }
    
    .demo-right {
        display: none;
    }
    
    .demo-left {
        max-height: calc(100vh - 120px);
    }
    
    .demo-header h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 600px) {
    .demo-modal-container {
        width: calc(100% - 24px);
        max-height: calc(100vh - 40px);
        border-radius: 16px;
    }
    
    .demo-left {
        padding: 32px 24px;
    }
    
    .demo-modal-close {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
    }
    
    .demo-header h2 {
        font-size: 1.25rem;
        padding-right: 32px;
    }
    
    .demo-accordion-header h4 {
        font-size: 1rem;
    }
}
