/* ==========================================================================
   FoneShop Marketing & Subscription Website · 2026 High-Converting SaaS UI
   Typography: Plus Jakarta Sans (400–800) · Palette: #2563EB -> #7C3AED
   ========================================================================== */

:root {
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --primary-soft: #EFF6FF;
  --secondary: #7C3AED;
  --secondary-soft: #F3E8FF;
  --accent: #0EA5E9;
  --success: #059669;
  --success-soft: #ECFDF5;
  --warning: #D97706;
  --warning-soft: #FFFBEB;
  --danger: #DC2626;
  --danger-soft: #FEF2F2;
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --surface-2: #F1F5F9;
  --dark: #090D16;
  --dark-2: #0F172A;
  --dark-border: #1E293B;
  --text: #0F172A;
  --text-2: #334155;
  --muted: #64748B;
  --border: #E2E8F0;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 24px 60px -15px rgba(15, 23, 42, 0.18);
  --grad: linear-gradient(135deg, #2563EB 0%, #4F46E5 52%, #7C3AED 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: all 0.18s ease; }
img { max-width: 100%; height: auto; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Announcement Top Bar ---------- */
.promo-bar {
  background: var(--dark-2);
  color: #E2E8F0;
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 16px;
  text-align: center;
  border-bottom: 1px solid var(--dark-border);
}
.promo-bar b { color: #38BDF8; }
.promo-bar a { color: #fff; text-decoration: underline; margin-left: 8px; font-weight: 700; }

/* ---------- Sticky Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}
.brand-logo img { height: 42px; width: auto; display: block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: var(--text-2);
  font-weight: 600;
  font-size: 15px;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.mobile-toggle {
  display: none;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  font-size: 20px;
  cursor: pointer;
}

/* ---------- Buttons & Badges ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none !important;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(37, 99, 235, 0.55);
}
.btn-primary:hover { box-shadow: 0 14px 28px -6px rgba(37, 99, 235, 0.7); }
.btn-outline {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover { background: var(--surface-2); border-color: #CBD5E1; }
.btn-dark {
  background: var(--dark-2);
  color: #fff;
}
.btn-lg { padding: 15px 28px; font-size: 16.5px; border-radius: 14px; }
.btn-block { width: 100%; }

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid #BFDBFE;
}
.pill-badge.purple {
  background: var(--secondary-soft);
  color: var(--secondary);
  border-color: #E9D5FF;
}
.pill-badge.success {
  background: var(--success-soft);
  color: var(--success);
  border-color: #A7F3D0;
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  padding: 72px 0 64px;
  background:
    radial-gradient(circle at 15% 10%, rgba(37, 99, 235, 0.10), transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(124, 58, 237, 0.12), transparent 42%),
    linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 18px 0;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-lead {
  font-size: 18.5px;
  color: var(--text-2);
  margin: 0 0 28px;
  max-width: 600px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}
.hero-trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
}
.hero-trust span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.check-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
  display: inline-grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

/* ---------- Interactive POS Mockup Window ---------- */
.mockup-card {
  background: var(--dark-2);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid #334155;
  color: #F8FAFC;
}
.mockup-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid #1E293B;
  margin-bottom: 14px;
}
.mockup-dots { display: flex; gap: 6px; }
.mockup-dots i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.mockup-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.mockup-tab {
  background: #1E293B;
  color: #94A3B8;
  border: 0;
  padding: 6px 12px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.mockup-tab.active {
  background: var(--primary);
  color: #fff;
}
.mockup-screen { display: none; }
.mockup-screen.active { display: block; animation: fadeIn 0.2s ease; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.pos-sim-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 12px;
}
.sim-box {
  background: #131C31;
  border: 1px solid #1F2A44;
  border-radius: 14px;
  padding: 14px;
}
.sim-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 10px;
  border-radius: 10px;
  background: #0F172A;
  border: 1px solid #1E293B;
  margin-bottom: 8px;
  font-size: 13px;
}
.sim-imei {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 11px;
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.12);
  padding: 2px 6px;
  border-radius: 5px;
}

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-white { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-dark {
  background: var(--dark);
  color: #F8FAFC;
}
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 52px;
}
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 12px 0;
  line-height: 1.18;
}
.section-head p {
  color: var(--muted);
  font-size: 17.5px;
  margin: 0;
}
.section-dark .section-head p { color: #94A3B8; }

/* ---------- Pain vs Solution Cards ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 18px;
}
.feature-card h3 {
  font-size: 19px;
  font-weight: 800;
  margin: 0 0 10px;
}
.feature-card p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

/* ---------- ROI / Savings Calculator ---------- */
.roi-box {
  background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: #fff;
  border: 1px solid #312E81;
  box-shadow: var(--shadow-lg);
}
.roi-slider {
  width: 100%;
  accent-color: #38BDF8;
  height: 8px;
  cursor: pointer;
}
.roi-result-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 28px;
  text-align: center;
}
.roi-amount {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  color: #38BDF8;
  line-height: 1.1;
  margin: 8px 0;
}

/* ---------- Billing Toggle & Pricing Cards ---------- */
.billing-switch {
  display: inline-flex;
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 5px;
  border-radius: 999px;
  margin-top: 22px;
}
.billing-btn {
  border: 0;
  background: transparent;
  padding: 9px 20px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
}
.billing-btn.active {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.save-tag {
  background: var(--success-soft);
  color: var(--success);
  font-size: 11.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 6px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch;
}
.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.plan-card.popular {
  border: 2.5px solid var(--primary);
  box-shadow: 0 24px 50px -16px rgba(37, 99, 235, 0.25);
  transform: translateY(-6px);
}
.popular-ribbon {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--grad);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 14px;
  border-radius: 999px;
  box-shadow: 0 6px 16px -4px rgba(37, 99, 235, 0.6);
}
.plan-tier-badge {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.badge-lite { background: var(--surface-2); color: var(--text-2); }
.badge-plus { background: var(--primary-soft); color: var(--primary); }
.badge-ultra { background: var(--grad); color: #fff; }

.plan-title { font-size: 26px; font-weight: 800; margin: 0 0 6px; }
.plan-tagline { color: var(--muted); font-size: 14.5px; min-height: 44px; margin-bottom: 18px; }
.plan-price-wrap {
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.plan-price {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.plan-period { font-size: 14.5px; color: var(--muted); font-weight: 600; }
.plan-limits {
  display: grid;
  gap: 8px;
  background: var(--surface-2);
  padding: 14px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 20px;
}
.plan-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 11px;
  font-size: 14.5px;
  color: var(--text-2);
  flex: 1;
}
.plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.plan-list li::before {
  content: "✓";
  color: var(--success);
  font-weight: 800;
  flex-shrink: 0;
}

/* ---------- Full Comparison Table ---------- */
.compare-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}
.compare-table th, .compare-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 14.5px;
}
.compare-table thead th {
  background: var(--surface-2);
  font-size: 15px;
  font-weight: 800;
  position: sticky;
  top: 0;
}
.compare-table th.col-center, .compare-table td.col-center {
  text-align: center;
  width: 140px;
}
.compare-group-row td {
  background: #F8FAFC;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--primary);
  padding: 12px 20px;
}
.tick-yes { color: var(--success); font-weight: 800; font-size: 17px; }
.tick-no { color: #CBD5E1; font-weight: 700; }

/* ---------- Subscription Form ---------- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13.5px; font-weight: 700; color: var(--text-2); }
.input, .select, .textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #CBD5E1;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--surface);
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

/* ---------- FAQ Accordion ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px;
}
.faq-item summary {
  font-weight: 800;
  font-size: 16.5px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin: 12px 0 0; color: var(--text-2); font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: #94A3B8;
  padding: 64px 0 36px;
  font-size: 14.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--dark-border);
}
.site-footer h4 { color: #fff; font-size: 15px; margin: 0 0 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-links a { color: #94A3B8; }
.footer-links a:hover { color: #fff; }

/* ---------- Cookie Consent Banner ---------- */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 999;
  max-width: 960px;
  margin: 0 auto;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  color: #F8FAFC;
  border: 1px solid #334155;
  border-radius: 18px;
  padding: 18px 24px;
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.25s ease;
}
.cookie-banner[hidden] { display: none !important; }
.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-text { flex: 1 1 420px; }
.cookie-text strong { font-size: 15px; display: block; margin-bottom: 4px; color: #fff; }
.cookie-text p { margin: 0; font-size: 13.5px; color: #CBD5E1; line-height: 1.5; }
.cookie-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.cookie-actions .btn-outline {
  background: transparent;
  color: #E2E8F0;
  border-color: #475569;
}
.cookie-actions .btn-outline:hover {
  background: #1E293B;
  color: #fff;
}

/* ---------- Cookie Preferences Modal ---------- */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: rgba(9, 13, 22, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}
.cookie-modal-backdrop[hidden] { display: none !important; }
.cookie-modal {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 22px;
  max-width: 560px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.cookie-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 22px 26px 16px;
  border-bottom: 1px solid var(--border);
}
.cookie-modal-close {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 36px;
  height: 36px;
  font-size: 16px;
  cursor: pointer;
  color: var(--text-2);
}
.cookie-modal-body { padding: 20px 26px 24px; }
.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 14px;
}
.cookie-modal-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 10px;
}

/* Toggle Switch */
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
  flex-shrink: 0;
}
.cookie-switch input { opacity: 0; width: 0; height: 0; }
.cookie-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #CBD5E1;
  transition: 0.2s;
  border-radius: 999px;
}
.cookie-slider::before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  transition: 0.2s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.cookie-switch input:checked + .cookie-slider { background: var(--primary); }
.cookie-switch input:checked + .cookie-slider::before { transform: translateX(22px); }

/* ---------- Privacy Policy Page Layout ---------- */
.policy-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}
.policy-toc {
  position: sticky;
  top: 96px;
}
.policy-toc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.policy-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
}
.policy-toc-list a { color: var(--text-2); }
.policy-toc-list a:hover { color: var(--primary); }
.policy-section {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 96px;
}
.policy-section h2 { font-size: 21px; font-weight: 800; margin: 0 0 10px; }
.policy-section h3 { font-size: 16px; font-weight: 800; margin: 16px 0 6px; }
.policy-section p { color: var(--text-2); font-size: 15px; margin: 0 0 12px; line-height: 1.68; }
.policy-section p:last-child { margin-bottom: 0; }

@media (max-width: 991.98px) {
  .policy-layout { grid-template-columns: 1fr; }
  .policy-toc { position: static; }
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .hero-grid, .pricing-grid, .grid-3, .grid-2, .pos-sim-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .plan-card.popular { transform: none; }
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .mobile-toggle { display: inline-grid; place-items: center; }
}
@media (max-width: 639.98px) {
  .form-grid, .hero-trust { grid-template-columns: 1fr; }
  .roi-box, .form-card { padding: 24px 18px; }
}
