/* ============================================================
   HairPath Marketing Page — marketing.css
   Dark premium theme: #0B1120 bg, #C8A97A gold accents
   Fonts: Cormorant Garamond (headlines), DM Sans (body)
   ============================================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0B1120;
  --bg-card:   #111827;
  --bg-card2:  #1A2236;
  --gold:      #C8A97A;
  --gold-dim:  #A08050;
  --gold-glow: rgba(200, 169, 122, .15);
  --text:      #E8E4DF;
  --text-dim:  #9CA3AF;
  --white:     #FFFFFF;
  --red:       #EF4444;
  --green:     #22C55E;
  --radius:    12px;
  --radius-sm: 8px;
  --transition: .3s ease;
}

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

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
}

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--white); }

img { max-width: 100%; display: block; }

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

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px; border-radius: 60px; font-weight: 600;
  font-size: .95rem; cursor: pointer; transition: all var(--transition);
  border: none; text-decoration: none;
}
.btn-gold {
  background: var(--gold); color: var(--bg);
}
.btn-gold:hover { background: var(--white); color: var(--bg); }
.btn-outline {
  background: transparent; color: var(--gold); border: 2px solid var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--bg); }
.btn-sm { padding: 10px 22px; font-size: .85rem; }
.btn-lg { padding: 18px 44px; font-size: 1.05rem; }
.btn-text { color: var(--gold); font-weight: 600; }
.btn-text:hover { color: var(--white); }

/* ---------- HEADER ---------- */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  background: rgba(11, 17, 32, .85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200, 169, 122, .1);
  transition: background var(--transition);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 700; color: var(--gold);
  letter-spacing: .02em;
}
.logo:hover { color: var(--white); }

.main-nav { display: flex; gap: 32px; }
.main-nav a { color: var(--text-dim); font-size: .9rem; font-weight: 500; }
.main-nav a:hover { color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 16px; }

.lang-switcher { display: flex; gap: 6px; }
.lang-btn {
  background: none; border: 1px solid transparent; border-radius: 6px;
  padding: 4px 6px; font-size: 1.1rem; cursor: pointer;
  opacity: .5; transition: opacity var(--transition);
}
.lang-btn.active, .lang-btn:hover { opacity: 1; border-color: var(--gold); }

.mobile-menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-menu-toggle span {
  display: block; width: 24px; height: 2px; background: var(--text);
  margin: 5px 0; transition: all var(--transition);
}

/* ---------- HERO ---------- */
.hero {
  position: relative; padding: 140px 0 80px; min-height: 100vh;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg-gradient {
  position: absolute; top: -40%; right: -20%; width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(200,169,122,.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-text h1 { font-size: 3.5rem; margin-bottom: 20px; color: var(--white); }
.hero-sub { font-size: 1.2rem; color: var(--text-dim); margin-bottom: 36px; max-width: 520px; }
.hero-ctas { display: flex; gap: 20px; align-items: center; }

/* ---------- PHONE MOCKUP ---------- */
.phone-frame {
  width: 280px; margin: 0 auto;
  background: var(--bg-card);
  border-radius: 36px;
  border: 3px solid #2A3348;
  padding: 12px;
  box-shadow: 0 40px 80px rgba(0,0,0,.4), 0 0 0 1px rgba(200,169,122,.05);
  position: relative;
}
.phone-frame--dark { background: #0D1424; }
.phone-notch {
  width: 100px; height: 24px; background: var(--bg);
  border-radius: 0 0 16px 16px; margin: 0 auto 8px;
}
.phone-screen {
  background: var(--bg); border-radius: 20px; padding: 16px;
  min-height: 440px; overflow: hidden;
}
.mock-status-bar {
  display: flex; justify-content: space-between; font-size: .65rem;
  color: var(--text-dim); margin-bottom: 16px;
}
.mock-icons { letter-spacing: -2px; }
.mock-greeting { font-size: 1.15rem; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.wave-emoji { display: inline-block; animation: wave 2s ease-in-out infinite; }
@keyframes wave {
  0%, 60%, 100% { transform: rotate(0); }
  10%, 30% { transform: rotate(14deg); }
  20% { transform: rotate(-8deg); }
}
.mock-day-badge {
  display: inline-flex; gap: 8px; align-items: center;
  background: var(--bg-card2); border-radius: 20px; padding: 6px 14px;
  font-size: .75rem; color: var(--gold); margin-bottom: 16px;
}
.mock-phase { color: var(--text-dim); }

.mock-card {
  background: var(--bg-card); border-radius: var(--radius-sm);
  padding: 14px; margin-bottom: 12px;
}
.mock-task {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0; font-size: .8rem; color: var(--text-dim);
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.mock-task:last-child { border-bottom: none; }
.mock-task.done { color: var(--text); }
.mock-check { color: var(--green); font-weight: 700; }
.mock-circle {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid var(--text-dim); display: inline-block;
}
.mock-tip-card {
  background: var(--gold-glow); border-radius: var(--radius-sm);
  padding: 12px; display: flex; align-items: center; gap: 10px;
  font-size: .78rem; color: var(--gold);
}
.mock-tip-icon { font-size: 1.2rem; }

/* ---------- CYCLING SCREENS ---------- */
.cycling-screens { position: relative; min-height: 400px; }
.cycle-screen {
  position: absolute; top: 0; left: 0; width: 100%; padding: 20px 4px;
  opacity: 0; transition: opacity .6s ease;
}
.cycle-screen.active { opacity: 1; position: relative; }
.cs-header { font-size: .9rem; font-weight: 600; color: var(--gold); margin-bottom: 14px; }
.cs-progress { background: var(--bg-card2); border-radius: 8px; height: 8px; margin-top: 16px; overflow: hidden; }
.cs-bar { height: 100%; background: var(--gold); border-radius: 8px; }
.cs-pct { font-size: .75rem; color: var(--gold); text-align: right; margin-top: 4px; }

.cs-tip-icon { font-size: 2.5rem; text-align: center; margin-bottom: 12px; }
.cs-tip-title { font-size: 1rem; font-weight: 600; color: var(--gold); text-align: center; margin-bottom: 10px; }
.cs-tip-body { font-size: .82rem; color: var(--text-dim); text-align: center; line-height: 1.5; }

.cs-chat-header { font-size: .9rem; font-weight: 600; color: var(--gold); margin-bottom: 14px; }
.cs-bubble {
  padding: 10px 14px; border-radius: 14px; font-size: .8rem;
  margin-bottom: 10px; max-width: 90%; line-height: 1.45;
}
.cs-bubble--user {
  background: var(--gold); color: var(--bg); margin-left: auto;
  border-bottom-right-radius: 4px;
}
.cs-bubble--ai {
  background: var(--bg-card2); color: var(--text);
  border-bottom-left-radius: 4px;
}

.cs-photo-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px;
}
.cs-photo-cell {
  aspect-ratio: 1; background: var(--bg-card2); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem; color: var(--text-dim); border: 1px dashed rgba(255,255,255,.1);
}
.cs-photo-cell.filled { border-color: var(--gold); background: var(--gold-glow); color: var(--gold); }

.cs-badge-icon { font-size: 3rem; text-align: center; margin-bottom: 12px; margin-top: 40px; }
.cs-badge-title { font-size: 1.1rem; font-weight: 600; color: var(--gold); text-align: center; margin-bottom: 4px; }
.cs-badge-name { font-size: .9rem; color: var(--white); text-align: center; margin-bottom: 8px; }
.cs-badge-desc { font-size: .78rem; color: var(--text-dim); text-align: center; line-height: 1.5; }

.cycle-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--text-dim); opacity: .3; transition: all var(--transition);
}
.dot.active { background: var(--gold); opacity: 1; width: 24px; border-radius: 4px; }

/* ---------- SECTION SHARED ---------- */
section { padding: 100px 0; position: relative; }

.section-title {
  font-size: 2.6rem; color: var(--white); text-align: center; margin-bottom: 60px;
}

/* ---------- PROBLEM ---------- */
.problem { background: linear-gradient(180deg, var(--bg) 0%, #0E1528 100%); }
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 40px; }
.problem-card {
  background: var(--bg-card); border-radius: var(--radius); padding: 36px;
  border: 1px solid rgba(255,255,255,.06);
}
.problem-card h3 { font-size: 1.4rem; color: var(--gold); margin-bottom: 20px; }
.pain-list { list-style: none; }
.pain-list li {
  padding: 12px 0; font-size: .95rem; color: var(--text-dim);
  border-bottom: 1px solid rgba(255,255,255,.04);
  font-style: italic;
}
.pain-list li:last-child { border-bottom: none; }
.pain-list li::before { content: ''; display: inline-block; width: 6px; height: 6px; background: var(--red); border-radius: 50%; margin-right: 12px; vertical-align: middle; }

.stat-banner {
  text-align: center; padding: 24px; background: var(--gold-glow);
  border-radius: var(--radius); border: 1px solid rgba(200,169,122,.2);
}
.stat-banner p { font-size: 1.05rem; color: var(--text); }
.stat-banner strong { color: var(--gold); }

/* ---------- SOLUTION ---------- */
.solution { background: var(--bg); }
.solution-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.solution-text h2 { font-size: 2.4rem; color: var(--white); margin-bottom: 20px; text-align: left; }
.solution-text p { color: var(--text-dim); font-size: 1.05rem; margin-bottom: 30px; }
.lang-badge {
  background: var(--bg-card); border-radius: var(--radius-sm); padding: 16px 20px;
  display: inline-block;
}
.lang-badge span { font-weight: 600; color: var(--gold); font-size: .9rem; }
.flag-row { display: flex; gap: 8px; margin-top: 8px; font-size: 1.3rem; }

/* ---------- CLINIC (ADMIN) ---------- */
.clinic { background: linear-gradient(180deg, #0E1528 0%, var(--bg) 100%); }

.admin-mockup {
  background: var(--bg-card); border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(255,255,255,.06); margin-bottom: 50px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.admin-bar {
  display: flex; align-items: center; gap: 8px; padding: 14px 20px;
  background: #1A2236; font-size: .8rem; color: var(--text-dim);
}
.admin-dot { width: 12px; height: 12px; border-radius: 50%; }
.admin-dot.red { background: #EF4444; }
.admin-dot.yellow { background: #F59E0B; }
.admin-dot.green { background: #22C55E; }
.admin-body { padding: 30px; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.admin-stat { text-align: center; padding: 24px; background: var(--bg); border-radius: var(--radius-sm); }
.admin-stat-num { font-family: 'Cormorant Garamond', serif; font-size: 2.5rem; font-weight: 700; color: var(--white); }
.admin-stat-num.gold { color: var(--gold); }
.admin-stat-label { font-size: .8rem; color: var(--text-dim); margin-top: 4px; }

.clinic-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.feature-card {
  background: var(--bg-card); border-radius: var(--radius); padding: 30px;
  border: 1px solid rgba(255,255,255,.06);
  transition: border-color var(--transition), transform var(--transition);
}
.feature-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.feature-icon { font-size: 2rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.2rem; color: var(--white); margin-bottom: 10px; }
.feature-card p { font-size: .9rem; color: var(--text-dim); line-height: 1.6; }

/* ---------- HOW IT WORKS ---------- */
.how-it-works { background: var(--bg); }
.steps {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 0; margin-bottom: 40px;
}
.step {
  text-align: center; flex: 0 0 200px; position: relative;
}
.step-icon { font-size: 2rem; margin-bottom: 12px; }
.step-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gold); color: var(--bg); font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px; font-size: .9rem;
}
.step h3 { font-size: 1.1rem; color: var(--white); margin-bottom: 8px; }
.step p { font-size: .85rem; color: var(--text-dim); line-height: 1.5; }
.step-line {
  flex: 0 0 60px; height: 2px; background: linear-gradient(90deg, var(--gold), rgba(200,169,122,.2));
  margin-top: 72px;
}

.zero-badge {
  text-align: center; padding: 20px 32px; background: var(--bg-card);
  border-radius: 60px; display: inline-block; margin: 0 auto;
  border: 1px solid rgba(200,169,122,.2);
  font-weight: 600; color: var(--gold); font-size: .95rem;
}
.how-it-works .container { text-align: center; }

/* ---------- AI FEATURES ---------- */
.ai-features { background: linear-gradient(180deg, var(--bg) 0%, #0E1528 100%); }
.ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.ai-card {
  background: var(--bg-card); border-radius: var(--radius); padding: 36px;
  border: 1px solid rgba(255,255,255,.06); text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}
.ai-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.ai-card-icon { font-size: 2.5rem; margin-bottom: 16px; }
.ai-card h3 { font-size: 1.3rem; color: var(--white); margin-bottom: 10px; }
.ai-card p { font-size: .9rem; color: var(--text-dim); line-height: 1.6; }

.ai-badge {
  text-align: center; padding: 14px 28px; background: var(--bg-card);
  border-radius: 60px; display: inline-block;
  border: 1px solid rgba(200,169,122,.2);
  font-weight: 600; color: var(--gold); font-size: .85rem;
}
.ai-features .container { text-align: center; }

/* ---------- PRICING ---------- */
.pricing { background: var(--bg); }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 30px; }
.pricing-card {
  background: var(--bg-card); border-radius: var(--radius); padding: 36px 28px;
  border: 1px solid rgba(255,255,255,.06); text-align: center;
  position: relative; transition: border-color var(--transition), transform var(--transition);
}
.pricing-card:hover { border-color: rgba(200,169,122,.3); transform: translateY(-4px); }
.pricing-card.popular {
  border-color: var(--gold);
  box-shadow: 0 0 40px rgba(200,169,122,.1);
  transform: scale(1.04);
}
.pricing-card.popular:hover { transform: scale(1.06); }
.popular-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--bg); padding: 4px 16px;
  border-radius: 20px; font-size: .7rem; font-weight: 700; letter-spacing: .08em;
}
.pricing-card h3 { font-size: 1.3rem; color: var(--white); margin-bottom: 16px; }
.pricing-amount {
  font-family: 'Cormorant Garamond', serif; font-size: 3rem; font-weight: 700;
  color: var(--gold); margin-bottom: 8px;
}
.pricing-custom { font-size: 2rem; }
.currency { font-size: 1.6rem; vertical-align: super; }
.period { font-size: .9rem; color: var(--text-dim); font-family: 'DM Sans', sans-serif; }
.pricing-limit { font-size: .85rem; color: var(--text-dim); margin-bottom: 24px; }
.pricing-features { list-style: none; text-align: left; margin-bottom: 28px; }
.pricing-features li {
  padding: 8px 0; font-size: .85rem; color: var(--text-dim);
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.pricing-features li::before { content: '\2713'; color: var(--gold); margin-right: 10px; font-weight: 700; }
.pricing-footer { text-align: center; color: var(--text-dim); font-size: .9rem; }

/* ---------- TRUST ---------- */
.trust { background: linear-gradient(180deg, var(--bg) 0%, #0E1528 100%); }
.trust-points { display: flex; gap: 40px; justify-content: center; margin-bottom: 60px; flex-wrap: wrap; }
.trust-point {
  text-align: center; max-width: 360px;
}
.trust-icon { font-size: 2.5rem; margin-bottom: 16px; }
.trust-point p { font-size: 1rem; color: var(--text-dim); line-height: 1.6; }

.testimonials {
  text-align: center; background: var(--bg-card); border-radius: var(--radius);
  padding: 40px; border: 1px solid rgba(255,255,255,.06);
}
.testimonials h3 { font-size: 1.4rem; color: var(--white); margin-bottom: 16px; }
.testimonial-placeholder {
  padding: 20px; border: 1px dashed rgba(200,169,122,.3); border-radius: var(--radius-sm);
}
.testimonial-placeholder p { color: var(--text-dim); font-style: italic; font-size: .9rem; }

/* ---------- FOOTER CTA ---------- */
.footer-cta {
  background: radial-gradient(ellipse at 50% 0%, rgba(200,169,122,.08) 0%, transparent 60%);
  text-align: center; padding: 120px 0 80px;
}
.footer-cta h2 { font-size: 2.8rem; color: var(--white); margin-bottom: 16px; }
.footer-cta p { font-size: 1.1rem; color: var(--text-dim); margin-bottom: 36px; max-width: 560px; margin-inline: auto; }
.cta-actions { margin-bottom: 30px; }
.cta-email { margin-bottom: 20px; }
.email-form {
  display: inline-flex; gap: 0; max-width: 440px; width: 100%;
}
.email-form input {
  flex: 1; padding: 14px 20px; border: 2px solid rgba(200,169,122,.3);
  background: var(--bg-card); color: var(--text); border-radius: 60px 0 0 60px;
  font-size: .9rem; outline: none; font-family: 'DM Sans', sans-serif;
}
.email-form input:focus { border-color: var(--gold); }
.email-form .btn { border-radius: 0 60px 60px 0; }
.cta-whatsapp { margin-top: 16px; }
.whatsapp-link {
  color: #25D366; font-weight: 600; font-size: .95rem;
}
.whatsapp-link:hover { color: var(--white); }

/* ---------- FOOTER ---------- */
.site-footer {
  background: #060A14; padding: 40px 0; border-top: 1px solid rgba(255,255,255,.04);
}
.footer-inner { text-align: center; }
.footer-brand { margin-bottom: 20px; }
.footer-brand .logo { display: inline-block; margin-bottom: 6px; }
.footer-brand p { color: var(--text-dim); font-size: .85rem; }
.footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 20px; }
.footer-links a { color: var(--text-dim); font-size: .85rem; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { color: var(--text-dim); font-size: .8rem; opacity: .6; }

/* ---------- FADE UP ANIMATION ---------- */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-up.visible {
  opacity: 1; transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text h1 { font-size: 2.6rem; }
  .hero-sub { margin-inline: auto; }
  .hero-ctas { justify-content: center; }
  .hero-phone { order: -1; }
  .phone-frame { width: 240px; }

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

  .solution-inner { grid-template-columns: 1fr; text-align: center; }
  .solution-text h2 { text-align: center; }

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

  .steps { flex-wrap: wrap; gap: 20px; }
  .step-line { display: none; }

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

  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card.popular { transform: scale(1); }
  .pricing-card.popular:hover { transform: translateY(-4px); }
}

@media (max-width: 640px) {
  .main-nav { display: none; }
  .header-actions .btn { display: none; }
  .mobile-menu-toggle { display: block; }

  .hero { padding: 120px 0 60px; min-height: auto; }
  .hero-text h1 { font-size: 2rem; }
  .hero-sub { font-size: 1rem; }

  .section-title { font-size: 2rem; margin-bottom: 40px; }

  .phone-frame { width: 220px; }
  .phone-screen { min-height: 360px; }

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

  .footer-cta h2 { font-size: 2rem; }

  .email-form { flex-direction: column; gap: 10px; }
  .email-form input { border-radius: 60px; }
  .email-form .btn { border-radius: 60px; }

  .trust-points { flex-direction: column; align-items: center; }
}

/* ── Live App Iframe in Phone Mockup ── */
.phone-frame-live {
  width: 320px;
  margin: 0 auto;
  background: #141824;
  border-radius: 44px;
  border: 3px solid #2A3348;
  padding: 14px;
  box-shadow: 0 40px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(200,169,122,.05);
  position: relative;
}
.phone-frame-live .phone-notch {
  width: 110px; height: 26px; background: #0B1120;
  border-radius: 0 0 18px 18px; margin: 0 auto 0;
}
.phone-frame-live .phone-screen-live {
  width: 292px;
  height: 634px;
  overflow: hidden;
  border-radius: 24px;
  position: relative;
  background: #1a1208;
}
.app-iframe {
  width: 375px;
  height: 812px;
  border: none;
  transform-origin: top left;
  transform: scale(0.779);  /* 292/375 = 0.779 */
  display: block;
  pointer-events: auto;
  position: relative;
  z-index: 1;
  visibility: hidden;
}
.app-iframe.ready {
  visibility: visible;
}

/* Admin portal iframe in wider laptop frame */
.laptop-frame {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  background: #141824;
  border-radius: 12px;
  border: 2px solid #2A3348;
  padding: 8px;
  box-shadow: 0 40px 80px rgba(0,0,0,.5);
  position: relative;
}
.laptop-frame .laptop-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #0D1424;
  border-radius: 8px 8px 0 0;
}
.laptop-frame .laptop-dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.laptop-frame .laptop-dot:nth-child(1) { background: #e74c3c; }
.laptop-frame .laptop-dot:nth-child(2) { background: #f39c12; }
.laptop-frame .laptop-dot:nth-child(3) { background: #2ecc71; }
.laptop-frame .laptop-url {
  flex: 1; text-align: center; font-size: 10px; color: rgba(255,255,255,0.25);
  font-family: 'DM Mono', monospace;
}
.laptop-frame .laptop-screen {
  width: 100%;
  height: 520px;
  overflow: hidden;
  position: relative;
  background: #0f0c09;
  border-radius: 0 0 8px 8px;
}
.admin-iframe {
  width: 1200px;
  height: 800px;
  border: none;
  transform-origin: top left;
  display: block;
  pointer-events: auto;
}
@media (max-width: 1024px) {
  .laptop-frame { max-width: 700px; }
  .laptop-frame .laptop-screen { height: 420px; }
}
@media (max-width: 768px) {
  .phone-frame-live { width: 260px; }
  .phone-frame-live .phone-screen-live { width: 232px; height: 504px; }
  .app-iframe { transform: scale(0.619); } /* 232/375 */
  .laptop-frame { max-width: 100%; }
  .laptop-frame .laptop-screen { height: 320px; }
}

/* Phone screen: dark background shown until iframe is ready */
.phone-screen-live {
  background: #1a1208 !important;
}

/* Loading overlay covers iframe until app is ready */
.iframe-loading {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: #1a1208;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 24px;
  transition: opacity 0.4s ease;
}
.iframe-loading-icon { font-size: 32px; }
.iframe-loading-text { font-size: 11px; color: rgba(255,255,255,0.35); font-family: 'DM Sans', sans-serif; }
.iframe-loading.hidden { opacity: 0; pointer-events: none; }
