/* ==========================================================================
   Novahid Chat - Ultra-Responsive Enterprise Luxury Stylesheet
   Pixel-Perfect Adaptation for Mobile (iOS / Android), Tablet & Desktop
   ========================================================================== */

/* --- Fonts & Typography --- */
@font-face {
    font-family: 'Vazirmatn';
    src: url('../assets/fonts/Vazirmatn-Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../assets/fonts/Vazirmatn-Medium.ttf') format('truetype');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../assets/fonts/Vazirmatn-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../assets/fonts/Vazirmatn-Bold.ttf') format('truetype');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../assets/fonts/Vazirmatn-Black.ttf') format('truetype');
    font-weight: 900;
    font-display: swap;
}

/* --- Design Tokens --- */
:root {
    --font-main: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Colors */
    --bg-dark: #080c16;
    --bg-card: rgba(14, 21, 38, 0.75);
    --bg-card-hover: rgba(19, 29, 54, 0.9);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(0, 210, 255, 0.35);

    --primary: #00d2ff;
    --primary-gradient: linear-gradient(135deg, #00d2ff 0%, #0072ff 100%);
    --gold: #ffb703;
    --gold-gradient: linear-gradient(135deg, #ffb703 0%, #fb8500 100%);
    --emerald: #10b981;

    --text-white: #ffffff;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 26px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base (Bulletproof Zero Horizontal Scroll) --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.7;
    direction: rtl;
    text-align: right;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

/* --- Ambient Background --- */
.bg-ambient {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
}

.orb-1 {
    width: min(500px, 80vw);
    height: min(500px, 80vw);
    background: #00d2ff;
    top: -100px;
    right: -50px;
}

.orb-2 {
    width: min(400px, 70vw);
    height: min(400px, 70vw);
    background: #6366f1;
    bottom: 10%;
    left: -80px;
}

/* --- Container & Spacing --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.section {
    padding: clamp(25px, 4vw, 55px) 0;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto clamp(20px, 3.5vw, 40px) auto;
}

.section-title {
    font-size: clamp(1.45rem, 4vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
    line-height: 1.35;
}

.section-desc {
    color: var(--text-muted);
    font-size: clamp(0.88rem, 2vw, 1.05rem);
    line-height: 1.6;
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-gold {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Responsive Navbar & Mobile Drawer
   ========================================================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(8, 12, 22, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    width: 100%;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    width: 100%;
    box-sizing: border-box;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    flex-shrink: 0;
}

.brand-logo img {
    height: 38px;
    width: 38px;
    object-fit: contain;
    border-radius: 9px;
}

.brand-title {
    font-size: 1.22rem;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    transition: var(--transition);
}

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

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

/* Mobile Quick Call Icon Button */
.nav-mobile-call {
    display: none;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: rgba(255, 183, 3, 0.15);
    border: 1px solid var(--gold);
    color: var(--gold);
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.05rem;
    transition: var(--transition);
}

/* Mobile Hamburger Toggle Button */
.nav-hamburger {
    display: none;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-glass);
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: var(--transition);
}

.nav-hamburger:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* Mobile Menu Backdrop & Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 85vw);
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    background: #0b1120;
    border-left: 1px solid var(--border-glass);
    z-index: 10000;
    padding: 16px 18px 24px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
}

.mobile-nav-drawer.open {
    right: 0;
}

.mobile-drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-drawer-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-glass);
    flex-shrink: 0;
}

.drawer-close-btn {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
}

.drawer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 12px;
}

.drawer-links a {
    display: block;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 700;
    transition: var(--transition);
}

.drawer-links a:hover, .drawer-links a.active {
    background: rgba(0, 210, 255, 0.1);
    color: var(--primary);
}

.drawer-footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--border-glass);
    margin-top: 16px;
    flex-shrink: 0;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: var(--radius-md);
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
    outline: none;
    transition: var(--transition);
    white-space: nowrap;
    text-align: center;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #030816;
    box-shadow: 0 4px 18px rgba(0, 210, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 210, 255, 0.45);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-web {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.btn-web:hover {
    background: rgba(16, 185, 129, 0.25);
    color: #fff;
    transform: translateY(-2px);
}

.btn-gold {
    background: var(--gold-gradient);
    color: #030816;
    box-shadow: 0 4px 18px rgba(255, 183, 3, 0.3);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 183, 3, 0.45);
}

/* ==========================================================================
   Hero Section & Multi-Device Showcase
   ========================================================================== */
.hero-section {
    padding: clamp(20px, 4vw, 45px) 0 10px 0;
    width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: clamp(24px, 4vw, 45px);
    align-items: center;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.hero-content {
    max-width: 520px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    background: rgba(255, 183, 3, 0.1);
    color: var(--gold);
    border: 1px solid rgba(255, 183, 3, 0.25);
    margin-bottom: 14px;
}

.hero-title {
    font-size: clamp(1.55rem, 3.8vw, 2.85rem);
    font-weight: 900;
    line-height: 1.32;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
    word-break: normal;
    overflow-wrap: break-word;
    max-width: 100%;
}

.hero-lead {
    font-size: clamp(0.92rem, 1.8vw, 1.05rem);
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
    max-width: 100%;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    width: 100%;
}

/* --- Platform Mode Selector (Clean Glass Segmented Control) --- */
.platform-mode-selector {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
    width: 100%;
    max-width: 360px;
    background: rgba(0, 0, 0, 0.35);
    padding: 4px;
    border-radius: 999px;
    border: 1px solid var(--border-glass);
    box-sizing: border-box;
}

.platform-mode-btn {
    flex: 1 1 0;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 6px;
    border-radius: 999px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-main);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    touch-action: manipulation;
    white-space: nowrap;
    box-sizing: border-box;
}

.platform-mode-btn:hover {
    color: #fff;
}

.platform-mode-btn.active {
    background: var(--primary-gradient);
    color: #030816;
    box-shadow: 0 2px 10px rgba(0, 210, 255, 0.35);
}

.platform-mode-btn.mobile-mode.active {
    background: var(--gold-gradient);
    color: #030816;
    box-shadow: 0 2px 10px rgba(255, 183, 3, 0.35);
}

/* --- Interactive Showcase Frame & Contained Nav --- */
.showcase-wrap {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.app-frame {
    background: #0d1424;
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 210, 255, 0.12);
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    position: relative;
}

.app-frame-nav {
    background: #121b30;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-glass);
    gap: 8px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
}

.frame-dots {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
}

.frame-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}
.f-red { background: #ef4444; }
.f-yellow { background: #eab308; }
.f-green { background: #22c55e; }

/* Contained Scrollable Tab Strip with Touch & Mouse Drag (Strict min-width: 0) */
.frame-switch-btns {
    display: flex;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 999px;
    padding: 3px 5px;
    gap: 4px;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
    max-width: 100%;
    min-width: 0 !important;
    flex: 1 1 0% !important;
    box-sizing: border-box;
    touch-action: pan-x;
    cursor: grab;
    user-select: none;
}

.frame-switch-btns:active {
    cursor: grabbing;
}

.frame-switch-btns::-webkit-scrollbar {
    display: none;
}

.frame-btn {
    background: transparent;
    border: none;
    color: var(--text-dim);
    padding: 5px 11px;
    border-radius: 999px;
    font-family: var(--font-main);
    font-size: 0.77rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
    touch-action: manipulation;
}

.frame-btn:hover {
    color: #fff;
}

.frame-btn.active {
    background: var(--primary-gradient);
    color: #030816;
    box-shadow: 0 2px 8px rgba(0, 210, 255, 0.35);
}

/* Stable Aspect Screenshot Container */
.app-screenshot-container {
    background: #090e1c;
    height: 410px;
    max-height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(8px, 1.5vw, 14px);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-screenshot-container.is-mobile-mode {
    height: 440px;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
    transition: opacity 0.22s ease;
}

.app-screenshot.is-mobile-view {
    max-width: 235px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 183, 3, 0.2);
    border: 2px solid rgba(255, 183, 3, 0.3);
}

/* Zoom Hint Badge */
.screen-zoom-hint {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(10, 16, 30, 0.85);
    border: 1px solid var(--border-glass);
    color: #cbd5e1;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(8px);
    pointer-events: none;
    transition: var(--transition);
}

.app-screenshot-container:hover .screen-zoom-hint {
    background: rgba(0, 210, 255, 0.2);
    color: #fff;
    border-color: var(--primary);
}

/* ==========================================================================
   Fullscreen Lightbox Modal (For Inspecting High-Res Screenshots)
   ========================================================================== */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 8, 16, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    box-sizing: border-box;
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-wrap {
    position: relative;
    max-width: 95vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 210, 255, 0.2);
    border: 1px solid var(--border-hover);
}

.lightbox-close {
    position: absolute;
    top: -45px;
    left: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: #ef4444;
    border-color: #ef4444;
}

/* ==========================================================================
   Founder Ribbon
   ========================================================================== */
.founder-ribbon {
    background: linear-gradient(135deg, rgba(17, 25, 46, 0.85) 0%, rgba(10, 16, 30, 0.95) 100%);
    border: 1px solid rgba(255, 183, 3, 0.25);
    border-radius: var(--radius-lg);
    padding: clamp(16px, 3vw, 26px) clamp(16px, 3.5vw, 34px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 24px 0 0 0;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.founder-meta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.founder-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gold-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #030816;
    font-weight: 900;
    flex-shrink: 0;
}

.founder-text h3 {
    font-size: clamp(1.05rem, 2.5vw, 1.25rem);
    font-weight: 800;
}

.founder-text p {
    font-size: 0.84rem;
    color: var(--text-muted);
}

.founder-ctas {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tel-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: var(--radius-md);
    background: rgba(255, 183, 3, 0.12);
    border: 1px solid var(--gold);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    direction: ltr;
    font-size: 0.95rem;
    transition: var(--transition);
}

.tel-btn:hover {
    background: var(--gold-gradient);
    color: #030816;
}

/* ==========================================================================
   Exclusive Floating Bubble Spotlight (Desktop Feature)
   ========================================================================== */
.floating-bubble-spotlight {
    background: linear-gradient(135deg, rgba(16, 26, 52, 0.8) 0%, rgba(9, 14, 26, 0.95) 100%);
    border: 1px solid rgba(0, 210, 255, 0.35);
    border-radius: var(--radius-xl);
    padding: clamp(20px, 3.5vw, 36px);
    margin: 0;
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: clamp(20px, 3.5vw, 36px);
    align-items: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 35px rgba(0, 210, 255, 0.15);
    position: relative;
    overflow: hidden;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.bubble-spotlight-text h3 {
    font-size: clamp(1.25rem, 3vw, 1.7rem);
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.4;
}

.bubble-exclusive-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 210, 255, 0.12);
    color: var(--primary);
    border: 1px solid rgba(0, 210, 255, 0.3);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.bubble-spotlight-text p {
    color: #cbd5e1;
    font-size: clamp(0.88rem, 2vw, 1rem);
    line-height: 1.8;
    margin-bottom: 18px;
}

.bubble-feature-bullets {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.b-bullet {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.03);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.bubble-visual-col {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle at center, rgba(0, 210, 255, 0.15) 0%, transparent 70%);
    padding: 8px;
    width: 100%;
    box-sizing: border-box;
}

.bubble-preview-img {
    height: clamp(220px, 32vw, 360px);
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.85));
    border-radius: 18px;
    border: 1px solid rgba(0, 210, 255, 0.35);
    display: block;
    margin: 0 auto;
}

/* ==========================================================================
   Interactive Expandable Features Section (Accordion Cards)
   ========================================================================== */
.features-categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(16px, 3vw, 24px);
    width: 100%;
    min-width: 0;
}

.feature-category-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: clamp(18px, 3vw, 28px);
    transition: var(--transition);
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.feature-category-card:hover {
    border-color: rgba(0, 210, 255, 0.25);
}

.cat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-glass);
}

.cat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(0, 210, 255, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.cat-title {
    font-size: clamp(1.05rem, 2.5vw, 1.22rem);
    font-weight: 800;
    color: #fff;
}

.cat-items-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Expandable Item */
.expand-item {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.expand-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
}

.expand-item.active {
    background: rgba(14, 26, 50, 0.9);
    border-color: var(--border-hover);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.expand-header {
    padding: 13px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    font-size: clamp(0.88rem, 2vw, 0.96rem);
    font-weight: 700;
    color: #f1f5f9;
    min-height: 46px;
}

.expand-header:hover {
    color: var(--primary);
}

.expand-icon {
    font-size: 0.75rem;
    color: var(--text-dim);
    transition: transform 0.25s ease;
    flex-shrink: 0;
    margin-right: 8px;
}

.expand-item.active .expand-icon {
    transform: rotate(180deg);
    color: var(--primary);
}

.expand-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 16px;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.75;
}

.expand-item.active .expand-body {
    max-height: 380px;
    padding-bottom: 14px;
}

/* ==========================================================================
   Downloads Section
   ========================================================================== */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 3vw, 24px);
    width: 100%;
    min-width: 0;
}

.dl-box {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: clamp(22px, 3.5vw, 32px) clamp(16px, 2.5vw, 24px);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.dl-box.featured {
    border-color: rgba(0, 210, 255, 0.4);
    background: linear-gradient(180deg, rgba(14, 23, 44, 0.9) 0%, rgba(10, 15, 30, 0.9) 100%);
}

.dl-box:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.dl-icon-wrap {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.8rem;
}

.dl-box h3 {
    font-size: clamp(1.15rem, 2.5vw, 1.35rem);
    font-weight: 800;
    margin-bottom: 6px;
}

.dl-box .dl-tag {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 14px;
}

.dl-box p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.qr-mini-box {
    margin-top: 14px;
    padding: 8px;
    background: #fff;
    border-radius: 8px;
    display: inline-block;
}

.qr-mini-box svg {
    display: block;
    width: 90px;
    height: 90px;
}

/* ==========================================================================
   Clean Standard Contact & Demo Form
   ========================================================================== */
.contact-section-wrap {
    background: linear-gradient(135deg, rgba(16, 24, 46, 0.75) 0%, rgba(8, 12, 22, 0.92) 100%);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: clamp(22px, 4vw, 48px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(22px, 4vw, 48px);
    align-items: center;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.form-group {
    margin-bottom: 14px;
}

.form-label {
    display: block;
    font-size: 0.86rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #e2e8f0;
}

.form-input {
    width: 100%;
    padding: 11px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    color: #fff;
    font-family: var(--font-main);
    font-size: 16px;
    outline: none;
    transition: var(--transition);
    box-sizing: border-box;
}

.form-input:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.07);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    border-top: 1px solid var(--border-glass);
    padding: clamp(26px, 4vw, 45px) 0 clamp(20px, 3vw, 30px) 0;
    margin-top: clamp(25px, 4vw, 60px);
    width: 100%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dim);
    font-size: 0.88rem;
    gap: 12px;
}

/* ==========================================================================
   Smart Responsive Breakpoints (Mobile First Precision)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 28px !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    .hero-content {
        max-width: 100% !important;
        width: 100% !important;
        text-align: center !important;
        margin: 0 auto !important;
    }
    .hero-title {
        text-align: center !important;
    }
    .hero-lead {
        text-align: center !important;
        margin: 0 auto 20px auto !important;
    }
    .hero-actions {
        justify-content: center !important;
    }
    .badge-tag {
        margin: 0 auto 12px auto !important;
    }
    .platform-mode-selector {
        margin: 0 auto 12px auto !important;
    }
    .showcase-wrap {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
    .features-categories-grid {
        grid-template-columns: 1fr !important;
    }
    .downloads-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .downloads-grid .dl-box:last-child {
        grid-column: span 2 !important;
    }
    .contact-section-wrap {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }
    .floating-bubble-spotlight {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }
    .bubble-spotlight-text {
        text-align: center !important;
    }
    .bubble-exclusive-tag {
        margin: 0 auto 12px auto !important;
    }
    .bubble-feature-bullets {
        grid-template-columns: repeat(2, 1fr) !important;
        text-align: right !important;
    }
    .founder-ribbon {
        flex-direction: column !important;
        text-align: center !important;
    }
    .founder-meta {
        flex-direction: column !important;
    }
    .founder-ctas {
        justify-content: center !important;
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 14px !important;
        max-width: 100vw !important;
        width: 100% !important;
        overflow: hidden !important;
    }
    .nav-links, 
    .nav-actions .btn-web,
    .nav-actions .btn-gold {
        display: none !important;
    }
    .nav-mobile-call,
    .nav-hamburger {
        display: flex !important;
    }
    .hero-title {
        font-size: clamp(1.4rem, 6.2vw, 1.8rem) !important;
        line-height: 1.35 !important;
        text-align: center !important;
        margin: 0 auto 12px auto !important;
    }
    .hero-title br {
        display: none !important;
    }
    .hero-lead {
        font-size: 0.88rem !important;
        text-align: center !important;
        margin: 0 auto 20px auto !important;
    }
    .hero-actions {
        flex-direction: column !important;
        width: 100% !important;
        gap: 8px !important;
    }
    .hero-actions .btn {
        width: 100% !important;
    }
    .platform-mode-selector {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto 10px auto !important;
    }
    .platform-mode-btn {
        font-size: 0.76rem !important;
        padding: 7px 4px !important;
    }
    .app-frame-nav {
        padding: 6px 8px !important;
        gap: 6px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
    .frame-dots {
        display: none !important;
    }
    .frame-switch-btns {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: 1 1 0% !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        white-space: nowrap !important;
        justify-content: flex-start !important;
        padding: 3px 4px !important;
    }
    .frame-btn {
        font-size: 0.74rem !important;
        padding: 5px 9px !important;
    }

    /* Fixed Height Container on Mobile to prevent layout jumps */
    .app-screenshot-container {
        height: 250px !important;
        min-height: 250px !important;
    }
    .app-screenshot-container.is-mobile-mode {
        height: 380px !important;
        min-height: 380px !important;
    }

    .bubble-feature-bullets {
        grid-template-columns: 1fr !important;
    }
    .downloads-grid {
        grid-template-columns: 1fr !important;
    }
    .downloads-grid .dl-box:last-child {
        grid-column: span 1 !important;
    }
    .founder-ctas {
        flex-direction: column !important;
    }
    .founder-ctas .tel-btn, .founder-ctas .btn {
        width: 100% !important;
        justify-content: center !important;
    }
    .footer-content {
        flex-direction: column !important;
        text-align: center !important;
    }
}

@media (max-width: 380px) {
    .container {
        padding: 0 10px !important;
    }
    .brand-title {
        font-size: 1.05rem;
    }
    .brand-logo img {
        height: 30px;
        width: 30px;
    }
    .hero-title {
        font-size: 1.38rem !important;
    }
    .platform-mode-btn {
        font-size: 0.7rem !important;
        padding: 6px 3px !important;
    }
    .frame-btn {
        font-size: 0.68rem !important;
        padding: 4px 6px !important;
    }
}
