/* ==========================================================================
   CSS DESIGN SYSTEM — TEST EASY DIAGNASIS LANDING PAGE
   ========================================================================== */

/* Variables & Base Configuration */
:root {
    --color-bg-deep: #00132b;        /* Midnight Blue */
    --color-bg-primary: #002864;     /* Deep Medical Blue */
    --color-bg-secondary: #004a8b;   /* Royal Blue */
    --color-bg-light: #f0f9ff;       /* Sky Blue Light Tint */
    
    --color-cyan: #0ea5e9;           /* Electric Cyan */
    --color-violet: #8b5cf6;         /* Vivid Violet */
    --color-green: #10b981;          /* Emerald Green */
    --color-orange: #f97316;         /* Bright Orange */
    --color-yellow: #f59e0b;         /* Amber Yellow */
    --color-red: #ef4444;            /* Coral Red */

    --color-text-white: #ffffff;
    --color-text-muted: #94a3b8;
    --color-text-dark: #0f172a;
    --color-text-body: #334155;
    
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    
    --shadow-premium: 0 20px 40px rgba(0, 19, 43, 0.3);
    --shadow-glow: 0 0 25px rgba(14, 165, 233, 0.4);
    
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 19, 43, 0.37);
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text-white);
}

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

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-violet) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-accent {
    color: var(--color-cyan);
}

/* ==========================================================================
   COMPONENTS
   ========================================================================== */

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: 12px;
    cursor: pointer;
    border: none;
    white-space: nowrap;
    transition: var(--transition-smooth);
}

.btn-large {
    padding: 1rem 2.25rem;
    font-size: 1.05rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-cyan) 0%, #0284c7 100%);
    color: var(--color-text-white);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-white);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

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

.btn-full {
    width: 100%;
}

/* Glassmorphism Panel */
.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--glass-shadow);
}


/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(0, 19, 43, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    height: 70px;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-cyan);
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.3);
}

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

.brand-company {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
}

.brand-app {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1;
    color: var(--color-text-white);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-muted);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-cyan);
    transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--color-text-white);
}

.nav-link.active::after {
    width: 100%;
}

.nav-download-btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--color-text-white);
    cursor: pointer;
    font-size: 1.5rem;
}


/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    padding: 44px 0 20px;
    background: radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.12) 0%, rgba(139, 92, 246, 0.05) 50%, transparent 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: center;
}

.hero-content {
    z-index: 5;
}

.badge-new {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 50px;
    padding: 0.35rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-cyan);
    margin-bottom: 1rem;
}

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

.hero-title {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 0.85rem;
    font-weight: 900;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    max-width: 540px;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.hero-trust-indicators {
    display: flex;
    gap: 1.25rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 1.25rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: var(--color-text-muted);
}

.trust-item span {
    font-weight: 500;
}

.hero-mockup-area {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    overflow: visible;
}

.glow-sphere {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.25) 0%, rgba(139, 92, 246, 0.1) 60%, transparent 100%);
    filter: blur(20px);
    z-index: 1;
}

.pulse-glow {
    animation: slow-glow 8s infinite alternate ease-in-out;
}

/* HIGH FIDELITY PHONE SIMULATOR */
.phone-mockup-wrapper {
    position: relative;
    z-index: 3;
    perspective: 1000px;
    max-width: 100%;
    display: flex;
    justify-content: center;
}

.phone-device {
    width: 290px;
    height: 590px;
    background: #010a15;
    border-radius: 40px;
    padding: 11px;
    border: 4px solid #1e293b;
    box-shadow: 
        0px 25px 50px -12px rgba(0, 0, 0, 0.7),
        0 0 0 2px rgba(255, 255, 255, 0.05),
        inset 0 0 10px rgba(255, 255, 255, 0.1);
    position: relative;
    transform: rotateY(-10deg) rotateX(10deg);
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.phone-device:hover {
    transform: rotateY(-2deg) rotateX(5deg) translateY(-8px);
}

.phone-speaker {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #1e293b;
    border-radius: 10px;
    z-index: 20;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #001e44;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.8);
}

/* App Mock Screen Styling */
.mock-status-bar {
    height: 28px;
    padding: 4px 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--color-text-white);
    background: rgba(0, 40, 100, 0.4);
    z-index: 10;
}

.mock-status-bar.dark-bg {
    background: #00132b;
}

.mock-icons {
    display: flex;
    gap: 4px;
    align-items: center;
}

.mock-icon-small {
    width: 8px !important;
    height: 8px !important;
    stroke-width: 3;
}

.mock-app-header {
    height: 52px;
    background: #002864;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    z-index: 10;
}

.mock-logo-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mock-logo {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid var(--color-cyan);
}

.mock-header-title {
    font-size: 0.95rem;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
}

.mock-header-bell {
    width: 14px;
    height: 14px;
    color: var(--color-text-muted);
}

.scrollable {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 12px;
    padding-bottom: 20px;
}

/* Hide standard scrollbars in simulation */
.scrollable::-webkit-scrollbar {
    width: 0px;
}

.mock-location-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.04);
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 0.65rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 10px;
}

.mock-location-bar i {
    width: 10px;
    height: 10px;
}

.mock-search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 8px;
    font-size: 0.65rem;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.mock-search-box i {
    width: 12px;
    height: 12px;
}

.mock-tabs {
    display: flex;
    background: rgba(0, 19, 43, 0.4);
    border-radius: 8px;
    padding: 2px;
    margin-bottom: 12px;
    gap: 2px;
}

.mock-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 6px 2px;
    border-radius: 6px;
    color: var(--color-text-muted);
}

.mock-tab.active {
    background: var(--color-cyan);
    color: var(--color-text-white);
}

.mock-tab.active.imaging {
    background: var(--color-violet);
}

.mock-tab i {
    width: 10px;
    height: 10px;
}

.mock-card-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mock-lab-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mock-lab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mock-lab-name {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-text-white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

.mock-badge-ver {
    font-size: 0.45rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 10px;
}

.mock-badge-ver.diagnostic {
    background: rgba(16, 185, 129, 0.15);
    color: var(--color-green);
    border: 0.5px solid rgba(16, 185, 129, 0.3);
}

.mock-badge-ver.imaging {
    background: rgba(139, 92, 246, 0.15);
    color: var(--color-violet);
    border: 0.5px solid rgba(139, 92, 246, 0.3);
}

.mock-lab-rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.stars {
    color: var(--color-yellow);
    font-size: 0.55rem;
    letter-spacing: -1px;
}

.rating-text {
    font-size: 0.55rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.mock-lab-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.55rem;
    color: var(--color-text-muted);
    border-top: 0.5px solid rgba(255,255,255,0.04);
    padding-top: 6px;
    margin-top: 4px;
}

.icon-inline {
    width: 8px !important;
    height: 8px !important;
    display: inline-block;
    vertical-align: middle;
}

.distance {
    color: var(--color-cyan);
    font-weight: 700;
}


/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */
.features-section {
    padding: 24px 0;
    position: relative;
    background: linear-gradient(180deg, var(--color-bg-deep) 0%, var(--color-bg-primary) 100%);
}

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

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

.subtitle {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-cyan);
    display: inline-block;
    margin-bottom: 0.35rem;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 0.6rem;
    font-weight: 800;
}

.section-description {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
    perspective: 1000px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem 1.75rem;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.4s ease, 
                box-shadow 0.4s ease, 
                background-color 0.4s ease;
    position: relative;
    overflow: hidden;
    /* Glassmorphic dot background pattern */
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 1;
}

/* Glassmorphic glowing background sphere behind content */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.02) 0%, transparent 60%);
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: -1;
}

/* Premium Metallic Shine Sweep Animation */
.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 130%;
    height: 200%;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 255, 255, 0.0) 30%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0.0) 70%,
        transparent 100%
    );
    transform: rotate(-35deg) translateY(-20%);
    transition: transform 0.9s cubic-bezier(0.19, 1, 0.22, 1);
    pointer-events: none;
    z-index: 2;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    background-color: rgba(255, 255, 255, 0.04);
}

.feature-card:hover::after {
    transform: rotate(-35deg) translate(110%, 20%);
}

/* Staggered card glow effects by index */
.feature-card:nth-child(1):hover {
    border-color: rgba(14, 165, 233, 0.45);
    box-shadow: 0 15px 35px rgba(14, 165, 233, 0.15), inset 0 0 15px rgba(14, 165, 233, 0.05);
}
.feature-card:nth-child(2):hover {
    border-color: rgba(139, 92, 246, 0.45);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.15), inset 0 0 15px rgba(139, 92, 246, 0.05);
}
.feature-card:nth-child(3):hover {
    border-color: rgba(16, 185, 129, 0.45);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.15), inset 0 0 15px rgba(16, 185, 129, 0.05);
}
.feature-card:nth-child(4):hover {
    border-color: rgba(249, 115, 22, 0.45);
    box-shadow: 0 15px 35px rgba(249, 115, 22, 0.15), inset 0 0 15px rgba(249, 115, 22, 0.05);
}
.feature-card:nth-child(5):hover {
    border-color: rgba(245, 158, 11, 0.45);
    box-shadow: 0 15px 35px rgba(245, 158, 11, 0.15), inset 0 0 15px rgba(245, 158, 11, 0.05);
}
.feature-card:nth-child(6):hover {
    border-color: rgba(239, 68, 68, 0.45);
    box-shadow: 0 15px 35px rgba(239, 68, 68, 0.15), inset 0 0 15px rgba(239, 68, 68, 0.05);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    border: 1px solid var(--glass-border);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                background-color 0.3s ease, 
                border-color 0.3s ease;
}

.feature-icon {
    width: 26px;
    height: 26px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Icon hover animations & wrapper colors */
.feature-card:hover .feature-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.feature-card:nth-child(1):hover .feature-icon-wrapper {
    background-color: rgba(14, 165, 233, 0.12);
    border-color: rgba(14, 165, 233, 0.4);
}
.feature-card:nth-child(2):hover .feature-icon-wrapper {
    background-color: rgba(139, 92, 246, 0.12);
    border-color: rgba(139, 92, 246, 0.4);
}
.feature-card:nth-child(3):hover .feature-icon-wrapper {
    background-color: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.4);
}
.feature-card:nth-child(4):hover .feature-icon-wrapper {
    background-color: rgba(249, 115, 22, 0.12);
    border-color: rgba(249, 115, 22, 0.4);
}
.feature-card:nth-child(5):hover .feature-icon-wrapper {
    background-color: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.4);
}
.feature-card:nth-child(6):hover .feature-icon-wrapper {
    background-color: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.4);
}

.feature-card:hover .feature-icon {
    transform: scale(1.12);
}

.text-cyan { color: var(--color-cyan); }
.text-violet { color: var(--color-violet); }
.text-green { color: var(--color-green); }
.text-orange { color: var(--color-orange); }
.text-yellow { color: var(--color-yellow); }
.text-red { color: var(--color-red); }

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.feature-text {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}


/* ==========================================================================
   APP SHOWCASE SECTION (INTERACTIVE VIEWER)
   ========================================================================== */
.showcase-section {
    padding: 24px 0;
    background: var(--color-bg-deep);
}

.showcase-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
    margin-top: 2rem;
}

.showcase-controls {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.control-btn {
    display: flex;
    gap: 1.25rem;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.25rem;
    cursor: pointer;
    text-align: left;
    transition: var(--transition-smooth);
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.15);
}

.control-btn.active {
    background: rgba(14, 165, 233, 0.06);
    border-color: rgba(14, 165, 233, 0.3);
    box-shadow: 0 10px 30px rgba(0, 19, 43, 0.4);
}

.btn-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    border: 1px solid var(--glass-border);
    transition: var(--transition-fast);
}

.control-btn.active .btn-icon-box {
    background: var(--color-cyan);
    color: var(--color-text-white);
    border-color: transparent;
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.4);
}

.btn-info h4 {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
    transition: var(--transition-fast);
}

.control-btn.active .btn-info h4 {
    color: var(--color-cyan);
}

.btn-info p {
    font-size: 0.88rem;
    color: var(--color-text-muted);
}

.showcase-viewport {
    display: flex;
    justify-content: center;
    align-items: center;
}

.showcase-viewport .phone-device {
    transform: rotateY(0deg) rotateX(0deg); /* Straight look in interactive viewport */
    width: 300px;
    height: 610px;
}

/* Dark mode for simulator screen header in showcase */
.showcase-header {
    height: 52px;
    background: #00132b;
    padding: 0 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    z-index: 10;
}

.header-center-title {
    font-size: 0.85rem;
    font-weight: 800;
}

.header-avatar-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mock-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--color-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-white);
}

.mock-avatar i {
    width: 12px;
    height: 12px;
}

.greeting-sub {
    font-size: 0.5rem;
    color: var(--color-text-muted);
}

.greeting-main {
    font-size: 0.72rem;
    font-weight: 800;
}

.header-actions {
    display: flex;
    gap: 8px;
}

.header-action-icon {
    width: 14px;
    height: 14px;
    color: var(--color-text-muted);
}

.screen-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Home Screen elements */
.location-card {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 8px;
}

.location-card i {
    width: 12px;
    height: 12px;
}

.location-card h5 {
    font-size: 0.55rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.location-card p {
    font-size: 0.65rem;
    font-weight: 700;
}

.upload-banner {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 10px;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.upload-info h5 {
    font-size: 0.68rem;
    font-weight: 800;
}

.upload-info p {
    font-size: 0.55rem;
    color: #cbd5e1;
}

.upload-mini-btn {
    background: var(--color-cyan);
    color: var(--color-text-white);
    border: none;
    border-radius: 6px;
    font-size: 0.55rem;
    font-weight: 700;
    padding: 4px 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 2px;
}

.upload-mini-btn i {
    width: 8px;
    height: 8px;
}

.mock-tab-row {
    display: flex;
    gap: 6px;
}

.mock-tab-pill {
    flex: 1;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    color: var(--color-text-muted);
    font-size: 0.58rem;
    font-weight: 700;
    padding: 6px;
    border-radius: 6px;
    cursor: pointer;
}

.mock-tab-pill.active {
    background: var(--color-cyan);
    color: var(--color-text-white);
    border-color: transparent;
}

.labs-list-small {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lab-item-card {
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
    padding: 10px;
    border: 1px solid rgba(255,255,255,0.05);
}

.lab-info-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}

.lab-info-main h5 {
    font-size: 0.7rem;
    font-weight: 700;
}

.lab-extra {
    font-size: 0.55rem;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}

.lab-rating-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.55rem;
    color: var(--color-text-muted);
}

.star-pill {
    background: rgba(245, 158, 11, 0.1);
    color: var(--color-yellow);
    padding: 1px 4px;
    border-radius: 4px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 2px;
}

.star-pill i {
    width: 6px;
    height: 6px;
    stroke-width: 3;
}

.distance-text {
    margin-left: auto;
    color: var(--color-cyan);
    font-weight: 700;
}

/* Bookings Screen elements */
.booking-status-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 6px;
    gap: 12px;
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.status-tab.active {
    color: var(--color-cyan);
    border-bottom: 2px solid var(--color-cyan);
    padding-bottom: 4px;
}

.booking-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 10px;
}

.booking-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    border-bottom: 0.5px solid rgba(255,255,255,0.05);
    padding-bottom: 4px;
}

.booking-type {
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.booking-type i {
    width: 10px;
    height: 10px;
}

.booking-status-badge {
    font-size: 0.5rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 10px;
}

.booking-status-badge.pending {
    background: rgba(14, 165, 233, 0.15);
    color: var(--color-cyan);
}

.booking-status-badge.confirmed {
    background: rgba(16, 185, 129, 0.15);
    color: var(--color-green);
}

.booking-detail-text {
    font-size: 0.58rem;
    color: #e2e8f0;
}

.booking-detail-text strong {
    color: var(--color-text-muted);
}

.booking-help {
    font-size: 0.52rem;
    color: var(--color-violet);
    margin-top: 6px;
}

.booking-technician-box {
    margin-top: 8px;
    background: rgba(255,255,255,0.04);
    border-radius: 8px;
    padding: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tech-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(14,165,233,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-cyan);
}

.tech-avatar i {
    width: 10px;
    height: 10px;
}

.tech-details {
    flex: 1;
}

.tech-details h6 {
    font-size: 0.6rem;
    font-weight: 700;
}

.tech-details p {
    font-size: 0.45rem;
    color: var(--color-text-muted);
}

.call-btn {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-green);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
}

.call-btn i {
    width: 10px;
    height: 10px;
}

/* Reports Screen elements */
.health-index-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(2, 132, 199, 0.15) 100%);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.index-score h3 {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--color-green);
    line-height: 1;
}

.index-score p {
    font-size: 0.52rem;
    color: var(--color-text-muted);
}

.index-feedback {
    font-size: 0.58rem;
    font-weight: 600;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 4px;
}

.index-feedback i {
    width: 10px;
    height: 10px;
    color: var(--color-green);
}

.reports-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.report-item-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.report-icon-box {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(255,255,255,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
}

.report-icon-box i {
    width: 12px;
    height: 12px;
}

.report-meta {
    flex: 1;
}

.report-meta h5 {
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1.2;
}

.report-meta p {
    font-size: 0.5rem;
    color: var(--color-text-muted);
}

.download-report-btn {
    background: none;
    border: none;
    color: var(--color-cyan);
    cursor: pointer;
}

.download-report-btn i {
    width: 12px;
    height: 12px;
}

/* Simulation viewports management */
.showcase-screen {
    display: none;
    animation: fade-screen 0.3s forwards ease-in-out;
}

.showcase-screen.screen-active {
    display: block;
}

@keyframes fade-screen {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Phone bottom bar simulator */
.mock-nav-bar {
    height: 48px;
    background: #00132b;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding-bottom: 4px;
}

.mock-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.mock-nav-item.active {
    color: var(--color-cyan);
}

.mock-nav-item i {
    width: 16px;
    height: 16px;
}

.mock-nav-item span {
    font-size: 0.5rem;
    font-weight: 600;
    margin-top: 2px;
}


/* ==========================================================================
   HOW IT WORKS (TIMELINE)
   ========================================================================== */
.how-it-works-section {
    padding: 24px 0;
    background: linear-gradient(180deg, var(--color-bg-primary) 0%, var(--color-bg-deep) 100%);
    position: relative;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 1.75rem;
    position: relative;
}

.timeline-step {
    position: relative;
}

.step-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(14, 165, 233, 0.08);
    margin-bottom: -1rem;
    transition: var(--transition-smooth);
}

.timeline-step:hover .step-num {
    color: rgba(14, 165, 233, 0.18);
    transform: translateY(-5px);
}

.step-title {
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
    font-weight: 700;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}


/* ==========================================================================
   DOWNLOAD APP CTA
   ========================================================================== */
.download-section {
    padding: 24px 0;
}

.download-box {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
}

.download-text-content h2 {
    font-size: 2rem;
    line-height: 1.2;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
}

.download-text-content p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.badge-accent {
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.25);
    color: var(--color-violet);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    display: inline-block;
}

.store-buttons {
    display: flex;
    gap: 1.25rem;
}

.store-badge-link {
    display: block;
}

.store-badge-card {
    background: #010a15;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0.6rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition-smooth);
}

.store-badge-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.store-icon {
    width: 22px;
    height: 22px;
    color: var(--color-text-white);
}

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

.store-text .small-text {
    font-size: 0.55rem;
    font-weight: 500;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.store-text .large-text {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.1;
}

.download-graphic {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle-glow-overlay {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
    filter: blur(15px);
    z-index: 1;
}

.download-app-logo {
    width: 170px;
    height: 170px;
    border-radius: 35px;
    position: relative;
    z-index: 3;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border: 3px solid rgba(255,255,255,0.05);
}


/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
    padding: 24px 0;
    background: linear-gradient(180deg, var(--color-bg-deep) 0%, var(--color-bg-primary) 100%);
}

.contact-container {
    display: block;
    max-width: 680px;
    margin: 0 auto;
}

.contact-info-panel p {
    color: var(--color-text-muted);
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-card {
    background: rgba(255,255,255,0.01);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.contact-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(14, 165, 233, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-cyan);
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.contact-card-info {
    display: flex;
    flex-direction: column;
}

.contact-card-info span {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.email-address {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-cyan);
    word-break: break-all;
}

.email-address:hover {
    color: var(--color-text-white);
    text-shadow: 0 0 10px rgba(14, 165, 233, 0.3);
}

.contact-address-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-white);
}

.btn-copy-email {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-text-muted);
    transition: var(--transition-fast);
    margin-left: auto;
}

.btn-copy-email:hover {
    background: var(--color-cyan);
    color: var(--color-text-white);
    border-color: transparent;
}

.btn-copy-email i {
    width: 14px;
    height: 14px;
}

/* Feedback Tooltip */
.btn-copy-email {
    position: relative;
}

.btn-copy-email .tooltip-text {
    visibility: hidden;
    width: 60px;
    background-color: #010a15;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 3px 0;
    position: absolute;
    z-index: 10;
    bottom: 125%;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
    transition: opacity 0.2s;
    font-size: 0.65rem;
    font-weight: 600;
    border: 1px solid var(--glass-border);
}

.btn-copy-email:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Contact Form Design */
.contact-form-panel {
    padding: 3rem;
}

.contact-form-panel h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    font-weight: 800;
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #e2e8f0;
}

.form-group input, .form-group textarea {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    color: var(--color-text-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--color-cyan);
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.15);
    background: rgba(0, 0, 0, 0.35);
}

.form-group textarea {
    resize: none;
}


/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    border-top: 1px solid var(--glass-border);
    padding: 20px 0 12px;
    background: #000c1d;
    position: relative;
    z-index: 10;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.footer-brand-column {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--color-cyan);
}

.footer-brand-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 900;
}

.footer-desc {
    display: none;
}

.footer-social-links {
    display: flex;
    gap: 0.6rem;
}

.footer-social-links a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    transition: var(--transition-fast);
}

.footer-social-links a:hover {
    background: var(--color-cyan);
    color: var(--color-text-white);
    border-color: transparent;
    transform: translateY(-2px);
}

.footer-social-links a i {
    width: 14px;
    height: 14px;
}

.footer-links-column {
    display: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 0.75rem;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-align: center;
}


/* ==========================================================================
   FLOWING LINES CANVAS — BACKGROUND ANIMATION
   ========================================================================== */

#flowing-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 1;
}

/* ==========================================================================
   SCROLL REVEAL & CORE ANIMATIONS
   ========================================================================== */
.reveal {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-up {
    transform: translateY(30px);
}

.reveal-down {
    transform: translateY(-30px);
}

.reveal-left {
    transform: translateX(-30px);
}

.reveal-right {
    transform: translateX(30px);
}

.reveal-scale {
    transform: scale(0.95);
}

.reveal.active {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Staggered animation delays */
.delay-100 { transition-delay: 100ms !important; }
.delay-200 { transition-delay: 200ms !important; }
.delay-300 { transition-delay: 300ms !important; }
.delay-400 { transition-delay: 400ms !important; }
.delay-500 { transition-delay: 500ms !important; }

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.5; }
}

@keyframes slow-glow {
    0% { transform: scale(0.85); filter: blur(25px); opacity: 0.8; }
    100% { transform: scale(1.15); filter: blur(15px); opacity: 1; }
}


/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */

/* === LARGE LAPTOPS / WIDE SCREENS (1400px+) === */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    .hero-title {
        font-size: 3.5rem;
    }
}

/* === LAPTOP (1200px - 1399px) === */
@media (max-width: 1199px) {
    .container {
        padding: 0 2rem;
    }
    .hero-container {
        gap: 2rem;
    }
    .hero-title {
        font-size: 2.6rem;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .phone-device {
        width: 255px;
        height: 520px;
    }
    .footer-container {
        grid-template-columns: 1.2fr repeat(3, 0.9fr);
        gap: 2rem;
    }
}

/* === TABLET (992px - 1199px) === */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }

    .container {
        padding: 0 1.5rem;
    }

    /* Navbar */
    .navbar {
        height: 64px;
    }

    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 64px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 64px);
        background: rgba(0, 19, 43, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        padding-bottom: 80px;
        transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 99;
    }

    .nav-menu.open {
        left: 0;
    }

    .nav-download-btn {
        display: inline-flex;
    }

    /* Hero */
    .hero-section {
        padding: 80px 0 36px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-mockup-area {
        order: 2;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

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

    .hero-trust-indicators {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

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

    /* Features */
    .features-section {
        padding: 32px 0;
    }

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

    /* Showcase */
    .showcase-section {
        padding: 32px 0;
    }

    .showcase-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .showcase-viewport {
        order: -1;
        display: flex;
        justify-content: center;
    }

    .showcase-controls {
        gap: 0.85rem;
    }

    /* Timeline */
    .how-it-works-section {
        padding: 32px 0;
    }

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

    /* Download */
    .download-section {
        padding: 32px 0;
    }

    .download-box {
        grid-template-columns: 1fr;
        padding: 2rem;
        text-align: center;
        gap: 1.5rem;
    }

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

    .download-graphic {
        display: flex;
        justify-content: center;
    }

    /* Contact */
    .contact-section {
        padding: 32px 0;
    }

    /* Footer */
    .footer {
        padding: 32px 0 20px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

/* === SMALL TABLET / LARGE PHONE (768px) === */
@media (max-width: 768px) {
    html {
        font-size: 14.5px;
    }

    .container {
        padding: 0 1.25rem;
    }

    /* Hero */
    .hero-section {
        padding: 72px 0 28px;
    }

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

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

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

    /* Phone mockup — scale down for small tablet */
    .phone-device {
        width: 240px;
        height: 490px;
        border-radius: 32px;
    }

    /* Features */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.85rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

    /* Showcase controls — horizontal scroll on small screens */
    .showcase-controls {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .control-btn {
        padding: 0.85rem 1rem;
    }

    /* Timeline — single column */
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .timeline-step {
        border-left: 2px solid rgba(14, 165, 233, 0.2);
        padding-left: 1.25rem;
    }

    /* Download */
    .download-text-content h2 {
        font-size: 1.75rem;
    }

    .download-box {
        padding: 1.5rem;
    }

    /* Contact cards */
    .contact-card {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .footer-brand-column {
        max-width: 100%;
    }
}

/* === MOBILE (max 576px) === */
@media (max-width: 576px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 1rem;
    }

    /* Navbar */
    .navbar {
        height: 58px;
        padding: 0 1rem;
    }

    .nav-menu {
        top: 58px;
        height: calc(100vh - 58px);
    }

    /* Hero */
    .hero-section {
        padding: 68px 0 24px;
    }

    .hero-title {
        font-size: 1.95rem;
        line-height: 1.12;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 1.25rem;
    }

    .btn-large {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .hero-trust-indicators {
        flex-direction: column;
        gap: 0.6rem;
        align-items: center;
    }

    /* Phone mockup */
    .phone-device {
        width: 215px;
        height: 440px;
        border-radius: 28px;
        padding: 8px;
        border-width: 3px;
    }

    .glow-sphere {
        width: 200px;
        height: 200px;
    }

    /* Section headers */
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 0.4rem;
    }

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

    /* Features — single column on mobile */
    .features-section {
        padding: 24px 0;
    }

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

    .feature-card {
        padding: 1.1rem 1.25rem;
    }

    .feature-icon-wrapper {
        width: 48px;
        height: 48px;
        margin-bottom: 0.75rem;
    }

    /* Showcase */
    .showcase-section {
        padding: 24px 0;
    }

    .showcase-split {
        gap: 1.5rem;
    }

    .control-btn {
        padding: 0.75rem;
        gap: 0.75rem;
    }

    .btn-icon-box {
        width: 34px;
        height: 34px;
        min-width: 34px;
    }

    .btn-info h4 {
        font-size: 0.95rem;
    }

    .btn-info p {
        font-size: 0.78rem;
    }

    /* Timeline */
    .how-it-works-section {
        padding: 24px 0;
    }

    .process-timeline {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1.25rem;
    }

    .step-num {
        font-size: 2rem;
        margin-bottom: -0.5rem;
    }

    .step-title {
        font-size: 1.1rem;
    }

    /* Download */
    .download-section {
        padding: 24px 0;
    }

    .download-box {
        padding: 1.25rem 1rem;
        border-radius: 16px;
        gap: 1.25rem;
    }

    .download-text-content h2 {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }

    .download-text-content p {
        font-size: 0.88rem;
    }

    .store-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .store-badge-card {
        width: 200px;
        justify-content: center;
    }

    .download-app-logo {
        width: 120px;
        height: 120px;
    }

    /* Contact */
    .contact-section {
        padding: 24px 0;
    }

    .contact-info-panel h2 {
        font-size: 1.6rem;
    }

    .contact-details-list {
        gap: 0.75rem;
    }

    .contact-card {
        padding: 0.85rem 1rem;
        flex-wrap: wrap;
        gap: 0.6rem;
    }

    .btn-copy-email {
        margin-left: auto;
    }

    /* Footer */
    .footer {
        padding: 24px 0 16px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .footer-bottom {
        font-size: 0.75rem;
        padding-top: 1.25rem;
    }
}

/* === EXTRA SMALL PHONES (400px and below) === */
@media (max-width: 400px) {
    html {
        font-size: 13.5px;
    }

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

    .phone-device {
        width: 195px;
        height: 400px;
        border-radius: 26px;
    }

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

    .btn-large {
        font-size: 0.88rem;
        padding: 0.75rem 1.25rem;
    }

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

    .download-text-content h2 {
        font-size: 1.4rem;
    }
}

