/* ============================================
   CadCadOS Landing Page Styles
   Dark tech aesthetic — professional, bold
   ============================================ */

:root {
  --bg: #070a12;
  --surface: #0d1627;
  --surface2: #111c33;
  --border: rgba(0, 229, 160, 0.12);
  --accent: #00e5a0;
  --accent-dim: rgba(0, 229, 160, 0.08);
  --accent-muted: rgba(0, 229, 160, 0.5);
  --text: #e8edf5;
  --text-muted: #7a8899;
  --text-dim: #4a5666;
  --heading-font: 'Syne', system-ui, sans-serif;
  --body-font: 'DM Sans', system-ui, sans-serif;
  --radius: 10px;
  --max-w: 1100px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- Background Grid ---- */
.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(0, 229, 160, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 160, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 70%);
}

/* ---- Layout ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

section { position: relative; z-index: 1; }

/* ---- Nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

/* ---- Hero ---- */
.hero {
  padding: 80px 32px 60px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--heading-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.hero-headline {
  font-family: var(--heading-font);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
  max-width: 680px;
}

.headline-accent { color: var(--accent); }

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #070a12;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: var(--radius);
  transition: opacity 0.2s, transform 0.2s;
}

.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-ghost {
  display: inline-block;
  color: var(--text-muted);
  font-family: var(--body-font);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  padding: 14px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover { border-color: var(--accent-muted); color: var(--text); }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 60px;
}

.stat {
  display: flex;
  flex-direction: column;
  padding: 0 40px 0 0;
}

.stat:first-child { padding-left: 0; }

.stat-num {
  font-family: var(--heading-font);
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 400;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  margin-right: 40px;
}

.hero-grid-graphic {
  width: 100%;
  max-width: 660px;
  opacity: 0.9;
}

.hero-grid-graphic svg { width: 100%; height: auto; }

/* ---- Trust Strip ---- */
.truststrip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 32px;
  text-align: center;
  background: var(--accent-dim);
}

.truststrip-label {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 10px;
  font-weight: 500;
}

.truststrip-countries {
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.dot-sep { color: var(--text-dim); font-weight: 400; }

/* ---- Section Headers ---- */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.section-eyebrow {
  font-family: var(--heading-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--heading-font);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 16px;
}

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

/* ---- Pricing ---- */
.pricing {
  padding: 100px 32px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.pricing-table {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.pricing-row {
  display: grid;
  grid-template-columns: 1.5fr 1.5fr 1fr 1fr;
  padding: 18px 28px;
  align-items: center;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.pricing-row:last-child { border-bottom: none; }
.pricing-row:hover { background: var(--surface); }

.pricing-header-row {
  background: var(--surface);
  font-family: var(--heading-font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.product-name {
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.official-price {
  font-size: 14px;
  color: var(--text-dim);
  text-decoration: line-through;
}

.our-price {
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}

.savings-tag {
  font-family: var(--heading-font);
  font-size: 14px;
  font-weight: 700;
  color: #ff7c5b;
  background: rgba(255, 124, 91, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
  text-align: center;
}

.pricing-note {
  margin-top: 20px;
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
}

/* ---- Process ---- */
.process {
  padding: 100px 32px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.process-step {
  flex: 1;
  min-width: 220px;
  max-width: 280px;
  text-align: center;
  padding: 0 20px;
}

.step-num {
  font-family: var(--heading-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-muted);
  margin-bottom: 16px;
}

.step-icon {
  margin: 0 auto 20px;
  width: 64px;
  height: 64px;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-title {
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.step-connector {
  display: flex;
  align-items: center;
  padding-top: 32px;
  flex-shrink: 0;
}

/* ---- Testimonials ---- */
.testimonials {
  padding: 100px 32px;
  max-width: var(--max-w);
  margin: 0 auto;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
}

.stars {
  color: #ffd60a;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

blockquote {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.author-name {
  font-family: var(--heading-font);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.author-loc {
  font-size: 12px;
  color: var(--text-dim);
}

/* ---- Guarantees ---- */
.guarantees {
  padding: 100px 32px;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.guarantee-card {
  padding: 40px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.guarantee-icon { flex-shrink: 0; }

.guarantee-text h3 {
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.guarantee-text p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- Closing ---- */
.closing {
  padding: 120px 32px;
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
  border-top: 1px solid var(--border);
}

.closing-inner { max-width: 720px; margin: 0 auto; }

.closing-headline {
  font-family: var(--heading-font);
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 28px;
}

.closing-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.closing-sub--accent {
  color: var(--text);
  font-weight: 500;
}

/* ---- Footer ---- */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 32px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-legal {
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hero { padding: 60px 20px 40px; }
  .hero-headline { font-size: 36px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .stat-divider { display: none; }
  .stat { padding: 0; }
  .pricing { padding: 60px 20px; }
  .pricing-row { grid-template-columns: 1fr 1fr; gap: 8px; }
  .pricing-header-row span:nth-child(2),
  .official-price { display: none; }
  .testimonials { padding: 60px 20px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .process { padding: 60px 20px; }
  .process-steps { flex-direction: column; align-items: center; gap: 40px; }
  .step-connector { display: none; }
  .guarantees { grid-template-columns: 1fr 1fr; padding: 60px 20px; }
  .closing { padding: 80px 20px; }
  .nav-links { display: none; }
  .pricing-row { grid-template-columns: 1fr auto auto; }
  .pricing-header-row span:nth-child(2) { display: none; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 30px; }
  .guarantees { grid-template-columns: 1fr; }
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-ghost { text-align: center; }
}