/* Font Face Declarations */
@font-face {
    font-family: 'Inter';
    src: url('assets/fonts/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('assets/fonts/Inter-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('assets/fonts/Inter-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('assets/fonts/Inter-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

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

/* CSS Variables */
:root {
    /* Colors - Tugo app blue theme */
    --color-primary: #030238;
    --color-secondary: #1a237e;
    --color-accent: #2a4dff;
    --color-accent-light: #4d69ff;
    --color-text: #1a1a2e;
    --color-text-light: #4a4a68;
    --color-text-lighter: #999999;
    --color-background: #ffffff;
    --color-surface: #f8f9ff;
    --color-border: rgba(42, 77, 255, 0.1);
    
    /* Typography */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    
    /* Layout */
    --container-max-width: 1400px;
    --section-padding: 80px;
    --grid-gap: 24px;
    --header-height: 80px;
    
    /* Effects */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.4s ease;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    opacity: 0;
    animation: fadeIn 0.5s ease-out forwards;
}

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

section {
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 2.75rem;
    margin-bottom: 1.25rem;
    line-height: 1.1;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    backdrop-filter: blur(6px);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.25), transparent);
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
    padding: 0 1rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 600;
    color: #fff;
    font-size: 1.5rem;
    transition: transform 0.2s ease;
}

.logo:hover {
    transform: translateY(-1px);
}

.logo img {
    height: 60px;
    margin-right: 0.5rem;
}

.logo-text { color: #fff; font-weight: 700; }

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.2s ease;
}

.nav-links a:hover {
    color: #fff;
}

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

/* Language Button */
.lang-control { position: relative; }
.lang-button { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.08); color: #fff; font-weight: 600; cursor: pointer; transition: background 0.2s ease, border-color 0.2s ease; }
.lang-button:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.22); }
.lang-button img { width: 16px; height: 16px; opacity: 0.95; }
.lang-label { letter-spacing: 0.3px; }

.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); background: rgba(15, 76, 209, 0.98); border: 1px solid rgba(255,255,255,0.18); border-radius: 10px; padding: 6px; min-width: 160px; box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
.lang-option { width: 100%; text-align: left; padding: 8px 10px; background: transparent; border: none; color: #fff; font-weight: 600; border-radius: 8px; cursor: pointer; }
.lang-option:hover { background: rgba(255,255,255,0.12); }

@media (max-width: 639px) {
  .lang-menu { left: 0; right: auto; }
}

/* Small phones and compact screens: stabilize hero layout */
@media (max-width: 767px) {
    .hero .container { gap: 1.25rem; }
    .hero-content { max-width: 100%; text-align: center; }
    h1 { font-size: 1.75rem; }
    .hero-subtitle { font-size: 1rem; line-height: 1.5; margin-bottom: 1rem; }
    .app-buttons img { height: 40px; }
    .coming-soon { font-size: 0.95rem; }

    /* Hide hero highlight pills on mobile */
    .hero-extras { display: none; }

    /* Simplify screenshots to a single centered image */
    .app-screenshots { height: auto; transform: none; display: flex; justify-content: center; padding-top: 8px; }
    .screenshot-main { position: static; right: auto; top: auto; transform: none; width: 260px; max-width: 85%; }
    .screenshot-secondary, .screenshot-tertiary { display: none; }
}

.menu-toggle {
    display: none;
}

.menu-toggle .menu-icon,
.menu-toggle .menu-icon::before,
.menu-toggle .menu-icon::after {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    position: relative;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle .menu-icon::before,
.menu-toggle .menu-icon::after {
    content: '';
    position: absolute;
    left: 0;
}
.menu-toggle .menu-icon::before { top: -6px; }
.menu-toggle .menu-icon::after { top: 6px; }

/* Morph hamburger into X when open */
.menu-toggle.open .menu-icon { background: transparent; }
.menu-toggle.open .menu-icon::before { top: 0; transform: rotate(45deg); }
.menu-toggle.open .menu-icon::after { top: 0; transform: rotate(-45deg); }

.nav-links.open { display: flex !important; }

/* Hero Section */
.hero {
    padding-top: var(--header-height);
    padding-bottom: 0;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - var(--header-height));
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    min-height: calc(100vh - var(--header-height));
}

.hero-content {
    flex: 1;
    max-width: 520px;
    padding-right: 2rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.5;
    max-width: 440px;
}

.app-buttons {
    display: flex;
    gap: 0.75rem;
}
.coming-soon { margin-top: 8px; color: rgba(255,255,255,0.9); font-weight: 600; letter-spacing: 0.3px; }

.app-buttons img {
    height: 44px;
    transition: transform 0.2s ease;
}

.app-buttons img:hover {
    transform: scale(1.03);
}

.hero-image {
    flex: 1;
    max-width: 45%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hero-extras { position: absolute; left: 50%; bottom: 56px; transform: translateX(-50%); pointer-events: none; }
.hero-highlights { display: flex; gap: 1rem; list-style: none; padding: 0; margin: 0; }
.hero-highlights .highlight { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.75rem; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); border-radius: 9999px; backdrop-filter: blur(4px); color: #fff; font-weight: 600; }
.hero-highlights img { width: 18px; height: 18px; filter: brightness(0) invert(1); }

.scroll-indicator { position: absolute; right: 24px; bottom: 24px; width: 44px; height: 44px; border-radius: 9999px; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255,255,255,0.35); background: rgba(255,255,255,0.08); text-decoration: none; animation: bounceY 2s infinite; }
.scroll-indicator:hover { background: rgba(255,255,255,0.18); }

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

.app-screenshots {
    position: relative;
    width: 100%;
    height: 460px;
}

.screenshot-main {
    position: absolute;
    width: 220px;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.screenshot-secondary {
    position: absolute;
    width: 200px;
    right: 140px;
    top: 45%;
    transform: translateY(-50%) rotate(-5deg);
    z-index: 2;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    opacity: 0.85;
}

.screenshot-tertiary {
    position: absolute;
    width: 180px;
    right: 260px;
    top: 40%;
    transform: translateY(-50%) rotate(-10deg);
    z-index: 1;
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    opacity: 0.6;
}

.floating {
    animation: float 6s ease-in-out infinite;
}

@media (max-width: 1200px) {
    .app-screenshots {
        transform: scale(0.8);
    }
}

@media (max-width: 1023px) {
    /* Collapse nav into hamburger */
    .nav-links { position: fixed; top: var(--header-height, 80px); right: 0; left: auto; width: min(85vw, 360px); background: rgba(15,76,209,0.98); padding: 12px; display: flex; flex-direction: column; align-items: stretch; gap: 12px; border-radius: 12px 0 0 12px; border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 8px 24px rgba(0,0,0,0.25); transform: translateX(100%); opacity: 0; pointer-events: none; transition: transform 0.3s ease, opacity 0.3s ease; z-index: 1001; }
    .nav-links.open { transform: translateX(0); opacity: 1; pointer-events: auto; }
    .menu-toggle { display: block; background: none; border: none; cursor: pointer; padding: 8px; }
    .app-screenshots {
        transform: scale(0.7);
    }
}

@media (max-width: 767px) {
    .hero-image {
        position: relative;
        width: 100%;
        height: 400px;
        right: 0;
        top: 0;
        transform: none;
        margin-top: 2rem;
    }

    .app-screenshots {
        transform: scale(0.6);
        height: 400px;
    }

    .screenshot-main {
        right: 50%;
        transform: translateX(50%) translateY(-50%);
    }

    .screenshot-secondary {
        right: calc(50% + 150px);
        transform: translateX(50%) translateY(-50%) rotate(-5deg);
    }

    .screenshot-tertiary {
        right: calc(50% + 280px);
        transform: translateX(50%) translateY(-50%) rotate(-10deg);
    }
}

/* Why Choose Us - new layout */
.features { padding: var(--section-padding) 0; background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-background) 100%); }

.features-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; align-items: center; max-width: 1100px; margin: 0 auto; }
.features-copy { max-width: 520px; }
.features-copy .section-tag { margin-bottom: 1rem; }
.checklist { list-style: none; padding: 0; margin: 1.5rem 0 1.25rem; display: grid; gap: 1rem; }
.check { display: grid; grid-template-columns: 44px 1fr; gap: 0.75rem; align-items: start; }
.features .check { opacity: 0; transform: translateY(12px); transition: opacity .25s ease, transform .25s ease; }
.features.animate .check { opacity: 1; transform: translateY(0); }
.features.animate .check:nth-child(1) { transition-delay: 0s; }
.features.animate .check:nth-child(2) { transition-delay: .05s; }
.features.animate .check:nth-child(3) { transition-delay: .1s; }
.check-icon { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light)); display: grid; place-items: center; }
.check-icon img { width: 22px; height: 22px; filter: brightness(0) invert(1); }
.check-text strong { display: block; color: var(--color-primary); margin-bottom: 0.25rem; }
.check-text p { margin: 0; color: var(--color-text-light); }
.features-visual { display: grid; justify-items: center; }
.mockup { width: 320px; height: 650px; border-radius: 36px; background: #000; padding: 12px; box-shadow: var(--shadow-xl); }
.mockup .phone-screen { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; }

@media (max-width: 1023px) {
  .features-wrap { grid-template-columns: 1fr; gap: 3rem; }
  .features-visual { order: -1; }
}

/* Services Section */
.services {
    padding: var(--section-padding) 0;
    background: var(--color-background);
}

.service-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0;
}

.service-tab {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: white;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-base);
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-text-light);
}

.service-tab.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.service-tab:hover:not(.active) {
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

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

.service-content {
    position: relative;
    min-height: 400px;
}

.service-panel {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-base);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.service-panel.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
}

.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.vehicle-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    border: 2px solid var(--color-border);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.vehicle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
    opacity: 0;
    transition: var(--transition-base);
    z-index: 0;
}

.vehicle-card:hover::before {
    opacity: 0.05;
}

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

.vehicle-image {
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
}

.vehicle-icon-img { width: 120px; height: auto; filter: drop-shadow(0 6px 12px rgba(0,0,0,0.15)); }

.vehicle-card h3 {
    position: relative;
    z-index: 1;
    font-size: var(--font-size-xl);
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.vehicle-size {
    position: relative;
    z-index: 1;
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--color-accent);
    margin: 0.5rem 0;
}

.vehicle-desc {
    position: relative;
    z-index: 1;
    color: var(--color-text-light);
    margin: 0;
}

.vehicle-meta { color: var(--color-text-light); margin: 0.25rem 0 0.75rem; }

.vehicle-tags { display: flex; gap: 0.5rem; justify-content: center; margin-bottom: 1rem; }
.tag { background: #eef2ff; color: var(--color-secondary); border-radius: 9999px; padding: 0.25rem 0.75rem; font-size: var(--font-size-sm); font-weight: 600; }

.vehicle-cta { display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.price { background: #1a237e; color: #fff; border-radius: 9999px; padding: 0.5rem 1rem; font-weight: 700; box-shadow: var(--shadow-md); }
.arrow { color: var(--color-secondary); font-weight: 700; }

.lift-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.lift-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 2px solid var(--color-border);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.lift-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
    opacity: 0;
    transition: var(--transition-base);
}

.lift-card:hover::before {
    opacity: 0.05;
}

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

.lift-image {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 1.5rem;
}

.lift-icon { display: none; }
.lift-image .vehicle-icon-img { width: 140px; height: auto; }

.lift-card h3 {
    position: relative;
    z-index: 1;
    font-size: var(--font-size-xl);
    margin-bottom: 1rem;
    color: var(--color-text);
}

.lift-desc {
    position: relative;
    z-index: 1;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.lift-features {
    position: relative;
    z-index: 1;
    list-style: none;
    padding: 0;
    margin: 0;
}

.lift-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--color-text-light);
}

.lift-features li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--color-accent);
    color: white;
    border-radius: 50%;
    margin-right: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(42, 77, 255, 0.1);
    color: var(--color-accent);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #666;
    margin-top: 1rem;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    position: relative;
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 32px;
    height: 32px;
    position: relative;
    z-index: 1;
}

.icon-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(42, 77, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-card:hover .icon-background {
    transform: translate(-50%, -50%) rotate(45deg);
    background: rgba(42, 77, 255, 0.15);
}

.feature-content h3 {
    margin-bottom: 1rem;
    color: var(--color-primary);
    font-size: 1.25rem;
}

.feature-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: #555;
    font-size: 0.95rem;
}

.feature-list li::before {
    content: '✓';
    display: inline-block;
    width: 20px;
    height: 20px;
    background: rgba(42, 77, 255, 0.1);
    border-radius: 50%;
    margin-right: 0.75rem;
    color: var(--color-accent);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.features-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 3rem;
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    line-height: 1;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
}

.features-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.background-shape {
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(42, 77, 255, 0.03), rgba(0, 0, 0, 0.02));
    top: -200px;
    right: -200px;
    transform: rotate(-15deg);
}

.background-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(42, 77, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.feature-card img {
    width: 52px;
    height: 52px;
    margin-bottom: 1.25rem;
}

.feature-card h3 {
    margin-bottom: 0.75rem;
    color: var(--color-primary);
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #666;
    margin: 0;
}

/* How It Works Section */
.how-it-works {
    padding: var(--section-padding) 0;
    background: #f8f9fa;
}

/* How It Works Section */
.how-it-works {
    background: linear-gradient(135deg, var(--color-surface) 0%, rgba(42, 77, 255, 0.05) 50%, var(--color-background) 100%);
    padding: calc(var(--section-padding) * 1.5) 0;
    position: relative;
    overflow: hidden;
}

.workflow-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0;
}

.workflow-tab {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: white;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-base);
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-text-light);
    box-shadow: var(--shadow-sm);
}

.workflow-tab.active {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    border-color: var(--color-accent);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.workflow-tab:hover:not(.active) {
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.workflow-panel {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.workflow-panel.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
}

.step-badge.transport {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    box-shadow: 0 8px 20px rgba(42, 77, 255, 0.3);
}

.step-badge.lift {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
    box-shadow: 0 8px 20px rgba(26, 35, 126, 0.3);
}

.step-badge.transport::before {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
}

.step-badge.lift::before {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
}

.mockup-glow {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: var(--transition-base);
    pointer-events: none;
}

.mockup-glow.transport {
    background: linear-gradient(135deg, rgba(42, 77, 255, 0.15), rgba(77, 105, 255, 0.1));
}

.mockup-glow.lift {
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.15), rgba(3, 2, 56, 0.1));
}

.workflow-step:hover .mockup-glow {
    opacity: 1;
}

.workflow-container {
    position: relative;
    margin-top: 4rem;
}

.workflow-timeline {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom, var(--color-accent), var(--color-accent-light));
    animation: timelineProgress 3s ease-in-out infinite;
}

@keyframes timelineProgress {
    0%, 100% { height: 0; }
    50% { height: 100%; }
}

.workflow-steps {
    position: relative;
    z-index: 2;
}

.workflow-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
    opacity: 0;
    transform: translateY(40px);
    animation: stepFadeIn 0.8s ease-out forwards;
}

.workflow-step:nth-child(2) { animation-delay: 0.2s; }
.workflow-step:nth-child(3) { animation-delay: 0.4s; }
.workflow-step:nth-child(4) { animation-delay: 0.6s; }

@keyframes stepFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.workflow-step:nth-child(even) {
    direction: rtl;
}

.workflow-step:nth-child(even) .step-content,
.workflow-step:nth-child(even) .step-visual {
    direction: ltr;
}

.step-content {
    padding: 2rem;
}

.step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
    position: relative;
}

/* Ensure the number inside the big circle is perfectly centered */
.step-badge .step-number { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: block; width: auto; height: auto; margin: 0; line-height: 1; background: transparent; border-radius: 0; box-shadow: none; }

.step-badge::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    border-radius: var(--radius-full);
    opacity: 0.2;
    z-index: -1;
}

.step-number {
    color: white;
    font-weight: 700;
    font-size: var(--font-size-lg);
}

.step-info h3 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.step-info p {
    font-size: var(--font-size-lg);
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.step-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: var(--font-size-base);
    color: var(--color-text-light);
}

.step-features li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(0, 212, 170, 0.1);
    color: var(--color-accent);
    border-radius: 50%;
    margin-right: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.phone-mockup {
    position: relative;
    width: 280px;
    height: auto;
    margin: 0 auto;
    border-radius: 28px;
    background: transparent;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transform: none;
    transition: var(--transition-slow);
}

.workflow-step:hover .phone-mockup { transform: scale(1.02); }

.mockup-screen {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 28px;
    position: relative;
    z-index: 1;
    display: block;
}

.mockup-overlay {
    position: absolute;
    inset: 8px;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.1), rgba(26, 219, 255, 0.1));
    border-radius: 16px;
    opacity: 0;
    transition: var(--transition-base);
    pointer-events: none;
}

.workflow-step:hover .mockup-overlay {
    opacity: 1;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0,0,0,0.05), transparent);
}

.how-it-works h2 {
    color: var(--color-primary);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.how-it-works h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--color-accent);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: auto;
    height: auto;
    background: transparent;
    color: #fff;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    margin: 0 auto 1.5rem;
    box-shadow: none;
    line-height: 1;
}

.step-screens {
    position: relative;
    width: 100%;
    height: 400px;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.step-screen {
    width: 260px;
    position: absolute;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
    will-change: transform, opacity;
    image-rendering: -webkit-optimize-contrast;
    background: white;
    border: 1px solid rgba(0,0,0,0.1);
}

.step-screen-alt {
    opacity: 0;
    transform: translateX(40px) scale(0.9) translateY(20px);
    filter: brightness(0.95);
}

.step:hover .step-screen {
    transform: translateX(-20px) scale(0.95) rotateY(-5deg);
}

.step:hover .step-screen-alt {
    opacity: 1;
    transform: translateX(20px) scale(0.9) rotateY(5deg) translateY(20px);
}

.step-number {
    position: relative;
    z-index: 2;
}

.step-number::before {
    content: '';
    position: absolute;
    top: 50%;
    left: calc(100% + 20px);
    width: calc(100vw / 4 - 100px);
    height: 2px;
    background: linear-gradient(to right, var(--color-accent), transparent);
    transform: translateY(-50%);
    opacity: 0.2;
}

.step:last-child .step-number::before {
    display: none;
}

.step h3 {
    color: var(--color-primary);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.step p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    max-width: 240px;
    margin: 0 auto;
}

.step h3 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.step p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #666;
    margin: 0;
    max-width: 220px;
    margin-left: auto;
    margin-right: auto;
}

/* Download Section */
.download {
    padding: calc(var(--section-padding) * 1.5) 0;
    background: var(--color-surface);
    position: relative;
    overflow: hidden;
}

.download-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 600px;
}

.download-content {
    padding: 2rem 0;
}

.download-stats {
    display: flex;
    gap: 1rem;
    margin: 2rem 0 3rem;
    flex-wrap: wrap;
}

.stat-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: white;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.stat-icon {
    font-size: 1rem;
}

.stat-text {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-text-light);
}

.download-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: var(--transition-base);
    border: 2px solid transparent;
    min-width: 180px;
}

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

.download-btn.primary:hover {
    background: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.download-btn.secondary {
    background: white;
    color: var(--color-text);
    border-color: var(--color-border);
}

.download-btn.secondary:hover {
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-subtitle {
    font-size: var(--font-size-xs);
    opacity: 0.8;
    line-height: 1;
}

.btn-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    line-height: 1;
    margin-top: 0.125rem;
}

.download-visual {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-showcase {
    position: relative;
    width: 100%;
    height: 100%;
}

.phone-device {
    position: relative;
    width: 300px;
    height: 600px;
    margin: 0 auto;
    border-radius: 32px;
    background: linear-gradient(145deg, #1a1a1a, #000);
    padding: 12px;
    box-shadow: var(--shadow-xl);
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: var(--transition-slow);
}

.phone-device:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
}

.phone-screen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    position: relative;
    z-index: 1;
}

.phone-reflection {
    position: absolute;
    inset: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 20px;
    pointer-events: none;
}

.floating-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    animation: floatAnimation 3s ease-in-out infinite;
}

.floating-card.delivery {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.floating-card.tracking {
    top: 50%;
    left: -15%;
    animation-delay: 1s;
}

.floating-card.payment {
    bottom: 15%;
    right: -5%;
    animation-delay: 2s;
}

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

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

.card-text {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-text);
    white-space: nowrap;
}

.download-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.1), transparent);
    top: -200px;
    right: -200px;
    animation: orbFloat 6s ease-in-out infinite;
}

.gradient-orb.secondary {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(26, 219, 255, 0.08), transparent);
    bottom: -100px;
    left: -100px;
    animation-delay: 3s;
}

@keyframes orbFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(42, 77, 255, 0.1);
    color: var(--color-accent);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #666;
    max-width: 600px;
    margin: 1rem 0 2rem;
}

.download-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.download-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background: var(--color-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

.download-feature p {
    margin: 0;
    font-size: 0.95rem;
    color: #444;
}

.download-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.download-platform {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-platform:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.platform-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.store-badge {
    height: 44px;
    transition: transform 0.2s ease;
}

.store-badge:hover {
    transform: scale(1.02);
}

.qr-wrapper {
    text-align: center;
}

.qr-code {
    width: 100px;
    height: 100px;
    padding: 0.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.qr-label {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #666;
}

.platform-preview {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.platform-screenshot {
    width: 260px;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.download-platform:hover .platform-screenshot {
    transform: rotateY(0deg) rotateX(0deg);
}

.download-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.background-shape {
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(42, 77, 255, 0.03), rgba(0, 0, 0, 0.02));
    top: -200px;
    right: -200px;
    transform: rotate(-15deg);
}

/* Footer */
.footer { padding: 18px 0; background: var(--color-primary); color: white; }

.footer{padding-top: 50px;}

.footer-grid { display: flex; gap: 24px; margin-bottom: 0.75rem; align-items: flex-start; justify-content: space-between; }
.footer-company, .footer-support, .footer-contact { flex: 1 1 0; }

.footer-layout { align-items: start; }
.footer-company { text-align: left; }
.footer-support { text-align: center; }
.footer-contact { text-align: right; }
.footer-contact .social-links { justify-content: flex-end; }

.footer-column h4 { margin-bottom: 0.35rem; color: white; font-size: 1rem; }

.footer-column a { display: block; color: rgba(255,255,255,0.85); text-decoration: none; margin: 6px 0; transition: color 0.2s ease; font-size: 0.95rem; }

.footer-column a:hover {
    color: white;
}

.social-links { display: flex; gap: 0.75rem; margin-top: 0.5rem; }

.social-links img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .footer { padding: 16px 0; }
  .footer-grid { flex-direction: column; gap: 8px; margin-bottom: 0.5rem; }
  .footer-support { text-align: left; }
  .footer-contact { text-align: left; }
  .footer-contact .social-links { justify-content: flex-start; }
}

.social-links img:hover {
    transform: scale(1.1);
}

.footer-bottom { padding-top: 8px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; }

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Responsive Design */
@media (max-width: 1023px) {
    :root {
        --section-padding: 60px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero {
        min-height: calc(100vh - var(--header-height) + 60px);
    }

    .hero .container {
        flex-direction: column;
        height: auto;
        padding-top: 2rem;
        text-align: center;
    }

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

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

    .hero-image {
        max-width: 100%;
        margin-top: 3rem;
    }

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

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

    .step-screens {
        height: 350px;
    }

    .step-screen {
        width: 180px;
    }

    .step-screen-alt {
        transform: translate(-50%, -50%) rotateY(-10deg) translateX(20px);
    }

    .step:hover .step-screen {
        transform: translate(-50%, -50%) rotateY(10deg) translateX(-20px);
    }

    .download-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

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

@media (max-width: 1200px) {
    .steps {
        gap: 2rem;
        padding: 0 2rem;
    }

    .step-screen {
        width: 180px;
    }
}

@media (max-width: 1023px) {
    .steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 2rem;
        padding: 0;
        max-width: 700px;
    }

    .step-screens {
        height: 300px;
    }

    .step-screen {
        width: 220px;
    }

    .step:hover .step-screen {
        transform: translateX(-15px) scale(0.98);
    }

    .step:hover .step-screen-alt {
        transform: translateX(15px) scale(0.95);
    }
}

@media (max-width: 1200px) {
    .features-stats {
        padding: 2rem;
        gap: 1.5rem;
    }

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

@media (max-width: 1023px) {
    .section-header {
        margin-bottom: 3rem;
    }

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

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

    .stat-item:nth-child(2)::after {
        display: none;
    }

    .stat-item:nth-child(1),
    .stat-item:nth-child(2) {
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .stat-item::after {
        display: none;
    }
}

@media (max-width: 639px) {
    :root {
        --section-padding: 40px;
    }

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

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

    .feature-card {
        padding: 1.5rem;
    }

    .features-stats {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .stat-item {
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .stat-item:last-child {
        padding-bottom: 0;
        margin-bottom: 0;
        border-bottom: none;
    }

    .background-shape {
        width: 400px;
        height: 400px;
    }
}

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }
}

/* Mobile-only navigation and layout tweaks */
@media (max-width: 639px) {
    .nav-links {
        position: fixed;
        top: var(--header-height, 80px);
        right: 0;
        left: auto;
        width: min(85vw, 360px);
        background: rgba(15, 76, 209, 0.98);
        padding: 12px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        border-radius: 12px 0 0 12px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
        transform: translateX(100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.3s ease;
        z-index: 1001;
    }

    .nav-links.open { transform: translateX(0); opacity: 1; pointer-events: auto; }

    .menu-toggle { display: block; background: none; border: none; cursor: pointer; padding: 0.5rem; }

    .hero { text-align: center; }
    .hero-content { padding: 0 1rem; }
    .app-buttons { flex-direction: row; align-items: center; justify-content: center; gap: 0.75rem; }
    .hero-image { margin: 2rem -1rem 0; padding: 0 1rem; }
    .app-screenshots { height: 450px; transform: scale(0.8); }
    .screenshot-main { right: 50%; transform: translateX(50%) translateY(-50%); }
    .screenshot-secondary { right: calc(50% + 100px); transform: translateX(50%) translateY(-50%) rotate(-5deg); }
    .screenshot-tertiary { right: calc(50% + 180px); transform: translateX(50%) translateY(-50%) rotate(-10deg); }
    .features-grid { grid-template-columns: 1fr; gap: 2rem; }
    .steps { grid-template-columns: 1fr; gap: 3rem; }
    .download-buttons { flex-direction: column; align-items: center; gap: 2rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* Tablet layout adjustments */
@media (max-width: 1023px) {
    /* Services grids */
    .vehicles-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .lift-grid { grid-template-columns: 1fr; gap: 1rem; }
    .vehicle-card, .lift-card { padding: 16px; }

    /* How it works: stack per step */
    .workflow-step { display: flex; flex-direction: column; gap: 1.25rem; }
    .workflow-step:nth-child(even) { direction: ltr; }
    .workflow-step .step-content, .workflow-step .step-visual { direction: ltr; }
    .workflow-step .step-content { order: 1; }
    .workflow-step .step-visual { order: 2; }
    .phone-mockup { width: 260px; }
    .workflow-timeline { display: none; }
}

/* Mobile layout adjustments */
@media (max-width: 639px) {
    /* Services grids */
    .vehicles-grid { grid-template-columns: 1fr; }
    .vehicle-card h3 { font-size: 1.1rem; }
    .vehicle-meta { font-size: 0.9rem; }

    /* How it works visuals */
    .phone-mockup { width: 220px; box-shadow: 0 8px 20px rgba(0,0,0,0.12); }
    .step-features { font-size: 0.95rem; }
    .workflow-timeline { display: none; }

    /* Hero highlights tighter */
    .hero-extras { bottom: 40px; }
    .hero-highlights { gap: 0.5rem; }
}

/* Language Selector */
.language-selector {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.language-selector select {
    appearance: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 0.5rem 2rem 0.5rem 1rem;
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    cursor: pointer;
}
.language-selector img { width: 20px; height: 20px; filter: brightness(0) invert(1); }

/* Button Styles */
.button {
    display: inline-block;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    color: white;
    background: var(--color-accent);
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* Card Styles */
.card {
    border-radius: 16px;
    padding: 24px;
    background: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Download Section Responsive */
@media (max-width: 1200px) {
    .download-options {
        gap: 2rem;
    }

    .platform-preview {
        height: 350px;
    }

    .platform-screenshot {
        width: 220px;
    }
}

@media (max-width: 1023px) {
    .download-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .download-options {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .download-platform {
        max-width: 500px;
        margin: 0 auto;
    }

    .platform-preview {
        height: 300px;
    }

    .platform-screenshot {
        width: 200px;
    }
}

@media (max-width: 639px) {
    .download-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .platform-info {
        flex-direction: column;
        gap: 1.5rem;
    }

    .platform-preview {
        height: 280px;
    }

    .platform-screenshot {
        width: 180px;
    }

    .background-shape {
        width: 400px;
        height: 400px;
        top: -100px;
        right: -100px;
    }
}
