/* =====================================================
   SHOPPERMO USER WEBSITE – MAIN STYLESHEET
   Design base: 1728px x 4820px (Figma)
   Font: Poppins (Google Fonts)
   Primary: #ff5e00  Background: #0d0d0d
   ===================================================== */

/* -- CSS Custom Properties -- */
:root {
    --orange:        #ff5e00;
    --bg:            #0d0d0d;
    --white:         #ffffff;
    --muted:         rgba(255, 255, 255, 0.7);
    --border:        rgba(255, 255, 255, 0.2);
    --border-strong: rgba(255, 255, 255, 0.5);
    --font:          'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --max-w:         1260px;
    --section-pad-x: clamp(20px, 5vw, 100px);
    --transition:    0.3s ease;
}

/* -- Reset -- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body { font-family: var(--font); background: var(--bg); color: var(--white); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }

/* -- Scrollbar -- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 3px; }

/* ===================================================
   NAVBAR
   =================================================== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 16px var(--section-pad-x);
    transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
    box-shadow: 0 1px 0 var(--border);
}
/* Use ::before for the blur so backdrop-filter is NOT on .navbar itself.
   backdrop-filter on a parent creates a new containing block for position:fixed
   children — which would break .nav-links panel positioning when scrolled. */
.navbar.scrolled::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(13,13,13,0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: -1;
    pointer-events: none;
}
.nav-container {
    max-width: var(--max-w); margin: 0 auto;
    display: flex; align-items: center; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-icon { height: 40px; width: auto; object-fit: contain; }
.logo-text { height: 32px; width: auto; object-fit: contain; }

.nav-links { display: flex; align-items: center; gap: 36px; margin: 0 auto; }
.nav-link { font-size: 15px; font-weight: 400; color: var(--muted); transition: color var(--transition); letter-spacing: 0.2px; }
.nav-link:hover, .nav-link.active { color: var(--white); }

.btn-download-app {
    flex-shrink: 0; padding: 12px 24px;
    background: var(--orange); color: var(--white);
    font-size: 14px; font-weight: 500; line-height: 24px;
    border-radius: 8px; white-space: nowrap;
    transition: background var(--transition), transform var(--transition);
}
.btn-download-app:hover { background: #e05200; transform: translateY(-1px); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; margin-left: auto; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================================================
   SECTION 1 - HERO
   =================================================== */
.hero-section {
    min-height: 100vh; padding-top: 100px; padding-bottom: 80px;
    background: var(--bg);
    background-image: url('assets/img/hero_section_bg.jpg');
    background-size: cover; background-position: center top;
    overflow: visible;
}
.hero-container {
    max-width: var(--max-w); margin: 0 auto; padding: 0 var(--section-pad-x);
    display: flex; flex-direction: column; align-items: center; text-align: center;
}
.hero-title { font-size: clamp(32px,4.5vw,77px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; max-width: 900px; margin-bottom: 16px; margin-top: 36px; }
.hero-subtitle { font-size: clamp(14px,1.2vw,23px); font-weight: 300; color: var(--muted); letter-spacing: 0.03em; max-width: 700px; margin-bottom: 40px; }

/* Image Viewer */
.image-viewer { position: relative; width: 100%; max-width: 900px; aspect-ratio: 16/9; margin-bottom: 28px; }
.image-viewer-glow {
    position: absolute; inset: -80px; z-index: 0; pointer-events: none;
    background: radial-gradient(ellipse 90% 80% at 50% 50%, rgba(255,94,0,1) 0%, rgba(255,94,0,0.6) 25%, rgba(255,94,0,0.25) 50%, rgba(255,94,0,0.05) 75%, transparent 100%);
    filter: blur(40px);
}
.image-viewer-frame { position: relative; width: 100%; height: 100%; border-radius: 16px; overflow: hidden; background: #1a1a1a; z-index: 1; }
.generated-img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.4s ease; }
.viewer-badge { position: absolute; top: 14px; left: 14px; width: 36px; height: 36px; background: rgba(255,255,255,0.15); backdrop-filter: blur(6px); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.loading-overlay { position: absolute; inset: 0; background: rgba(13,13,13,0.7); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity var(--transition); }
.loading-overlay.active { opacity: 1; pointer-events: auto; }
.spinner { width: 44px; height: 44px; border: 3px solid rgba(255,255,255,0.15); border-top-color: var(--orange); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Action Bar */
.action-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: space-between; width: 100%; max-width: 900px; }
.action-divider { flex: 1; min-width: 12px; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-btn {
    display: flex; align-items: center; gap: 8px; padding: 12px 16px; min-width: 140px;
    height: 48px; border: 1px solid var(--border-strong); border-radius: 48px;
    color: var(--white); font-size: 14px; font-weight: 400; white-space: nowrap; background: transparent;
    transition: border-color var(--transition), background var(--transition);
}
.dropdown-btn:hover, .dropdown.open .dropdown-btn { border-color: var(--white); background: rgba(255,255,255,0.05); }
.dropdown-avatar { width: 28px; height: 28px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.dropdown-avatar img { width: 100%; height: 100%; object-fit: cover; }
.dropdown-icon { width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.chevron { flex-shrink: 0; transition: transform var(--transition); }
.dropdown.open .chevron { transform: rotate(180deg); }
.dropdown-menu {
    position: absolute; top: calc(100% + 8px); left: 0; min-width: 100%;
    background: #1c1c1e; border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
    opacity: 0; pointer-events: none; transform: translateY(-6px);
    transition: opacity var(--transition), transform var(--transition);
    z-index: 1000; box-shadow: 0 8px 32px rgba(0,0,0,0.6);
}
.dropdown.open .dropdown-menu { opacity: 1; pointer-events: auto; transform: translateY(0); }
.dropdown-menu.flipped {
    top: auto; bottom: calc(100% + 8px); transform: translateY(6px);
}
.dropdown.open .dropdown-menu.flipped { transform: translateY(0); }
.dropdown-menu li { padding: 12px 20px; font-size: 14px; color: var(--muted); cursor: pointer; white-space: nowrap; transition: background var(--transition), color var(--transition); min-height: 48px; display: flex; align-items: center; }
.dropdown-menu li:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.dropdown-menu li.selected { color: var(--orange); }
.add-photo-option { border-top: 1px solid var(--border); color: var(--orange) !important; }
.add-photo-option:hover { background: rgba(255,94,0,0.1) !important; }

/* Avatar menu – 2-column grid */
.avatar-menu {
    display: grid; grid-template-columns: 1fr 1fr;
    padding: 12px; gap: 4px; min-width: 200px;
}
.avatar-option {
    display: flex !important; flex-direction: column; align-items: center; gap: 8px;
    padding: 12px 8px !important; border-radius: 10px; white-space: normal;
}
.avatar-option img {
    width: 64px; height: 64px; border-radius: 50%; object-fit: cover;
    border: 2px solid transparent; transition: border-color var(--transition);
}
.avatar-option:hover img { border-color: var(--white); }
.avatar-option.selected img { border-color: var(--orange); }
.avatar-option span { font-size: 13px; color: var(--white); text-align: center; }
.avatar-menu .add-photo-option {
    grid-column: 1 / -1; text-align: center;
    padding: 10px 12px !important; white-space: nowrap;
}

/* Dress menu – thumbnail rows */
.dress-menu { min-width: 200px; padding: 8px 0; }
.dress-option {
    display: flex !important; align-items: center; gap: 12px;
    padding: 12px 14px !important; white-space: normal; min-height: 52px;
}
.dress-option img {
    width: 52px; height: 52px; object-fit: cover;
    border-radius: 8px; flex-shrink: 0;
    border: 2px solid transparent; transition: border-color var(--transition);
}
.dress-option:hover img { border-color: var(--white); }
.dress-option.selected img { border-color: var(--orange); }
.dress-option span { font-size: 14px; color: var(--white); }

/* Generate / Shuffle */
.btn-generate {
    display: flex; align-items: center; gap: 8px; padding: 12px 24px;
    background: var(--orange); border-radius: 48px; color: var(--white);
    font-size: 14px; font-weight: 500; white-space: nowrap;
    transition: background var(--transition), transform var(--transition);
}
.btn-generate:hover { background: #e05200; transform: translateY(-1px); }
.generate-icon { width: 20px; height: 20px; object-fit: contain; }
.btn-shuffle {
    display: flex; align-items: center; gap: 8px; padding: 11px 24px;
    border: 1px solid var(--orange); border-radius: 48px; color: var(--orange);
    font-size: 14px; font-weight: 500; white-space: nowrap;
    transition: background var(--transition), transform var(--transition);
}
.btn-shuffle:hover { background: rgba(255,94,0,0.1); transform: translateY(-1px); }

/* ===================================================
   SECTION 2 - MODES
   =================================================== */
.modes-section {
    min-height: 780px;
    display: flex;
    align-items: center;
    padding: 60px var(--section-pad-x);
    background: var(--bg);
    background-image: url('assets/img/mode_section_bg.jpg');
    background-size: cover; background-position: center;
    overflow: hidden;
}
.modes-container { width: 100%; max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.modes-left { display: flex; flex-direction: column; gap: 16px; }
.modes-title { font-size: clamp(48px,6.5vw,80px); font-weight: 200; letter-spacing: -0.022em; color: var(--orange); line-height: 1; }
.modes-subtitle { font-size: clamp(18px,2vw,28px); font-weight: 600; letter-spacing: 0.03em; line-height: 1.3; }
.modes-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.mode-tab { padding: 8px 20px; border-radius: 48px; border: 1px solid var(--border); font-size: 13px; font-weight: 500; color: var(--muted); transition: all var(--transition); }
.mode-tab.active { background: var(--orange); border-color: var(--orange); color: var(--white); }
.mode-tab:hover:not(.active) { border-color: var(--white); color: var(--white); }
.modes-desc { font-size: clamp(14px,1.1vw,20px); font-weight: 400; color: var(--muted); letter-spacing: 0.03em; line-height: 1.75; max-width: 480px; }

/* Slider - stacked single-image carousel */
.modes-right { position: relative; display: flex; align-items: center; justify-content: center; height: 520px; gap: 100px; }
.slider-track { position: relative; width: 260px; height: 460px; flex-shrink: 0; }
.slide { position: absolute; inset: 0; border-radius: 20px; overflow: hidden; transition: all 0.5s cubic-bezier(0.4,0,0.2,1); }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Active front slide */
.slide-active { z-index: 3; transform: scale(1) translateX(0); filter: none; opacity: 1; box-shadow: 0 24px 60px rgba(0,0,0,0.7); }
/* Behind left */
.slide-back-left { z-index: 2; transform: scale(0.82) translateX(-50%); filter: grayscale(100%); opacity: 0.6; }
/* Behind right */
.slide-back-right { z-index: 1; transform: scale(0.82) translateX(50%); filter: grayscale(100%); opacity: 0.6; }
.slider-arrow { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.08); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background var(--transition), border-color var(--transition); z-index: 10; }
.slider-arrow:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }

/* ===================================================
   SECTION 3 - MAP
   =================================================== */
.map-section { position: relative; height: 600px; overflow: hidden; display: flex; align-items: center; }
.map-bg { position: absolute; inset: 0; background-image: url('assets/img/map_section_bg.jpg'); background-size: cover; background-position: center; z-index: 0; }
.map-overlay { position: absolute; inset: 0; background: rgba(13,13,13,0.15); z-index: 1; }
.map-content { position: relative; z-index: 2; width: 100%; padding: 0 var(--section-pad-x); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.map-title { font-size: clamp(28px,3vw,49px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; white-space: normal; }
.map-desc { font-size: clamp(13px,1vw,17px); color: var(--muted); max-width: 480px; line-height: 1.7; }
.map-walk-icon { width: 56px; height: 56px; object-fit: contain; }
/* Map feature frames */
.map-features { display: flex; gap: 20px; margin-top: 8px; flex-wrap: wrap; justify-content: center; }
.map-feature-frame { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 24px 32px; background: rgba(13,13,13,0.55); border: 1px solid var(--border-strong); border-radius: 16px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); min-width: 160px; transition: background var(--transition), border-color var(--transition); }
.map-feature-frame:hover { background: rgba(255,94,0,0.1); border-color: var(--orange); }
.map-feature-icon { width: 36px; height: 36px; object-fit: contain; }
.map-feature-frame span { font-size: 14px; font-weight: 500; color: var(--white); }

/* ===================================================
   SECTION 4 - DOWNLOAD
   =================================================== */
.download-section {
    min-height: 670px;
    padding: 0 var(--section-pad-x);
    background: #0a0a10;
    background-image: url('assets/img/download_section_bg.jpg');
    background-size: cover; background-position: center;
    overflow: visible;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.download-container { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.download-left { display: flex; flex-direction: column; gap: 28px; }
.download-title { font-size: clamp(36px,5vw,80px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.download-desc { font-size: clamp(14px,1.1vw,18px); color: var(--muted); max-width: 360px; line-height: 1.7; }
.store-buttons { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.store-badge-link { display: inline-block; }
.app-store-badge { height: 52px; width: auto; display: block; }
.btn-download-main {
    display: inline-block; padding: 14px 36px; background: var(--orange); color: var(--white);
    font-size: 15px; font-weight: 600; border-radius: 10px; text-decoration: none;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-download-main:hover { background: #e05200; transform: translateY(-1px); box-shadow: 0 8px 28px rgba(255,94,0,0.4); }

/* App screenshot */
.download-right { display: flex; align-items: center; justify-content: center; overflow: visible; }
.app-screenshot { height: 600px; width: auto; max-width: 100%; max-height: none; border-radius: 24px; object-fit: contain; margin-top: -90px; margin-bottom: -90px; filter: drop-shadow(0 24px 60px rgba(0,0,0,0.7)); position:absolute; z-index: 10; }
.faq-section { padding: 100px var(--section-pad-x); background: var(--bg); }
.faq-container { max-width: var(--max-w); margin: 0 auto; }
.faq-title { font-size: clamp(28px,2.8vw,49px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.26; margin-bottom: 56px; max-width: 560px; }
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0; font-size: clamp(15px,1.1vw,18px); font-weight: 500; color: var(--white); text-align: left; transition: color var(--transition); }
.faq-question:hover { color: var(--orange); }
.faq-question[aria-expanded="true"] { color: var(--orange); }
.faq-icon { flex-shrink: 0; transition: transform var(--transition); }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1); }
.faq-answer.open { max-height: 300px; }
.faq-answer p { padding-bottom: 28px; font-size: clamp(13px,1vw,16px); color: var(--muted); line-height: 1.75; max-width: 720px; }

/* ===================================================
   SECTION 6 - CTA
   =================================================== */
.cta-section {
    position: relative; height: 350px; display: flex; align-items: center; overflow: hidden;
    background-image: url('assets/img/own_store_section_bg.jpg');
    background-size: cover; background-position: center; background-attachment: scroll;
}
.cta-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(13,13,13,0.45) 0%, rgba(26,15,0,0.5) 40%, rgba(42,21,0,0.45) 60%, rgba(13,13,13,0.45) 100%); z-index: 0; }
.cta-overlay::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(255,94,0,0.08) 0%, transparent 70%); }
.cta-content { position: relative; z-index: 1; max-width: var(--max-w); width: 100%; margin: 0 auto; padding: 80px var(--section-pad-x); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.cta-title { font-size: clamp(28px,3.5vw,56px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.cta-desc { font-size: clamp(14px,1.1vw,18px); color: var(--muted); }
.btn-cta { display: inline-flex; align-items: center; margin-top: 12px; padding: 16px 36px; background: var(--orange); color: var(--white); font-size: 15px; font-weight: 600; border-radius: 8px; transition: background var(--transition), transform var(--transition), box-shadow var(--transition); }
.btn-cta:hover { background: #e05200; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255,94,0,0.4); }

/* ===================================================
   FOOTER
   =================================================== */
.footer { background: #080808; border-top: 1px solid var(--border); padding: 64px var(--section-pad-x) 32px; }
.footer-container { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 60px; margin-bottom: 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 20px; max-width: 380px; }
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo-icon { height: 36px; width: auto; }
.footer-logo-text { height: 28px; width: auto; }
.footer-tagline { font-size: 14px; color: var(--muted); line-height: 1.7; }
.footer-social { display: flex; gap: 14px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.06); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--muted); transition: all var(--transition); }
.footer-social a:hover { background: rgba(255,255,255,0.12); border-color: var(--border-strong); color: var(--white); }
.footer-links-group { display: flex; gap: 60px; }
.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-col-title { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--muted); transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
/* Footer app store badge */
.footer-store-btn { display: inline-block; transition: opacity var(--transition); }
.footer-store-btn:hover { opacity: 0.85; }
.footer-app-store-badge { height: 40px; width: auto; display: block; }
.footer-bottom { max-width: var(--max-w); margin: 0 auto; padding-top: 28px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-copy { font-size: 13px; color: var(--muted); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 13px; color: var(--muted); transition: color var(--transition); }
.footer-legal a:hover { color: var(--white); }

/* ===================================================
   MODALS
   =================================================== */
.modal-overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,0.75); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity var(--transition); }
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-box { position: relative; background: #1a1a1e; border: 1px solid var(--border); border-radius: 20px; padding: 48px 40px; max-width: 400px; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; transform: scale(0.95) translateY(10px); transition: transform 0.3s cubic-bezier(0.4,0,0.2,1); box-shadow: 0 24px 80px rgba(0,0,0,0.8); }
.modal-overlay.active .modal-box { transform: scale(1) translateY(0); }
.modal-close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.modal-close:hover { background: rgba(255,255,255,0.15); }
.modal-title { font-size: 22px; font-weight: 600; }
.modal-desc { font-size: 14px; color: var(--muted); line-height: 1.6; }
.qr-code-container { padding: 8px; background: var(--white); border-radius: 12px; margin: 8px 0; }
.qr-code { width: 160px; height: 160px; }
.modal-store-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.modal-store-badges { display: flex; gap: 10px; }
.badge { padding: 6px 14px; background: rgba(255,255,255,0.08); border: 1px solid var(--border); border-radius: 6px; font-size: 12px; font-weight: 500; }
.modal-box-photo { max-width: 380px; }
.modal-photo-icon { width: 72px; height: 72px; border-radius: 18px; background: rgba(255,94,0,0.1); border: 1px solid rgba(255,94,0,0.3); display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.btn-modal-download { margin-top: 8px; padding: 14px 32px; background: var(--orange); color: var(--white); font-size: 14px; font-weight: 600; border-radius: 8px; width: 100%; transition: background var(--transition), transform var(--transition); }
.btn-modal-download:hover { background: #e05200; transform: translateY(-1px); }

/* ===================================================

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1024px) {
    .modes-container { grid-template-columns: 1fr; gap: 48px; }
    .modes-right { height: 380px; justify-content: center; }
    .slider-track { width: 190px; height: 360px; }
    .download-container { grid-template-columns: 1fr; text-align: center; }
    .download-left { align-items: center; }
    .store-buttons { align-items: center; }
    .footer-container { grid-template-columns: 1fr; gap: 48px; }
    .footer-links-group { gap: 40px; }
}

@media (max-width: 768px) {
    :root { --section-pad-x: 24px; }
    .nav-toggle { display: flex; }
    .nav-links { position: fixed; top: 0; right: 0; bottom: 0; width: 60%; background: rgba(13,13,13,0.75); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); flex-direction: column; align-items: center; justify-content: center; gap: 36px; transform: translateX(100%); transition: transform var(--transition); z-index: 990; }
    .nav-links.open { transform: translateX(0); }
    .nav-link { font-size: 20px; }
    .btn-download-app { display: none; }
    .hero-section { padding-top: 80px; }
    .image-viewer { max-width: 100%; aspect-ratio: 4/3; }
    .action-bar { flex-direction: column; gap: 12px; width: 100%; }
    .action-bar .dropdown { width: 100%; display: block; }
    .action-bar .dropdown-btn { width: 100%; min-width: 0; padding: 12px 16px; font-size: 13px; justify-content: center; box-sizing: border-box; }
    .action-bar .dropdown-menu { width: 100%; min-width: 0; left: 0; right: 0; }
    .action-bar .avatar-menu { grid-template-columns: 1fr 1fr; width: 100%; min-width: 0; }
    .action-divider { display: none; }
    .btn-generate, .btn-shuffle { width: 100%; padding: 12px 16px; font-size: 13px; justify-content: center; }
    /* Modes section - slider at top */
    .modes-section { padding: 40px var(--section-pad-x); min-height: 60vh; }
    .modes-container { grid-template-columns: 1fr; gap: 50px; }
    .modes-left { order: 2; }
    .modes-right { order: 1; height: 320px; gap: 0; justify-content: center; }
    .slider-arrow { display: none; }
    .slider-track { width: calc(100vw - 48px); max-width: 500px; height: auto; aspect-ratio: 4/5; }
    .modes-title { font-size: clamp(32px, 5vw, 60px); }
    .modes-subtitle { font-size: clamp(16px, 4vw, 24px); }
    .modes-desc { font-size: clamp(13px, 3vw, 16px); max-width: 100%; }
    /* Map section */
    .map-section { height: auto; min-height: 500px; }
    .map-content { padding: 40px var(--section-pad-x); }
    .map-features { gap: 12px; }
    .map-feature-frame { padding: 18px 24px; min-width: 130px; }
    /* Download section - image at top */
    .download-section { min-height: auto; padding: 40px var(--section-pad-x); display: flex; align-items: stretch; justify-content: center; }
    .download-container { grid-template-columns: 1fr; gap: 40px; }
    .download-left { order: 2; align-items: center; text-align: center; }
    .download-right { order: 1; display: flex; align-items: center; justify-content: center; }
    .app-screenshot { height: auto; width: 80%; max-width: 400px; max-height: none; margin: 0; position: relative; }
    .btn-download-main { width: 100%; }
    .store-buttons { width: 100%; align-items: center; }
    .faq-section { padding: 60px var(--section-pad-x); }
    /* Footer mobile - restructured */
    .footer { padding: 40px var(--section-pad-x) 24px; }
    .footer-container { grid-template-columns: 1fr; gap: 40px; margin-bottom: 32px; }
    .footer-brand { max-width: 100%; }
    .footer-links-group { flex-direction: column; gap: 32px; }
    .footer-col { flex-direction: column; gap: 12px; }
    .footer-bottom { flex-direction: column; align-items: center; gap: 16px; padding-top: 20px; }
    .footer-copy { width: 100%; text-align: center; }
    .footer-legal { flex-direction: row; gap: 16px; width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .dropdown-btn { padding: 8px 10px; min-width: 80px; }
    .modes-right { display: flex; height: 280px; }
    .slider-track { width: 60%; height: 110%; }
    .download-container { grid-template-columns: 1fr; }
    .download-right { display: flex; }
}


@media (max-width: 600px) {
    
}

/* ===================================================
   MERCHANT LEAD MODAL
   =================================================== */
.modal-box-lead {
    max-width: 520px;
    width: 90%;
    padding: 36px;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 20px;
}

.lead-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.lead-form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.lead-form-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    text-align: left;
}

.lead-form-label .required {
    color: var(--orange);
}

.lead-form-input {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 12px;
    color: var(--white);
    font-family: var(--font);
    font-size: 14px;
    outline: none;
    transition: border-color var(--transition);
}

.lead-form-input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.lead-form-input:focus {
    border-color: var(--orange);
}

.lead-form-banner {
    display: none;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
}

.lead-form-banner.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
    display: block;
}

.turnstile-widget-group {
    display: grid;
    gap: 10px;
    width: 100%;
}

.turnstile-status-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1.45;
    transition: border-color var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
}

.turnstile-status-icon {
    position: relative;
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
}

.turnstile-status-copy {
    display: block;
}

.turnstile-widget-shell {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.2s ease, opacity 0.2s ease;
}

.turnstile-widget-group[data-turnstile-state="interactive"] .turnstile-widget-shell,
.turnstile-widget-group[data-turnstile-state="missing"] .turnstile-widget-shell {
    max-height: 180px;
    opacity: 1;
}

.turnstile-widget-shell > div {
    display: flex !important;
    width: 100% !important;
    max-width: 100%;
}

.turnstile-widget-shell iframe {
    max-width: 100%;
}

.turnstile-widget-group[data-turnstile-theme="dark"] .turnstile-status-pill {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.68);
}

.turnstile-widget-group[data-turnstile-theme="light"] .turnstile-status-pill {
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.96);
    color: rgba(15, 23, 42, 0.62);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.turnstile-widget-group[data-turnstile-state="checking"] .turnstile-status-icon::before,
.turnstile-widget-group[data-turnstile-state="interactive"] .turnstile-status-icon::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.16);
    border-top-color: var(--orange);
    animation: turnstile-status-spin 0.8s linear infinite;
}

.turnstile-widget-group[data-turnstile-theme="light"][data-turnstile-state="checking"] .turnstile-status-icon::before,
.turnstile-widget-group[data-turnstile-theme="light"][data-turnstile-state="interactive"] .turnstile-status-icon::before {
    border-color: rgba(15, 23, 42, 0.14);
    border-top-color: var(--orange);
}

.turnstile-widget-group[data-turnstile-state="verified"] .turnstile-status-icon::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 3px;
    width: 8px;
    height: 4px;
    border-left: 2px solid #4ade80;
    border-bottom: 2px solid #4ade80;
    transform: rotate(-45deg);
}

.turnstile-widget-group[data-turnstile-state="error"] .turnstile-status-icon::before,
.turnstile-widget-group[data-turnstile-state="missing"] .turnstile-status-icon::before {
    content: "!";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.35);
    background: rgba(251, 191, 36, 0.08);
}

.turnstile-fallback-message {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 94, 0, 0.24);
    background: rgba(255, 94, 0, 0.08);
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    line-height: 1.55;
}

@keyframes turnstile-status-spin {
    to {
        transform: rotate(360deg);
    }
}

.lead-form-consent {
    margin-top: 4px;
}

.lead-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.5;
    text-align: left;
}

.lead-consent-label input[type="checkbox"] {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: var(--orange);
    cursor: pointer;
}

.btn-lead-submit {
    margin-top: 4px;
    padding: 12px 24px;
    background: var(--orange);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}

.btn-lead-submit:hover {
    background: #e05500;
    transform: translateY(-1px);
}

.btn-lead-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.lead-skip {
    text-align: center;
    margin-top: 12px;
    font-size: 12px;
}

.btn-lead-skip {
    display: block;
    width: 100%;
    padding: 10px 20px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    color: var(--white);
    font-family: var(--font);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    transition: all var(--transition);
}

.btn-lead-skip:hover {
    border-color: var(--orange);
    color: var(--orange);
}

.lead-success-icon {
    width: 56px;
    height: 56px;
    background: rgba(5, 150, 105, 0.2);
    border: 1px solid rgba(5, 150, 105, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #6ee7b7;
    margin: 0 auto 20px;
}

@media (max-width: 540px) {
    .lead-form-row {
        grid-template-columns: 1fr;
    }
    .modal-box-lead {
        padding: 24px 18px;
    }
}
