/* ==========================================================================
   3D Delivery — Marketing Landing Page
   Premium LIGHT theme · warm palette · orange accent · Poppins · rich motion
   Self-contained (no external CSS/JS needed).
   ========================================================================== */

:root {
  /* Warm light palette */
  --bg-primary: #fbf7f1;      /* warm cream */
  --bg-secondary: #ffffff;    /* clean white sections */
  --bg-tint: #f6efe6;         /* subtle warm tint */
  --bg-card: #ffffff;
  --bg-dark: #17110c;         /* warm near-black (for dark bands/footer) */

  --text-primary: #1c150f;    /* warm ink */
  --text-secondary: #6c5d4e;  /* warm gray */
  --text-tertiary: #9a8a79;   /* muted */
  --text-on-dark: #f7efe5;

  --accent: #f38d10;          /* brand orange */
  --accent-deep: #e07a00;
  --accent-2: #ff6a3d;        /* warm coral for gradients */
  --accent-soft: #fff2df;     /* pale orange wash */
  --accent-ring: rgba(243, 141, 16, 0.35);

  --green: #16a34a;
  --danger: #dc2626;

  --border: #efe6d9;
  --border-strong: #e3d6c5;

  --radius: 18px;
  --radius-lg: 28px;
  --radius-sm: 12px;

  --shadow-sm: 0 2px 10px rgba(84, 60, 24, 0.06);
  --shadow: 0 20px 50px rgba(120, 84, 34, 0.12);
  --shadow-lg: 0 40px 90px rgba(120, 84, 34, 0.18);
  --shadow-accent: 0 18px 40px rgba(243, 141, 16, 0.35);

  --maxw: 1200px;
  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --nav-h: 74px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* Inline SVG icon system (no external CDN dependency) */
.ic {
  width: 1em; height: 1em;
  display: inline-block; vertical-align: -0.125em;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
.ic-fill { fill: currentColor; stroke: none; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img, video { max-width: 100%; display: block; }
ul { list-style: none; }

/* Ambient warm aurora */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(60vw 50vh at 12% -8%, rgba(255, 176, 87, 0.28), transparent 60%),
    radial-gradient(50vw 45vh at 92% 4%, rgba(255, 106, 61, 0.16), transparent 58%),
    radial-gradient(55vw 55vh at 50% 108%, rgba(243, 141, 16, 0.14), transparent 60%);
  pointer-events: none;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Section rhythm */
section { position: relative; padding: 104px 0; }
.section-head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-deep);
  background: var(--accent-soft);
  border: 1px solid var(--accent-ring);
  padding: 7px 15px; border-radius: 100px; margin-bottom: 20px;
}
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.025em; font-weight: 700; color: var(--text-primary); }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
.section-head p { color: var(--text-secondary); margin-top: 18px; font-size: 1.1rem; }
.text-accent { color: var(--accent-deep); }
.grad {
  background: linear-gradient(105deg, var(--accent-2), var(--accent) 55%, var(--accent-deep));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* On-dark sections */
.section-dark { background: var(--bg-dark); color: var(--text-on-dark); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark .section-head p { color: rgba(247,239,229,0.72); }

/* Buttons */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font); font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: 100px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1), box-shadow 0.25s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary { background: linear-gradient(120deg, var(--accent-2), var(--accent) 60%, var(--accent-deep)); color: #fff; box-shadow: var(--shadow-accent); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 24px 52px rgba(243,141,16,0.5); }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-20deg); transition: left 0.6s ease;
}
.btn-primary:hover::after { left: 140%; }
.btn-secondary { background: #fff; color: var(--text-primary); border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow); }
.btn-ghost-light { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.28); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.2); transform: translateY(-3px); }
.btn-lg { padding: 17px 34px; font-size: 1.06rem; }
.btn-block { width: 100%; }

/* Scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 1100;
  background: linear-gradient(90deg, var(--accent-2), var(--accent), var(--accent-deep)); transition: width 0.1s linear; }

/* ============================ NAV ============================ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: transform 0.4s cubic-bezier(.2,.8,.2,1); }
.nav.hide { transform: translateY(-110%); }
.nav-inner {
  max-width: var(--maxw); margin: 14px auto 0; padding: 10px 14px 10px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border-radius: 100px; border: 1px solid transparent; transition: all 0.35s ease;
}
.nav.scrolled .nav-inner {
  background: rgba(255,255,255,0.72); backdrop-filter: saturate(160%) blur(16px);
  border-color: var(--border); box-shadow: var(--shadow-sm); margin-top: 10px;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 1.28rem; letter-spacing: -0.02em; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-deep)); color: #fff;
  font-size: 1.02rem; font-weight: 700; box-shadow: var(--shadow-accent); letter-spacing: -0.03em;
}
.brand span b { color: var(--accent-deep); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { position: relative; color: var(--text-secondary); font-weight: 500; font-size: 0.95rem; padding: 4px 0; transition: color 0.2s ease; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--accent-2), var(--accent-deep)); transform: scaleX(0); transform-origin: left; transition: transform 0.3s cubic-bezier(.2,.8,.2,1); border-radius: 2px; }
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: none; color: var(--text-primary); font-size: 1.5rem; cursor: pointer; padding: 6px; }

/* ============================ HERO ============================ */
.hero { padding: calc(var(--nav-h) + 70px) 0 70px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; background: #fff;
  border: 1px solid var(--border-strong); padding: 8px 16px; border-radius: 100px;
  font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 26px; box-shadow: var(--shadow-sm);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(22,163,74,0.16); }
.hero h1 { font-size: clamp(2.5rem, 4.6vw, 4rem); font-weight: 700; }
.hero-sub { max-width: 540px; margin: 22px 0 0; font-size: 1.16rem; color: var(--text-secondary); }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust { margin-top: 26px; color: var(--text-tertiary); font-size: 0.9rem; display: flex; gap: 22px; flex-wrap: wrap; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .ic { color: var(--green); }

/* Hero entrance stagger */
.hero-anim { opacity: 0; transform: translateY(22px); animation: heroUp 0.8s cubic-bezier(.2,.8,.2,1) forwards; }
.hero-anim.d1 { animation-delay: 0.05s; } .hero-anim.d2 { animation-delay: 0.15s; }
.hero-anim.d3 { animation-delay: 0.25s; } .hero-anim.d4 { animation-delay: 0.35s; } .hero-anim.d5 { animation-delay: 0.45s; }
@keyframes heroUp { to { opacity: 1; transform: none; } }

/* Hero media (video) */
.hero-media { position: relative; }
.hero-media .video-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 6px solid #fff; background: #000;
  aspect-ratio: 4 / 5; transform: rotate(1.4deg); animation: floaty 7s ease-in-out infinite;
}
.hero-media video, .hero-media .video-card > img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .video-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.35)); }
@keyframes floaty { 0%,100% { transform: rotate(1.4deg) translateY(0); } 50% { transform: rotate(1.4deg) translateY(-12px); } }

.float-chip {
  position: absolute; z-index: 3; background: #fff; border: 1px solid var(--border);
  border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px;
  font-weight: 600; font-size: 0.9rem; animation: floaty 5.5s ease-in-out infinite;
}
.float-chip .chip-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-deep); font-size: 1.1rem; }
.float-chip small { display: block; color: var(--text-tertiary); font-weight: 500; font-size: 0.76rem; }
.float-chip.tl { top: 8%; left: -6%; animation-delay: 0.4s; }
.float-chip.br { bottom: 10%; right: -7%; animation-delay: 1.1s; }
.float-chip .stars { color: var(--accent); letter-spacing: 1px; }

/* ============================ MARQUEE ============================ */
.marquee { padding: 26px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.5); overflow: hidden; }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: scrollX 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 10px; color: var(--text-secondary); font-weight: 600; font-size: 1.02rem; white-space: nowrap; }
.marquee-item .ic { color: var(--accent); }
@keyframes scrollX { to { transform: translateX(-50%); } }

/* ============================ STATS ============================ */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; text-align: center; box-shadow: var(--shadow-sm); }
.stat-card .num { font-size: clamp(1.9rem, 3.5vw, 2.7rem); font-weight: 700; letter-spacing: -0.03em;
  background: linear-gradient(120deg, var(--accent-2), var(--accent-deep)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-card .label { color: var(--text-secondary); font-size: 0.92rem; margin-top: 4px; }

/* ============================ FEATURES ============================ */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; transition: transform 0.3s cubic-bezier(.2,.8,.2,1), box-shadow 0.3s ease, border-color 0.3s ease; overflow: hidden;
}
.feature-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, var(--accent-2), transparent 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.3s ease; }
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.feature-card:hover::before { opacity: 1; }
.feature-icon { width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--accent-soft), #fff); color: var(--accent-deep); font-size: 1.45rem; margin-bottom: 18px; border: 1px solid var(--accent-ring); transition: transform 0.3s ease; }
.feature-card:hover .feature-icon { transform: scale(1.08) rotate(-4deg); }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature-card p { color: var(--text-secondary); font-size: 0.96rem; }

/* ============================ SHOWCASE ============================ */
.showcase-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 110px; }
.showcase-row:last-child { margin-bottom: 0; }
.showcase-row.reverse .showcase-media { order: 2; }
.showcase-copy h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 8px 0 16px; }
.showcase-copy > p { color: var(--text-secondary); font-size: 1.05rem; margin-bottom: 24px; }
.showcase-list { display: grid; gap: 14px; }
.showcase-list li { display: flex; gap: 13px; align-items: flex-start; color: var(--text-secondary); }
.showcase-list li .ic { color: var(--green); margin-top: 5px; }
.showcase-list li b { color: var(--text-primary); font-weight: 600; }
.showcase-media { position: relative; }
.showcase-media .browser-frame, .showcase-media .phone-frame { margin: 0 auto; }

/* Device frames */
.browser-frame { border-radius: 16px; overflow: hidden; border: 1px solid var(--border-strong); background: #fff; box-shadow: var(--shadow-lg); }
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 11px 14px; background: #f4ede3; border-bottom: 1px solid var(--border); }
.browser-bar .dots { display: flex; gap: 6px; }
.browser-bar .dots i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.browser-bar .dots i:nth-child(1){background:#ff5f56;} .browser-bar .dots i:nth-child(2){background:#ffbd2e;} .browser-bar .dots i:nth-child(3){background:#27c93f;}
.browser-bar .url { flex: 1; margin-left: 10px; font-size: 0.75rem; color: var(--text-tertiary); background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 5px 12px; text-align: center; }
.browser-frame img { width: 100%; display: block; }
.phone-frame { flex: 0 0 232px; width: 232px; border-radius: 34px; padding: 9px; background: #1a1310; border: 1px solid #2a2018; box-shadow: var(--shadow-lg); position: relative; }
.phone-frame::before { content: ""; position: absolute; top: 15px; left: 50%; transform: translateX(-50%); width: 64px; height: 6px; border-radius: 100px; background: #3a2e22; z-index: 2; }
.phone-frame img, .phone-frame video { border-radius: 26px; width: 100%; display: block; object-fit: cover; }
.showcase-media .halo { position: absolute; inset: 6% 0 0; z-index: -1; background: radial-gradient(circle at 50% 40%, rgba(243,141,16,0.22), transparent 62%); filter: blur(34px); }

/* ============================ VIDEO BAND ============================ */
.video-band { position: relative; padding: 130px 0; overflow: hidden; color: #fff; }
.video-band video, .video-band .band-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.video-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20,14,9,0.86), rgba(20,14,9,0.5) 60%, rgba(20,14,9,0.3)); }
.video-band .band-inner { max-width: 620px; }
.video-band h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); }
.video-band p { color: rgba(255,255,255,0.82); margin-top: 16px; font-size: 1.12rem; }
.video-band .btn-row { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================ PAYMENTS ============================ */
.pay-grid { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.pay-chip { display: flex; align-items: center; gap: 11px; background: #fff; border: 1px solid var(--border); padding: 15px 24px; border-radius: var(--radius-sm); font-weight: 600; box-shadow: var(--shadow-sm); transition: border-color 0.2s ease, transform 0.2s ease; }
.pay-chip:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow); }
.pay-chip .ic { color: var(--accent-deep); font-size: 1.3rem; }

/* ============================ STEPS ============================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; padding: 30px 24px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); }
.step .step-num { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent-2), var(--accent-deep)); color: #fff; font-weight: 700; font-size: 1.15rem; margin-bottom: 16px; box-shadow: var(--shadow-accent); }
.step h4 { font-size: 1.1rem; margin-bottom: 8px; color: #fff; }
.step p { color: rgba(247,239,229,0.72); font-size: 0.93rem; }

/* ============================ PRICING ============================ */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px 30px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.price-card.featured { border: 1.5px solid var(--accent); box-shadow: var(--shadow-lg); }
.price-card.featured::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, var(--accent-soft), transparent 40%); z-index: 0; }
.price-card.featured > * { position: relative; z-index: 1; }
.price-badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: linear-gradient(120deg, var(--accent-2), var(--accent-deep)); color: #fff; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 7px 18px; border-radius: 100px; box-shadow: var(--shadow-accent); z-index: 2; }
.price-card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.price-card .plan-desc { color: var(--text-tertiary); font-size: 0.9rem; min-height: 42px; }
.price-amount { margin: 20px 0 6px; font-size: 2.7rem; font-weight: 700; letter-spacing: -0.03em; }
.price-amount span { font-size: 1rem; font-weight: 500; color: var(--text-tertiary); }
.price-card .price-note { color: var(--text-tertiary); font-size: 0.85rem; margin-bottom: 26px; }
.price-features { display: grid; gap: 13px; margin-bottom: 28px; flex: 1; }
.price-features li { display: flex; gap: 11px; align-items: flex-start; color: var(--text-secondary); font-size: 0.94rem; }
.price-features li .ic { color: var(--green); margin-top: 4px; }

/* ============================ TESTIMONIALS ============================ */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.testi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.testi-stars { color: var(--accent); margin-bottom: 14px; letter-spacing: 2px; }
.testi-card p { color: var(--text-secondary); font-style: italic; margin-bottom: 20px; }
.testi-author { display: flex; align-items: center; gap: 13px; }
.testi-avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-2), var(--accent-deep)); display: grid; place-items: center; color: #fff; font-weight: 700; }
.testi-author .name { font-weight: 600; font-size: 0.95rem; }
.testi-author .role { color: var(--text-tertiary); font-size: 0.82rem; }

/* ============================ CTA / FORMS ============================ */
.cta-section { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 64px 48px; text-align: center;
  background: linear-gradient(135deg, #fff, var(--accent-soft)); border: 1px solid var(--accent-ring); box-shadow: var(--shadow); }
.cta-section::after { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(circle at 50% -10%, rgba(255,176,87,0.4), transparent 60%); pointer-events: none; }
.cta-section > * { position: relative; z-index: 1; }
.cta-section h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.cta-section p { color: var(--text-secondary); max-width: 560px; margin: 16px auto 0; font-size: 1.08rem; }

.subscribe-form { display: flex; gap: 12px; max-width: 460px; flex-wrap: wrap; }
.subscribe-form input { flex: 1; min-width: 200px; background: #fff; border: 1px solid var(--border-strong); border-radius: 100px; padding: 14px 22px; color: var(--text-primary); font-family: var(--font); font-size: 1rem; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.subscribe-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.form-msg { margin-top: 14px; font-weight: 500; min-height: 22px; }
.form-msg.ok { color: var(--green); } .form-msg.err { color: var(--danger); }

.demo-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 640px; margin: 0 auto; text-align: left; }
.demo-form .full { grid-column: 1 / -1; }
.demo-form label { display: block; font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 7px; font-weight: 500; }
.demo-form input, .demo-form textarea { width: 100%; background: #fff; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: 13px 16px; color: var(--text-primary); font-family: var(--font); font-size: 0.98rem; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.demo-form input:focus, .demo-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.demo-form textarea { resize: vertical; min-height: 110px; }

/* ============================ FAQ ============================ */
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color 0.2s ease, box-shadow 0.2s ease; box-shadow: var(--shadow-sm); }
.faq-item[open] { border-color: var(--accent-ring); box-shadow: var(--shadow); }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 600; font-size: 1.05rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { color: var(--accent-deep); transition: transform 0.25s ease; }
.faq-item[open] summary .chev { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 26px 24px; color: var(--text-secondary); }

/* ============================ FOOTER ============================ */
.footer { background: var(--bg-dark); color: var(--text-on-dark); padding: 66px 0 32px; }
.footer .brand { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 46px; }
.footer-brand p { color: rgba(247,239,229,0.6); font-size: 0.92rem; margin-top: 16px; max-width: 300px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); color: rgba(247,239,229,0.75); transition: all 0.2s ease; }
.footer-social a:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-3px); }
.footer-col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(247,239,229,0.5); margin-bottom: 18px; }
.footer-col a { display: block; color: rgba(247,239,229,0.75); font-size: 0.94rem; margin-bottom: 12px; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; color: rgba(247,239,229,0.55); font-size: 0.88rem; }
.footer-bottom .langs { display: flex; gap: 14px; }

/* ============================ LANGUAGE SWITCHER ============================ */
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font); font-weight: 600; font-size: 0.9rem;
  padding: 9px 14px; border-radius: 100px; border: 1px solid var(--border-strong); background: #fff; color: var(--text-primary); cursor: pointer; box-shadow: var(--shadow-sm); transition: border-color 0.2s ease; }
.lang-btn:hover { border-color: var(--accent); }
.lang-btn .caret { transition: transform 0.2s ease; color: var(--text-tertiary); }
.lang-menu { position: absolute; top: calc(100% + 10px); inset-inline-end: 0; min-width: 190px; background: #fff; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all 0.2s ease; z-index: 1200; }
.lang-menu.open { opacity: 1; visibility: visible; transform: none; }
.lang-option { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 10px; cursor: pointer; font-size: 0.94rem; color: var(--text-secondary); background: none; border: none; font-family: var(--font); text-align: start; }
.lang-option:hover { background: var(--accent-soft); color: var(--text-primary); }
.lang-option[aria-selected="true"] { background: var(--accent-soft); color: var(--accent-deep); font-weight: 600; }
.lang-option .flag { font-size: 1.1rem; }

/* ============================ DEVICE MOCKUPS ============================ */
.mock-phone { position: relative; width: 300px; aspect-ratio: 402 / 874; border-radius: 52px;
  box-shadow: 0 40px 72px -26px rgba(0,0,0,0.62), 0 12px 30px -16px rgba(0,0,0,0.5); }
/* Realistic iPhone frame (SVG) sits on top; screen shows through its transparent cut-out */
.device-frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5; }
.mock-screen { position: relative; border-radius: 12px; overflow: hidden; background: #0d0d0d; }
.mock-phone .mock-screen { position: absolute; left: 3.23%; right: 3.23%; top: 1.49%; bottom: 1.49%; border-radius: 37px; }
.mock-tablet { position: relative; width: 100%; max-width: 560px; border-radius: 26px; padding: 16px; background: linear-gradient(160deg, #241b12, #0f0b07); box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,0.05); }
.mock-tablet .mock-screen { border-radius: 12px; aspect-ratio: 16 / 10.4; }
.mock-slide { position: absolute; inset: 0; opacity: 0; animation: slideCycle 12s infinite; }
.mock-slide img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
/* Single static screenshot inside a device mockup (used in the showcase rows) */
.mock-static { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.showcase-media .mock-phone, .showcase-media .mock-tablet { margin: 0 auto; }
.mock-slide:nth-child(1) { animation-delay: 0s; } .mock-slide:nth-child(2) { animation-delay: 3s; }
.mock-slide:nth-child(3) { animation-delay: 6s; } .mock-slide:nth-child(4) { animation-delay: 9s; }
@keyframes slideCycle { 0% { opacity: 0; transform: scale(1.04); } 3% { opacity: 1; } 6% { transform: scale(1); } 22% { opacity: 1; } 26% { opacity: 0; } 100% { opacity: 0; } }
.mock-live { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 4; display: inline-flex; align-items: center; gap: 6px; background: rgba(0,0,0,0.55); color: #fff; font-size: 0.68rem; font-weight: 600; padding: 4px 9px; border-radius: 100px; backdrop-filter: blur(4px); }
.mock-live .pulse { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,0.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(34,197,94,0.5)} 70%{box-shadow:0 0 0 8px rgba(34,197,94,0)} 100%{box-shadow:0 0 0 0 rgba(34,197,94,0)} }
.device-stage { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; position: relative; }
.device-stage .glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 50% 45%, rgba(243,141,16,0.2), transparent 62%); filter: blur(40px); }
.device-stage .mock-phone { margin-inline-start: -70px; align-self: flex-end; z-index: 2; }

/* Ken Burns background image for video bands (always-animated fallback) */
.band-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; }
.kenburns { animation: kenburns 20s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1) translate(0,0); } to { transform: scale(1.14) translate(-2%, -3%); } }
.band-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; background: transparent; }

/* ============================ REVEAL ============================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s cubic-bezier(.2,.8,.2,1), transform 0.7s cubic-bezier(.2,.8,.2,1); }
.reveal.rl { transform: translateX(-40px); } .reveal.rr { transform: translateX(40px); } .reveal.rz { transform: scale(0.94); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; } .reveal.d2 { transition-delay: 0.16s; } .reveal.d3 { transition-delay: 0.24s; }
.tilt { transition: transform 0.3s cubic-bezier(.2,.8,.2,1); will-change: transform; }

/* ============================ RTL ============================ */
[dir="rtl"] body, [dir="rtl"] { --font: "Vazirmatn", "Cairo", "Tahoma", "Segoe UI", Tahoma, sans-serif; }
[dir="rtl"] body { font-family: var(--font); }
[dir="rtl"] .hero-sub, [dir="rtl"] .showcase-copy > p, [dir="rtl"] .feature-card p { }
[dir="rtl"] .float-chip.tl { left: auto; right: -6%; } [dir="rtl"] .float-chip.br { right: auto; left: -7%; }
[dir="rtl"] .nav-links a::after { transform-origin: right; }
[dir="rtl"] .marquee-track { animation-direction: reverse; }
[dir="rtl"] .device-stage .mock-phone { margin-inline-start: 0; margin-inline-end: -70px; }
[dir="rtl"] .btn-primary::after { transform: skewX(20deg); }
[dir="rtl"] .demo-form, [dir="rtl"] .showcase-list li, [dir="rtl"] .price-features li, [dir="rtl"] .hero-trust span, [dir="rtl"] .marquee-item { text-align: right; }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-inner { flex-wrap: wrap; background: rgba(255,255,255,0.96); backdrop-filter: blur(16px); border-color: var(--border); border-radius: 22px; }
  .nav.open .nav-links { display: flex; flex-direction: column; align-items: flex-start; width: 100%; gap: 14px; padding: 12px 8px 6px; order: 3; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { max-width: 440px; margin: 0 auto; }
  .feature-grid, .testi-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-row { grid-template-columns: 1fr; gap: 36px; }
  .showcase-row.reverse .showcase-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  section { padding: 74px 0; }
  .hero { padding: calc(var(--nav-h) + 40px) 0 50px; }
  .feature-grid, .testi-grid, .pricing-grid, .steps, .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-section { padding: 42px 22px; }
  .demo-form { grid-template-columns: 1fr; }
  .float-chip.tl { left: 2%; } .float-chip.br { right: 2%; }
  .hero-actions .btn { width: 100%; }
  .video-band { padding: 90px 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-anim { opacity: 1; transform: none; }
}
