﻿/* Theme variables */
:root {
  --primary: #2563eb;
  --accent: #0ea5e9;
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #1e293b;
  --muted: #475569;
  --border: #dbe4f0;
  --shadow: 0 16px 40px rgba(37, 99, 235, 0.08);
  --radius: 18px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% -15%, rgba(14, 165, 233, 0.16), transparent 42%),
    radial-gradient(circle at 95% 15%, rgba(37, 99, 235, 0.14), transparent 34%),
    var(--bg);
  line-height: 1.7;
}

h1,
h2,
h3,
h4 {
  color: #0f172a;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 0.9rem;
}

h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  margin: 0 0 1rem;
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin: 0 0 0.9rem;
}

h4 {
  margin: 1.4rem 0 0.6rem;
}

p {
  margin: 0 0 1rem;
  color: var(--text);
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
}

.section {
  padding: 3rem 0;
}

.section-tight {
  padding: 1.1rem 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 999;
  background: #fff;
  color: #0f172a;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.progress-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 1100;
}

.progress-bar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

/* Sticky top navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(248, 250, 252, 0.9);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 1.2rem;
}

.logo {
  font-weight: 800;
  font-size: 1.05rem;
  color: #0f172a;
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 1rem;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: #334155;
  text-decoration: none;
  padding: 0.45rem 0.6rem;
  border-radius: 10px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(37, 99, 235, 0.1);
  color: #1d4ed8;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 10px;
  padding: 0.5rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #0f172a;
  margin: 4px 0;
}

/* Hero layout */
.hero {
  padding-top: 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.8rem;
  padding: 0.3rem 0.7rem;
  background: rgba(37, 99, 235, 0.1);
  color: #1d4ed8;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.9vw, 1.2rem);
  color: var(--muted);
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 12px;
  padding: 0.75rem 1.1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(130deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 12px 25px rgba(37, 99, 235, 0.22);
}

.btn-secondary {
  background: #fff;
  color: #0f172a;
  border: 1px solid var(--border);
}

.hero-illustration {
  background: linear-gradient(145deg, #eff6ff, #e0f2fe);
  border: 1px solid rgba(14, 165, 233, 0.25);
  border-radius: 22px;
  min-height: 290px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-illustration::before,
.hero-illustration::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.14);
}

.hero-illustration::before {
  width: 120px;
  height: 120px;
  right: -34px;
  top: -34px;
}

.hero-illustration::after {
  width: 80px;
  height: 80px;
  left: -28px;
  bottom: -28px;
}

.screen {
  height: 145px;
  border-radius: 12px;
  background: linear-gradient(130deg, #1d4ed8, #0ea5e9);
  margin-bottom: 1rem;
}

.line {
  height: 10px;
  background: rgba(30, 41, 59, 0.15);
  border-radius: 999px;
  margin-bottom: 0.65rem;
}

.line.short {
  width: 70%;
}

.chip {
  display: inline-block;
  background: #fff;
  color: #0f172a;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--border);
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
}

.card {
  background: var(--surface);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.ad-slot {
  width: 100%;
  text-align: center;
  border: 2px dashed rgba(37, 99, 235, 0.35);
  border-radius: 14px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.9);
  color: #1e3a8a;
  font-weight: 600;
}

.ad-slot.small {
  min-height: 220px;
  display: grid;
  place-content: center;
}

/* Main guide with optional sidebar */
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(250px, 1fr);
  gap: 1.4rem;
  align-items: start;
}

.article {
  padding: 1.6rem;
}

.article-header {
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.meta {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0.6rem;
}

.article section {
  margin-bottom: 1.6rem;
}

.in-article-ad {
  margin: 2rem 0;
}

.sidebar {
  position: sticky;
  top: 88px;
}

.sidebar-card {
  padding: 1rem;
  margin-bottom: 1rem;
}

.section-heading {
  margin-bottom: 1.2rem;
}

.section-heading p {
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.product-card {
  padding: 1rem;
}

.product-image{
width:100%;
height:180px;
object-fit:cover;
border-radius:12px;
margin-bottom:10px;
}

.image-placeholder {
  min-height: 130px;
  border-radius: 14px;
  border: 1px dashed rgba(37, 99, 235, 0.45);
  background: linear-gradient(140deg, #eff6ff, #e0f2fe);
  display: grid;
  place-items: center;
  color: #1d4ed8;
  font-weight: 600;
  margin-bottom: 0.9rem;
}

.spec-line {
  color: #1f2937;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

th,
td {
  text-align: left;
  padding: 0.85rem 0.95rem;
  border-bottom: 1px solid var(--border);
}

thead th {
  background: #eff6ff;
  color: #1e3a8a;
  font-size: 0.94rem;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.mini-card {
  padding: 1rem;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-item {
  padding: 1rem 1.1rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: #0f172a;
}

.faq-item p {
  margin-top: 0.75rem;
}

.newsletter {
  padding: 1.2rem;
  display: grid;
  gap: 1rem;
  background: linear-gradient(135deg, #ffffff, #f0f9ff);
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.newsletter-form input {
  flex: 1 1 220px;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 0.65rem 0.85rem;
  font: inherit;
}

.newsletter-form input:focus {
  outline: 2px solid rgba(37, 99, 235, 0.25);
  border-color: var(--primary);
}

.form-message {
  font-weight: 600;
  min-height: 1.2rem;
  color: #166534;
}

.contact-card {
  padding: 1.2rem;
}

.site-footer {
  margin-top: 1.2rem;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  background: #fff;
}

.footer-content {
  padding: 1.4rem 0 2.3rem;
  color: var(--muted);
}

.footer-content nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 0.8rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1024px) {
  /* Main guide with optional sidebar */
.content-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

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

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

/* Mobile layout */
@media (max-width: 780px) {
  .menu-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 1rem;
    left: 1rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 0.9rem;
    flex-direction: column;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

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

  .card-grid,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .article {
    padding: 1.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}


