/* GRCfy Maestro — shared styles for new-site SEO landing pages
   Tokens/nav/footer mirrored from ../index.html to keep brand consistent. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: #0a0f1e;
  color: #f0f6ff;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

:root {
  --navy:    #0a0f1e;
  --navy2:   #111827;
  --navy3:   #1a2235;
  --navy4:   #1e293b;
  --accent:  #00e5c0;
  --accent2: #3b82f6;
  --accent3: #a78bfa;
  --accent4: #f59e0b;
  --accent5: #f43f5e;
  --accent6: #10b981;
  --muted:   #8899b0;
  --lighter: #b8cce0;
  --white:   #f0f6ff;
  --border:  rgba(255,255,255,0.08);
  --card:    rgba(255,255,255,0.04);
  --radius:  14px;
  --radius-lg: 18px;
}

h1, h2, h3, h4, h5 { font-family: 'Syne', sans-serif; line-height: 1.1; }
h1 { font-size: clamp(32px,5vw,52px); font-weight: 800; letter-spacing: -1.5px; }
h2 { font-size: clamp(26px,3.6vw,38px); font-weight: 800; letter-spacing: -1px; }
h3 { font-size: clamp(17px,2.2vw,20px); font-weight: 700; }
p  { line-height: 1.7; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 40px; }
section { padding: 76px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,229,192,0.1); border: 1px solid rgba(0,229,192,0.25);
  border-radius: 100px; padding: 5px 15px;
  font-size: 11px; font-weight: 700; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 20px;
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.35} }
.section-sub { color: var(--muted); font-size: 16px; line-height: 1.75; max-width: 620px; margin-top: 14px; }
.accent-text  { color: var(--accent); }
.gradient-text {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #0a0f1e; border: none;
  border-radius: 10px; padding: 14px 28px;
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 14px;
  transition: all 0.2s; white-space: nowrap; cursor: pointer;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0,229,192,0.28); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--lighter);
  border: 1px solid var(--border); border-radius: 10px;
  padding: 14px 28px; font-family: 'Syne', sans-serif;
  font-weight: 600; font-size: 14px; transition: all 0.2s; white-space: nowrap; cursor: pointer;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.25); color: var(--white); }

/* NAV */
nav { position: sticky; top: 0; z-index: 200; background: rgba(10,15,30,0.92); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 40px; max-width: 1160px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo-mark { width: 36px; height: 36px; border-radius: 9px; background: linear-gradient(135deg, var(--accent), var(--accent2)); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-mark svg { width: 18px; height: 18px; }
.logo-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 19px; letter-spacing: -0.3px; color: #fff; }
.logo-name span { color: #cf9868; }
.logo-img { height: 44px; width: auto; border-radius: 6px; display: block; }
.logo-img-footer { height: 40px; }
.nav-links { display: flex; gap: 28px; flex-shrink: 0; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 500; transition: color 0.2s; white-space: nowrap; }
.nav-links a:hover { color: var(--white); }
.nav-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-signin { color: var(--muted); font-size: 13px; font-weight: 500; transition: color 0.2s; white-space: nowrap; }
.nav-signin:hover { color: var(--white); }
.nav-cta { background: var(--accent); color: #0a0f1e; border: none; border-radius: 8px; padding: 10px 22px; font-family: 'Syne', sans-serif; font-weight: 700; font-size: 13px; transition: opacity 0.2s; display: inline-block; cursor: pointer; }
.nav-cta:hover { opacity: 0.85; }
.nav-hamburger { display: none; }

/* HERO */
.hero-section { padding: 80px 0 64px; position: relative; overflow: hidden; }
.hero-section::before { content:''; position:absolute; inset:0; background: radial-gradient(ellipse 80% 55% at 50% 0%, rgba(0,229,192,0.12) 0%, transparent 68%); pointer-events:none; }
.hero-section .container { position: relative; z-index: 1; }
.hero-section h1 { color: var(--white); margin-bottom: 20px; max-width: 820px; }
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.breadcrumb { font-size: 12.5px; color: var(--muted); margin-bottom: 22px; }
.breadcrumb a { color: var(--muted); } .breadcrumb a:hover { color: var(--accent); }
.hero-trust { display: flex; align-items: center; gap: 0; margin-top: 48px; flex-wrap: wrap; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--card); overflow: hidden; max-width: 760px; }
.hero-trust-item { flex: 1; min-width: 130px; padding: 20px 18px; text-align: center; border-right: 1px solid var(--border); }
.hero-trust-item:last-child { border-right: none; }
.ht-num { font-family: 'DM Mono', monospace; font-size: 24px; font-weight: 500; color: var(--accent); margin-bottom: 4px; }
.ht-lbl { font-size: 10.5px; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }

/* SECTIONS */
.alt-bg { background: var(--navy2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin-top: 44px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.info-card { background: var(--navy2); padding: 30px 26px; }
.info-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; color: var(--white); }
.info-card p { font-size: 13.5px; color: var(--muted); line-height: 1.65; }
.info-card .card-icon { width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 19px; margin-bottom: 16px; background: rgba(0,229,192,0.12); }

.pill-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.pill { font-size: 13px; font-weight: 600; padding: 8px 18px; border-radius: 100px; border: 1px solid; }
.pill-teal  { background: rgba(0,229,192,0.1);  border-color: rgba(0,229,192,0.3);  color: #00bfa5; }
.pill-blue  { background: rgba(59,130,246,0.1); border-color: rgba(59,130,246,0.3); color: #60a5fa; }
.pill-purple{ background: rgba(167,139,250,0.1);border-color: rgba(167,139,250,0.3);color: #a78bfa; }
.pill-amber { background: rgba(245,158,11,0.1); border-color: rgba(245,158,11,0.3); color: #fbbf24; }
.pill-green { background: rgba(16,185,129,0.1); border-color: rgba(16,185,129,0.3); color: #34d399; }

/* COMPARISON TABLE */
.compare-wrap { margin-top: 44px; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--navy3); }
table.compare { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.compare th, table.compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); }
table.compare th { font-family: 'Syne', sans-serif; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); background: rgba(255,255,255,0.02); }
table.compare td { color: var(--lighter); }
table.compare tr:last-child td { border-bottom: none; }
table.compare td.yes { color: var(--accent); font-weight: 700; }
table.compare td.no { color: var(--muted); }

/* NUMBERED STEPS */
.steps-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin-top: 48px; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.step { padding: 32px 24px; border-right: 1px solid var(--border); }
.step:last-child { border-right: none; }
.step-num { font-family: 'DM Mono', monospace; font-size: 11px; font-weight: 500; color: var(--accent); margin-bottom: 12px; letter-spacing: 0.08em; }
.step h3 { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* FAQ */
.faq-list { margin-top: 40px; display: flex; flex-direction: column; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.faq-item { background: var(--navy2); padding: 22px 26px; }
.faq-item h3 { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.faq-item p { font-size: 13.5px; color: var(--muted); }

/* CROSS-LINK CARDS */
.cross-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-top: 44px; }
.cross-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; transition: all 0.15s; }
.cross-card:hover { background: rgba(0,229,192,0.06); border-color: rgba(0,229,192,0.25); transform: translateY(-2px); }
.cross-card .cc-icon { font-size: 22px; margin-bottom: 10px; }
.cross-card h4 { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.cross-card p { font-size: 12px; color: var(--muted); }

/* CTA */
.cta-section { padding: 90px 0; text-align: center; background: var(--navy2); border-top: 1px solid var(--border); position: relative; overflow: hidden; }
.cta-section::before { content:''; position:absolute; inset:0; background: radial-gradient(ellipse 60% 60% at 50% 100%, rgba(0,229,192,0.08) 0%, transparent 70%); pointer-events:none; }
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section .section-sub { margin: 0 auto 36px; text-align: center; }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cta-note { margin-top: 18px; font-size: 13px; color: var(--muted); }

/* FOOTER */
footer { background: #070c18; padding: 56px 40px 32px; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1160px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid var(--border); margin-bottom: 28px; }
.footer-brand p { font-size: 13px; color: var(--muted); line-height: 1.7; margin-top: 14px; max-width: 280px; }
.footer-col h4 { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.3); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 13px; color: var(--muted); transition: color 0.15s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,0.3); transition: color 0.15s; }
.footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* Nav links need more room than the general 960px breakpoint below — hide them
   earlier so the row never gets squeezed into an overlapping, unshrinkable state
   between ~960-1160px. */
@media (max-width: 1140px) {
  .nav-links { display: none; }
}
@media (max-width: 960px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .step { border-bottom: 1px solid var(--border); }
  .cross-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  table.compare { font-size: 12.5px; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  nav .nav-inner { padding: 14px 20px; }
  section { padding: 56px 0; }
  .card-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .cross-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-trust { flex-direction: column; }
  .hero-trust-item { border-right: none; border-bottom: 1px solid var(--border); width: 100%; }
  .hero-trust-item:last-child { border-bottom: none; }
  table.compare { display: block; overflow-x: auto; white-space: nowrap; }
}
