/* =====================================================================
   IntelSDR — landing page
   ---------------------------------------------------------------------
   Dark-default, premium SaaS aesthetic. Mirrors the popup palette:
   warm-neutral text, indigo accent (#5b5ef7 / #8b8dff), layered shadows.
   ===================================================================== */

:root {
  /* Type */
  --font-sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  /* Dark theme (default) */
  --bg: #080a0f;
  --bg-elevated: #0e1118;
  --bg-inset: #11141c;
  --surface: #14182090;
  --surface-strong: #1a1f2a;
  --border: rgba(255, 255, 255, 0.075);
  --border-strong: rgba(255, 255, 255, 0.14);

  --ink: #fafaf9;
  --text: #d9dde7;
  --text-muted: #9ca3b7;
  --text-faint: #5d6478;

  --accent: #8b8dff;
  --accent-hot: #6366f1;
  --accent-soft: rgba(139, 141, 255, 0.16);
  --accent-glow: rgba(99, 102, 241, 0.55);

  --success: #4ade80;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 14px -4px rgba(0, 0, 0, 0.45),
    0 18px 40px -16px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 12px 30px -8px rgba(0, 0, 0, 0.55),
    0 32px 80px -24px rgba(0, 0, 0, 0.6);

  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-pill: 999px;

  --t-fast: 140ms cubic-bezier(0.4, 0, 0.2, 1);
  --t: 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* Subtle texture: two soft glows that anchor the indigo brand without
     turning the page into a Discord landing-from-2022. */
  background-image:
    radial-gradient(60% 40% at 80% -10%, rgba(99, 102, 241, 0.18), transparent 70%),
    radial-gradient(50% 35% at 10% 5%, rgba(139, 141, 255, 0.10), transparent 70%);
  background-attachment: fixed;
}

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

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

button {
  font-family: inherit;
}

/* ---------- Layout helpers ---------- */

.section {
  max-width: 1140px;
  margin: 0 auto;
  padding: 96px 32px;
}

@media (max-width: 680px) {
  .section {
    padding: 72px 20px;
  }
}

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

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-title {
  margin: 0 0 16px;
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--ink);
}

@media (max-width: 680px) {
  .section-title {
    font-size: 30px;
  }
}

.section-sub {
  margin: 0;
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--r-md);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--t-fast), background var(--t),
    border-color var(--t), box-shadow var(--t), color var(--t);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(180deg, #6366f1 0%, #4f46e5 100%);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 8px 24px -10px var(--accent-glow),
    0 1px 2px rgba(0, 0, 0, 0.45);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #7375f4 0%, #5a52ea 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 14px 36px -10px var(--accent-glow),
    0 2px 4px rgba(0, 0, 0, 0.5);
}

.btn-ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
}

.btn-lg {
  padding: 16px 28px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 32px;
  background: rgba(8, 10, 15, 0.7);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent-hot), var(--accent));
  color: #ffffff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.16) inset,
    0 4px 14px -6px var(--accent-glow);
}

.brand-name {
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.nav-links {
  display: flex;
  gap: 28px;
}

@media (max-width: 680px) {
  .nav-links {
    display: none;
  }
}

.nav-link {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--t-fast);
}

.nav-link:hover {
  color: var(--ink);
}

.nav-cta {
  display: inline-flex;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 32px 96px;
}

@media (max-width: 680px) {
  .hero {
    padding: 64px 20px 72px;
  }
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(40% 40% at 20% 30%, rgba(99, 102, 241, 0.22), transparent 70%),
    radial-gradient(35% 35% at 80% 60%, rgba(139, 141, 255, 0.18), transparent 70%);
  filter: blur(8px);
  opacity: 0.9;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 64px;
}

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  border: 1px solid rgba(139, 141, 255, 0.28);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  margin: 0 0 22px;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--ink);
}

@media (max-width: 980px) {
  .hero-title {
    font-size: 44px;
  }
}

@media (max-width: 680px) {
  .hero-title {
    font-size: 36px;
  }
}

.grad {
  background: linear-gradient(120deg, #a5b4fc 0%, #6366f1 60%, #818cf8 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  margin: 0 0 32px;
  font-size: 18.5px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-muted);
}

.hero-meta li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.15);
  color: var(--success);
  flex-shrink: 0;
}

/* ---------- Hero visual: popup mock ---------- */

.hero-visual {
  position: relative;
}

.popup-mock {
  position: relative;
  background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg-inset) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  padding: 22px;
  box-shadow: var(--shadow-lg),
    0 0 0 1px rgba(139, 141, 255, 0.08),
    0 0 60px -20px var(--accent-glow);
  transform: perspective(1200px) rotateY(-3deg) rotateX(2deg);
  transform-origin: center;
}

@media (max-width: 980px) {
  .popup-mock {
    transform: none;
    max-width: 480px;
    margin: 0 auto;
  }
}

.popup-mock-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.popup-mock-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--accent-hot), var(--accent));
  color: #ffffff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.16) inset;
}

.popup-mock-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.popup-mock-status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--text-muted);
}

.popup-mock-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
}

.popup-mock-target {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: var(--surface-strong);
  border: 1px solid var(--border);
  margin-bottom: 14px;
}

.popup-mock-target-label {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  font-weight: 600;
}

.popup-mock-target-name {
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 600;
}

.popup-mock-target-domain {
  font-size: 11.5px;
  color: var(--text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.popup-mock-cta {
  text-align: center;
  padding: 12px;
  border-radius: var(--r-md);
  background: linear-gradient(180deg, #6366f1 0%, #4f46e5 100%);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 14px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 6px 18px -8px var(--accent-glow);
}

.popup-mock-result {
  padding: 14px;
  border-radius: var(--r-md);
  background: var(--bg);
  border: 1px solid var(--border);
}

.popup-mock-result-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--text-faint);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.popup-mock-stats {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}

.popup-mock-line {
  margin: 0 0 8px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text);
}

.popup-mock-line:last-child {
  margin-bottom: 0;
}

/* ---------- How it works ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

.step {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--r-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}

.step:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 141, 255, 0.35);
  box-shadow: var(--shadow-md),
    0 0 0 1px rgba(139, 141, 255, 0.12);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
  border: 1px solid rgba(139, 141, 255, 0.28);
}

.step-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.step-body {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ---------- Features ---------- */

.section-features {
  /* Slightly recessed plate to break the rhythm. */
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 255, 255, 0.015) 50%,
    transparent 100%
  );
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 980px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.feature {
  padding: 24px;
  border-radius: var(--r-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  transition: transform var(--t), border-color var(--t);
}

.feature:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 14px;
}

.feature-title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.feature-body {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ---------- Pricing ---------- */

.section-pricing {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.price-card {
  width: 100%;
  max-width: 460px;
  padding: 36px;
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg-inset) 100%);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg),
    0 0 0 1px rgba(139, 141, 255, 0.10),
    0 0 60px -20px var(--accent-glow);
}

.price-card-head {
  text-align: center;
  margin-bottom: 24px;
}

.price-card-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(139, 141, 255, 0.28);
  margin-bottom: 16px;
}

.price-card-title {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
}

.price-card-sub {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-muted);
}

.price-card-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 28px;
}

.amount-currency {
  font-size: 22px;
  color: var(--text-muted);
  font-weight: 600;
}

.amount-figure {
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.amount-period {
  font-size: 14.5px;
  color: var(--text-muted);
  margin-left: 4px;
}

.price-card-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0 0 24px;
  border-bottom: 1px dashed var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-card-list li {
  position: relative;
  padding-left: 28px;
  font-size: 14.5px;
  color: var(--text);
}

.price-card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.15);
}

.price-card-list li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--success);
  border-bottom: 2px solid var(--success);
  transform: rotate(-45deg);
}

.price-card-foot {
  margin: 14px 0 0;
  font-size: 12.5px;
  color: var(--text-faint);
  text-align: center;
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: var(--r-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color var(--t);
}

.faq-item[open] {
  border-color: var(--border-strong);
}

.faq-q {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-q::-webkit-details-marker {
  display: none;
}

.faq-q::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 16px;
  font-weight: 600;
  flex-shrink: 0;
  transition: transform var(--t), background var(--t);
}

.faq-item[open] .faq-q::after {
  content: "−";
  transform: rotate(0deg);
}

.faq-a {
  padding: 0 22px 20px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.faq-a p {
  margin: 0 0 10px;
}

.faq-a p:last-child {
  margin-bottom: 0;
}

.faq-a a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(139, 141, 255, 0.4);
}

.faq-a a:hover {
  text-decoration-color: var(--accent);
}

/* ---------- Final CTA ---------- */

.section-cta {
  padding-bottom: 120px;
}

.cta-card {
  text-align: center;
  padding: 64px 32px;
  border-radius: var(--r-xl);
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(99, 102, 241, 0.22), transparent 70%),
    linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg-inset) 100%);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
}

.cta-title {
  margin: 0 0 14px;
  font-size: 36px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

@media (max-width: 680px) {
  .cta-title {
    font-size: 28px;
  }
}

.cta-sub {
  margin: 0 auto 28px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 540px;
}

/* ---------- Footer ---------- */

.footer {
  padding: 40px 32px 56px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.footer-tag {
  font-size: 12.5px;
  color: var(--text-faint);
  margin-left: 4px;
}

@media (max-width: 680px) {
  .footer-tag {
    display: none;
  }
}

.footer-links {
  display: flex;
  gap: 22px;
}

.footer-links a {
  font-size: 13.5px;
  color: var(--text-muted);
  transition: color var(--t-fast);
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-copy {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-faint);
}

@media (max-width: 680px) {
  .footer-copy {
    flex-basis: 100%;
    text-align: center;
  }
}
