/* ============================================================
   HYPERLINK V2 — Global Design System
   Theme : Crimson Red + Black + White
   Style : Modern SaaS — rounded cards, gradients, clean grids
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ─── Design Tokens ─────────────────────────────────────── */
:root {
  /* Palette */
  --red:        #dc2626;
  --red-deep:   #b91c1c;
  --red-light:  #ef4444;
  --red-pale:   #fef2f2;
  --red-mid:    #fee2e2;

  --black:      #0a0a0a;
  --dark:       #111111;
  --dark-2:     #1a1a1a;
  --card-dark:  #1e1e1e;

  --white:      #ffffff;
  --off-white:  #fafafa;
  --light:      #f5f5f5;
  --border:     #e8e8e8;
  --border-dk:  #d4d4d4;
  --muted:      #737373;
  --text:       #0a0a0a;
  --text-2:     #404040;

  /* Gradients */
  --grad-red:   linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  --grad-dark:  linear-gradient(135deg, #111111 0%, #1a1a1a 100%);
  --grad-card:  linear-gradient(145deg, #ffffff 0%, #fafafa 100%);
  --grad-hero:  linear-gradient(135deg, #0a0a0a 0%, #1a0505 60%, #2d0808 100%);

  /* Glow */
  --glow-red:   0 0 40px rgba(220,38,38,0.15);
  --glow-card:  0 4px 24px rgba(0,0,0,0.06);
  --glow-hover: 0 8px 40px rgba(220,38,38,0.12);

  /* Typography */
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Layout */
  --max-w:    1220px;
  --nav-h:    70px;
  --radius-sm: 8px;
  --radius:   14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --tr: 0.2s ease;
}

/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── Layout ─────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 1.75rem; }
.section   { padding: 6.5rem 0; }

/* ─── Typography helpers ─────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-pale);
  border: 1px solid var(--red-mid);
  padding: 0.3em 0.9em;
  border-radius: 100px;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.section-label::before {
  content: '';
  width: 18px; height: 2px;
  background: var(--red);
  border-radius: 1px;
  flex-shrink: 0;
}

h1.display {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
}

h2.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text);
}
h2.section-title .accent { color: var(--red); }

h3.card-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.6rem;
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.8rem 1.6rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  transition: all var(--tr);
  cursor: pointer;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform var(--tr); }
.btn:hover svg { transform: translateX(3px); }

.btn-red {
  background: var(--grad-red);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 2px 12px rgba(220,38,38,0.3);
}
.btn-red:hover {
  box-shadow: 0 4px 20px rgba(220,38,38,0.45);
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn-dark:hover { background: var(--dark-2); transform: translateY(-1px); }

.btn-outline {
  background: var(--white);
  color: var(--text);
  border-color: var(--border-dk);
}
.btn-outline:hover { border-color: var(--red); color: var(--red); }

.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-color: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.3); }

.btn-lg { padding: 1rem 2rem; font-size: 0.95rem; }

/* ─── Badges ─────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.28em 0.75em;
  border-radius: 100px;
}
.badge-red   { background: var(--red-pale); color: var(--red); border: 1px solid var(--red-mid); }
.badge-dark  { background: var(--dark-2); color: rgba(255,255,255,0.7); }
.badge-green { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.badge-live::before {
  content: '';
  width: 6px; height: 6px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
  animation: blink 1.6s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

/* ─── Cards ──────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: box-shadow var(--tr), border-color var(--tr), transform var(--tr);
}
.card:hover {
  box-shadow: var(--glow-hover);
  border-color: var(--red-mid);
  transform: translateY(-3px);
}

.card-dark {
  background: var(--card-dark);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color var(--tr), transform var(--tr);
}
.card-dark:hover {
  border-color: rgba(220,38,38,0.35);
  transform: translateY(-3px);
}

/* ─── Feature icon ───────────────────────────────────────── */
.feature-icon {
  width: 48px; height: 48px;
  background: var(--red-pale);
  border: 1px solid var(--red-mid);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.1rem;
  flex-shrink: 0;
}

/* ─── Divider ─────────────────────────────────────────────── */
hr.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ─── Stats strip ────────────────────────────────────────── */
.stats-strip {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
}
.stat-item {
  padding: 2.5rem 1.5rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-number span { color: var(--red); }
.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ─── Testimonials ───────────────────────────────────────── */
.tcard {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--glow-card);
}
.tcard .stars { color: var(--red); font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 0.9rem; }
.tcard p { font-size: 0.92rem; color: var(--text-2); line-height: 1.75; margin-bottom: 1.4rem; }
.tcard-author { display: flex; align-items: center; gap: 0.85rem; }
.tcard-avatar {
  width: 40px; height: 40px;
  background: var(--grad-red);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 700;
}
.tcard-name { font-size: 0.875rem; font-weight: 700; color: var(--text); }
.tcard-role { font-size: 0.78rem; color: var(--muted); }

/* ─── CTA Section ────────────────────────────────────────── */
.cta-band {
  background: var(--grad-hero);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(220,38,38,0.2) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
}
.cta-band .eyebrow { margin-bottom: 1.25rem; background: rgba(220,38,38,0.15); border-color: rgba(220,38,38,0.3); }
.cta-band h2 { font-family: var(--font-head); font-size: clamp(1.8rem,3.5vw,3rem); font-weight:700; color:var(--white); margin-bottom: 1rem; letter-spacing:-0.025em; }
.cta-band p  { color: rgba(255,255,255,0.5); max-width: 480px; margin: 0 auto 2.5rem; font-size:1rem; }
.cta-btns   { display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; }

/* ─── Footer ─────────────────────────────────────────────── */
footer {
  background: var(--black);
  padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 2rem;
}
.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.footer-logo-icon {
  width: 32px; height: 32px;
  background: var(--grad-red);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
}
.footer-logo-icon svg { width: 16px; height: 16px; fill: white; }
.footer-brand-name {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}
.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.75;
  max-width: 270px;
  margin-bottom: 1.5rem;
}
.f-socials { display: flex; gap: 0.6rem; }
.f-social {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  transition: all var(--tr);
}
.f-social:hover { border-color: var(--red); color: var(--red); }

.footer-col h5 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  margin-bottom: 1.1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a { font-size: 0.875rem; color: rgba(255,255,255,0.5); transition: color var(--tr); }
.footer-col a:hover { color: var(--white); }

.f-contact-row { display: flex; gap: 0.6rem; align-items: flex-start; margin-bottom: 0.65rem; font-size: 0.85rem; color: rgba(255,255,255,0.45); }
.f-contact-row .ic { color: var(--red); flex-shrink: 0; }
.f-contact-row a { color: inherit; transition: color var(--tr); }
.f-contact-row a:hover { color: var(--white); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.22); }
.f-legal { display: flex; gap: 1.5rem; }
.f-legal a { font-size: 0.78rem; color: rgba(255,255,255,0.22); transition: color var(--tr); }
.f-legal a:hover { color: rgba(255,255,255,0.5); }

/* ─── Page hero (inner pages) ────────────────────────────── */
.inner-hero {
  background: var(--grad-hero);
  padding: calc(var(--nav-h) + 4.5rem) 0 5rem;
  position: relative;
  overflow: hidden;
}
.inner-hero::after {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(220,38,38,0.18) 0%, transparent 65%);
  top: -20%; right: -10%;
  pointer-events: none;
  border-radius: 50%;
}
.inner-hero .eyebrow { margin-bottom: 1.25rem; }
.inner-hero h1 { margin-bottom: 1.25rem; }
.inner-hero .sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.55);
  max-width: 560px;
  line-height: 1.72;
  margin-bottom: 2.25rem;
}
.inner-hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ─── FAQ ─────────────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  gap: 1rem;
  transition: color var(--tr);
}
.faq-question:hover { color: var(--red); }
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border-dk);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  color: var(--red);
  transition: all var(--tr);
}
.faq-item.open .faq-icon { background: var(--red); color: var(--white); border-color: var(--red); transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p { font-size: 0.92rem; color: var(--muted); line-height: 1.75; padding-bottom: 1.25rem; }

/* ─── Animations ─────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.06); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none !important; }
  .nav-hamburger { display: flex !important; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-btns { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .section { padding: 4.5rem 0; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
}
