/* ============================================
   SiteFlint — Landing Page
   Professional, clean, confidence-inspiring
   ============================================ */

:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-light: #dbeafe;
  --green: #16a34a;
  --green-light: #dcfce7;
  --red: #dc2626;
  --red-light: #fee2e2;
  --text: #1e293b;
  --text-light: #64748b;
  --text-lighter: #94a3b8;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #0f172a;
  --border: #e2e8f0;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Mono', monospace;

  --max-width: 1100px;
  --transition: 0.2s ease;
}

/* ============================================
   Reset & Base
   ============================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 1rem;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }

h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; }
h2 { font-size: 2.25rem; color: var(--primary); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; color: var(--primary); margin-bottom: 0.75rem; }
p { margin-bottom: 0.75rem; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

/* ============================================
   Header
   ============================================ */

.header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.92);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 0;
  letter-spacing: -0.02em;
}

.logo a { color: inherit; }
.logo a:hover { color: inherit; }
.accent { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

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

.cta-link {
  background: var(--accent) !important;
  color: white !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 0.5rem;
  font-weight: 600 !important;
}

.cta-link:hover {
  background: var(--accent-hover) !important;
  color: white !important;
}

/* ============================================
   Hero
   ============================================ */

.hero {
  padding: 6rem 2rem 5rem;
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.hero h2 {
  font-size: 3.25rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-pills {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.pill {
  background: var(--accent-light);
  color: var(--accent);
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.cta-button {
  display: inline-block;
  padding: 0.875rem 2rem;
  background: var(--accent);
  color: white;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 0.5rem;
  transition: all var(--transition);
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.2);
}

.cta-button:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  color: white;
}

/* ============================================
   Why Section — Comparison
   ============================================ */

.why-section {
  padding: 5rem 2rem;
}

.why-section h2, .why-section .section-subtitle {
  text-align: center;
}

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.comparison-col {
  padding: 2rem;
  border-radius: 0.75rem;
}

.comparison-col h3 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.comparison-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.comparison-col li {
  font-size: 0.95rem;
  padding-left: 1.75rem;
  position: relative;
  line-height: 1.5;
}

.comparison-col.bad {
  background: var(--red-light);
  border: 1px solid #fecaca;
}

.comparison-col.bad h3 { color: var(--red); }

.comparison-col.bad li::before {
  content: "\2717";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

.comparison-col.good {
  background: var(--green-light);
  border: 1px solid #bbf7d0;
}

.comparison-col.good h3 { color: var(--green); }

.comparison-col.good li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ============================================
   Benefits
   ============================================ */

.benefits {
  padding: 5rem 2rem;
  background: var(--bg-alt);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.benefit-card {
  background: var(--bg);
  padding: 2rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.benefit-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.benefit-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
  line-height: 1;
}

.benefit-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.benefit-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 0;
  line-height: 1.65;
}

/* ============================================
   How It Works
   ============================================ */

.how-it-works {
  padding: 5rem 2rem;
}

.how-it-works h2 { text-align: center; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.step {
  text-align: center;
  padding: 1.5rem 1rem;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto 1.25rem;
}

.step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0;
  line-height: 1.6;
}

/* ============================================
   Features
   ============================================ */

.features {
  padding: 5rem 2rem;
  background: var(--bg-alt);
}

.features h2 { text-align: center; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.feature {
  padding: 1.5rem;
  background: var(--bg);
  border-radius: 0.5rem;
  border: 1px solid var(--border);
}

.feature h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.feature p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0;
  line-height: 1.6;
}

/* ============================================
   Examples
   ============================================ */

.examples {
  padding: 5rem 2rem;
}

.examples h2 { text-align: center; }

.examples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.example-card {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.example-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
}

.example-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.example-header h3 {
  margin-bottom: 0;
  font-size: 1.05rem;
}

.example-type {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  background: var(--accent-light);
  padding: 0.25rem 0.6rem;
  border-radius: 0.25rem;
}

.example-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.example-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
}

.example-link:hover { color: var(--accent-hover); }

.example-link.coming-soon {
  color: var(--text-lighter);
  cursor: default;
}

.example-link.coming-soon:hover { color: var(--text-lighter); }

/* ============================================
   FAQ
   ============================================ */

.faq {
  padding: 5rem 2rem;
  background: var(--bg-alt);
}

.faq h2 { text-align: center; }

.faq-list {
  max-width: 700px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item {
  background: var(--bg);
  padding: 1.5rem 2rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
}

.faq-item h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.faq-item p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 0;
  line-height: 1.65;
}

/* ============================================
   Final CTA
   ============================================ */

.final-cta {
  padding: 5rem 2rem;
  text-align: center;
}

.final-cta p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 2rem;
}

.footer p {
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

.footer-note {
  opacity: 0.6;
  font-size: 0.8rem;
}

/* ============================================
   Setup Page
   ============================================ */

.setup-hero {
  padding: 4rem 2rem 3rem;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--primary-light) 100%);
  color: white;
}

.setup-hero h2 {
  color: white;
  font-size: 2.25rem;
}

.setup-hero p {
  font-size: 1.05rem;
  opacity: 0.85;
}

.progress-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2.5rem;
}

.progress-step {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.progress-line {
  width: 50px;
  height: 2px;
  background: rgba(255,255,255,0.2);
}

.setup-step {
  padding: 4rem 2rem;
}

.setup-step.alt-bg {
  background: var(--bg-alt);
}

.step-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.step-badge {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 0.3rem 1rem;
  border-radius: 2rem;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.done-badge { background: var(--green); }

.step-time {
  color: var(--text-light);
  font-size: 0.9rem;
}

.instruction-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 650px;
  margin: 0 auto;
}

.instruction {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.instruction-number {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  margin-top: 0.1rem;
}

.instruction-content p { margin-bottom: 0.25rem; }

.instruction-note {
  color: var(--text-light);
  font-size: 0.875rem;
  font-style: italic;
}

.contact-options {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin: 1.5rem 0;
}

.contact-option {
  text-align: center;
  padding: 1.25rem 2rem;
  background: var(--bg);
  border-radius: 0.5rem;
  border: 1px solid var(--border);
}

.contact-option h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.contact-option p {
  margin-bottom: 0;
  font-size: 1rem;
  font-weight: 600;
}

.dns-tabs {
  margin-top: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.dns-tabs > h3 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  font-size: 1rem;
}

.dns-provider {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.dns-provider h4 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--accent);
}

.dns-steps {
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dns-steps li { line-height: 1.6; font-size: 0.95rem; }

.dns-records {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.dns-records code {
  display: block;
  background: var(--bg-alt);
  padding: 0.4rem 0.75rem;
  border-radius: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--primary);
  border-left: 3px solid var(--accent);
}

.other-provider { border-style: dashed; }

.dns-summary {
  margin-top: 1rem;
  overflow-x: auto;
}

.dns-summary table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.dns-summary th {
  background: var(--primary);
  color: white;
  padding: 0.6rem 0.75rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
}

.dns-summary td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.dns-summary tr:nth-child(even) td { background: var(--bg-alt); }

.done-step {
  text-align: center;
  background: var(--green-light);
}

.done-message {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.done-details {
  text-align: left;
  max-width: 480px;
  margin: 1.25rem auto;
  padding: 1.25rem;
  background: white;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
}

.done-details h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.done-details ul {
  padding-left: 1.25rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.done-details li { margin-bottom: 0.35rem; }
.done-details p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 0; }

/* ============================================
   Responsive — Tablet
   ============================================ */

@media (max-width: 768px) {
  h2 { font-size: 1.75rem; }
  .hero h2 { font-size: 2.25rem; }

  .nav-container {
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
  }

  .nav-links { gap: 1rem; flex-wrap: wrap; justify-content: center; }

  .hero { padding: 4rem 1.5rem 3rem; }
  .hero p { font-size: 1.05rem; }

  .comparison { grid-template-columns: 1fr; max-width: 400px; }

  .benefits-grid { grid-template-columns: 1fr; }

  .steps-grid { grid-template-columns: repeat(2, 1fr); }

  .features-grid { grid-template-columns: 1fr; }

  .examples-grid { grid-template-columns: 1fr; }

  .why-section, .benefits, .how-it-works, .features, .examples, .faq, .final-cta {
    padding: 3.5rem 1.5rem;
  }

  .instruction { flex-direction: column; gap: 0.5rem; }

  .contact-options { flex-direction: column; align-items: center; }

  .progress-line { width: 25px; }
  .progress-step { width: 34px; height: 34px; font-size: 0.8rem; }
}

/* ============================================
   Responsive — Mobile
   ============================================ */

@media (max-width: 480px) {
  h2 { font-size: 1.5rem; }
  .hero h2 { font-size: 1.75rem; }

  body { font-size: 0.95rem; }

  .nav-links a { font-size: 0.8rem; }
  .cta-link { padding: 0.4rem 0.75rem !important; font-size: 0.8rem !important; }

  .hero { padding: 3rem 1rem 2.5rem; }
  .hero p { font-size: 0.95rem; }

  .hero-pills { gap: 0.5rem; }
  .pill { font-size: 0.75rem; padding: 0.3rem 0.75rem; }

  .cta-button {
    width: 100%;
    text-align: center;
    padding: 0.875rem;
  }

  .comparison-col { padding: 1.25rem; }
  .comparison-col li { font-size: 0.9rem; }

  .benefit-card { padding: 1.25rem; }

  .steps-grid { grid-template-columns: 1fr; }

  .faq-item { padding: 1.25rem; }

  .dns-records code { font-size: 0.8rem; }
  .dns-summary th, .dns-summary td { padding: 0.4rem; font-size: 0.75rem; }

  .progress-line { width: 12px; }
  .progress-step { width: 30px; height: 30px; font-size: 0.75rem; }
}
