/* =========================================================
   Product Marketing Site — Shared Styles
   Matches the kiosk's dark premium aesthetic
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg: #060614;
  --bg-section: #0a0a1a;
  --bg-card: #111128;
  --bg-card-hover: #16163a;
  --bg-input: #1a1a38;
  --accent: #4f8cff;
  --accent-light: #6aa3ff;
  --accent-glow: rgba(79, 140, 255, 0.25);
  --accent-subtle: rgba(79, 140, 255, 0.08);
  --purple: #a855f7;
  --purple-glow: rgba(168, 85, 247, 0.25);
  --teal: #14b8a6;
  --teal-glow: rgba(20, 184, 166, 0.25);
  --green: #22c55e;
  --green-glow: rgba(34, 197, 94, 0.25);
  --orange: #fb923c;
  --text: #f0f0f5;
  --text-secondary: #b0b0c8;
  --text-muted: #7a7a95;
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.15);
  --shadow: 0 4px 24px rgba(0,0,0,0.5);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.6);
  --radius: 20px;
  --radius-sm: 14px;
  --radius-xs: 10px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-light); }

/* =========================================================
   NAVIGATION
   ========================================================= */

.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  padding: 16px 32px;
  background: rgba(6, 6, 20, 0.8);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  transition: background .3s;
}
.nav-brand {
  font-size: 20px; font-weight: 800; color: #fff;
  display: flex; align-items: center; gap: 10px;
  letter-spacing: -0.5px;
}
.nav-brand .nav-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.nav-links {
  display: flex; align-items: center; gap: 28px;
  list-style: none;
}
.nav-links a {
  color: var(--text-secondary); font-size: 14px; font-weight: 600;
  transition: color .2s;
}
.nav-links a:hover { color: #fff; }
.nav-cta {
  padding: 10px 24px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff !important; font-weight: 700; font-size: 14px;
  border: none; cursor: pointer; font-family: inherit;
  box-shadow: 0 2px 12px var(--accent-glow);
  transition: transform .15s, box-shadow .15s;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(79,140,255,0.4);
}

.nav-mobile-toggle {
  display: none; background: none; border: none; color: #fff;
  font-size: 24px; cursor: pointer; padding: 4px;
}

/* =========================================================
   HERO SECTION
   ========================================================= */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 120px 32px 80px;
  overflow: hidden;
}

/* Animated gradient background */
.hero-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(30,58,138,0.5) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(88,28,135,0.4) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(15,118,110,0.2) 0%, transparent 50%),
    linear-gradient(160deg, #060614 0%, #0c1033 30%, #120826 60%, #060614 100%);
  animation: heroBgShift 15s ease-in-out infinite alternate;
}
@keyframes heroBgShift {
  0%   { filter: hue-rotate(0deg) brightness(1); }
  50%  { filter: hue-rotate(12deg) brightness(1.08); }
  100% { filter: hue-rotate(-8deg) brightness(1.03); }
}

/* Floating orbs */
.hero-orb {
  position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(80px); opacity: 0.3;
}
.hero-orb-1 {
  width: min(500px, 55vw); height: min(500px, 55vw);
  background: radial-gradient(circle, rgba(79,140,255,0.6), transparent 70%);
  top: -10%; left: -8%; animation: orbA 9s ease-in-out infinite;
}
.hero-orb-2 {
  width: min(400px, 45vw); height: min(400px, 45vw);
  background: radial-gradient(circle, rgba(168,85,247,0.5), transparent 70%);
  bottom: -5%; right: -5%; animation: orbB 11s ease-in-out infinite;
}
.hero-orb-3 {
  width: min(300px, 35vw); height: min(300px, 35vw);
  background: radial-gradient(circle, rgba(20,184,166,0.4), transparent 70%);
  top: 35%; right: 10%; animation: orbC 10s ease-in-out infinite;
}
@keyframes orbA { 0%,100%{transform:translate(0,0)} 50%{transform:translate(30px,40px)} }
@keyframes orbB { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-25px,-35px)} }
@keyframes orbC { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-20px,25px)} }

/* Grid overlay */
.hero-grid {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-image:
    linear-gradient(rgba(79,140,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,140,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 800px;
  animation: fadeUp 0.8s ease-out;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; border-radius: 50px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: var(--green); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 28px;
}
.hero-badge .badge-dot {
  width: 8px; height: 8px; background: var(--green);
  border-radius: 50%; animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero h1 {
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 900; line-height: 1.08;
  letter-spacing: -2px; margin-bottom: 8px;
}
.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--purple) 50%, var(--teal) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: clamp(17px, 2.5vw, 22px);
  color: var(--text-secondary); font-weight: 500;
  max-width: 600px; margin: 20px auto 40px;
  line-height: 1.6;
}

.hero-actions {
  display: flex; gap: 16px; justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  padding: 18px 40px; border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff; font-size: 18px; font-weight: 800;
  border: none; cursor: pointer; font-family: inherit;
  box-shadow: 0 4px 24px var(--accent-glow);
  transition: transform .15s, box-shadow .15s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 32px rgba(79,140,255,0.4);
}
.btn-primary:active { transform: scale(.98); }

.btn-secondary {
  padding: 18px 40px; border-radius: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-hover);
  color: var(--text); font-size: 18px; font-weight: 700;
  cursor: pointer; font-family: inherit;
  transition: all .2s;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.25);
}

.hero-proof {
  margin-top: 48px;
  display: flex; align-items: center; gap: 24px;
  justify-content: center; flex-wrap: wrap;
}
.proof-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--text-muted);
}
.proof-item .proof-icon { font-size: 18px; }

/* =========================================================
   SECTION COMMON
   ========================================================= */

.section {
  padding: 100px 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 800; color: var(--accent);
  text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900; letter-spacing: -1px;
  margin-bottom: 16px; line-height: 1.15;
}
.section-subtitle {
  font-size: 18px; color: var(--text-secondary);
  max-width: 600px; font-weight: 500;
  line-height: 1.6;
}
.section-center { text-align: center; }
.section-center .section-subtitle { margin: 0 auto; }

.section-divider {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  max-width: 1200px; margin: 0 auto;
}

/* =========================================================
   BUSINESS TYPE SELECTOR
   ========================================================= */

.types-section {
  background: var(--bg-section);
  padding: 100px 32px;
}
.types-wrap {
  max-width: 1200px; margin: 0 auto;
}

.types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
  margin-top: 48px;
}
.type-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: all .25s cubic-bezier(.4,0,.2,1);
  position: relative;
  overflow: hidden;
}
.type-card::before {
  content: '';
  position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--purple));
  opacity: 0;
  transition: opacity .25s;
}
.type-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.type-card:hover::before { opacity: 1; }
.type-card.active {
  border-color: var(--accent);
  background: rgba(79,140,255,0.08);
  box-shadow: 0 0 0 1px var(--accent), 0 8px 32px rgba(79,140,255,0.15);
}
.type-card.active::before { opacity: 1; }

.type-icon {
  font-size: 40px;
  margin-bottom: 12px;
  display: block;
}
.type-name {
  font-size: 15px; font-weight: 700; color: var(--text);
}
.type-sub {
  font-size: 12px; color: var(--text-muted); margin-top: 4px;
  font-weight: 500;
}

/* =========================================================
   FEATURES (Dynamic based on business type)
   ========================================================= */

.features-section {
  padding: 100px 32px;
}
.features-wrap {
  max-width: 1200px; margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all .25s;
}
.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 18px;
}
.feature-icon.blue   { background: rgba(79,140,255,0.12); }
.feature-icon.purple { background: rgba(168,85,247,0.12); }
.feature-icon.teal   { background: rgba(20,184,166,0.12); }
.feature-icon.green  { background: rgba(34,197,94,0.12); }
.feature-icon.orange { background: rgba(251,146,60,0.12); }

.feature-card h3 {
  font-size: 18px; font-weight: 800; margin-bottom: 8px;
}
.feature-card p {
  font-size: 15px; color: var(--text-secondary);
  line-height: 1.6; font-weight: 500;
}

/* =========================================================
   HOW IT WORKS
   ========================================================= */

.how-section {
  background: var(--bg-section);
  padding: 100px 32px;
}
.how-wrap {
  max-width: 1000px; margin: 0 auto;
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
  position: relative;
}
/* Connecting line */
.how-steps::before {
  content: '';
  position: absolute;
  top: 44px; left: 15%; right: 15%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--purple), var(--teal));
  opacity: 0.3;
}

.how-step {
  text-align: center;
  position: relative;
}
.step-number {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 900;
  margin: 0 auto 20px;
  position: relative; z-index: 2;
}
.step-number.s1 {
  background: linear-gradient(135deg, var(--accent), #3566cc);
  box-shadow: 0 4px 20px var(--accent-glow);
}
.step-number.s2 {
  background: linear-gradient(135deg, var(--purple), #7c3aed);
  box-shadow: 0 4px 20px var(--purple-glow);
}
.step-number.s3 {
  background: linear-gradient(135deg, var(--teal), #0d9488);
  box-shadow: 0 4px 20px var(--teal-glow);
}

.how-step h3 {
  font-size: 19px; font-weight: 800; margin-bottom: 8px;
}
.how-step p {
  font-size: 15px; color: var(--text-secondary);
  line-height: 1.6; font-weight: 500;
  max-width: 260px; margin: 0 auto;
}

/* =========================================================
   PRICING
   ========================================================= */

.pricing-section {
  padding: 100px 32px;
}
.pricing-wrap {
  max-width: 1100px; margin: 0 auto;
}

.no-sub-banner {
  background: linear-gradient(135deg, rgba(34,197,94,0.1), rgba(20,184,166,0.08));
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: var(--radius);
  padding: 24px 32px;
  text-align: center;
  margin-bottom: 48px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  flex-wrap: wrap;
}
.no-sub-banner .banner-icon { font-size: 28px; }
.no-sub-banner .banner-text {
  font-size: 18px; font-weight: 800; color: var(--green);
}
.no-sub-banner .banner-sub {
  width: 100%;
  font-size: 14px; color: var(--text-secondary); font-weight: 500;
  margin-top: 4px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 24px;
  padding: 36px 28px;
  text-align: center;
  transition: all .3s;
  position: relative;
}
.pricing-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pricing-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(79,140,255,0.06) 0%, var(--bg-card) 40%);
  box-shadow: 0 0 0 1px rgba(79,140,255,0.15), var(--shadow-lg);
  transform: scale(1.03);
}
.pricing-card.featured:hover { transform: scale(1.03) translateY(-4px); }

.pricing-popular {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  padding: 6px 20px; border-radius: 50px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff; font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1px;
  white-space: nowrap;
}

.pricing-name {
  font-size: 20px; font-weight: 800;
  margin-bottom: 8px; margin-top: 8px;
}
.pricing-price {
  font-size: 52px; font-weight: 900;
  line-height: 1; margin-bottom: 4px;
  letter-spacing: -2px;
}
.pricing-price sup {
  font-size: 24px; font-weight: 700;
  vertical-align: super; margin-right: 2px;
}
.pricing-period {
  font-size: 14px; color: var(--text-muted); font-weight: 600;
  margin-bottom: 28px;
}
.pricing-period .strikethrough {
  text-decoration: line-through; color: var(--text-muted); opacity: 0.6;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
}
.pricing-features li {
  padding: 10px 0;
  font-size: 15px; font-weight: 600;
  color: var(--text-secondary);
  display: flex; align-items: flex-start; gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features .check {
  color: var(--green); font-size: 16px; flex-shrink: 0;
  margin-top: 2px;
}
.pricing-features .x-mark {
  color: var(--text-muted); font-size: 16px; flex-shrink: 0;
  margin-top: 2px; opacity: 0.5;
}

.pricing-btn {
  width: 100%; padding: 16px;
  border-radius: 12px;
  font-size: 16px; font-weight: 800;
  cursor: pointer; font-family: inherit;
  border: none;
  transition: all .2s;
}
.pricing-btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  box-shadow: 0 4px 16px var(--accent-glow);
}
.pricing-btn.primary:hover {
  box-shadow: 0 6px 24px rgba(79,140,255,0.4);
  transform: translateY(-1px);
}
.pricing-btn.secondary {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-hover);
  color: var(--text);
}
.pricing-btn.secondary:hover {
  background: rgba(255,255,255,0.08);
}

/* =========================================================
   COMPARISON TABLE
   ========================================================= */

.compare-section {
  background: var(--bg-section);
  padding: 100px 32px;
}
.compare-wrap {
  max-width: 900px; margin: 0 auto;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 48px;
  font-size: 15px;
}
.compare-table thead th {
  padding: 16px 20px;
  text-align: left;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--accent);
  color: var(--text);
}
.compare-table thead th:first-child { color: var(--text-muted); }
.compare-table thead th.us {
  color: var(--accent);
  background: rgba(79,140,255,0.05);
  border-radius: 12px 12px 0 0;
}
.compare-table tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--text-secondary);
  font-weight: 600;
}
.compare-table tbody td:first-child {
  color: var(--text); font-weight: 700;
}
.compare-table tbody td.us {
  background: rgba(79,140,255,0.03);
  color: var(--green); font-weight: 800;
}
.compare-table tbody td.them {
  color: var(--text-muted);
}
.compare-table tbody tr:hover td { background: rgba(255,255,255,0.02); }
.compare-table tbody tr:hover td.us { background: rgba(79,140,255,0.06); }

/* =========================================================
   FAQ
   ========================================================= */

.faq-section {
  padding: 100px 32px;
}
.faq-wrap {
  max-width: 720px; margin: 0 auto;
}
.faq-list {
  margin-top: 48px;
  display: flex; flex-direction: column; gap: 12px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item:hover { border-color: var(--border-hover); }
.faq-item.open { border-color: rgba(79,140,255,0.2); }

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none; border: none;
  color: var(--text); font-size: 16px; font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  text-align: left;
  transition: color .2s;
}
.faq-question:hover { color: var(--accent); }
.faq-chevron {
  font-size: 14px; color: var(--text-muted);
  transition: transform .3s;
  flex-shrink: 0; margin-left: 16px;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s;
  padding: 0 24px;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}
.faq-answer p {
  font-size: 15px; color: var(--text-secondary);
  line-height: 1.7; font-weight: 500;
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  border-top: 1px solid var(--border);
  padding: 48px 32px;
  text-align: center;
}
.footer-brand {
  font-size: 18px; font-weight: 800; margin-bottom: 8px;
}
.footer-copy {
  font-size: 13px; color: var(--text-muted);
  font-weight: 500;
}
.footer-links {
  margin-top: 16px;
  display: flex; gap: 24px; justify-content: center;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 13px; color: var(--text-muted); font-weight: 600;
}
.footer-links a:hover { color: var(--text); }

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* Tablet */
@media (max-width: 900px) {
  .how-steps { grid-template-columns: 1fr; gap: 40px; }
  .how-steps::before { display: none; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-4px); }

  .compare-table { font-size: 13px; }
  .compare-table thead th,
  .compare-table tbody td { padding: 12px 14px; }

  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }

  #mockPreviewWrap { grid-template-columns: 1fr 1.2fr !important; gap: 40px !important; }
}

/* =========================================================
   DEVICE FRAME — Portrait / Landscape
   ========================================================= */
.device-frame {
  background: #1c1c1e;
  border-radius: 36px;
  padding: 18px 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.05);
  border: 2px solid #2a2a2e;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.6s cubic-bezier(.4,0,.2,1);
}
.device-frame.portrait {
  max-width: 420px;
  margin: 0 auto;
}

.device-camera {
  width: 8px; height: 8px;
  background: #2a2a2e; border-radius: 50%;
  border: 1px solid #3a3a3e;
  flex-shrink: 0;
  margin-bottom: 10px;
  transition: all 0.5s ease;
}

.device-screen {
  background: #0a0a0f;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  width: 100%;
  transition: all 0.6s cubic-bezier(.4,0,.2,1);
}

.device-screen-bar {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--purple), var(--teal));
}

.device-home {
  width: 100px; height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
  margin-top: 10px;
  flex-shrink: 0;
  transition: all 0.5s ease;
}

.device-glow {
  position: absolute; bottom: -20px; left: 10%; right: 10%;
  height: 40px;
  background: radial-gradient(ellipse, rgba(79,140,255,0.3), transparent 70%);
  border-radius: 50%; filter: blur(12px);
  opacity: 0; transition: opacity 0.6s ease;
  pointer-events: none;
}

.device-orient-badge {
  position: absolute; bottom: -44px; left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px; border-radius: 8px;
  background: rgba(20,184,166,0.12);
  border: 1px solid rgba(20,184,166,0.25);
  color: var(--teal); font-size: 11px; font-weight: 600;
  white-space: nowrap;
  transition: all 0.4s ease;
}

/* Hover effect */
.device-wrap:hover .device-frame {
  box-shadow: 0 30px 80px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.08);
  border-color: #3a3a3e;
}
.device-wrap:hover .device-glow { opacity: 1; }

/* Landscape state — dimension swap */
.device-frame.landscape {
  flex-direction: row;
  padding: 14px 18px;
  max-width: none;
}
.device-frame.landscape .device-camera {
  margin-bottom: 0;
  margin-right: 10px;
  align-self: center;
}
.device-frame.landscape .device-home {
  width: 4px; height: 80px;
  margin-top: 0;
  margin-left: 10px;
  align-self: center;
}

/* Mobile */
@media (max-width: 600px) {
  .nav { padding: 12px 16px; }
  .nav-brand { font-size: 17px; }

  .hero { padding: 100px 20px 60px; min-height: auto; }
  .hero h1 { letter-spacing: -1px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .btn-primary, .btn-secondary { padding: 16px 24px; font-size: 16px; text-align: center; }
  .hero-proof { gap: 16px; }

  .section { padding: 60px 20px; }
  .types-section, .how-section, .compare-section { padding: 60px 20px; }
  .pricing-section { padding: 60px 20px; }
  .faq-section { padding: 60px 20px; }

  .types-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .type-card { padding: 20px 14px; }
  .type-icon { font-size: 32px; margin-bottom: 8px; }
  .type-name { font-size: 14px; }

  .features-grid { grid-template-columns: 1fr; }
  #mockPreviewWrap { grid-template-columns: 1fr !important; }

  .section-title { font-size: 28px; letter-spacing: -0.5px; }
  .section-subtitle { font-size: 16px; }

  .compare-table { font-size: 12px; }
  .compare-table thead th,
  .compare-table tbody td { padding: 10px 8px; }

  .footer { padding: 32px 20px; }
}

/* =========================================================
   SCROLL ANIMATIONS
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
