/* ═══════════════════════════════════════════════════════════
   GoYap — style.css
   ═══════════════════════════════════════════════════════════ */

/* ─── VARIABLES ─────────────────────────────────────────── */
:root {
  --red:          #E03020;
  --red-light:    rgba(224,48,32,0.12);
  --white:        #ffffff;
  --off-white:    #f4f4f4;
  --text:         #111111;
  --muted:        #555555;
  --red-text:     #B8261A;
  --border:       #e0e0e0;
  --light:        #e8e8e8;
  --nav-bg:       #111111;
  --card-bg:      #f9f9f9;
  --card-border:  #e2e2e2;
  --section-alt:  #f4f4f4;
}

/* ─── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Barlow', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html { overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── CONTAINER ─────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* ─── NAV ───────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--nav-bg);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  padding: 0 2rem;
  height: 64px;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
}
.logo-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.logo-text span { color: var(--red); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
}
.nav-links li a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-links li a:hover,
.nav-links li a.active {
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* ─── BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.55rem 1.25rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  text-decoration: none;
}
.btn-red {
  background: var(--red);
  color: #fff;
  border: 2px solid var(--red);
}
.btn-red:hover {
  background: #c4281a;
  border-color: #c4281a;
}
.btn-login {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.btn-login:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--text);
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline-white:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
}

/* ─── HAMBURGER ─────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── MOBILE MENU ───────────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0; bottom: 0;
  background: var(--nav-bg);
  z-index: 999;
  flex-direction: column;
  padding: 2rem;
  gap: 0.25rem;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.mobile-menu a:hover { color: #fff; }
.mobile-cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}
.btn-login-mob {
  display: block;
  text-align: center;
  padding: 0.75rem;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.8);
}
.mobile-cta .btn-red {
  display: block;
  text-align: center;
  padding: 0.75rem;
  font-size: 14px;
}

/* ─── NAV PARTNER (hide on small screens) ───────────────── */
.nav-partner { display: inline-flex; }

/* ─── SECTION COMMON ────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red-text);
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(224,48,32,0.25);
  border-radius: 2px;
  background: var(--red-light);
}
.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 1rem;
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-intro {
  font-size: 1rem;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.8;
}
.red-line {
  width: 48px;
  height: 3px;
  background: var(--red);
  margin: 1rem 0;
}

/* ─── FEATURES GRID ─────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--card-bg);
  border: 1.5px solid var(--card-border);
  border-radius: 10px;
  padding: 1.75rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  border-color: rgba(224,48,32,0.3);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--red-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.feature-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--red);
}
.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.feature-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ─── PORTALS GRID ──────────────────────────────────────── */
.portals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.portal-card {
  background: var(--card-bg);
  border: 1.5px solid var(--card-border);
  border-radius: 10px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.portal-card:hover {
  border-color: rgba(224,48,32,0.35);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.portal-card-icon {
  width: 48px;
  height: 48px;
  background: var(--red-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.portal-card-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--red);
}
.portal-card h3 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
}
.portal-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
}
.arrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red-text);
  margin-top: 0.5rem;
}

/* ─── FEATURE SPLIT (features.html) ────────────────────── */
.feature-section { padding: 5rem 2rem; }
.feature-section:nth-child(even) { background: var(--section-alt); }
.feature-section:nth-child(odd) { background: var(--white); }
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.feature-split.reverse { direction: rtl; }
.feature-split.reverse > * { direction: ltr; }
.feature-list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
}
.feature-list li svg {
  width: 16px;
  height: 16px;
  fill: var(--red);
  flex-shrink: 0;
  margin-top: 4px;
}
.feature-visual {
  background: var(--card-bg);
  border: 1.5px solid var(--card-border);
  border-radius: 12px;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.feature-visual.single { grid-template-columns: 1fr; }
.feature-stat {
  background: var(--off-white);
  border: 1.5px solid var(--card-border);
  border-radius: 8px;
  padding: 1.25rem;
  text-align: center;
}
.feature-stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}
.feature-stat-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.3rem;
}
.integration-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.integration-card {
  background: var(--card-bg);
  border: 1.5px solid var(--card-border);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
}
.integration-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(224,48,32,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.integration-card-icon svg { width: 24px; height: 24px; fill: var(--red); }
.integration-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}
.integration-card p { font-size: 0.82rem; color: var(--muted); line-height: 1.6; }
.tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  margin-bottom: 0.75rem;
}
.tag-red { background: rgba(224,48,32,0.12); color: var(--red-text); }
.tag-green { background: rgba(46,125,50,0.10); color: #2E7D32; }

/* ─── PAGE HERO WITH PHOTO ─────────────────────────────── */
.page-hero-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.page-hero-photo img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.14);
}
.cta-photo { background-size: cover; background-position: center; }
@media (max-width: 900px) {
  .page-hero-split { grid-template-columns: 1fr; gap: 2rem; }
  .page-hero-photo img { height: 220px; }
}

/* ─── CLIENT DEVICE CARDS (features.html) ──────────────── */
.client-pic {
  height: 240px;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.client-pic img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ─── AI CALL REPORTING (features.html) ─────────────────── */
.ai-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--text);
}
.ai-shot {
  background: #fff;
  border: 1.5px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 34px rgba(0,0,0,0.09);
}
.ai-shot-bar {
  height: 28px;
  background: #f0f0f0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
}
.ai-shot-bar span { width: 9px; height: 9px; border-radius: 50%; background: #d4d4d4; }
.ai-shot img { width: 100%; height: auto; display: block; }
.ai-need {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}
.ai-need-side {
  background: var(--card-bg);
  border: 1.5px solid var(--card-border);
  border-top: 3px solid var(--red);
  border-radius: 12px;
  padding: 2rem;
}
.ai-need-side h4 { font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 0.3rem; }
.ai-need-side p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.1rem; }
@media (max-width: 900px) {
  .ai-need { grid-template-columns: 1fr; gap: 2rem; }
}

/* ─── PRICING ───────────────────────────────────────────── */
.licence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.licence-card {
  background: var(--card-bg);
  border: 1.5px solid var(--card-border);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.licence-card.featured {
  border-color: var(--red);
  box-shadow: 0 4px 24px rgba(224,48,32,0.12);
}
.licence-card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
}
.licence-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.licence-price {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.licence-price span {
  font-size: 1rem;
  color: var(--muted);
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
}
.licence-desc {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.licence-features {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.licence-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.5;
}
.licence-features li svg { width: 16px; height: 16px; fill: var(--red); flex-shrink: 0; margin-top: 2px; }
.check { width: 18px; height: 18px; fill: var(--red); flex-shrink: 0; margin-top: 3px; }
.highlight-col { background: rgba(224,48,32,0.04); }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.compare-table th, .compare-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  text-align: center;
  color: var(--text);
}
.compare-table th { font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; font-size: 12px; }
.compare-table td:first-child { text-align: left; color: var(--muted); }
.yes { color: var(--red); font-weight: 700; }
.no { color: var(--muted); }

/* ─── RESELLER ──────────────────────────────────────────── */
.hero-reseller {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 2rem 80px;
  position: relative;
  overflow: hidden;
  background: var(--nav-bg);
}
.hero-reseller-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 80% 50%, rgba(224,48,32,0.15) 0%, transparent 65%);
  pointer-events: none;
}
.track-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}
.track-card {
  background: var(--card-bg);
  border: 1.5px solid var(--card-border);
  border-radius: 12px;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.track-card.featured {
  border-color: var(--red);
  box-shadow: 0 4px 24px rgba(224,48,32,0.12);
}
.track-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-light);
  padding: 0.3rem 0.7rem;
  border-radius: 2px;
}
.track-icon {
  width: 56px; height: 56px;
  background: var(--red-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.track-icon svg { width: 28px; height: 28px; fill: var(--red); }
.track-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.track-sub {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.track-list {
  list-style: none;
  margin-bottom: 2rem;
}
.track-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text);
}
.track-list li:last-child { border-bottom: none; }
.track-list li svg { width: 16px; height: 16px; fill: var(--red); flex-shrink: 0; margin-top: 4px; }
.reality-section { padding: 5rem 2rem; background: var(--off-white); }
.reality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.reality-item {
  background: var(--card-bg);
  border: 1.5px solid var(--card-border);
  border-radius: 10px;
  padding: 1.75rem;
}
.reality-item-icon {
  width: 44px; height: 44px;
  background: var(--red-light);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.reality-item-icon svg { width: 22px; height: 22px; fill: var(--red); }
.reality-item h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 0.5rem; }
.reality-item p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; }
.reality-list { list-style: none; margin-top: 1rem; }
.reality-list li {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.88rem; color: var(--muted); line-height: 1.6;
  padding: 0.3rem 0;
}
.reality-list li svg { width: 14px; height: 14px; fill: var(--red); flex-shrink: 0; margin-top: 3px; }
.agent-steps { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.agent-step { display: flex; gap: 1.25rem; align-items: flex-start; }
.step-num {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff;
}
.step-text h4 { font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 0.25rem; }
.step-text p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }

/* ─── FAQ ───────────────────────────────────────────────── */
.faq-group { margin-bottom: 3rem; }
.faq-group-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--red);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}
.faq-q:hover { color: var(--red); }
.faq-icon {
  width: 20px; height: 20px; flex-shrink: 0;
  fill: var(--muted);
  transition: transform 0.3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); fill: var(--red); }
.faq-a {
  display: none;
  padding: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.8;
}
.faq-item.open .faq-a { display: block; }

/* ─── CONTACT FORM ──────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.form-group label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  transition: border-color 0.2s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group select { appearance: none; cursor: pointer; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-card {
  background: var(--card-bg);
  border: 1.5px solid var(--card-border);
  border-radius: 12px;
  padding: 2.5rem;
}

/* ─── CTA SECTION ───────────────────────────────────────── */
.cta-section {
  background: var(--nav-bg);
  padding: 5rem 2rem;
  text-align: center;
}
.cta-section h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}
.cta-section p {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── FOOTER ────────────────────────────────────────────── */
footer {
  background: #0a0a0a;
  padding: 4rem 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-logo { margin-bottom: 1rem; }
.footer-logo img { height: 28px; width: auto; }
.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  margin-bottom: 1rem;
  max-width: 280px;
}
.footer-phone {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
}
.footer-phone:hover { color: #fff; }
.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ─── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .portals-grid { grid-template-columns: repeat(2, 1fr); }
  .licence-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .reality-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-partner { display: none; }
  .hamburger { display: flex; }
  .feature-split { grid-template-columns: 1fr; gap: 2rem; }
  .feature-split.reverse { direction: ltr; }
  .feature-visual { grid-template-columns: 1fr 1fr; }
  .track-grid { grid-template-columns: 1fr; }
  .track-card.featured::before { display: none; }
  .reality-grid { grid-template-columns: 1fr !important; }
  .reseller-apply-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .reseller-tools-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .contact-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .feature-infra-grid { grid-template-columns: 1fr !important; }
  .partner-track-grid { grid-template-columns: 1fr !important; }
  .split-wrap { grid-template-columns: 1fr; gap: 3rem; }
  .split-wrap.reverse { direction: ltr; }
}
@media (max-width: 700px) {
  .features-grid { grid-template-columns: 1fr; }
  .portals-grid { grid-template-columns: 1fr; }
  .licence-grid { grid-template-columns: 1fr; }
  .reality-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .feature-visual { grid-template-columns: 1fr; }
  .hero-reseller { padding: 100px 1.25rem 60px; }
}
@media (max-width: 480px) {
  nav { padding: 0 1.25rem; }
  .btn-login { display: none; }
}

/* Keep the form clear of the fixed menu bar when linked to directly */
#form{scroll-margin-top:90px}

/* Switch to the mobile menu before the full menu runs out of room */
@media (max-width: 1120px) {
  .nav-links { display: none; }
  .nav-partner { display: none; }
  .hamburger { display: flex; }
  .nav-right { display: none; }
}
