/* CPU Tech — social content site
   Brand colors from the current site and logo: #38b6ff, hover #2a9de0, wordmark #383636 */

:root {
  --blue: #38b6ff;
  --blue-dark: #2a9de0;
  --blue-deep: #1678b8;
  --ink: #1c1b1b;
  --ink-soft: #383636;
  --muted: #5c5a5a;
  --line: #e4e7eb;
  --paper: #f7f9fb;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(28, 27, 27, 0.08);
  --radius: 1.25rem;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-deep); }
a:hover { color: var(--blue-dark); }

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 249, 251, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
}
.logo img { height: 56px; width: auto; }
.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}
.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}
.nav a:hover { color: var(--blue-deep); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.35rem;
  transition: background 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}
.btn:hover { background: var(--blue-dark); color: var(--white); transform: translateY(-1px); }
.btn-light {
  background: var(--white);
  color: var(--blue-deep);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.4);
}
.btn-light:hover { background: #f0f8ff; color: var(--blue-deep); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: 0 0 0 1.5px var(--line);
}
.btn-ghost:hover { background: var(--white); color: var(--ink); }
.header-phone { white-space: nowrap; }
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  padding: 0.45rem 0.65rem;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
}

/* Hero */
.hero {
  padding: 4.5rem 0 3.5rem;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  color: var(--blue-deep);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 1rem;
}
h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
}
h1 { font-size: clamp(2.15rem, 5vw, 3.4rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.7rem, 3vw, 2.25rem); margin: 0 0 0.85rem; }
h3 { font-size: 1.25rem; margin: 0 0 0.4rem; }
.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 38rem;
  margin: 0 auto 1.75rem;
}
.hero-actions, .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Audience */
.audience { padding: 1rem 0 3.5rem; }
.center { text-align: center; }
.section-lede {
  color: var(--muted);
  max-width: 40rem;
  margin: 0 auto 2rem;
}
.grid-4, .grid-3, .steps, .contact-grid {
  display: grid;
  gap: 1rem;
}
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.chip, .card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.chip {
  text-align: center;
  padding: 1.15rem 0.75rem;
  font-weight: 600;
  font-family: var(--display);
}
.chip span { display: block; font-size: 1.6rem; margin-bottom: 0.35rem; }

/* Plans */
.plans {
  padding: 3.5rem 0 2rem;
  background: linear-gradient(180deg, #eaf6ff 0%, var(--paper) 100%);
}
.plan {
  padding: 1.6rem 1.45rem 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  position: relative;
}
.plan.featured {
  border: 2px solid var(--blue);
  transform: translateY(-6px);
}
.badge {
  position: absolute;
  top: -0.7rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
}
.price {
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0.15rem 0 0.2rem;
}
.price span { font-size: 1rem; color: var(--muted); font-weight: 500; font-family: var(--font); }
.plan-tag {
  color: var(--muted);
  min-height: 3.2rem;
  margin: 0 0 1rem;
}
.plan ul {
  margin: 0 0 1.4rem;
  padding: 0;
  list-style: none;
  flex: 1;
}
.plan li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.4rem;
  color: var(--ink-soft);
}
.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--blue);
}
.plan .btn { width: 100%; }
.includes {
  margin: 2rem auto 0;
  max-width: 44rem;
  text-align: center;
  color: var(--ink-soft);
  background: var(--white);
  border: 1px dashed var(--blue);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}
.includes strong { color: var(--ink); }

/* Table */
.compare { padding: 1rem 0 3.5rem; }
.table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
th, td {
  padding: 0.8rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
th:first-child, td:first-child { text-align: left; font-weight: 500; }
th {
  font-family: var(--display);
  background: #f0f8ff;
}
tr:last-child td { border-bottom: 0; }
.yes { color: var(--blue-deep); font-weight: 700; }
.no { color: #b0b4b8; }

/* How it works */
.how { padding: 3.5rem 0; }
.steps { grid-template-columns: repeat(4, 1fr); counter-reset: step; }
.step {
  padding: 1.35rem 1.2rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--blue);
  color: white;
  font-family: var(--display);
  font-weight: 600;
  margin-bottom: 0.7rem;
}
.note {
  margin: 1.5rem auto 0;
  max-width: 46rem;
  color: var(--muted);
  background: var(--white);
  border-left: 4px solid var(--blue);
  padding: 1rem 1.2rem;
  border-radius: 0 0.8rem 0.8rem 0;
}

/* About / contact / footer */
.about { padding: 3.5rem 0; background: var(--white); border-block: 1px solid var(--line); }
.about p { font-size: 1.08rem; color: var(--ink-soft); max-width: 38rem; margin: 0 auto 1rem; }
.contact { padding: 3.5rem 0 4rem; }
.contact-grid { grid-template-columns: 1.1fr 0.9fr; gap: 1.5rem; }
.contact-card { padding: 1.6rem; }
.contact-card dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  font-weight: 600;
  margin-top: 1rem;
}
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd { margin: 0.15rem 0 0; }
.contact-card a.phone {
  font-family: var(--display);
  font-size: 1.6rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}
.mail-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.8rem;
}
.mail-form input[type="email"] {
  flex: 1 1 12rem;
  height: 2.6rem;
  padding: 0 0.9rem;
  border: 1px solid #bec3c8;
  border-radius: 0.5rem;
  font: inherit;
}

.site-footer {
  background: var(--ink);
  color: #d7d5d5;
  padding: 2rem 0;
  font-size: 0.92rem;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--blue); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 900px) {
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .contact-grid { grid-template-columns: 1fr; }
  .plan.featured { transform: none; }
}
@media (max-width: 700px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1rem;
    gap: 0.35rem;
  }
  .nav.open { display: flex; }
  .nav a, .nav .btn { width: 100%; text-align: center; }
  .hero { padding-top: 2.75rem; }
}
@media (max-width: 520px) {
  .grid-4, .steps { grid-template-columns: 1fr; }
  .logo img { height: 48px; }
}
