@charset "UTF-8";
/* ============================================================
   CloudTimes — Static Landing Page Stylesheet
   ============================================================ */

:root {
  --bg: #05070d;
  --bg-alt: #0a0e1a;
  --surface: #10162b;
  --surface-2: #161d38;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #e8ecf7;
  --text-dim: #93a0c2;
  --text-mute: #6b7796;
  --primary: #5b8cff;
  --primary-2: #7c5cff;
  --accent: #22d3c9;
  --success: #34d399;
  --gradient: linear-gradient(135deg, #5b8cff 0%, #7c5cff 100%);
  --gradient-text: linear-gradient(135deg, #7ea2ff 0%, #a98bff 60%, #22d3c9 100%);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.45);
  --header-h: 72px;
  --container-w: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.accent-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

/* ============================== BUTTONS ============================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 24px rgba(91, 140, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(91, 140, 255, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-dim);
  font-weight: 500;
  padding: 10px 14px;
}

.btn-ghost:hover {
  color: var(--text);
}

.btn-lg {
  padding: 15px 30px;
  font-size: 1.02rem;
}

.btn-block {
  width: 100%;
}

/* ============================== HEADER ============================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(5, 7, 13, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.brand-mark {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  background: rgba(91, 140, 255, 0.12);
  border-radius: 9px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: center;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.15s ease;
  position: relative;
}

.main-nav a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-email-btn {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- Mobile navigation overlay ----
   Rendered as a direct child of <body> (sibling of the sticky header) so
   position:fixed is anchored to the viewport instead of being trapped by
   the header's own containing block. Hidden entirely above the 768px
   breakpoint; see the responsive section below for the mobile rules. */
.mobile-nav {
  display: none;
}

/* ============================== HERO ============================== */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 700px;
  background:
    radial-gradient(50% 50% at 20% 20%, rgba(91, 140, 255, 0.25), transparent 70%),
    radial-gradient(40% 40% at 80% 10%, rgba(124, 92, 255, 0.22), transparent 70%),
    radial-gradient(35% 35% at 60% 60%, rgba(34, 211, 201, 0.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-copy,
.hero-visual {
  min-width: 0;
}

.hero-copy h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}

.hero-sub {
  color: var(--text-dim);
  font-size: 1.08rem;
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-stat strong {
  font-size: 1.5rem;
  font-weight: 800;
}

.hero-stat span {
  font-size: 0.82rem;
  color: var(--text-mute);
}

/* ---- Hero visual panel ---- */
.hero-visual {
  position: relative;
}

.panel-card,
.code-window {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.panel-head .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.dot.red { background: #ff6157; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28c840; }

.panel-title {
  margin-left: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  color: var(--text-mute);
}

.panel-body {
  padding: 22px;
}

.panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.panel-row .mono {
  font-family: "JetBrains Mono", monospace;
  color: var(--text);
}

.tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
}

.tag-live {
  background: rgba(52, 211, 153, 0.15);
  color: var(--success);
}

.panel-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 20px;
  overflow: hidden;
}

.panel-bar i {
  display: block;
  height: 100%;
  background: var(--gradient);
  border-radius: 999px;
}

.panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.panel-grid div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.panel-grid strong {
  font-size: 0.95rem;
  font-family: "JetBrains Mono", monospace;
}

.panel-grid span {
  font-size: 0.76rem;
  color: var(--text-mute);
}

/* ============================== STRIP ============================== */
.strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 22px 0;
}

.strip-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  justify-content: center;
  align-items: center;
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-dim);
  white-space: nowrap;
}

.strip-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* ============================== SECTIONS ============================== */
.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-head p {
  color: var(--text-dim);
  font-size: 1.02rem;
}

/* ============================== GRID / CARDS ============================== */
.grid {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.grid > * {
  min-width: 0;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.icon-blue { background: rgba(91, 140, 255, 0.14); color: var(--primary); }
.icon-purple { background: rgba(124, 92, 255, 0.14); color: var(--primary-2); }
.icon-teal { background: rgba(34, 211, 201, 0.14); color: var(--accent); }

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-dim);
  font-size: 0.94rem;
  margin-bottom: 16px;
}

.card-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ============================== TOKENS SECTION ============================== */
.tokens-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.tokens-copy,
.tokens-visual {
  min-width: 0;
}

.tokens-copy h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.tokens-copy > p {
  color: var(--text-dim);
  margin-bottom: 32px;
  max-width: 520px;
}

.tokens-points {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 32px;
}

.tokens-point {
  display: flex;
  gap: 16px;
}

.point-num {
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
  flex-shrink: 0;
  padding-top: 2px;
}

.tokens-point strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.02rem;
}

.tokens-point p {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.code-window .panel-title {
  margin-left: 8px;
}

.code-body {
  margin: 0;
  padding: 22px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--text-dim);
  overflow-x: auto;
}

.code-body .c-com { color: var(--text-mute); }
.code-body .c-str { color: var(--accent); }
.code-body .c-key { color: var(--primary); }

/* ============================== WHY US ============================== */
.why-grid {
  grid-template-columns: repeat(4, 1fr);
}

.why-card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.why-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(91, 140, 255, 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.why-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 0.88rem;
  color: var(--text-dim);
}

/* ============================== HOW IT WORKS ============================== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step {
  position: relative;
  padding: 30px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-weight: 700;
  margin-bottom: 18px;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-dim);
}

/* ============================== PRICING ============================== */
.pricing-grid {
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 34px 30px;
  position: relative;
}

.price-card-featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(91, 140, 255, 0.4), var(--shadow-md);
  background: linear-gradient(180deg, rgba(91, 140, 255, 0.08), var(--surface) 40%);
}

.price-badge {
  position: absolute;
  top: -13px;
  left: 30px;
  background: var(--gradient);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
}

.price-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.price-desc {
  color: var(--text-dim);
  font-size: 0.88rem;
  margin-bottom: 22px;
  min-height: 42px;
}

.price {
  margin-bottom: 24px;
}

.price-amount {
  font-size: 1.5rem;
  font-weight: 800;
}

.price-list {
  flex: 1;
  margin-bottom: 28px;
}

.price-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.price-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

/* ============================== CTA BANNER ============================== */
.cta-banner {
  padding: 80px 0;
  background:
    radial-gradient(60% 100% at 50% 0%, rgba(91, 140, 255, 0.18), transparent 70%),
    var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.cta-inner h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.cta-inner p {
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 auto 30px;
}

.cta-inner .btn {
  max-width: 100%;
  white-space: normal;
}

/* ============================== CONTACT ============================== */
.contact-card {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  box-shadow: var(--shadow-md);
}

.contact-card h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.contact-card > p {
  color: var(--text-dim);
  margin: 0 auto 30px;
  max-width: 460px;
}

.contact-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px 32px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(91, 140, 255, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.contact-email-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(91, 140, 255, 0.45);
}

.contact-note {
  color: var(--text-mute);
  font-size: 0.85rem;
  margin-top: 18px;
}

/* ============================== FOOTER ============================== */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 64px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border);
}

.footer-brand p {
  margin-top: 14px;
  color: var(--text-dim);
  font-size: 0.9rem;
  max-width: 280px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-mute);
  margin-bottom: 4px;
}

.footer-col a,
.footer-static-text {
  font-size: 0.92rem;
  color: var(--text-dim);
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  font-size: 0.82rem;
  color: var(--text-mute);
}

/* ============================== BACK TO TOP ============================== */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ============================== REVEAL ANIMATION ============================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* ---- Large desktop / laptop (<=1200px): tighten container ---- */
@media (max-width: 1200px) {
  :root {
    --container-w: 100%;
  }
  .container {
    padding: 0 32px;
  }
}

/* ---- Tablet landscape (<=992px) ---- */
@media (max-width: 992px) {
  .main-nav {
    gap: 20px;
  }
  .header-email-btn {
    display: none;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4,
  .why-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    order: -1;
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }
  .tokens-inner {
    grid-template-columns: 1fr;
  }
  .tokens-visual {
    order: -1;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-cols {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---- Tablet portrait / small tablet (<=768px) ---- */
@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  .section {
    padding: 72px 0;
  }

  .main-nav {
    display: none;
  }

  .mobile-nav {
    display: flex;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 4px;
    background: var(--bg);
    padding: 24px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 1500;
    overflow-y: auto;
  }

  .mobile-nav.open {
    transform: translateX(0);
  }

  .mobile-nav a {
    width: 100%;
    padding: 14px 4px;
    border-bottom: 1px solid var(--border);
    font-size: 1.05rem;
  }

  .mobile-nav-email {
    margin-top: 12px;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.9rem;
    color: var(--primary);
    border-bottom: none !important;
  }

  .mobile-nav-cta {
    margin-top: 20px;
  }

  .header-email-btn {
    display: none;
  }

  .header-actions .btn-primary {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .grid-3,
  .grid-4,
  .why-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    padding: 60px 0 56px;
  }

  .hero-stats {
    gap: 24px;
  }

  .panel-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---- Mobile (<=576px) ---- */
@media (max-width: 576px) {
  .contact-card {
    padding: 40px 24px;
  }

  .contact-email-btn {
    width: 100%;
    justify-content: center;
    padding: 15px 20px;
    font-size: 0.95rem;
  }

  .container {
    padding: 0 18px;
  }

  .header-actions .btn-primary {
    padding: 10px 16px;
    font-size: 0.85rem;
  }

  .hero-copy h1 {
    letter-spacing: -0.005em;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    justify-content: space-between;
    row-gap: 18px;
  }

  .strip-inner {
    gap: 16px 24px;
  }

  .strip-item {
    font-size: 0.82rem;
    white-space: normal;
    text-align: center;
  }

  .code-body {
    font-size: 0.74rem;
    padding: 16px;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .footer-cols {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
  }
}

/* ---- Extra small (<=380px) ---- */
@media (max-width: 380px) {
  .brand-name {
    font-size: 1rem;
  }
  .hero-stats {
    gap: 16px;
  }
  .hero-stat strong {
    font-size: 1.25rem;
  }
}
