/* ==========================================================================
   InfiniteLimits — Shared Stylesheet
   ========================================================================== */

@font-face {
  font-family: 'Futura Oblique';
  src: url('../fonts/Futura_Oblique.woff2') format('woff2'),
       url('../fonts/Futura_Oblique.woff') format('woff'),
       url('../fonts/Futura_Oblique.ttf') format('truetype');
  font-weight: normal;
  font-style: oblique;
  font-display: swap;
}

@font-face {
  font-family: 'Futura Thin';
  src: url('../fonts/Futura_Thin.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand: #00a0e3;
  --brand-dark: #0077ab;
  --brand-darker: #0b2a3c;
  --ink: #1c2b33;
  --ink-soft: #46606e;
  --bg: #ffffff;
  --bg-alt: #f2f8fb;
  --card: #ffffff;
  --border: #dbe8ef;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(11, 42, 60, 0.08);
  --shadow-lg: 0 12px 40px rgba(11, 42, 60, 0.14);
  --max: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}

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

a { color: var(--brand-dark); }

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

h1, h2, h3, h4 { line-height: 1.2; color: var(--brand-darker); }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }

.lead { font-size: 1.15rem; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   Top bar
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--brand-darker);
  color: #cfe8f5;
  font-size: 0.88rem;
}
.topbar .container {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  padding-top: 6px;
  padding-bottom: 6px;
}
.topbar a { color: #cfe8f5; text-decoration: none; }
.topbar a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo img { height: 34px; width: auto; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.7rem;
  color: var(--brand-darker);
  line-height: 1;
}

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.main-nav a {
  display: block;
  padding: 8px 13px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 8px;
  white-space: nowrap;
}
.main-nav a:hover { background: var(--bg-alt); color: var(--brand-dark); }
.main-nav a.active { color: var(--brand-dark); }
.main-nav a.btn-nav {
  background: var(--brand);
  color: #fff;
}
.main-nav a.btn-nav:hover { background: var(--brand-dark); color: #fff; }

/* Dropdown */
.has-dropdown { position: relative; }
.has-dropdown > a::after { content: ' ▾'; font-size: 0.7em; }
.main-nav ul.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  min-width: 250px;
  padding: 8px;
  list-style: none;
  z-index: 200;
}
.has-dropdown:hover ul.dropdown,
.has-dropdown:focus-within ul.dropdown { display: block; }
.dropdown a { padding: 9px 14px; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  background: linear-gradient(135deg, var(--brand-darker) 0%, #10425c 55%, var(--brand-dark) 100%);
  color: #eaf6fc;
  padding: 84px 0;
}
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero .lead { color: #bfe0f0; max-width: 720px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  background: #fff;
}
.hero-actions { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-outline { border: 2px solid rgba(255,255,255,0.6); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-outline-dark { border: 2px solid var(--brand); color: var(--brand-dark); }
.btn-outline-dark:hover { background: var(--brand); color: #fff; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: 72px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-head p { margin-top: 12px; color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 2.34rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 10px;
}

/* Card grids */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.18s, box-shadow 0.18s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 0.97rem; }
.card .card-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #e1f4fc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.card .card-icon svg {
  width: 43px;
  height: 43px;
  fill: var(--brand);
}
.card-link { text-decoration: none; color: inherit; display: block; }
.card .more { display: inline-block; margin-top: 14px; font-weight: 600; color: var(--brand-dark); }

.card-img {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: var(--bg-alt);
  border-radius: 10px;
  padding: 14px;
}
.card-img img { max-height: 120px; width: auto; object-fit: contain; }

/* Split (text + media) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.split h2 { margin-bottom: 16px; }
.split p { color: var(--ink-soft); margin-bottom: 14px; }

/* Feature list with ticks */
.ticks { list-style: none; margin-top: 14px; }
.ticks li {
  padding-left: 32px;
  position: relative;
  margin-bottom: 11px;
  color: var(--ink-soft);
}
.ticks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Pricing */
.price-card { text-align: center; position: relative; }
.price-card .price {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--brand-darker);
  margin: 12px 0 4px;
}
.price-card .per { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 18px; }
.price-card .ticks { text-align: left; margin: 18px auto; max-width: 260px; }
.price-card .btn { margin-top: 10px; }
.badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  padding: 4px 16px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Stats strip */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  text-align: center;
}
.stats .stat b {
  display: block;
  font-size: 2.2rem;
  color: var(--brand);
  line-height: 1.1;
}
.stats .stat span { color: var(--ink-soft); font-size: 0.92rem; }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--brand-dark), var(--brand));
  color: #fff;
  padding: 60px 0;
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: #e2f4fd; max-width: 640px; margin: 0 auto 26px; }

/* Logo strip */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
}
.logo-strip img { max-height: 56px; width: auto; filter: grayscale(0.2); }

/* Tables */
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.spec-table th, .spec-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.spec-table th { background: var(--bg-alt); color: var(--brand-darker); }

/* --------------------------------------------------------------------------
   Page hero (interior pages)
   -------------------------------------------------------------------------- */
.page-hero {
  background: linear-gradient(135deg, var(--brand-darker) 0%, #10425c 60%, var(--brand-dark) 100%);
  color: #eaf6fc;
  padding: 64px 0;
}
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero .lead { color: #bfe0f0; max-width: 780px; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.contact-info h3 { margin: 22px 0 6px; }
.contact-info p { color: var(--ink-soft); }
.contact-form label {
  display: block;
  font-weight: 600;
  margin: 16px 0 6px;
  font-size: 0.92rem;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
  background: #fff;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 2px solid var(--brand);
  border-color: transparent;
}
.contact-form button { margin-top: 22px; border: none; cursor: pointer; font-size: 1rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--brand-darker);
  color: #9fc3d6;
  padding: 56px 0 28px;
  font-size: 0.93rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.site-footer h4 { color: #fff; margin-bottom: 14px; font-size: 1rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #9fc3d6; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-logo img { height: 30px; width: auto; margin-bottom: 14px; filter: brightness(0) invert(1); opacity: 0.9; }
.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: 12px;
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; padding: 12px 18px; }
  .main-nav a { padding: 12px 10px; }
  .main-nav ul.dropdown {
    display: block;
    position: static;
    border: none;
    box-shadow: none;
    padding-left: 18px;
  }
  .has-dropdown > a::after { content: ''; }
  .topbar .container { justify-content: center; }
}
