/* ========================================
   Base Styles & Variables
   ======================================== */
:root {
    /* Light Theme Variables */
    --primary-color: #0088cc;
    --primary-dark: #006699;
    --primary-light: #33aadd;
    --secondary-color: #8e44ad;
    --accent-color: #10b981;
    --warning-color: #f59e0b;
    --bg-dark: #0f172a;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --text-dark: #1e293b;
    --text-medium: #475569;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --text-white: #ffffff;
    --border-color: rgba(148, 163, 184, 0.2);
    --border-light: rgba(148, 163, 184, 0.15);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 30px rgba(0, 136, 204, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Phone Frame */
    --phone-width: 220px;
    --phone-height: 440px;
    --phone-radius: 28px;
    --phone-border: 6px;
}

/* Dark Theme Variables */
[data-theme="dark"] {
    --bg-light: #0f172a;
    --bg-white: #1e293b;
    --text-dark: #f1f5f9;
    --text-medium: #cbd5e1;
    --text-light: #94a3b8;
    --border-color: rgba(148, 163, 184, 0.15);
    --border-light: rgba(148, 163, 184, 0.1);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: clamp(1rem, 2vw, 1.125rem); }

p {
    color: var(--text-light);
}

a {
    color: var(--primary-color);
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

[data-theme="dark"] .navbar {
    background: rgba(30, 41, 59, 0.8);
}

.navbar.scrolled {
    padding: 0.75rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

[data-theme="dark"] .navbar.scrolled {
    background: rgba(30, 41, 59, 0.95);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-dark);
    flex-shrink: 0;
}

.logo-icon {
    color: var(--primary-color);
    font-size: 1.75rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0 auto;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color var(--transition-fast);
    padding: 0.5rem 0;
}

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

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

/* Theme Toggle Button */
.theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    border: none;
    background: var(--bg-light);
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
}

.theme-toggle:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.theme-toggle .sun-icon {
    display: none;
}

.theme-toggle .moon-icon {
    display: block;
}

[data-theme="dark"] .theme-toggle .sun-icon {
    display: block;
}

[data-theme="dark"] .theme-toggle .moon-icon {
    display: none;
}

.nav-cta {
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: var(--text-white) !important;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 2rem;
}

.mobile-nav-links a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-white);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.theme-toggle-mobile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    color: var(--text-white);
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.theme-toggle-mobile:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 7rem 2rem 4rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1a2e 50%, #16213e 100%);
}

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

.hero-gradient {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 136, 204, 0.3) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.hero-particles {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(142, 68, 173, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 136, 204, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(16, 185, 129, 0.1) 0%, transparent 40%);
}

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

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 1;
}

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

/* Cross-Platform Benefit Badge */
.crossplatform-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: var(--radius-xl);
    color: var(--text-white);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    animation: fadeInDown 0.6s ease, pulseGlow 3s ease-in-out infinite;
    cursor: default;
    transition: all var(--transition-normal);
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.1);
}

.crossplatform-badge:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.5);
    box-shadow: 0 8px 30px rgba(56, 189, 248, 0.2);
    background: rgba(255, 255, 255, 0.12);
}

.crossplatform-icons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.crossplatform-icons svg {
    width: 24px;
    height: 24px;
    opacity: 0.9;
}

.crossplatform-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.crossplatform-text .highlight {
    background: linear-gradient(135deg, #22d3ee, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.crossplatform-text .arrow {
    color: rgba(56, 189, 248, 0.7);
    font-size: 1.1rem;
    transition: transform var(--transition-normal);
}

.crossplatform-badge:hover .crossplatform-text .arrow {
    transform: translateX(4px);
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 25px rgba(56, 189, 248, 0.1);
    }
    50% {
        box-shadow: 0 0 35px rgba(56, 189, 248, 0.2);
    }
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 136, 204, 0.15);
    border: 1px solid rgba(0, 136, 204, 0.3);
    border-radius: var(--radius-xl);
    color: var(--primary-light);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
    width: fit-content;
}

.hero-title {
    color: var(--text-white);
    margin-bottom: 1.25rem;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 560px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease 0.3s both;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.hero-stats {
    display: flex;
    gap: 2.5rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
    animation: fadeIn 1s ease 0.5s both;
}

.phone-mockup {
    perspective: 1000px;
    position: relative;
}

.phone-frame {
    width: var(--phone-width);
    height: var(--phone-height);
    background: linear-gradient(145deg, #2a2a3a, #1a1a2a);
    border-radius: var(--phone-radius);
    padding: var(--phone-border);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: all var(--transition-normal);
    animation: floatPhone 6s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

@keyframes floatPhone {
    0%, 100% { transform: rotateY(-5deg) rotateX(5deg) translateY(0); }
    50% { transform: rotateY(-5deg) rotateX(5deg) translateY(-15px); }
}

.phone-frame:hover {
    transform: rotateY(0) rotateX(0) scale(1.02);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: calc(var(--phone-radius) - var(--phone-border) - 4px);
    overflow: hidden;
    position: relative;
}

[data-theme="dark"] .phone-screen {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: calc(var(--phone-radius) - var(--phone-border) - 4px);
}

.phone-reflection {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    border-radius: var(--phone-radius);
}

/* Floating Cards */
.floating-elements {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    animation: floatCard 4s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .floating-card {
    background: rgba(30, 41, 59, 0.95);
}

.floating-card .card-icon {
    font-size: 1.25rem;
}

.floating-card .card-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
}

.card-1 {
    top: 15%;
    right: -30%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 25%;
    right: -35%;
    animation-delay: 1s;
}

.card-3 {
    top: 60%;
    left: -25%;
    animation-delay: 2s;
}

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

/* ========================================
   Section Common Styles
   ======================================== */
.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.1), rgba(142, 68, 173, 0.1));
    border-radius: var(--radius-xl);
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.0625rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ========================================
   Features Section
   ======================================== */
.features {
    padding: 5rem 0;
    background: var(--bg-light);
}

.feature-category {
    margin-bottom: 3.5rem;
}

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

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.admin-header { border-color: var(--primary-color); }
.courier-header { border-color: var(--warning-color); }
.client-header { border-color: var(--accent-color); }

.category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--bg-white);
    color: var(--text-dark);
}

.admin-header .category-icon {
    color: var(--primary-color);
    background: rgba(0, 136, 204, 0.1);
}

.courier-header .category-icon {
    color: var(--warning-color);
    background: rgba(245, 158, 11, 0.1);
}

.client-header .category-icon {
    color: var(--accent-color);
    background: rgba(16, 185, 129, 0.1);
}

.category-header h3 {
    font-size: 1.375rem;
    color: var(--text-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.feature-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

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

.courier-card:hover {
    border-color: var(--warning-color);
}

.client-card:hover {
    border-color: var(--accent-color);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.feature-card h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.5;
    flex-grow: 1;
}

/* ========================================
   Interface Showcase (Slider)
   ======================================== */
.interface-showcase {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

.slider-container {
    max-width: 800px;
    margin: 0 auto;
}

.slider-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.slider-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-medium);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.slider-tab svg {
    flex-shrink: 0;
}

.slider-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.slider-tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.slider-wrapper {
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    background: var(--bg-white);
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    display: none;
    justify-content: center;
    padding: 1.5rem;
    background: var(--bg-white);
}

.slide.active {
    display: flex;
}

.slide-content {
    display: flex;
    justify-content: center;
}

.slide-frame {
    transform: none !important;
    animation: none !important;
    width: var(--phone-width);
    height: var(--phone-height);
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border-radius: calc(var(--phone-radius) - var(--phone-border) - 4px);
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-theme="dark"] .placeholder-image {
    background: linear-gradient(135deg, #1e293b, #334155);
}

.placeholder-image.admin-style {
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.15), rgba(142, 68, 173, 0.15));
}

.placeholder-image.courier-style {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(234, 179, 8, 0.15));
}

.placeholder-image.client-style {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.15));
}

.placeholder-content {
    text-align: center;
    padding: 1rem;
}

.placeholder-icon {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 0.75rem;
}

.placeholder-text {
    color: var(--text-dark);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Screenshot Images in Phone Frames */
.screenshot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: calc(var(--phone-radius) - var(--phone-border) - 2px);
    display: block;
}

/* Client screenshots - different aspect ratios */
.slide[data-type="client"] .screenshot-img {
    object-fit: cover;
    object-position: top center;
}

/* client-3 (Корзина) and client-4 (Каталог) have shorter ratios, use contain */
.slide[data-type="client"] .screenshot-img[src*="client-3"],
.slide[data-type="client"] .screenshot-img[src*="client-4"] {
    object-fit: contain;
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
}

[data-theme="dark"] .slide[data-type="client"] .screenshot-img[src*="client-3"],
[data-theme="dark"] .slide[data-type="client"] .screenshot-img[src*="client-4"] {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
}

/* Courier screenshots - nearly 1:2 ratio (1:1.98 and 1:1.67), fits phone perfectly */
.slide[data-type="courier"] .screenshot-img {
    object-fit: cover;
    object-position: top center;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.slider-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    color: var(--text-dark);
    flex-shrink: 0;
}

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

.slider-dots {
    display: flex;
    gap: 0.5rem;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.slider-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* ========================================
   Benefits Section
   ======================================== */
.benefits {
    padding: 5rem 0;
    background: var(--bg-white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.benefit-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    background: var(--bg-light);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
}

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

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.benefit-card h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.benefit-card p {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* ========================================
   Test Stand Section
   ======================================== */
.test-stand-section {
    padding: 5rem 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
}

.test-stand-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.test-stand-content h2 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.test-stand-content > p {
    color: var(--text-light);
    margin-bottom: 2.5rem;
    font-size: 1.0625rem;
}

.test-stand-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.test-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all var(--transition-normal);
    min-width: 200px;
    position: relative;
    overflow: hidden;
}

.telegram-test-btn {
    background: linear-gradient(135deg, #0088cc, #229ED9);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
}

.telegram-test-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.4);
}

.test-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.max-coming-soon {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    cursor: default;
}

.max-btn-content {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 2;
}

.max-coming-soon:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.coming-soon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 10px,
        rgba(0, 0, 0, 0.1) 10px,
        rgba(0, 0, 0, 0.1) 20px
    );
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-5deg) scale(1.1);
    z-index: 3;
}

.coming-soon-overlay span {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 2rem;
    font-weight: 800;
    font-size: 1.125rem;
    letter-spacing: 0.1em;
    border-radius: var(--radius-sm);
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1a2e 100%);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.cta-content > p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.0625rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.contact-options {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.75rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all var(--transition-normal);
    min-width: 260px;
}

.contact-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.12);
}

.telegram-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 136, 204, 0.3);
}

.email-card:hover {
    border-color: var(--warning-color);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.email-card .contact-icon {
    background: linear-gradient(135deg, var(--warning-color), #d97706);
}

.contact-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    flex-grow: 1;
}

.contact-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8125rem;
}

.contact-value {
    color: var(--text-white);
    font-weight: 600;
    font-size: 0.9375rem;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: 3.5rem 0 2rem;
    background: var(--bg-dark);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-brand .logo {
    color: white;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

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

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

.footer-bottom {
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.8125rem;
}

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

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

[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

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

    .hero-text {
        align-items: center;
    }

    .hero-subtitle {
        margin: 0 auto 2rem;
    }

    .hero-cta-group {
        justify-content: center;
    }

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

    .hero-visual {
        margin-top: 1rem;
    }

    .nav-links {
        display: none;
    }

    .nav-actions .theme-toggle {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .phone-frame {
        width: 220px;
        height: 440px;
    }

    .floating-card {
        display: none;
    }

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

    .section-container {
        padding: 0 1.5rem;
    }
}

/* ========================================
   Responsive Design - Mobile (480px - 768px)
   ======================================== */
@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 1rem;
    }

    .hero {
        padding: 5rem 1rem 3rem;
        min-height: auto;
    }

    .hero-badge {
        font-size: 0.8125rem;
        padding: 0.4rem 0.875rem;
    }

    .crossplatform-badge {
        font-size: 0.8125rem;
        padding: 0.6rem 1rem;
        gap: 0.5rem;
    }

    .crossplatform-icons svg {
        width: 20px;
        height: 20px;
    }

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

    .hero-subtitle {
        font-size: 0.9375rem;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }

    .hero-stats {
        gap: 1.5rem;
        justify-content: center;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .phone-frame {
        width: 180px;
        height: 360px;
        border-radius: 28px;
        padding: 8px;
        --phone-border: 8px;
    }

    .phone-screen {
        border-radius: 22px;
    }

    .section-container {
        padding: 0 1rem;
    }

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

    .section-badge {
        font-size: 0.8125rem;
        padding: 0.4rem 0.875rem;
    }

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

    .section-subtitle {
        font-size: 0.9375rem;
    }

    .features {
        padding: 3.5rem 0;
    }

    .feature-category {
        margin-bottom: 2.5rem;
    }

    .category-header {
        gap: 0.75rem;
        margin-bottom: 1.25rem;
    }

    .category-icon {
        width: 40px;
        height: 40px;
    }

    .category-icon svg {
        width: 22px;
        height: 22px;
    }

    .category-header h3 {
        font-size: 1.125rem;
    }

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

    .feature-card {
        padding: 1.25rem;
        flex-direction: row;
        align-items: flex-start;
        gap: 1rem;
    }

    .feature-icon {
        font-size: 1.5rem;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .feature-card h4 {
        font-size: 0.9375rem;
        margin-bottom: 0.25rem;
    }

    .feature-card p {
        font-size: 0.8125rem;
    }

    .slider-tabs {
        gap: 0.5rem;
    }

    .slider-tab {
        padding: 0.625rem 1rem;
        font-size: 0.8125rem;
    }

    .slider-tab svg {
        width: 18px;
        height: 18px;
    }

    .slide {
        padding: 1rem;
    }

    .slide-frame {
        width: 130px;
        height: 260px;
        border-radius: 22px;
        padding: 4px;
        --phone-border: 4px;
    }



    .placeholder-icon {
        font-size: 2rem;
    }

    .placeholder-text {
        font-size: 0.75rem;
    }

    .slider-controls {
        gap: 1rem;
        margin-top: 1rem;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
    }

    .slider-btn svg {
        width: 20px;
        height: 20px;
    }

    .benefits {
        padding: 3.5rem 0;
    }

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

    .benefit-card {
        padding: 1.5rem 1rem;
    }

    .benefit-icon {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .benefit-card h4 {
        font-size: 0.9375rem;
    }

    .benefit-card p {
        font-size: 0.8125rem;
    }

    .cta-section {
        padding: 3.5rem 0;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }

    .cta-content > p {
        font-size: 0.9375rem;
    }

    .contact-options {
        flex-direction: column;
        align-items: center;
    }

    .contact-card {
        width: 100%;
        max-width: 320px;
        min-width: auto;
        padding: 1rem 1.25rem;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
    }

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

    .footer {
        padding: 2.5rem 0 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.25rem;
    }

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

/* ========================================
   Responsive Design - Small Mobile (320px - 480px)
   ======================================== */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .hero {
        padding: 4.5rem 0.75rem 2.5rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        margin-bottom: 1rem;
    }

    .crossplatform-badge {
        font-size: 0.75rem;
        padding: 0.5rem 0.875rem;
        flex-direction: column;
        gap: 0.375rem;
        text-align: center;
    }

    .crossplatform-icons {
        gap: 0.375rem;
    }

    .crossplatform-icons svg {
        width: 18px;
        height: 18px;
    }

    .crossplatform-text {
        justify-content: center;
    }

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

    .hero-subtitle {
        font-size: 0.875rem;
        margin-bottom: 1.5rem;
    }

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

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .phone-frame {
        width: 150px;
        height: 300px;
        border-radius: 24px;
        padding: 6px;
        --phone-border: 6px;
    }

    .phone-screen {
        border-radius: 18px;
    }

    .features-grid {
        gap: 0.875rem;
    }

    .feature-card {
        padding: 1rem;
    }

    .feature-icon {
        font-size: 1.25rem;
    }

    .slider-tab {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }

    .slider-tab svg {
        display: none;
    }

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

    .benefit-card {
        padding: 1.25rem;
    }

    .footer-links {
        gap: 1rem;
    }

    .footer-links a {
        font-size: 0.8125rem;
    }
}

/* ========================================
   Responsive Design - Large Tablet (1024px - 1200px)
   ======================================== */
@media (min-width: 1025px) and (max-width: 1200px) {
    .hero-content {
        gap: 2rem;
    }

    .hero-subtitle {
        max-width: 500px;
    }

    .phone-frame {
        width: 240px;
        height: 480px;
    }

    .floating-card {
        display: none;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========================================
   High DPI / Retina Displays
   ======================================== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .btn,
    .feature-card,
    .benefit-card,
    .contact-card {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

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

    .hero-gradient,
    .phone-frame,
    .floating-card {
        animation: none !important;
    }
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    .navbar,
    .mobile-menu,
    .hero-cta-group,
    .slider-controls,
    .contact-options {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: 2rem;
        background: white !important;
    }

    .hero-title,
    .hero-subtitle {
        color: black !important;
    }

    .phone-frame {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}
