/* ============================================================
   Infinite Data Supply — idscanada.com
   Dark aurora theme · teal/green accents · Sora + Inter
   ============================================================ */

:root {
  --bg: #0b1215;
  --bg-alt: #0f181c;
  --surface: #142025;
  --surface-2: #1a2930;
  --line: rgba(148, 210, 200, 0.12);
  --text: #e8f1ef;
  --text-dim: #9db4b0;
  --accent: #2dd4bf;
  --accent-2: #6ee7a0;
  --accent-grad: linear-gradient(90deg, #2dd4bf, #6ee7a0);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --font-head: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; }

img, svg { max-width: 100%; }

.container { width: min(1140px, 92%); margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  white-space: nowrap;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--accent-grad);
  color: #06231e;
  box-shadow: 0 8px 24px rgba(45, 212, 191, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(45, 212, 191, 0.4); }

.btn-ghost {
  color: var(--text);
  border: 1px solid rgba(148, 210, 200, 0.35);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-block { width: 100%; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 18, 21, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
}
.brand-mark { width: 38px; height: 38px; flex-shrink: 0; }
.brand-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}
.brand-text em { font-style: normal; color: var(--accent); }

.nav-links {
  display: flex;
  gap: 1.8rem;
  margin-left: auto;
}
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }

.nav-cta { padding: 0.6rem 1.3rem; font-size: 0.88rem; }

.lang-toggle {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  background: transparent;
  border: 1px solid rgba(148, 210, 200, 0.35);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.lang-toggle:hover { color: var(--accent); border-color: var(--accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 7rem 0 5.5rem;
  text-align: center;
}

.hero-glow {
  position: absolute;
  inset: -40% -20% auto;
  height: 130%;
  background:
    radial-gradient(ellipse 45% 50% at 30% 20%, rgba(45, 212, 191, 0.16), transparent 65%),
    radial-gradient(ellipse 40% 45% at 72% 15%, rgba(110, 231, 160, 0.12), transparent 65%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 210, 200, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 210, 200, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
  pointer-events: none;
}

.hero-inner { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(20, 32, 37, 0.6);
  color: var(--text-dim);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 1.6rem;
}
.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 10px var(--accent-2);
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 18ch;
  margin: 0 auto 1.4rem;
}

.accent {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 58ch;
  margin: 0 auto 2.4rem;
  color: var(--text-dim);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.6rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 6vw, 4.5rem);
  flex-wrap: wrap;
}
.hero-stats dt {
  font-family: var(--font-head);
  font-size: 2rem;
  line-height: 2.6rem;
  font-weight: 700;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stats dt.dt-text {
  font-size: 1.3rem;
  line-height: 2.6rem;
  white-space: nowrap;
}
.hero-stats dd { color: var(--text-dim); font-size: 0.9rem; }

/* ---------- Partner ticker ---------- */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
  overflow: hidden;
  padding: 1.1rem 0;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.ticker-track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: ticker 45s linear infinite;
}
.ticker-track span {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(157, 180, 176, 0.55);
  white-space: nowrap;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section { padding: 6rem 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.kicker {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.section-head { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.section-head h2, .split-copy h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 1.1rem;
}
.section-sub { color: var(--text-dim); }

/* ---------- Split layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split-reverse .split-copy { order: 2; }
.split-reverse .split-panel { order: 1; }

.split-copy p { color: var(--text-dim); margin-bottom: 1.1rem; }

.checklist { list-style: none; margin-top: 1.6rem; }
.checklist li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.8rem;
  font-weight: 500;
}
.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306231e' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat,
    linear-gradient(90deg, #2dd4bf, #6ee7a0);
}

/* ---------- Panels & cards ---------- */
.panel-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.panel-row { display: flex; gap: 1rem; align-items: flex-start; }
.panel-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 12px;
  color: var(--accent);
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.25);
}
.panel-icon svg { width: 22px; height: 22px; }
.panel-row h3 { font-size: 1.02rem; margin-bottom: 0.25rem; }
.panel-row p { color: var(--text-dim); font-size: 0.92rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 1.9rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(45, 212, 191, 0.4);
  box-shadow: var(--shadow);
}
.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 1.4rem;
  color: var(--accent);
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.25);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.15rem; margin-bottom: 0.7rem; }
.card p { color: var(--text-dim); font-size: 0.95rem; }

/* ---------- Expertise stat ---------- */
.stat-hero {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.6rem 2.4rem;
  box-shadow: var(--shadow);
}
.stat-number, .stat-plus {
  font-family: var(--font-head);
  font-size: 4.4rem;
  font-weight: 800;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.stat-label { color: var(--text-dim); margin: 0.9rem 0 2rem; }

.stat-points { display: flex; flex-direction: column; }
.stat-point {
  padding: 1.05rem 0;
  border-top: 1px solid var(--line);
}
.stat-point h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}
.stat-point p { color: var(--text-dim); font-size: 0.92rem; }

/* ---------- Partners — borderless flowing list ---------- */
.partner-flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  column-gap: 2.6rem;
  row-gap: 1.3rem;
  max-width: 900px;
  margin: 0 auto;
}
.partner-item {
  position: relative;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  letter-spacing: 0.06em;
  color: var(--text-dim);
  white-space: nowrap;
  transition: color 0.2s ease;
}
.partner-item:hover { color: var(--accent); }
.partner-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1.45rem;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(45, 212, 191, 0.45);
  transform: translateY(-50%);
}
.partner-item.row-end::after { display: none; }

.partner-list-head {
  text-align: center;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 2.2rem;
}

.partner-note {
  text-align: center;
  color: rgba(157, 180, 176, 0.75);
  font-size: 0.9rem;
  font-style: italic;
  margin-top: 2.8rem;
}

/* ---------- Contact ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2rem;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 1.2rem; }
.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.7rem;
}
.info-card h3 {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.info-card p { color: var(--text-dim); }
.info-card a { color: var(--text); text-decoration: none; font-weight: 600; }
.info-card a:hover { color: var(--accent); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { margin-bottom: 1.2rem; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}
.field input, .field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.15);
}
.field ::placeholder { color: rgba(157, 180, 176, 0.5); }

.hidden-field { display: none; }

/* ---------- Footer ---------- */
.footer {
  background: #080e11;
  border-top: 1px solid var(--line);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-brand p { color: var(--text-dim); font-size: 0.92rem; margin-top: 1rem; max-width: 34ch; }
.footer-col h4 {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.92rem;
  margin-bottom: 0.55rem;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--accent); }
.footer-col p { color: var(--text-dim); font-size: 0.92rem; margin-top: 0.4rem; }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0;
  text-align: center;
}
.footer-bottom p { color: rgba(157, 180, 176, 0.6); font-size: 0.85rem; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split-reverse .split-copy { order: 1; }
  .split-reverse .split-panel { order: 2; }
  .cards { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(11, 18, 21, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 0.6rem 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.8rem 5%; }
  .nav-cta { display: none; }
  .lang-toggle { margin-left: auto; }
  .nav-toggle { display: flex; }
  .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); }
}

@media (max-width: 720px) {
  .hero { padding: 4.5rem 0 4rem; }
  .section { padding: 4rem 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
