:root {
  --navy: #0b1e3f;
  --navy-light: #142c56;
  --accent: #3d7bff;
  --accent-light: #6f9dff;
  --bg: #f7f9fc;
  --white: #ffffff;
  --text: #1a1f2b;
  --muted: #5b6472;
  --border: #e4e8f0;
  --success: #1fa971;
  --error: #d64545;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(11, 30, 63, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
  border-color: var(--border);
  box-shadow: 0 6px 24px rgba(11, 30, 63, 0.08);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1140px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.logo span { color: var(--accent); }

.logo-icon { flex-shrink: 0; border-radius: 22%; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--accent); }

.nav-login {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  padding: 8px 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s;
}

.nav-login:hover { border-color: var(--accent); }

.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.nav-cta:hover { background: #2c63e0; transform: translateY(-1px); box-shadow: 0 8px 18px rgba(61,123,255,0.3); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.nav-toggle:hover { background: var(--bg); }

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover { background: #2c63e0; box-shadow: 0 8px 20px rgba(61, 123, 255, 0.35); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-light {
  background: var(--white);
  color: var(--navy);
}

.btn-light:hover { background: var(--accent-light); color: var(--white); }

.btn-block { width: 100%; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 110px 0 100px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(11, 30, 63, 0.93) 0%, rgba(14, 37, 73, 0.88) 60%, rgba(19, 44, 86, 0.93) 100%);
  z-index: 0;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
  pointer-events: none;
  z-index: 1;
}

.hero-blob-1 {
  width: 460px;
  height: 460px;
  top: -160px;
  right: -120px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  animation: drift1 16s ease-in-out infinite;
}

.hero-blob-2 {
  width: 360px;
  height: 360px;
  bottom: -140px;
  left: -100px;
  background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
  animation: drift2 20s ease-in-out infinite;
}

@keyframes drift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 30px) scale(1.1); }
}

@keyframes drift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -25px) scale(1.08); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-blob { animation: none; }
}

.eyebrow {
  display: inline-block;
  background: rgba(61, 123, 255, 0.18);
  color: var(--accent-light);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero p.lead {
  font-size: 1.2rem;
  color: #c9d5eb;
  margin-bottom: 34px;
  max-width: 560px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat .num { font-size: 1.7rem; font-weight: 800; color: var(--white); }
.hero-stat .label { font-size: 0.88rem; color: #9fb0cc; }

/* Credibility stat bar */
.stat-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 26px 0;
}

.stat-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  flex-wrap: wrap;
}

.stat-bar-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-bar-inner p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 640px;
}

.stat-source {
  display: inline-block;
  margin-left: 6px;
  font-size: 0.78rem;
  color: #9aa5b8;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Sections */
section { padding: 90px 0; }

.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }

.section-head .eyebrow { background: rgba(61,123,255,0.1); color: var(--accent); }

.section-head h2 {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 14px;
}

.section-head p { color: var(--muted); font-size: 1.05rem; }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(11, 30, 63, 0.14);
  border-color: rgba(61, 123, 255, 0.35);
}

.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(61, 123, 255, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
  transition: transform 0.2s ease;
}

.service-card:hover .service-icon { transform: scale(1.12) rotate(-4deg); }

.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--navy); }
.service-card p { color: var(--muted); font-size: 0.96rem; }

/* Process / credibility */
.process { background: var(--white); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.process-step { position: relative; padding-left: 4px; }

.process-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 16px;
}

.process-step h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--navy); }
.process-step p { color: var(--muted); font-size: 0.94rem; }

.guarantees {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 34px;
}

.guarantee-item { display: flex; gap: 14px; align-items: flex-start; }

.guarantee-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--success);
  color: var(--white);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  margin-top: 2px;
}

.guarantee-item h4 { font-size: 0.98rem; color: var(--navy); margin-bottom: 4px; }
.guarantee-item p { font-size: 0.88rem; color: var(--muted); }

/* Testimonial / founding client */
.testimonial-banner {
  position: relative;
  overflow: hidden;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  color: var(--white);
  border-radius: 16px;
  padding: 48px;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.testimonial-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(11, 30, 63, 0.94) 0%, rgba(19, 44, 86, 0.9) 100%);
  z-index: 0;
}

.testimonial-banner > * {
  position: relative;
  z-index: 1;
}

.testimonial-banner .quote-mark { font-size: 2.4rem; color: var(--accent); font-weight: 800; }

.testimonial-banner p { font-size: 1.15rem; color: #d7e0f2; margin: 10px 0 20px; }

.testimonial-banner .cite { color: var(--accent-light); font-weight: 600; font-size: 0.92rem; }

/* Booking */
.booking { background: var(--bg); }

.booking-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 800px) { .booking-wrap { grid-template-columns: 1fr; } }

.booking-info h2 { font-size: 1.9rem; color: var(--navy); margin-bottom: 14px; font-weight: 800; }
.booking-info p { color: var(--muted); margin-bottom: 22px; }

.booking-list { list-style: none; }
.booking-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  color: var(--text);
  font-size: 0.95rem;
}

.booking-embed { display: flex; align-items: center; }

.booking-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 48px 40px;
  text-align: center;
  width: 100%;
}

.booking-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(61, 123, 255, 0.12);
  color: var(--accent);
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.booking-card h3 { font-size: 1.25rem; color: var(--navy); margin-bottom: 10px; }
.booking-card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 26px; }

#gcal-button { display: flex; justify-content: center; }

/* Contact */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

@media (max-width: 800px) { .contact-wrap { grid-template-columns: 1fr; } }

.contact-info h2 { font-size: 1.9rem; color: var(--navy); margin-bottom: 14px; font-weight: 800; }
.contact-info p { color: var(--muted); margin-bottom: 24px; }

.contact-detail { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.contact-detail .icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(61,123,255,0.1); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.contact-detail a { font-weight: 600; color: var(--navy); }

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px;
}

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
}
.field textarea { min-height: 110px; resize: vertical; }

.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 10px; }
.form-status { font-size: 0.9rem; margin-top: 12px; font-weight: 600; }
.form-status.success { color: var(--success); }
.form-status.error { color: var(--error); }

/* Footer */
.site-footer {
  background: var(--navy);
  color: #c9d5eb;
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-grid h4 { color: var(--white); font-size: 0.92rem; margin-bottom: 14px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-grid a:hover { color: var(--accent-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: #7c8caf;
}

/* Samples gallery */
.samples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.sample-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sample-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(11, 30, 63, 0.16);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #eef1f6;
  border-bottom: 1px solid var(--border);
}

.browser-dot { width: 9px; height: 9px; border-radius: 50%; }
.browser-dot.red { background: #ff5f57; }
.browser-dot.yellow { background: #febc2e; }
.browser-dot.green { background: #28c840; }

.browser-url {
  margin-left: 10px;
  font-size: 0.72rem;
  color: var(--muted);
  background: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.iframe-wrap {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
  background: var(--bg);
}

.iframe-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 250%;
  height: 250%;
  transform: scale(0.4);
  transform-origin: top left;
  border: 0;
  pointer-events: none;
}

.sample-card-body { padding: 22px 24px 26px; }
.sample-card-body h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 6px; }
.sample-card-body p { color: var(--muted); font-size: 0.9rem; margin-bottom: 16px; }

.sample-card-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.sample-tag {
  display: inline-block;
  background: rgba(61,123,255,0.1);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

/* Portal page */
.portal-page {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--navy) 0%, #0e2549 60%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.portal-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  width: 100%;
  max-width: 420px;
  padding: 40px 36px;
}

.portal-logo { text-align: center; margin-bottom: 6px; font-weight: 800; font-size: 1.2rem; color: var(--navy); }
.portal-logo span { color: var(--accent); }

.portal-card h1 { font-size: 1.4rem; text-align: center; margin-bottom: 6px; color: var(--navy); }
.portal-card .sub { text-align: center; color: var(--muted); font-size: 0.9rem; margin-bottom: 26px; }

.tabs { display: flex; background: var(--bg); border-radius: 999px; padding: 4px; margin-bottom: 26px; }
.tab-btn {
  flex: 1;
  padding: 9px;
  border: none;
  background: transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--muted);
  cursor: pointer;
}
.tab-btn.active { background: var(--navy); color: var(--white); }

.auth-form { display: none; }
.auth-form.active { display: block; }

.back-link { display: block; text-align: center; margin-top: 20px; font-size: 0.85rem; color: var(--muted); }
.back-link:hover { color: var(--accent); }

/* Dashboard */
.dashboard { display: none; min-height: 100vh; background: var(--bg); }
.dashboard.active { display: block; }

.dash-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.dash-header .container { display: flex; align-items: center; justify-content: space-between; }

.dash-main { padding: 50px 0; }

.welcome-banner {
  background: var(--navy);
  color: var(--white);
  border-radius: 16px;
  padding: 36px;
  margin-bottom: 34px;
}
.welcome-banner h1 { font-size: 1.6rem; margin-bottom: 8px; }
.welcome-banner p { color: #c9d5eb; }

.dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.dash-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.dash-card h3 { font-size: 1rem; color: var(--navy); margin-bottom: 12px; }

.status-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(61,123,255,0.12);
  color: var(--accent);
  margin-bottom: 12px;
}

.dash-card p { color: var(--muted); font-size: 0.9rem; }

/* Dashboard sections (domain summary, support hub, admin tables) */
.dash-section { margin-top: 40px; }
.dash-section-title { font-size: 1.2rem; color: var(--navy); margin-bottom: 16px; }

.btn-small { padding: 8px 16px; font-size: 0.85rem; }

.domain-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.domain-card-top h3 { font-size: 1.3rem; color: var(--navy); margin-top: 6px; }

.domain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.domain-grid > div { display: flex; flex-direction: column; gap: 4px; }

.domain-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
  font-weight: 700;
}

.domain-value { font-size: 0.95rem; color: var(--text); font-weight: 600; }

.domain-nameservers {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

@media (max-width: 800px) { .support-grid { grid-template-columns: 1fr; } }

.ticket-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }

.ticket-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
}

.ticket-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.ticket-item h4 { font-size: 0.94rem; color: var(--navy); }
.ticket-item p { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }
.ticket-item .ticket-date { font-size: 0.76rem; color: #9aa5b8; margin-top: 6px; }

.status-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.status-pill.open { background: rgba(61,123,255,0.12); color: var(--accent); }
.status-pill.closed { background: rgba(31,169,113,0.12); color: var(--success); }
.status-pill.live { background: rgba(31,169,113,0.12); color: var(--success); }
.status-pill.pending { background: rgba(245,158,11,0.14); color: #b45309; }

.table-card { padding: 0; overflow: hidden; }
.table-wrap { overflow-x: auto; }

.admin-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 640px; }
.admin-table th {
  text-align: left;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
  padding: 14px 18px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.admin-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: top;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table td.muted-cell { color: var(--muted); }

.hidden { display: none !important; }

/* Book a Call modal */
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
}
.booking-modal.open { display: block; }
.booking-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 30, 63, 0.6);
  backdrop-filter: blur(2px);
}
.booking-modal-panel {
  position: relative;
  z-index: 1;
  margin: 4vh auto;
  width: min(720px, 94vw);
  height: min(760px, 90vh);
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.booking-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--navy);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}
.booking-modal-close:hover { background: var(--bg); }
.booking-modal-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 480px) {
  .booking-modal-panel { width: 100vw; height: 100vh; margin: 0; border-radius: 0; }
}

/* Pricing reference page (admin-only) */
.locked-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  padding: 24px;
}
.locked-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  max-width: 420px;
  width: 100%;
  padding: 40px 36px;
  text-align: center;
}
.locked-card .lock-icon { font-size: 2.2rem; margin-bottom: 14px; }
.locked-card h1 { font-size: 1.3rem; color: var(--navy); margin-bottom: 10px; }
.locked-card p { color: var(--muted); font-size: 0.92rem; margin-bottom: 24px; }

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.price-card { display: flex; flex-direction: column; }
.price-card .price-name { font-size: 1.05rem; color: var(--navy); font-weight: 700; margin-bottom: 6px; }
.price-card .price-amount { font-size: 2.4rem; font-weight: 800; color: var(--navy); line-height: 1; margin: 6px 0 2px; }
.price-card .price-amount sup { font-size: 1rem; font-weight: 700; margin-right: 2px; }
.price-card .price-billing { color: var(--muted); font-size: 0.85rem; margin-bottom: 18px; }
.price-includes { list-style: none; }
.price-includes li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  padding: 8px 0;
  border-top: 1px solid var(--border);
}
.price-includes li:first-child { border-top: none; }
.price-includes li .check {
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  background: var(--success); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.62rem; margin-top: 2px;
}

.pricing-note {
  background: rgba(61,123,255,0.08);
  border: 1px dashed var(--accent);
  border-radius: var(--radius);
  padding: 16px 20px;
  color: var(--navy);
  font-size: 0.88rem;
  margin-top: 20px;
}

/* Public plans page */
.plans-toggle-wrap {
  display: flex;
  justify-content: center;
  margin: 0 auto 48px;
}

.plans-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  box-shadow: var(--shadow);
}

.plans-toggle button {
  border: none;
  background: transparent;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.plans-toggle button.active { background: var(--navy); color: var(--white); }

.plans-toggle .save-tag {
  display: inline-block;
  margin-left: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(31,169,113,0.14);
  color: var(--success);
  padding: 2px 8px;
  border-radius: 999px;
}

.plans-toggle button.active .save-tag { background: rgba(255,255,255,0.18); color: #b9f5d8; }

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .plans-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 36px 28px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.plan-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(11,30,63,0.14); }

.plan-card.featured {
  border-color: var(--accent);
  box-shadow: 0 20px 50px rgba(61,123,255,0.22);
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(61,123,255,0.35);
  white-space: nowrap;
}

.plan-name { font-size: 1.2rem; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.plan-tagline { font-size: 0.88rem; color: var(--muted); margin-bottom: 22px; min-height: 42px; }

.plan-price-row { display: flex; align-items: baseline; gap: 3px; }
.plan-price-row sup { font-size: 1.1rem; font-weight: 700; color: var(--navy); }
.plan-price { font-size: 2.6rem; font-weight: 800; color: var(--navy); line-height: 1; }
.plan-price-unit { font-size: 0.85rem; color: var(--muted); margin-bottom: 14px; }

.plan-care-row { font-size: 0.88rem; color: var(--muted); margin-bottom: 26px; padding-top: 12px; border-top: 1px dashed var(--border); }
.plan-care-row strong { color: var(--navy); font-size: 1rem; }
.plan-save {
  display: inline-block;
  margin-left: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--success);
  background: rgba(31,169,113,0.12);
  padding: 2px 8px;
  border-radius: 999px;
}

.plan-includes { list-style: none; margin-bottom: 28px; flex: 1; }
.plan-includes li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.92rem; padding: 9px 0;
  border-top: 1px solid var(--border);
}
.plan-includes li:first-child { border-top: none; }
.plan-includes li .check {
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  background: var(--success); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.62rem; margin-top: 2px;
}

.plan-card .btn { width: 100%; text-align: center; }

.plans-faq {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  box-shadow: var(--shadow);
}

.faq-item h4 { font-size: 0.98rem; color: var(--navy); margin-bottom: 6px; }
.faq-item p { font-size: 0.9rem; color: var(--muted); }

/* Responsive nav (tablet + mobile) */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 28px rgba(11, 30, 63, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .nav-links.open { max-height: 520px; }

  .nav-links a {
    padding: 14px 24px;
    border-bottom: 1px solid var(--border);
    width: 100%;
  }

  .nav-links a:last-child { border-bottom: none; }

  .nav-login { border-bottom-width: 1px !important; text-align: left; }
  .nav-cta { border-radius: 0; text-align: center; }
}

/* Tablet */
@media (max-width: 900px) {
  .container { padding: 0 20px; }
  .hero { padding: 90px 0 70px; }
  section { padding: 70px 0; }
}

/* Mobile */
@media (max-width: 720px) {
  .hero h1 { font-size: 2rem; }
  .hero p.lead { font-size: 1.05rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; }
  .hero-stats { gap: 24px; }
  .section-head h2 { font-size: 1.7rem; }
  .stat-bar-inner { flex-direction: column; text-align: center; gap: 8px; }
  .testimonial-banner { padding: 32px 24px; }
  .booking-card { padding: 36px 24px; }
  .domain-card-top { flex-direction: column; align-items: stretch; }
  .domain-card-top a { text-align: center; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Small phones */
@media (max-width: 420px) {
  .nav { padding: 14px 16px; }
  .container { padding: 0 16px; }
  .hero h1 { font-size: 1.65rem; }
  .eyebrow { font-size: 0.75rem; }
  .service-card, .dash-card, .form-card, .portal-card, .plan-card, .faq-item { padding: 24px 20px; }
  .plans-toggle button { padding: 9px 14px; font-size: 0.82rem; }
  .plan-price { font-size: 2.2rem; }
  .stat-bar-num { font-size: 1.5rem; }
  .welcome-banner { padding: 24px 20px; }
  .welcome-banner h1 { font-size: 1.3rem; }
  .dash-main { padding: 32px 0; }
  .dash-section { margin-top: 30px; }
}

/* Portal / dashboard responsiveness */
@media (max-width: 640px) {
  .dash-grid { grid-template-columns: 1fr; }
  .domain-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .domain-grid { grid-template-columns: 1fr; }
  .portal-page { padding: 24px 16px; }
  .portal-card { padding: 30px 22px; }
  .tabs { font-size: 0.85rem; }
}
