/* Saxon Enterprises, Inc. - home page styles
   Author: William Leonard, CTI Global, bill.leonard@cticorp.com */

:root {
  --navy: #0b2545;
  --navy-700: #13315c;
  --blue: #2563eb;
  --blue-600: #1d4ed8;
  --blue-50: #eff4ff;
  --teal: #0bb3a6;
  --ink: #1a2433;
  --muted: #5b6b7e;
  --line: #e4e9f0;
  --bg: #ffffff;
  --bg-soft: #f6f9fc;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px rgba(11, 37, 69, 0.08);
  --shadow-lg: 0 24px 60px rgba(11, 37, 69, 0.16);
  --maxw: 1160px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-600); }

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 13px 24px;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-600); color: #fff; box-shadow: 0 8px 22px rgba(37,99,235,.35); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { background: var(--blue-50); color: var(--navy); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: #f0f4ff; color: var(--navy); box-shadow: var(--shadow); }

/* Top utility bar */
.topbar {
  background: var(--navy);
  color: #c8d6ea;
  font-size: .85rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  gap: 16px;
}
.topbar__msg { opacity: .9; }
.topbar__links { display: flex; align-items: center; gap: 20px; }
.topbar__links a { color: #dbe6f5; }
.topbar__links a:hover { color: #fff; }
.topbar__cart { font-weight: 600; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}

.brand { display: flex; align-items: center; gap: 11px; color: var(--navy); font-weight: 800; }
.brand__mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff; border-radius: 10px;
  font-size: 1.2rem; font-weight: 800;
}
.brand__logo { height: 38px; width: auto; display: block; }
.brand__name { font-size: 1.18rem; letter-spacing: -.02em; }
.brand--light { color: #fff; }
.brand--light .brand__name { color: #fff; }

/* Nav */
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link {
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 8px;
}
.nav__link:hover { background: var(--blue-50); color: var(--navy); }

.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .14s ease, transform .14s ease, visibility .14s;
}
.nav__item.has-menu:hover .dropdown,
.nav__item.has-menu:focus-within .dropdown,
.dropdown.is-open {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 500;
}
.dropdown a:hover { background: var(--blue-50); color: var(--navy); }

.header__account { margin-left: 8px; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  margin-left: auto;
  background: none; border: 1px solid var(--line);
  border-radius: 10px; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px;
  background: var(--navy); margin: 0 auto;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(11,179,166,.18), transparent 60%),
    radial-gradient(900px 500px at 0% 0%, rgba(37,99,235,.16), transparent 55%),
    linear-gradient(180deg, var(--bg-soft), #fff);
  padding: 84px 0 72px;
  border-bottom: 1px solid var(--line);
}
.hero__inner { max-width: 820px; text-align: center; }
.hero__title {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  margin: 0 0 18px;
  color: var(--navy);
  font-weight: 800;
}
.hero__sub {
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  color: var(--muted);
  margin: 0 auto 34px;
  max-width: 640px;
}

/* Domain search */
.search { max-width: 660px; margin: 0 auto; }
.search__label {
  display: block;
  font-weight: 600;
  text-align: left;
  margin: 0 4px 8px;
  color: var(--navy);
  font-size: .95rem;
}
.search__row {
  display: flex;
  gap: 10px;
  background: #fff;
  padding: 10px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.search__input {
  flex: 1;
  border: none;
  outline: none;
  font: inherit;
  font-size: 1.05rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  min-width: 0;
}
.search__input::placeholder { color: #9aa7b6; }
.search__btn { padding-left: 30px; padding-right: 30px; }
.search__tlds {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin: 16px 0 0;
  font-size: .9rem;
  color: var(--muted);
}
.search__tlds span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  font-weight: 600;
  color: var(--navy);
}

/* Trust strip */
.trust { background: var(--navy); color: #fff; }
.trust__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 26px 0;
  text-align: center;
}
.trust__item { display: flex; flex-direction: column; gap: 2px; }
.trust__item strong { font-size: 1.5rem; color: #fff; }
.trust__item span { color: #b9c8dc; font-size: .92rem; }

/* Section heading */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  letter-spacing: -.02em;
  color: var(--navy);
  margin: 0 0 12px;
}
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }

/* Products */
.products { padding: 80px 0; }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d3deec; }
.card__icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  background: var(--blue-50);
  border-radius: 12px;
  font-size: 1.6rem;
  margin-bottom: 16px;
}
.card h3 { margin: 0 0 8px; font-size: 1.25rem; color: var(--navy); }
.card p { margin: 0 0 16px; color: var(--muted); }
.card__link { font-weight: 600; }

/* Feature band */
.feature { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature__inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
  padding: 80px 0;
}
.feature__text h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); color: var(--navy); margin: 0 0 14px; letter-spacing: -.02em; }
.feature__text p { color: var(--muted); font-size: 1.08rem; margin: 0 0 22px; }
.feature__list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.feature__list li {
  position: relative;
  padding-left: 32px;
  font-weight: 500;
  color: var(--ink);
}
.feature__list li::before {
  content: "\2713";
  position: absolute; left: 0; top: 0;
  width: 22px; height: 22px;
  background: var(--teal); color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: .75rem; font-weight: 700;
}
.feature__panel {
  position: relative;
  min-height: 300px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.feature__bubble {
  position: absolute;
  background: rgba(255,255,255,.95);
  color: var(--navy);
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-size: .95rem;
}
.feature__bubble--1 { top: 18%; left: 12%; }
.feature__bubble--2 { top: 46%; right: 10%; }
.feature__bubble--3 { bottom: 16%; left: 22%; }

/* CTA */
.cta {
  background:
    radial-gradient(700px 300px at 50% 120%, rgba(11,179,166,.35), transparent 60%),
    linear-gradient(135deg, var(--navy-700), var(--navy));
  color: #fff;
}
.cta__inner { text-align: center; padding: 72px 0; }
.cta__inner h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin: 0 0 12px; letter-spacing: -.02em; }
.cta__inner p { color: #cdd9ec; font-size: 1.1rem; margin: 0 0 28px; }

/* Footer */
.footer { background: #081b34; color: #aebfd4; padding-top: 56px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 40px;
}
.footer__col h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 16px; }
.footer__col a { display: block; color: #aebfd4; padding: 6px 0; font-size: .95rem; }
.footer__col a:hover { color: #fff; }
.footer__tag { margin: 16px 0 18px; max-width: 320px; font-size: .95rem; }
.footer__social { display: flex; gap: 16px; }
.footer__social a { color: #cdd9ec; font-weight: 600; font-size: .9rem; }
.footer__social a:hover { color: #fff; }

.footer__bar { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; }
.footer__bar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  font-size: .85rem; color: #8aa0bc;
}
.footer__bar-inner p { margin: 0; }
.footer__fine { max-width: 560px; }
.footer__fine a { color: #cdd9ec; }

/* Responsive */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .feature__inner { grid-template-columns: 1fr; gap: 32px; }
  .feature__panel { min-height: 240px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .header__account { display: none; }
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .28s ease;
  }
  .nav.is-open { max-height: 80vh; overflow-y: auto; }
  .nav__list { flex-direction: column; padding: 8px; gap: 0; }
  .nav__item { width: 100%; }
  .nav__link { width: 100%; text-align: left; }
  .dropdown {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none;
    padding: 0 0 8px 12px;
    display: none;
  }
  .dropdown.is-open { display: block; }
  .topbar__msg { display: none; }
  .topbar__inner { justify-content: flex-end; }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .trust__inner { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .search__row { flex-direction: column; }
  .search__btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 48px; }
}

/* ===========================================================
   Product / inner pages
   =========================================================== */

/* Page hero */
.page-hero {
  background:
    radial-gradient(900px 420px at 88% -20%, rgba(11,179,166,.16), transparent 60%),
    radial-gradient(800px 460px at 0% -10%, rgba(37,99,235,.14), transparent 55%),
    linear-gradient(180deg, var(--bg-soft), #fff);
  border-bottom: 1px solid var(--line);
  padding: 64px 0 56px;
}
.page-hero__inner { max-width: 760px; }
.page-hero__eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-50);
  padding: 6px 12px;
  border-radius: 999px;
  margin: 0 0 16px;
}
.page-hero h1 {
  font-size: clamp(2rem, 4.6vw, 3rem);
  letter-spacing: -.03em;
  line-height: 1.1;
  color: var(--navy);
  margin: 0 0 16px;
}
.page-hero p {
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 620px;
}
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Inline domain search (reused on domains page) */
.page-hero .search { margin: 8px 0 0; max-width: 620px; }

/* Generic section spacing */
.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__lead { max-width: 640px; margin: 0 0 40px; }
.section__lead h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); color: var(--navy); margin: 0 0 12px; letter-spacing: -.02em; }
.section__lead p { color: var(--muted); font-size: 1.06rem; margin: 0; }
.anchor { scroll-margin-top: 96px; }

/* Pricing / plan grid */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  position: relative;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d3deec; }
.plan--featured { border-color: var(--blue); box-shadow: var(--shadow); }
.plan__badge {
  position: absolute; top: -12px; left: 26px;
  background: var(--blue); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.plan__name { font-size: 1.2rem; color: var(--navy); margin: 0 0 6px; font-weight: 700; }
.plan__blurb { color: var(--muted); font-size: .95rem; margin: 0 0 18px; min-height: 42px; }
.plan__price { display: flex; align-items: baseline; gap: 4px; margin: 0 0 4px; }
.plan__price .amt { font-size: 2.1rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.plan__price .per { color: var(--muted); font-size: .92rem; }
.plan__note { color: var(--muted); font-size: .82rem; margin: 0 0 20px; }
.plan__features { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 11px; }
.plan__features li { position: relative; padding-left: 28px; font-size: .94rem; color: var(--ink); }
.plan__features li::before {
  content: "\2713";
  position: absolute; left: 0; top: 1px;
  width: 19px; height: 19px;
  background: var(--blue-50); color: var(--blue);
  border-radius: 50%; display: grid; place-items: center;
  font-size: .7rem; font-weight: 800;
}
.plan .btn { margin-top: auto; width: 100%; }

/* Feature row (icon + text blocks) */
.featrow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.featrow__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.featrow__icon {
  width: 48px; height: 48px; display: grid; place-items: center;
  background: var(--blue-50); border-radius: 11px; font-size: 1.4rem; margin-bottom: 14px;
}
.featrow__item h3 { margin: 0 0 8px; color: var(--navy); font-size: 1.12rem; }
.featrow__item p { margin: 0; color: var(--muted); font-size: .96rem; }

/* Split feature block */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.split--reverse .split__media { order: -1; }
.split__text h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--navy); margin: 0 0 12px; letter-spacing: -.02em; }
.split__text p { color: var(--muted); font-size: 1.04rem; margin: 0 0 18px; }
.split__media {
  border-radius: var(--radius);
  min-height: 260px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  box-shadow: var(--shadow-lg);
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 1.1rem;
  padding: 28px; text-align: center;
}
.split__media--logo { background: #fff; border: 1px solid var(--line); }
.split__media--logo img { max-width: 78%; height: auto; }

/* FAQ */
.faq { display: grid; gap: 14px; max-width: 820px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; padding: 18px 20px; }
.faq__item summary { font-weight: 600; color: var(--navy); cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; float: right; color: var(--blue); font-weight: 700; }
.faq__item[open] summary::after { content: "\2013"; }
.faq__item p { color: var(--muted); margin: 12px 0 0; font-size: .96rem; }

/* Breadcrumb */
.crumb { font-size: .85rem; color: var(--muted); margin: 0 0 18px; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--blue); }

@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; gap: 24px; }
  .split--reverse .split__media { order: 0; }
}

/* ===========================================================
   Contact + About
   =========================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: start;
}

/* Contact form */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; color: var(--navy); font-size: .92rem; }
.field input,
.field select,
.field textarea {
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-50);
}
.field textarea { resize: vertical; min-height: 130px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__note { font-size: .85rem; color: var(--muted); margin: 4px 0 0; }
.form__status { font-size: .92rem; font-weight: 600; margin: 0; min-height: 1.2em; }
.form__status.is-error { color: #c0392b; }
.form__status.is-ok { color: var(--teal); }

/* Contact info card */
.info-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.info-card h3 { margin: 0 0 18px; color: var(--navy); font-size: 1.15rem; }
.info-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px; }
.info-item__icon {
  width: 38px; height: 38px; flex: 0 0 38px;
  display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue);
  border-radius: 10px; font-size: 1.1rem;
}
.info-item__label { font-weight: 600; color: var(--navy); font-size: .9rem; display: block; }
.info-item a, .info-item span { color: var(--muted); font-size: .95rem; }
.info-item a:hover { color: var(--blue); }

/* About stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 22px;
  text-align: center;
}
.stat {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 20px;
}
.stat strong { display: block; font-size: 2.1rem; color: var(--navy); letter-spacing: -.02em; }
.stat span { color: var(--muted); font-size: .95rem; }

@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .form__row { grid-template-columns: 1fr; }
}

/* ===========================================================
   Legal / policy body text
   =========================================================== */

.legal-body { max-width: 820px; }
.legal-body h2 {
  font-size: 1.25rem;
  color: var(--navy);
  margin: 32px 0 10px;
  letter-spacing: -.01em;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { color: var(--ink); margin: 0 0 14px; }
.legal-body ul { margin: 0 0 14px; padding-left: 20px; color: var(--ink); }
.legal-body li { margin-bottom: 8px; }
.legal-body a { color: var(--blue); }
.legal-note {
  margin-top: 28px;
  padding: 16px 18px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  color: var(--muted);
}
