/* =============================================
   QR FLOW — LANDING PAGE STYLES
   Dark premium theme · Orange accent
   ============================================= */

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

:root {
  --bg: #0c0c0e;
  --bg-2: #111115;
  --bg-3: #18181e;
  --bg-card: #1a1a22;
  --border: rgba(255,255,255,0.07);
  --border-bright: rgba(255,255,255,0.13);
  --orange: #f97316;
  --orange-bright: #fb923c;
  --orange-dim: rgba(249,115,22,0.12);
  --orange-glow: rgba(249,115,22,0.25);
  --text: #f0f0f5;
  --text-2: #a0a0b0;
  --text-3: #606070;
  --green: #22c55e;
  --red: #ef4444;
  --yellow: #eab308;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 4px 32px rgba(0,0,0,0.5);
  --shadow-orange: 0 8px 40px rgba(249,115,22,0.3);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: 'Syne', sans-serif;
  line-height: 1.25;
  letter-spacing: -0.3px;
}
h3, h4 { line-height: 1.35; }
p { line-height: 1.75; }
.accent { color: var(--orange); }

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-dim);
  border: 1px solid rgba(249,115,22,0.2);
  padding: 5px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--text);
  line-height: 1.28;
}

.section-desc {
  font-size: 17px;
  color: var(--text-2);
  max-width: 600px;
  margin-bottom: 52px;
  line-height: 1.75;
}

/* LOGO */
.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--text);
  letter-spacing: -0.5px;
}
.logo span { color: var(--orange); }

/* ============= NAV ============= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.nav.scrolled {
  background: rgba(12,12,14,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-cta {
  background: var(--orange);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 9px 22px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--orange-bright); transform: translateY(-1px); }

/* ============= HERO ============= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 100%);
}

.hero-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(249,115,22,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  background: var(--bg-3);
  border: 1px solid var(--border-bright);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 26px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 38px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-2);
}

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover { background: var(--orange-bright); transform: translateY(-2px); box-shadow: 0 12px 48px rgba(249,115,22,0.4); }
.btn-primary.large { font-size: 17px; padding: 18px 36px; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--text-2);
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--border-bright);
  transition: all 0.2s;
}
.btn-secondary:hover { color: var(--text); border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.04); }

/* ============= HERO MOCKUP ============= */
.hero-mockup {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  padding-top: 20px;
}

/* Phone mockup */
.mockup-phone {
  width: 190px;
  background: #1a1a24;
  border-radius: 28px;
  border: 2px solid rgba(255,255,255,0.1);
  padding: 12px 8px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.05);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.phone-notch {
  width: 60px;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  margin: 0 auto 10px;
}

.phone-screen {
  background: #0c0c14;
  border-radius: 18px;
  overflow: hidden;
}

.client-app {
  padding: 12px 10px;
}

.client-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
}

.client-logo-dot {
  width: 18px; height: 18px;
  background: var(--orange);
  border-radius: 5px;
  flex-shrink: 0;
}

.orange-header { border-bottom-color: rgba(249,115,22,0.15); }
.orange-dot { background: var(--orange); }

.menu-item-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.menu-thumb {
  width: 36px; height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
}
.food-1 { background: linear-gradient(135deg, #7c3f00, #c85e1a); }
.food-2 { background: linear-gradient(135deg, #854d0e, #ca8a04); }
.food-3 { background: linear-gradient(135deg, #f59e0b, #fbbf24); }

.menu-info { flex: 1; min-width: 0; }
.menu-name { font-size: 9px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.menu-price { font-size: 9px; color: var(--orange); margin-top: 1px; }

.add-btn {
  width: 22px; height: 22px;
  background: rgba(249,115,22,0.15);
  color: var(--orange);
  border: 1px solid rgba(249,115,22,0.3);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.add-active { background: var(--orange); color: #fff; border-color: var(--orange); }

.cart-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--orange);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 7px 10px;
  border-radius: 8px;
  margin-top: 10px;
}

/* Dashboard mockup */
.mockup-dashboard {
  background: #15151e;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 14px;
  width: 220px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  flex-shrink: 0;
  margin-top: 30px;
}

.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.dash-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: var(--orange);
}

.dash-alert {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: var(--orange);
  background: var(--orange-dim);
  border: 1px solid rgba(249,115,22,0.2);
  padding: 3px 8px;
  border-radius: 999px;
}

.alert-dot {
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.dash-tables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 10px;
}

.table-card {
  border-radius: 8px;
  padding: 8px;
  border: 1px solid;
}
.table-card.occupied { background: rgba(249,115,22,0.08); border-color: rgba(249,115,22,0.25); }
.table-card.free { background: rgba(34,197,94,0.05); border-color: rgba(34,197,94,0.15); }
.table-card.waiting { background: rgba(234,179,8,0.08); border-color: rgba(234,179,8,0.25); }

.table-num { font-size: 14px; font-weight: 800; font-family: 'Syne', sans-serif; color: var(--text); }
.table-zone { font-size: 8px; color: var(--text-3); margin-top: 1px; }
.table-status {
  font-size: 8px;
  font-weight: 600;
  margin-top: 4px;
}
.occupied .table-status { color: var(--orange); }
.free .table-status { color: var(--green); }
.waiting .table-status { color: var(--yellow); }

.dash-order-preview {
  background: rgba(249,115,22,0.06);
  border: 1px solid rgba(249,115,22,0.18);
  border-radius: 8px;
  padding: 8px 10px;
}
.order-title { font-size: 9px; font-weight: 700; color: var(--orange); margin-bottom: 5px; }
.order-item { font-size: 8px; color: var(--text-2); padding: 2px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.order-item:last-child { border: none; }

/* ============= SECTIONS ============= */
section { padding: 100px 0; }

/* PROBLEM */
.problem { background: var(--bg-2); }

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

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s;
}
.problem-card:hover { border-color: var(--border-bright); transform: translateY(-3px); }
.problem-icon { font-size: 28px; margin-bottom: 14px; }
.problem-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--text); line-height: 1.35; }
.problem-card p { font-size: 14px; color: var(--text-2); line-height: 1.75; }

/* HOW */
.how { background: var(--bg); }

.steps {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 220px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
}

.step-number {
  font-family: 'Syne', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.9;
}

.step-icon { font-size: 32px; margin-bottom: 16px; }

.step h3 { font-size: 19px; font-weight: 700; margin-bottom: 12px; line-height: 1.3; }
.step p { font-size: 15px; color: var(--text-2); line-height: 1.75; }
.step p strong { color: var(--text); }

.step-arrow {
  font-size: 28px;
  color: var(--orange);
  opacity: 0.4;
  padding-top: 80px;
  flex-shrink: 0;
}

/* FEATURES CLIENT */
.features-client { background: var(--bg-2); }

.features-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
  margin-top: 56px;
}

.features-list { display: flex; flex-direction: column; gap: 0; }

.feature-item {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.feature-item:last-child { border-bottom: none; }

.feature-icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.feature-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--text); line-height: 1.35; }
.feature-item p { font-size: 14px; color: var(--text-2); line-height: 1.75; }

.feature-phone-wrap { flex-shrink: 0; }

/* Small phone mockup */
.mockup-phone-sm {
  width: 200px;
  background: #1a1a24;
  border-radius: 28px;
  border: 2px solid rgba(255,255,255,0.1);
  padding: 12px 8px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.05);
}

.order-status-card {
  background: var(--bg-3);
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 10px;
}
.status-label { font-size: 9px; color: var(--text-3); margin-bottom: 8px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.status-steps { display: flex; flex-direction: column; gap: 5px; }
.status-step { font-size: 9px; padding: 5px 8px; border-radius: 6px; color: var(--text-3); background: rgba(255,255,255,0.03); }
.done { background: rgba(34,197,94,0.1); color: var(--green); }
.active-step { background: rgba(249,115,22,0.12); color: var(--orange); font-weight: 700; }
.pending-step { color: var(--text-3); }

.action-buttons { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.action-btn {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-2);
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 9px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
}

.mp-card {
  background: rgba(0,120,232,0.1);
  border: 1px solid rgba(0,120,232,0.2);
  border-radius: 8px;
  padding: 8px 10px;
}
.mp-logo { font-size: 9px; font-weight: 700; color: #60a5fa; margin-bottom: 3px; }
.mp-amount { font-size: 11px; font-weight: 800; color: var(--text); font-family: 'Syne', sans-serif; }

/* DASHBOARD ROLES */
.dashboard-section { background: var(--bg); }

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

.role-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--border);
  transition: transform 0.2s, border-color 0.2s;
}
.role-card:hover { transform: translateY(-4px); }

.role-card.admin { border-color: rgba(249,115,22,0.25); }
.role-card.manager { border-color: rgba(139,92,246,0.25); }
.role-card.kitchen { border-color: rgba(234,179,8,0.25); }
.role-card.waiter { border-color: rgba(34,197,94,0.25); }

.role-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.admin .role-badge { background: rgba(249,115,22,0.12); color: var(--orange); border: 1px solid rgba(249,115,22,0.3); }
.manager .role-badge { background: rgba(139,92,246,0.12); color: #a78bfa; border: 1px solid rgba(139,92,246,0.3); }
.kitchen .role-badge { background: rgba(234,179,8,0.12); color: #facc15; border: 1px solid rgba(234,179,8,0.3); }
.waiter .role-badge { background: rgba(34,197,94,0.12); color: var(--green); border: 1px solid rgba(34,197,94,0.3); }

.role-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 16px; line-height: 1.3; }
.role-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 0; }
.role-card li { font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* REAL TIME */
.realtime { background: var(--bg-2); }

.realtime-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.realtime-text p {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 36px;
}

.realtime-features { display: flex; flex-direction: column; gap: 24px; }

.rt-feature {
  display: flex;
  gap: 16px;
}
.rt-icon { font-size: 28px; flex-shrink: 0; }
.rt-feature strong { display: block; font-family: 'Syne', sans-serif; font-size: 16px; margin-bottom: 5px; }
.rt-feature p { font-size: 14px; color: var(--text-2); line-height: 1.75; }

/* Alert demo */
.alert-demo {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.alert-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.pulse-dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

.alert-badge-ui {
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.alert-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.alert-item:last-child { border-bottom: none; }
.new-alert { background: rgba(249,115,22,0.05); }

.alert-icon-ui { font-size: 18px; flex-shrink: 0; }
.alert-body { flex: 1; }
.alert-body strong { display: block; font-size: 13px; color: var(--text); margin-bottom: 2px; }
.alert-body span { font-size: 11px; color: var(--text-3); }

.ok-btn {
  background: rgba(34,197,94,0.1);
  color: var(--green);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  flex-shrink: 0;
  transition: background 0.2s;
}
.ok-btn:hover { background: rgba(34,197,94,0.18); }

/* METRICS */
.metrics { background: var(--bg); }

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
  min-width: 0;
  overflow: hidden;
}
.metric-card:hover { border-color: rgba(249,115,22,0.3); transform: translateY(-3px); }

.metric-value {
  font-family: 'Syne', sans-serif;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 10px;
  word-break: break-all;
}
.metric-label { font-size: clamp(11px, 1.5vw, 13px); color: var(--text-2); font-weight: 500; line-height: 1.4; }
.metric-sub { font-size: 11px; color: var(--text-3); margin-top: 4px; }

.metrics-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.metric-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 13px;
  color: var(--text-2);
  font-weight: 500;
  min-width: 0;
}

/* DEVICES */
.devices { background: var(--bg-2); }

.devices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.device-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}
.device-card:hover { border-color: var(--border-bright); transform: translateY(-3px); }
.device-icon { font-size: 40px; margin-bottom: 16px; }
.device-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 12px; }
.device-card p { font-size: 15px; color: var(--text-2); line-height: 1.75; }

.devices-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 24px;
  font-size: 15px;
  color: var(--text-2);
}
.devices-note span { font-size: 20px; }

/* PRICING */
.pricing {
  background: var(--bg);
  position: relative;
}

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.pricing-card.paid {
  border-color: rgba(249,115,22,0.35);
  background: linear-gradient(135deg, #1a1a22 0%, #1e1618 100%);
}

.pricing-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.pricing-price {
  font-family: 'Syne', sans-serif;
  font-size: clamp(36px, 6vw, 52px);
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
  word-break: break-all;
}
.paid .pricing-price { color: var(--orange); }

.pricing-period { font-size: 14px; color: var(--text-3); margin-bottom: 28px; }

.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.pricing-features li { font-size: 14px; color: var(--text-2); }

.pricing-note {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.6;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 4px;
}

/* CTA FINAL */
.cta-final {
  position: relative;
  background: var(--bg-2);
  text-align: center;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(249,115,22,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content { max-width: 600px; margin: 0 auto; position: relative; z-index: 1; }
.cta-content h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 800; margin-bottom: 20px; }
.cta-content p { font-size: 17px; color: var(--text-2); margin-bottom: 36px; }

.cta-sub {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-3);
}

/* FOOTER */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer p { font-size: 13px; color: var(--text-3); }

/* WA FLOAT */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 30px rgba(37,211,102,0.4);
  z-index: 200;
  transition: transform 0.25s, box-shadow 0.25s;
  animation: wa-entrance 0.5s 1s ease backwards;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 12px 40px rgba(37,211,102,0.55); }

@keyframes wa-entrance {
  from { opacity: 0; transform: scale(0.5) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-container { grid-template-columns: 1fr; }
  .hero-mockup { display: none; }
  .features-layout { grid-template-columns: 1fr; }
  .feature-phone-wrap { display: none; }
  .realtime-content { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-list { grid-template-columns: repeat(2, 1fr); }
  .devices-grid { grid-template-columns: 1fr; }
  .pricing-cards { grid-template-columns: 1fr; max-width: 480px; }
  .steps { flex-direction: column; }
  .step-arrow { display: none; }
  .roles-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  section { padding: 64px 0; }

  /* Metrics */
  .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .metric-card { padding: 20px 12px; }
  .metrics-list { grid-template-columns: 1fr; }
  .metric-item { font-size: 13px; }

  /* Pricing */
  .pricing-cards { grid-template-columns: 1fr; max-width: 100%; }
  .pricing-card { padding: 28px 20px; }

  /* Hero */
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .hero-trust { flex-direction: column; gap: 8px; }

  /* Roles */
  .roles-grid { grid-template-columns: 1fr; }

  /* Steps */
  .step { padding: 24px 20px; }

  /* Footer */
  .footer-inner { flex-direction: column; text-align: center; gap: 8px; }
  .footer p { font-size: 12px; }

  /* Alert demo */
  .alert-item { padding: 12px 14px; gap: 8px; }
  .alert-body strong { font-size: 12px; }
}

@media (max-width: 400px) {
  .metrics-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .metric-card { padding: 16px 10px; }
  .pricing-card { padding: 24px 16px; }
  .container { padding: 0 16px; }
}
