/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #030303;
    --text-color: #ffffff;
    --text-muted: rgba(255,255,255,0.6);
    --bento-bg: rgba(255, 255, 255, 0.03);
    --bento-border: rgba(255, 255, 255, 0.07);
    --navbar-bg: rgba(3,3,3,0.85);
    --navbar-border: rgba(255,255,255,0.08);
    --primary-color: #F4511E;
    --glow-color: rgba(244, 81, 30, 0.4);
    --primary-gradient: linear-gradient(135deg, #FFA726 0%, #F4511E 100%);
    --font-main: 'Cairo', sans-serif;
    --font-en: 'Outfit', sans-serif;
}

/* ===== LIGHT THEME ===== */
body.vision-theme.light-theme {
    --bg-color: #f5f5f7;
    --text-color: #111111;
    --text-muted: rgba(0,0,0,0.55);
    --bento-bg: rgba(0, 0, 0, 0.04);
    --bento-border: rgba(0, 0, 0, 0.1);
    --navbar-bg: rgba(245,245,247,0.92);
    --navbar-border: rgba(0,0,0,0.1);
}

body.vision-theme.light-theme {
    color: var(--text-color);
    background-color: var(--bg-color);
}
body.vision-theme.light-theme .navbar {
    background: var(--navbar-bg);
    border-color: var(--navbar-border);
}
body.vision-theme.light-theme .navbar a,
body.vision-theme.light-theme .logo span {
    color: var(--text-color);
}
body.vision-theme.light-theme .navbar a.active {
    color: var(--primary-color);
}
body.vision-theme.light-theme .hero-title,
body.vision-theme.light-theme .hero-subtitle,
body.vision-theme.light-theme h2,
body.vision-theme.light-theme h3 {
    color: var(--text-color);
}
body.vision-theme.light-theme .hero-subtitle,
body.vision-theme.light-theme .bento-content p,
body.vision-theme.light-theme .section-header p {
    color: var(--text-muted);
}
body.vision-theme.light-theme .bento-card {
    background: var(--bento-bg);
    border-color: var(--bento-border);
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
body.vision-theme.light-theme .icon-box {
    background: rgba(0,0,0,0.06);
    border-color: rgba(0,0,0,0.1);
}
body.vision-theme.light-theme .icon-box .material-icons-round {
    color: var(--text-color);
}
body.vision-theme.light-theme .footer-section {
    background: #e8e8ea;
    border-top-color: rgba(0,0,0,0.1);
}
body.vision-theme.light-theme .footer-section * {
    color: var(--text-color);
}
body.vision-theme.light-theme .step-badge {
    background: rgba(244,81,30,0.12);
    color: var(--primary-color);
}
body.vision-theme.light-theme .showcase-step-item p {
    color: var(--text-muted);
}
body.vision-theme.light-theme .scroll-indicator span {
    color: var(--text-muted);
}
body.vision-theme.light-theme .mobile-menu {
    background: rgba(245,245,247,0.98);
}
body.vision-theme.light-theme .mobile-menu a {
    color: var(--text-color);
    border-bottom-color: rgba(0,0,0,0.08);
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, border-color 0.3s, transform 0.2s;
    flex-shrink: 0;
}
.theme-toggle-btn:hover {
    background: rgba(255,255,255,0.15);
    transform: scale(1.1);
}
.theme-toggle-btn .material-icons-round,
.theme-toggle-btn .material-symbols-rounded {
    font-size: 20px;
    color: #fff;
    transition: color 0.3s;
}
body.vision-theme.light-theme .theme-toggle-btn {
    background: rgba(0,0,0,0.07);
    border-color: rgba(0,0,0,0.12);
}
body.vision-theme.light-theme .theme-toggle-btn .material-icons-round,
body.vision-theme.light-theme .theme-toggle-btn .material-symbols-rounded {
    color: var(--text-color);
}

html[lang="en"] body.vision-theme,
html[dir="ltr"] body.vision-theme {
    font-family: var(--font-en), -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body.vision-theme {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* Material Icons / Symbols */
.material-icons-round,
.material-symbols-rounded {
    font-family: 'Material Icons Round', 'Material Symbols Rounded';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    font-feature-settings: 'liga';
}

.material-symbols-rounded {
    font-family: 'Material Symbols Rounded', 'Material Icons Round';
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 24px 0;
    background: transparent;
    transition: background 0.3s, backdrop-filter 0.3s;
}

.navbar.scrolled {
    background: rgba(3, 3, 3, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--bento-border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.logo img {
    height: 32px;
}

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

.nav-links a:not(.btn-primary) {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:not(.btn-primary):hover,
.nav-links a.active {
    color: #fff !important;
}

.nav-links a.active {
    color: #f4511e !important;
}

.lang-link {
    background: rgba(255,255,255,0.08);
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s;
}

.lang-link:hover {
    background: rgba(255,255,255,0.15);
    color: #fff !important;
}

.btn-primary {
    background: #fff;
    color: #000 !important;
    padding: 10px 24px;
    border-radius: 99px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s, background 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #ddd;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    padding: 6px;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 12, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    z-index: 999;
}

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

.mobile-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-menu a.btn-primary {
    text-align: center;
    margin-top: 8px;
    border-bottom: none;
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    padding-top: 15vh;
}

.hero-text-container {
    text-align: center;
    z-index: 10;
    margin-bottom: 40px;
}

.hero-title {
    font-size: 5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
    color: var(--text-color);
}
.hero-small {
    display: block;
    font-size: 2.15rem; /* Smaller supporting tagline */
    font-weight: 600;
    margin-top: 10px;
    opacity: 0.9;
    letter-spacing: normal;
}
.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-muted);
}

/* 3D Vision Car Container */
.vision-3d-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 500px;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.vision-3d-car {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: lighten;
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 70%);
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 70%);
    filter: drop-shadow(0 20px 50px var(--glow-color));
}

.glow-backdrop {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(244, 81, 30, 0.15) 0%, transparent 60%);
    z-index: -1;
    filter: blur(60px);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    z-index: 10;
    animation: fadePulse 2s infinite;
}

@keyframes fadePulse {
    0%, 100% { opacity: 0.5; transform: translateX(-50%) translateY(0); }
    50% { opacity: 1; transform: translateX(-50%) translateY(10px); }
}

/* Bento Section */
.bento-section {
    padding: 120px 0;
    position: relative;
    z-index: 20;
    background: var(--bg-color); /* Cover the hero when scrolling up */
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(360px, auto);
    gap: 24px;
}

.bento-card {
    background: var(--bento-bg);
    border: 1px solid var(--bento-border);
    border-radius: 32px;
    padding: 36px 32px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 360px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.4s, border-color 0.4s;
}

.bento-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.15);
}

.span-2 {
    grid-column: span 2;
}

.icon-box {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--bento-border);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.icon-box .material-icons-round {
    font-size: 26px;
    color: #fff;
}

.highlight-card .icon-box {
    background: var(--primary-gradient);
    border: none;
    box-shadow: 0 10px 20px rgba(244, 81, 30, 0.3);
}

.bento-content h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.bento-content p {
    color: rgba(255,255,255,0.7);
    line-height: 1.65;
    font-size: 1.05rem;
}

/* Mockup Integration inside Bento Cards */
.bento-card.has-mockup {
    padding-bottom: 0; /* Overridden to allow mockup to sit at bottom */
}
.bento-card.has-mockup .bento-content {
    position: relative;
    z-index: 2;
    padding-bottom: 180px; /* Space for the phone to poke through */
}
.mockup-absolute {
    position: absolute;
    bottom: -10px;
    left: 20px; /* Left side (since RTL reads right to left) */
    width: 200px;
    height: 260px;
    background: #000;
    border-radius: 32px 32px 0 0;
    border: 8px solid #1a1a1a;
    border-bottom: none;
    box-shadow: -10px -10px 30px rgba(0,0,0,0.5), 0 -10px 40px rgba(244, 81, 30, 0.15);
    transform: rotate(-12deg) translateY(30px);
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
    overflow: hidden;
}
.bento-card:hover .mockup-absolute {
    transform: rotate(0deg) translateY(0);
}
.mockup-absolute img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom; /* Focuses on the bottom part where PTT button is */
}

/* Horizontal Bento variation */
.horizontal-card {
    flex-direction: row;
    align-items: center;
    gap: 40px;
}

.stats-content {
    display: flex;
    gap: 40px;
    flex: 1;
}

.stat-block h4 {
    font-family: var(--font-en);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-block span {
    color: var(--text-muted);
    font-size: 1rem;
}

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

.download-bento {
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(244, 81, 30, 0.05));
    border-color: rgba(244, 81, 30, 0.2);
}

.download-bento h2 {
    font-size: 3rem;
    margin-bottom: 16px;
}

.download-bento p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 40px;
}

.download-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    direction: ltr !important;
    gap: 12px;
    background: #fff;
    color: #000;
    padding: 10px 24px;
    border-radius: 14px;
    text-decoration: none;
    font-family: var(--font-en);
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    min-width: 175px;
}

.store-btn svg {
    flex-shrink: 0;
}

.store-btn svg.apple-icon {
    width: 22px;
    height: 22px;
}

.store-btn svg.google-icon {
    width: 22px;
    height: 22px;
}

.store-btn div {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.15;
}

.store-btn small {
    font-size: 0.65rem;
    font-weight: 500;
    color: rgba(0,0,0,0.65);
    display: block;
    letter-spacing: 0.2px;
}

.store-btn strong {
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    letter-spacing: -0.2px;
}

.store-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.22);
}

body.vision-theme.light-theme .store-btn {
    background: #000;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
body.vision-theme.light-theme .store-btn small {
    color: rgba(255,255,255,0.7);
}
body.vision-theme.light-theme .store-btn strong {
    color: #fff;
}

.vision-footer {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid var(--bento-border);
    color: rgba(255,255,255,0.4);
}

/* Responsive */
@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    .span-2 {
        grid-column: span 1;
    }
    .horizontal-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero-title {
        font-size: 3.5rem;
    }
    .hero-small {
        font-size: 1.65rem;
    }
    .vision-3d-container {
        width: 100%;
        height: 300px;
    }
}

/* =============================================
   3D PHONES SECTION (Pinned 3D Phone Showcase)
   ============================================= */
.phones-section {
    position: relative;
    overflow: hidden;
    background: var(--bg-color);
    min-height: 100vh;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding-top: clamp(75px, 10vh, 95px);
    padding-bottom: clamp(16px, 2.5vh, 28px);
    padding-left: clamp(16px, 3vw, 32px);
    padding-right: clamp(16px, 3vw, 32px);
}
.phones-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(244, 81, 30, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.phones-inner-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
    min-height: 0;
    box-sizing: border-box;
}

.phones-header {
    text-align: center;
    margin-bottom: clamp(12px, 2vh, 24px);
    flex-shrink: 0;
    width: 100%;
}
.phones-header h2 {
    font-size: clamp(1.5rem, 2.2vw, 2.2rem);
    font-weight: 800;
    line-height: 1.3;
    max-width: 820px;
    margin: 0 auto;
    color: var(--text-color);
}

.showcase-stage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 4vw, 52px);
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    flex: 1;
    min-height: 0;
}

.showcase-phone-col {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 0;
}

.showcase-phone-wrapper {
    position: relative;
    width: 100%;
    max-width: clamp(260px, 28vw, 360px);
    height: clamp(320px, 48vh, 460px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-phone-glow {
    position: absolute;
    width: clamp(240px, 30vw, 360px);
    height: clamp(240px, 30vw, 360px);
    background: radial-gradient(circle, rgba(244, 81, 30, 0.22) 0%, transparent 65%);
    filter: blur(50px);
    pointer-events: none;
    z-index: -1;
}

.showcase-text-col {
    position: relative;
    width: 100%;
    max-width: 480px;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    min-height: 0;
}

.showcase-step-item {
    grid-area: 1 / 1;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(244, 81, 30, 0.28);
    border-radius: 28px;
    padding: clamp(20px, 2.6vh, 30px) clamp(22px, 2.8vw, 34px);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), 0 0 30px rgba(244, 81, 30, 0.08);
    opacity: 0;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.showcase-step-item .step-badge {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.8rem;
    font-weight: 800;
    color: #f4511e;
    background: rgba(244, 81, 30, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
    border: 1px solid rgba(244, 81, 30, 0.25);
}

.showcase-step-item .icon-box {
    width: 46px;
    height: 46px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--bento-border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.showcase-step-item .icon-box .material-icons-round {
    font-size: 22px;
    color: #fff;
}

.showcase-step-item h3 {
    font-size: clamp(1.4rem, 2vw, 1.85rem);
    font-weight: 800;
    color: var(--text-color);
    margin: 4px 0 8px 0;
    line-height: 1.25;
}

.showcase-step-item p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: clamp(0.92rem, 1.1vw, 1.05rem);
    margin: 0;
}

.showcase-step-item .feat-tagline {
    color: #f4511e !important;
    font-weight: 700;
    font-size: 0.92rem !important;
    margin-top: 10px !important;
}

body.vision-theme.light-theme .showcase-step-item {
    background: var(--bento-bg);
    border-color: rgba(244, 81, 30, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.07), 0 0 25px rgba(244, 81, 30, 0.08);
}
body.vision-theme.light-theme .showcase-step-item .icon-box {
    background: rgba(0, 0, 0, 0.05);
}
body.vision-theme.light-theme .showcase-step-item .icon-box .material-icons-round {
    color: var(--text-color);
}

/* Full Footer Styles */
.footer {
    background: var(--bg-color);
    border-top: 1px solid var(--bento-border);
    padding: 80px 0 30px;
    position: relative;
    z-index: 30;
    color: var(--text-color);
    transition: background 0.4s ease;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 50px;
}

.footer-brand h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #ffa726 0%, #f4511e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 4px 0;
}

.footer-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease, transform 0.2s;
}

.footer-links a:hover {
    color: #ffa726;
    transform: translateX(-4px);
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 12px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8) !important;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #f4511e;
    color: #fff !important;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.9rem;
}

/* ===================================================
   RESPONSIVE OPTIMIZATIONS (TABLET & MOBILE)
   =================================================== */

@media (max-width: 900px) {
    .container {
        padding: 0 20px;
    }

    /* Navbar */
    .nav-links {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }

    /* Hero */
    .hero-section {
        padding-top: 110px;
        min-height: auto;
        padding-bottom: 50px;
    }
    .hero-title {
        font-size: 3.2rem;
        line-height: 1.15;
    }
    .hero-small {
        font-size: 1.5rem;
        margin-top: 8px;
    }
    .hero-subtitle {
        font-size: 1.05rem;
        line-height: 1.6;
        padding: 0 10px;
    }
    .vision-3d-container {
        width: 100%;
        max-width: 380px;
        height: 340px;
        margin-top: 10px;
    }

    /* 3D Phone Pinned Showcase */
    .phones-section {
        padding-top: clamp(65px, 9vh, 75px);
        padding-bottom: 16px;
        padding-left: 16px;
        padding-right: 16px;
        min-height: 100vh;
        height: 100vh;
    }
    .phones-header {
        margin-bottom: 10px;
    }
    .phones-header h2 {
        font-size: clamp(1.25rem, 4.5vw, 1.55rem);
        line-height: 1.3;
        padding: 0 8px;
    }
    .showcase-stage {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        min-height: 0;
        flex: 1;
    }
    .showcase-phone-col {
        order: 1;
        width: 100%;
        min-height: 0;
    }
    .showcase-phone-wrapper {
        height: clamp(210px, 32vh, 270px);
        max-width: 230px;
        margin: 0 auto;
    }
    .showcase-text-col {
        order: 2;
        width: 100%;
        max-width: 380px;
        display: grid;
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .showcase-step-item {
        grid-area: 1 / 1;
        padding: 14px 18px;
        border-radius: 20px;
        min-height: 0;
    }
    .showcase-step-item .icon-box {
        width: 38px;
        height: 38px;
        margin-bottom: 8px;
        border-radius: 10px;
    }
    .showcase-step-item .icon-box .material-icons-round {
        font-size: 19px;
    }
    .showcase-step-item h3 {
        font-size: 1.2rem;
        margin: 2px 0 6px 0;
    }
    .showcase-step-item p {
        font-size: 0.86rem;
        line-height: 1.45;
    }
    .showcase-step-item .step-badge {
        font-size: 0.7rem;
        padding: 2px 8px;
        margin-bottom: 6px;
    }
    .showcase-step-item .feat-tagline {
        font-size: 0.82rem !important;
        margin-top: 6px !important;
    }

    /* Bento Grid */
    .bento-section {
        padding: 60px 0;
    }
    .section-header h2 {
        font-size: 2.2rem;
    }
    .section-header p {
        font-size: 1rem;
    }
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 16px;
    }
    .span-2 {
        grid-column: span 1;
    }
    .bento-card {
        padding: 28px 24px;
        border-radius: 24px;
        min-height: auto;
    }
    .horizontal-card {
        flex-direction: column;
        gap: 20px;
    }
    .stats-content {
        flex-direction: row;
        justify-content: space-around;
        width: 100%;
        gap: 16px;
    }
    .stat-block h4 {
        font-size: 2.4rem;
    }
    .stat-block span {
        font-size: 0.85rem;
    }

    /* Download Section */
    .download-section {
        padding: 40px 0;
    }
    .download-bento {
        padding: 40px 24px;
        border-radius: 28px;
        text-align: center;
    }
    .download-bento h2 {
        font-size: 2rem;
    }
    .download-bento p {
        font-size: 1rem;
    }
    .download-btns {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .store-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }

    /* Footer */
    .footer {
        padding: 50px 0 24px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 16px;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-small {
        font-size: 1.3rem;
    }
    .phones-header h2 {
        font-size: 1.25rem;
    }
    .showcase-phone-wrapper {
        height: clamp(190px, 30vh, 230px);
        max-width: 200px;
    }
    .showcase-step-item {
        padding: 12px 16px;
    }
    .showcase-step-item h3 {
        font-size: 1.1rem;
    }
    .showcase-step-item p {
        font-size: 0.82rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .stats-content {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
}

/* Floating Action Button for Mobile */
.floating-dl-btn {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: linear-gradient(135deg, #ff7a18, #ff4c00);
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 122, 24, 0.4);
    z-index: 999;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}
.floating-dl-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 122, 24, 0.6);
}
.floating-dl-btn .material-icons-round {
    font-size: 20px;
}
body.vision-theme.light-theme .floating-dl-btn {
    background: #000;
    color: #fff !important;
}
@media (max-width: 900px) {
    .floating-dl-btn {
        display: flex;
    }
}
