/* ==========================================================================
   CloudZoa design system
   Visual language: atmospheric sky. Soft gradients, floating cloud shapes,
   glass-panel cards, rounded pill buttons, sunlit accent color. Meant to
   feel light, airy, and unmistakably "cloud" without being a joke about it.
   ========================================================================== */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
  /* Sky blues */
  --sky-50:  #f0f9ff;
  --sky-100: #e0f2fe;
  --sky-200: #bae6fd;
  --sky-300: #7dd3fc;
  --sky-400: #38bdf8;
  --sky-500: #0ea5e9;
  --sky-600: #0284c7;
  --sky-700: #0369a1;
  --sky-800: #075985;
  --sky-900: #0c4a6e;

  /* Sunlit accent */
  --sun-300: #fde68a;
  --sun-400: #fbbf24;
  --sun-500: #f59e0b;
  --sun-600: #d97706;

  /* Neutrals */
  --white: #ffffff;
  --cloud-white: #fbfdff;
  --mist: #eef6fc;
  --mist-2: #e4f1fa;

  /* Text */
  --ink-900: #0f2942;
  --ink-700: #3a5a78;
  --ink-500: #6b8aa3;
  --ink-300: #a9c5d8;

  /* Status */
  --success: #16a34a;
  --success-bg: #dcfce7;
  --danger: #dc2626;
  --danger-bg: #fee2e2;
  --warning: #d97706;
  --warning-bg: #fef3c7;

  /* Type */
  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Shape */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  /* Shadow, soft and diffuse rather than hard-edged */
  --shadow-sm: 0 4px 16px rgba(14, 116, 189, 0.08);
  --shadow-md: 0 14px 34px rgba(14, 116, 189, 0.12);
  --shadow-lg: 0 26px 64px rgba(14, 116, 189, 0.16);
  --shadow-glow: 0 10px 30px rgba(56, 189, 248, 0.38);

  /* Gradients */
  --grad-hero: linear-gradient(160deg, #f0f9ff 0%, #e0f2fe 45%, #bae6fd 100%);
  --grad-brand: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  --grad-sun: linear-gradient(135deg, #fde68a 0%, #f59e0b 100%);
  --grad-dark: linear-gradient(180deg, #0c4a6e 0%, #082338 100%);
  --grad-band: linear-gradient(135deg, #0ea5e9 0%, #0c4a6e 100%);
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
h1 { font-size: 48px; }
h2 { font-size: 34px; }
h3 { font-size: 20px; }
h4 { font-size: 16px; }
p { margin: 0 0 16px; color: var(--ink-700); }
a { color: var(--sky-600); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; display: block; }
ul { padding: 0; margin: 0; list-style: none; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

section { padding: 80px 0; position: relative; }
.section-tight { padding: 56px 0; }

.section-head { max-width: 640px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p.lede { font-size: 17px; }

.lede { font-size: 19px; color: var(--ink-700); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 700; font-size: 12.5px;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--sky-700); background: var(--sky-100);
  padding: 7px 14px; border-radius: var(--radius-full); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sky-500); }
.eyebrow.on-dark { background: rgba(255,255,255,0.14); color: var(--sky-100); }
.eyebrow.on-dark::before { background: var(--sun-400); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  padding: 13px 24px; border-radius: var(--radius-full); border: none;
  cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none !important;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad-brand); color: var(--white); box-shadow: var(--shadow-glow); }
.btn-primary:hover { box-shadow: 0 14px 38px rgba(56, 189, 248, 0.5); transform: translateY(-1px); }
.btn-sun { background: var(--grad-sun); color: var(--ink-900); box-shadow: 0 10px 28px rgba(245, 158, 11, 0.35); }
.btn-sun:hover { transform: translateY(-1px); }
.btn-outline { background: var(--white); color: var(--sky-700); border: 2px solid var(--sky-200); }
.btn-outline:hover { border-color: var(--sky-400); background: var(--sky-50); }
.btn-white { background: var(--white); color: var(--sky-700); box-shadow: var(--shadow-md); }
.btn-white:hover { transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,0.12); color: var(--white); border: 2px solid rgba(255,255,255,0.35); }
.btn-ghost:hover { background: rgba(255,255,255,0.2); }
.btn-dark { background: var(--ink-900); color: var(--white); }
.btn-dark:hover { background: var(--sky-900); }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }
.btn-lg { padding: 16px 32px; font-size: 16.5px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

.link-btn {
  background: none; border: none; padding: 0; margin: 0; font: inherit;
  color: var(--sky-600); text-decoration: underline; text-underline-offset: 2px; cursor: pointer;
}
.link-btn:hover { color: var(--sky-700); }

/* ==========================================================================
   Cloud decorations
   ========================================================================== */
@keyframes cz-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
.cloud-deco { position: absolute; pointer-events: none; z-index: 0; filter: drop-shadow(0 18px 24px rgba(14, 116, 189, 0.12)); }
.cloud-deco svg { display: block; }
.cloud-deco.floaty { animation: cz-float 8s ease-in-out infinite; }
.cloud-deco.floaty.delay-1 { animation-delay: 1.2s; }
.cloud-deco.floaty.delay-2 { animation-delay: 2.6s; }
.cloud-deco.floaty.delay-3 { animation-delay: 0.6s; }

/* ==========================================================================
   Header / nav
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251, 253, 255, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--sky-100);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 7px; font-family: var(--font-display); font-weight: 800; font-size: 21px; color: var(--ink-900); }
.brand:hover { text-decoration: none; }
.brand-zoa { letter-spacing: 0.02em; }
.brand-mark {
  width: 38px; height: 38px; border-radius: var(--radius-md);
  background: var(--grad-brand);
  display: flex; align-items: center; justify-content: center; flex: none;
  box-shadow: var(--shadow-glow);
}
.brand-mark svg { width: 22px; height: 22px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links > a {
  font-family: var(--font-display); font-weight: 600; font-size: 14.5px;
  color: var(--ink-700); padding-bottom: 3px; border-bottom: 2px solid transparent;
}
.nav-links > a:hover, .nav-links > a[aria-current="page"] { color: var(--sky-700); border-bottom-color: var(--sky-500); text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: 14px; }

/* Nav dropdowns (e.g. Plans -> Features, Support -> Status) */
.nav-dropdown { position: relative; padding-bottom: 8px; margin-bottom: -8px; }
.nav-dropdown-trigger {
  display: inline-flex; align-items: center; gap: 5px; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 14.5px;
  color: var(--ink-700); padding-bottom: 3px; border-bottom: 2px solid transparent;
}
.nav-dropdown-trigger:hover, .nav-dropdown-trigger[aria-current="page"] { color: var(--sky-700); border-bottom-color: var(--sky-500); text-decoration: none; }
.nav-caret { display: inline-block; transition: transform 0.15s ease; font-size: 10px; color: var(--ink-500); }
.nav-dropdown:hover .nav-caret, .nav-dropdown:focus-within .nav-caret { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(4px);
  background: var(--white); border: 1px solid var(--sky-100); border-radius: var(--radius-md);
  box-shadow: var(--shadow-md); padding: 7px; min-width: 168px;
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 20;
}
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  padding: 9px 12px; border-radius: var(--radius-sm); border-bottom: none !important;
  font-size: 13.5px; font-weight: 600; color: var(--ink-700); white-space: nowrap;
}
.nav-dropdown-menu a:hover { background: var(--sky-50); color: var(--sky-700); text-decoration: none; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 2px solid var(--sky-200); border-radius: var(--radius-sm); padding: 8px 9px; }
.nav-toggle span { width: 18px; height: 2px; background: var(--ink-900); display: block; }
.nav-mobile-cta { display: none; }

@media (max-width: 940px) {
  .nav-toggle { display: flex; }
  .nav-actions { display: none; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cloud-white);
    border-bottom: 1px solid var(--sky-100);
    flex-direction: column; align-items: flex-start;
    padding: 16px 24px 22px; gap: 16px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-mobile-cta { display: flex; margin-top: 6px; }

  .nav-dropdown { position: static; padding-bottom: 0; margin-bottom: 0; width: 100%; }
  .nav-dropdown-trigger { padding-bottom: 0; }
  .nav-dropdown-menu {
    position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    box-shadow: none; border: none; padding: 6px 0 0 4px; margin-top: 8px;
    border-left: 2px solid var(--sky-100);
  }
  .nav-dropdown-menu a { padding: 4px 12px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { background: var(--grad-hero); padding: 76px 0 90px; overflow: hidden; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { font-size: 52px; }
.hero .lede { margin-bottom: 26px; }
.hero-stats { display: flex; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.hero-stat b { display: block; font-family: var(--font-display); font-size: 22px; color: var(--sky-700); }
.hero-stat span { font-size: 12.5px; color: var(--ink-500); }

.console-card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); border: 1px solid var(--sky-100);
  overflow: hidden; position: relative; z-index: 1;
}
.console-head { display: flex; align-items: center; gap: 8px; padding: 14px 18px; background: var(--mist); border-bottom: 1px solid var(--sky-100); }
.console-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sky-200); }
.console-dot:nth-child(2) { background: var(--sun-400); }
.console-dot:nth-child(3) { background: var(--success); }
.console-title { margin-left: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-500); }
.console-body { padding: 20px; }
.console-row { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; border-bottom: 1px dashed var(--sky-100); font-family: var(--font-mono); font-size: 12.5px; }
.console-row:last-child { border-bottom: none; }
.console-node { display: flex; align-items: center; gap: 10px; color: var(--ink-900); font-weight: 600; }
.node-status { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px var(--success-bg); }
.console-meta { color: var(--ink-500); }
.console-bar-track { height: 6px; border-radius: var(--radius-full); background: var(--mist); overflow: hidden; margin-top: 16px; }
.console-bar-fill { height: 100%; background: var(--grad-brand); border-radius: var(--radius-full); }

/* ==========================================================================
   Trust stats strip
   ========================================================================== */
.stat-strip { background: var(--white); border-top: 1px solid var(--sky-100); border-bottom: 1px solid var(--sky-100); padding: 34px 0; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
@media (max-width: 760px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
.stat-item b { display: block; font-family: var(--font-display); font-size: 28px; color: var(--ink-900); }
.stat-item span { font-size: 12.5px; color: var(--ink-500); }

/* ==========================================================================
   Panels & glass cards
   ========================================================================== */
.panel {
  background: var(--white); border: 1px solid var(--sky-100); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: 28px;
}
.glass-card {
  background: rgba(255, 255, 255, 0.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 28px;
}

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 940px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-card { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 46px; height: 46px; border-radius: var(--radius-md); background: var(--sky-100);
  display: flex; align-items: center; justify-content: center; color: var(--sky-600); margin-bottom: 14px;
}
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { margin: 0; font-size: 14.5px; }

/* ==========================================================================
   Alternating feature rows (Features page deep-dives)
   ========================================================================== */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 60px 0; border-bottom: 1px solid var(--sky-100); }
.feature-row:last-child { border-bottom: none; }
.feature-row.reverse .fr-visual { order: 2; }
@media (max-width: 860px) {
  .feature-row { grid-template-columns: 1fr; gap: 30px; padding: 40px 0; }
  .feature-row.reverse .fr-visual { order: 0; }
}
.fr-visual {
  background: var(--mist); border-radius: var(--radius-lg); border: 1px solid var(--sky-100);
  padding: 26px; min-height: 220px; display: flex; flex-direction: column; justify-content: center; gap: 12px;
}
.fr-list { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.fr-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--ink-700); }
.fr-list li svg { flex: none; margin-top: 2px; color: var(--sky-500); }

/* ==========================================================================
   Product tabs (Shared Cloud / VM Cloud)
   ========================================================================== */
.cz-tabs { display: inline-flex; gap: 4px; padding: 5px; background: var(--mist); border-radius: var(--radius-full); margin-bottom: 30px; }
.cz-tab-btn {
  border: none; background: none; padding: 10px 22px; border-radius: var(--radius-full);
  font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--ink-700); cursor: pointer;
}
.cz-tab-btn.active { background: var(--white); color: var(--sky-700); box-shadow: var(--shadow-sm); }
.cz-tab-panel { display: none; }
.cz-tab-panel.active { display: block; animation: fadeUp 0.3s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 820px) { .product-grid { grid-template-columns: 1fr; } }
.product-card {
  border-radius: var(--radius-lg); padding: 32px; position: relative; overflow: hidden;
  border: 1px solid var(--sky-100); background: var(--white); box-shadow: var(--shadow-sm);
}
.product-card.accent { background: var(--grad-band); color: var(--white); border: none; box-shadow: var(--shadow-lg); }
.product-card.accent p, .product-card.accent .pc-price span { color: rgba(255,255,255,0.82); }
.product-card .pc-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md); background: var(--sky-100); color: var(--sky-600);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.product-card.accent .pc-icon { background: rgba(255,255,255,0.18); color: var(--white); }
.pc-price { font-family: var(--font-display); font-size: 15px; font-weight: 700; margin-bottom: 18px; }
.pc-price b { font-size: 30px; }
.product-card ul { margin: 0 0 24px; display: flex; flex-direction: column; gap: 10px; }
.product-card li { display: flex; align-items: flex-start; gap: 9px; font-size: 14.5px; }
.product-card li svg { flex: none; margin-top: 2px; color: var(--sky-500); }
.product-card.accent li svg { color: var(--sun-300); }

/* ==========================================================================
   Region / network grid
   ========================================================================== */
.region-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 820px) { .region-grid { grid-template-columns: repeat(2, 1fr); } }
.region-card { text-align: center; padding: 22px 14px; }
.region-card .r-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--success); margin: 0 auto 10px; box-shadow: 0 0 0 5px var(--success-bg); }
.region-card b { display: block; font-family: var(--font-display); font-size: 15px; }
.region-card span { font-size: 12.5px; color: var(--ink-500); }

/* ==========================================================================
   Compare table
   ========================================================================== */
.compare-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--sky-100); box-shadow: var(--shadow-sm); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--white); }
table.compare th, table.compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--sky-100); font-size: 14.5px; }
table.compare thead th { font-family: var(--font-display); font-size: 13px; color: var(--ink-500); text-transform: uppercase; letter-spacing: 0.04em; background: var(--mist); }
table.compare thead th:not(:first-child) { text-align: center; }
table.compare td:not(:first-child) { text-align: center; }
table.compare td:first-child { font-weight: 600; color: var(--ink-900); }
table.compare tr:last-child td { border-bottom: none; }
table.compare .yes { color: var(--success); }
table.compare .no { color: var(--ink-300); }
table.compare .highlight-col { background: var(--sky-50); }

/* ==========================================================================
   Pricing
   ========================================================================== */
.billing-toggle { display: inline-flex; border: 2px solid var(--sky-200); border-radius: var(--radius-full); padding: 4px; margin-bottom: 30px; background: var(--white); }
.billing-toggle button {
  border: none; background: none; padding: 9px 20px; border-radius: var(--radius-full);
  font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--ink-700); cursor: pointer;
}
.billing-toggle button.active { background: var(--grad-brand); color: var(--white); }

.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 980px) { .plan-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .plan-grid { grid-template-columns: 1fr; } }
.plan-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .plan-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }

.plan-card {
  border-radius: var(--radius-lg); border: 1px solid var(--sky-100); background: var(--white);
  box-shadow: var(--shadow-sm); padding: 28px; display: flex; flex-direction: column; position: relative;
}
.plan-card.popular { border: 2px solid var(--sky-400); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.plan-ribbon {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad-sun); color: var(--ink-900); font-family: var(--font-display); font-weight: 700;
  font-size: 11.5px; padding: 5px 14px; border-radius: var(--radius-full); box-shadow: 0 6px 16px rgba(245,158,11,0.35);
}
.plan-name { font-family: var(--font-display); font-weight: 700; font-size: 17px; margin-bottom: 6px; }
.plan-tagline { font-size: 13px; color: var(--ink-500); margin-bottom: 18px; }
.plan-price { font-family: var(--font-display); font-size: 38px; font-weight: 800; color: var(--ink-900); }
.plan-price span { font-size: 14px; font-weight: 600; color: var(--ink-500); }
.plan-price-annual-note { font-size: 12px; color: var(--sky-600); margin: 4px 0 18px; font-weight: 600; }
.plan-price .annual { display: none; }
body.annual-billing .plan-price .monthly { display: none; }
body.annual-billing .plan-price .annual { display: inline; }
.plan-price-annual-note { display: none; }
body.annual-billing .plan-price-annual-note { display: block; }
.plan-card ul { margin: 4px 0 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan-card li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: var(--ink-700); }
.plan-card li svg { flex: none; margin-top: 2px; color: var(--sky-500); }

/* ==========================================================================
   FAQ tabs (sideways, not a stacked accordion)
   ========================================================================== */
.faq-tabset { }
.faq-tabs {
  display: flex; gap: 10px; overflow-x: auto; padding: 4px 4px 12px;
  margin-bottom: 4px; scrollbar-width: thin; scrollbar-color: var(--sky-200) transparent;
}
.faq-tabs::-webkit-scrollbar { height: 6px; }
.faq-tabs::-webkit-scrollbar-thumb { background: var(--sky-200); border-radius: var(--radius-full); }
.faq-tab-btn {
  flex: none; white-space: nowrap; cursor: pointer;
  border: 2px solid var(--sky-100); background: var(--white); color: var(--ink-700);
  font-family: var(--font-display); font-weight: 700; font-size: 13.5px;
  padding: 11px 18px; border-radius: var(--radius-full); transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.faq-tab-btn:hover { border-color: var(--sky-300); }
.faq-tab-btn.active { background: var(--grad-brand); color: var(--white); border-color: transparent; box-shadow: var(--shadow-sm); }
.faq-tab-content { padding: 30px 32px; min-height: 132px; }
.faq-tab-panel { display: none; }
.faq-tab-panel.active { display: block; animation: fadeUp 0.25s ease; }
.faq-tab-panel h3 { margin-bottom: 10px; font-size: 18px; }
.faq-tab-panel p { margin: 0; font-size: 14.5px; }
@media (max-width: 640px) {
  .faq-tab-content { padding: 24px 22px; }
}

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { background: var(--grad-band); color: var(--white); text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.82); }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 6px; }

/* ==========================================================================
   Page hero (secondary pages)
   ========================================================================== */
.page-hero { background: var(--grad-hero); padding: 64px 0 46px; position: relative; overflow: hidden; }
.page-hero .container { position: relative; z-index: 1; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-grid { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
label { display: block; font-family: var(--font-display); font-weight: 700; font-size: 13px; margin-bottom: 6px; color: var(--ink-900); }
input, select, textarea {
  width: 100%; font-family: var(--font-body); font-size: 14.5px; color: var(--ink-900);
  border: 2px solid var(--sky-100); border-radius: var(--radius-sm); padding: 12px 14px; background: var(--white);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sky-400); box-shadow: 0 0 0 4px var(--sky-100); }
textarea { min-height: 130px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--ink-300); }

.note-box { background: var(--sky-50); border: 1.5px solid var(--sky-200); border-radius: var(--radius-md); padding: 16px 18px; font-size: 13.5px; color: var(--ink-700); }
.success-box { background: var(--success-bg); border: 1.5px solid #86efac; border-radius: var(--radius-md); padding: 20px; text-align: center; color: #14532d; }
.success-box h3 { color: #14532d; margin-bottom: 6px; }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-info-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 40px; }
.contact-info-strip.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .contact-info-strip, .contact-info-strip.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .contact-info-strip, .contact-info-strip.cols-3 { grid-template-columns: 1fr; } }
.contact-info-card {
  text-align: center; padding: 30px 20px; width: 100%; display: block;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.contact-info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--sky-200); text-decoration: none; }
.contact-info-card .cic-icon {
  width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-brand); color: var(--white); box-shadow: var(--shadow-sm);
}
.contact-info-card h4 { margin-bottom: 5px; font-size: 15px; color: var(--ink-900); }
.contact-info-card p { margin: 0; font-size: 13.5px; color: var(--ink-500); }
.contact-info-card p a { color: var(--sky-600); font-weight: 600; }

.contact-form-wide { max-width: 880px; margin: 0 auto; padding: 46px 50px; }
@media (max-width: 640px) { .contact-form-wide { padding: 32px 24px; } }
.contact-form-wide .form-row-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 720px) { .contact-form-wide .form-row-3 { grid-template-columns: 1fr; } }
.contact-form-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 4px; }
.contact-form-foot .note-box { flex: 1; min-width: 240px; margin: 0; }
@media (max-width: 560px) { .contact-form-foot { flex-direction: column-reverse; align-items: stretch; } .contact-form-foot .btn { width: 100%; } }

/* ==========================================================================
   About page
   ========================================================================== */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 940px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
.value-card { text-align: left; }
.value-card .feature-icon { margin-bottom: 12px; }

.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--sky-200); }
.timeline-item { position: relative; padding-bottom: 32px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: -34px; top: 3px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--grad-brand); border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--sky-200);
}
.timeline-item b { display: block; font-family: var(--font-mono); font-size: 12.5px; color: var(--sky-600); margin-bottom: 4px; }
.timeline-item h4 { margin-bottom: 4px; }
.timeline-item p { margin: 0; font-size: 14px; }

.fact-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 760px) { .fact-row { grid-template-columns: 1fr 1fr; } }
.fact-item { text-align: center; padding: 24px 14px; }
.fact-item b { display: block; font-family: var(--font-display); font-size: 26px; color: var(--sky-700); }
.fact-item span { font-size: 12.5px; color: var(--ink-500); }

/* ==========================================================================
   Status page
   ========================================================================== */
.status-banner {
  display: flex; align-items: center; gap: 16px; background: var(--success-bg);
  border: 1.5px solid #86efac; border-radius: var(--radius-lg); padding: 22px 26px; margin-bottom: 32px;
}
.status-banner.degraded { background: var(--warning-bg); border-color: #fcd34d; }
.status-banner.outage { background: var(--danger-bg); border-color: #fca5a5; }
.status-pulse { position: relative; width: 16px; height: 16px; flex: none; }
.status-pulse::before, .status-pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--success);
}
.status-banner.degraded .status-pulse::before, .status-banner.degraded .status-pulse::after { background: var(--warning); }
.status-banner.outage .status-pulse::before, .status-banner.outage .status-pulse::after { background: var(--danger); }
.status-pulse::before { animation: cz-pulse 2s ease-out infinite; }
@keyframes cz-pulse { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(2.6); opacity: 0; } }
.status-banner h2 { margin: 0 0 2px; font-size: 20px; color: #14532d; }
.status-banner.degraded h2 { color: #78350f; }
.status-banner.outage h2 { color: #7f1d1d; }
.status-banner span { font-size: 13px; color: var(--ink-700); }

.uptime-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 40px; }
@media (max-width: 700px) { .uptime-summary { grid-template-columns: 1fr; } }

.service-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 46px; }
.service-row { padding: 20px 24px; }
.service-row-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; flex-wrap: wrap; gap: 10px; }
.service-row-head h4 { margin: 0; }
.status-pill {
  font-family: var(--font-display); font-weight: 700; font-size: 12px;
  padding: 5px 12px; border-radius: var(--radius-full); display: inline-flex; align-items: center; gap: 6px;
  background: var(--success-bg); color: #15803d;
}
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.status-pill.degraded { background: var(--warning-bg); color: #b45309; }
.status-pill.degraded::before { background: var(--warning); }

.uptime-bars { display: flex; gap: 2.5px; align-items: flex-end; height: 34px; }
.uptime-bars .bar { flex: 1; height: 100%; border-radius: 2px; background: var(--success); min-width: 2px; }
.uptime-bars .bar.warn { background: var(--sun-400); }
.uptime-bars .bar.down { background: var(--danger); }
.uptime-caption { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--ink-500); margin-top: 8px; }

.incident-list { display: flex; flex-direction: column; gap: 16px; }
.incident-item { padding: 20px 24px; }
.incident-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.incident-head h4 { margin: 0; }
.incident-date { font-family: var(--font-mono); font-size: 12px; color: var(--ink-500); }
.incident-resolved { font-family: var(--font-display); font-weight: 700; font-size: 11.5px; color: #15803d; background: var(--success-bg); padding: 4px 10px; border-radius: var(--radius-full); }
.incident-item p { margin: 0; font-size: 14px; }

.subscribe-row { display: flex; gap: 10px; max-width: 420px; }
@media (max-width: 480px) { .subscribe-row { flex-direction: column; } }
.subscribe-note { font-size: 12.5px; color: var(--ink-500); margin: 10px 0 0; }

/* ==========================================================================
   Checkout
   ========================================================================== */
.order-shell { display: grid; grid-template-columns: 1fr 380px; gap: 30px; align-items: flex-start; }
@media (max-width: 980px) { .order-shell { grid-template-columns: 1fr; } }

.order-block { background: var(--white); border: 1px solid var(--sky-100); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 26px; margin-bottom: 22px; }
.order-block-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.order-step-num {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  background: var(--grad-brand); color: var(--white);
  font-family: var(--font-mono); font-weight: 700; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.order-block-head h3 { margin: 0; font-size: 17px; }

.product-select-row { display: flex; gap: 10px; margin-bottom: 20px; }
.product-select-row button {
  flex: 1; text-align: left; border: 2px solid var(--sky-100); border-radius: var(--radius-md);
  padding: 12px 16px; background: var(--white); cursor: pointer;
  font-family: var(--font-display); font-weight: 700; font-size: 13.5px; color: var(--ink-700);
}
.product-select-row button.active { border-color: var(--sky-400); background: var(--sky-50); color: var(--sky-700); }
.product-select-row button span { display: block; font-family: var(--font-body); font-weight: 400; font-size: 11.5px; color: var(--ink-500); margin-top: 2px; }

.plan-pick-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 20px; }
@media (max-width: 560px) { .plan-pick-grid { grid-template-columns: 1fr; } }
.plan-pick {
  border: 2px solid var(--sky-100); border-radius: var(--radius-md); padding: 14px 16px; cursor: pointer;
  background: var(--white);
}
.plan-pick.selected { border-color: var(--sky-400); background: var(--sky-50); box-shadow: var(--shadow-sm); }
.plan-pick .pp-name { font-family: var(--font-display); font-weight: 700; font-size: 14.5px; }
.plan-pick .pp-price { font-family: var(--font-mono); font-size: 13px; color: var(--sky-600); }

.addon-row { display: flex; align-items: flex-start; gap: 10px; padding: 12px 0; border-top: 1px dashed var(--sky-100); }
.addon-row:first-of-type { border-top: none; }
.addon-row input { width: auto; margin-top: 3px; }
.addon-row .ar-name { font-weight: 700; font-size: 14px; }
.addon-row .ar-price { font-family: var(--font-mono); font-size: 12.5px; color: var(--sky-600); }
.addon-row .ar-sub { font-size: 12.5px; color: var(--ink-500); }

.pay-method-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-bottom: 20px; }
@media (max-width: 720px) { .pay-method-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pay-method-grid { grid-template-columns: 1fr; } }
.pay-method {
  display: flex; align-items: center; gap: 12px; border: 2px solid var(--sky-100); border-radius: var(--radius-md);
  padding: 14px; cursor: pointer; background: var(--white);
}
.pay-method:hover { background: var(--sky-50); }
.pay-method.selected { border-color: var(--sky-400); background: var(--sky-50); box-shadow: var(--shadow-sm); }
.pay-method .pm-icon {
  width: 36px; height: 36px; border-radius: 50%; background: var(--sky-100); border: none;
  display: flex; align-items: center; justify-content: center; color: var(--sky-600); flex: none;
}
.pay-method.selected .pm-icon { background: var(--grad-brand); color: var(--white); }
.pay-method .pm-name { font-weight: 700; font-size: 14px; }
.pay-method .pm-sub { font-size: 12px; color: var(--ink-500); }
.pay-detail-pane { display: none; border-top: 1px dashed var(--sky-100); padding-top: 16px; margin-top: 4px; }
.pay-detail-pane.active { display: block; animation: fadeUp 0.25s ease; }

.receipt {
  background: var(--white); border: 1px solid var(--sky-100); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); position: sticky; top: 96px; overflow: hidden;
}
.receipt-head { background: var(--grad-band); color: var(--white); padding: 18px 22px; font-family: var(--font-mono); font-size: 12px; }
.receipt-head .r-num { color: var(--sun-300); font-weight: 700; }
.receipt-account { padding: 18px 22px 4px; }
.receipt-account h4 {
  margin: 0 0 10px; font-family: var(--font-display); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-500);
}
.receipt-account .customer-tabs { gap: 6px; margin-bottom: 12px; }
.receipt-account .customer-tabs button { padding: 6px; font-size: 11.5px; }
.receipt-account .customer-pane label { font-size: 11.5px; margin-bottom: 3px; }
.receipt-account .customer-pane input { padding: 8px 10px; font-size: 13px; margin-bottom: 10px; }
.receipt-account .customer-pane #existingContinue { margin-top: 2px; }
.receipt-account #existingNote { font-size: 11.5px; margin: 8px 0 0; }
.receipt-divider-thick { border: none; border-top: 2px solid var(--sky-100); margin: 4px 0 0; }
.receipt-body { padding: 20px 22px; }
.receipt-line { display: flex; justify-content: space-between; gap: 10px; font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-700); padding: 6px 0; }
.receipt-divider { border: none; border-top: 1.5px dashed var(--sky-200); margin: 10px 0; }
.coupon-row { padding: 2px 0 8px; }
.coupon-row label { font-size: 11.5px; margin-bottom: 5px; }
.coupon-input-row { display: flex; gap: 6px; }
.coupon-input-row input { padding: 8px 10px; font-size: 12.5px; }
.coupon-input-row .btn { padding: 8px 12px; font-size: 11.5px; white-space: nowrap; flex: none; }
.coupon-note { font-size: 11px; color: var(--ink-500); margin: 7px 0 0; line-height: 1.5; }
.receipt-total { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-mono); font-weight: 700; padding-top: 10px; }
.receipt-total .amt { font-size: 22px; color: var(--sky-700); }
.receipt-foot { font-size: 11.5px; color: var(--ink-500); padding: 14px 22px 20px; background: var(--mist); }

.customer-tabs { display: flex; gap: 10px; margin-bottom: 18px; }
.customer-tabs button {
  flex: 1; font-family: var(--font-display); font-weight: 700; font-size: 13.5px;
  padding: 10px; border: 2px solid var(--sky-100); border-radius: var(--radius-sm); background: var(--white); cursor: pointer;
}
.customer-tabs button.active { background: var(--ink-900); color: var(--white); border-color: var(--ink-900); }
.customer-pane { display: none; }
.customer-pane.active { display: block; animation: fadeUp 0.25s ease; }

.order-error { display: none; background: var(--danger-bg); border: 2px solid var(--danger); color: var(--danger); border-radius: var(--radius-md); padding: 12px 14px; font-size: 13.5px; margin-bottom: 14px; }
.terms-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 18px; font-size: 13px; color: var(--ink-700); }
.terms-row input { width: auto; margin-top: 3px; }
.order-submit-row { display: flex; justify-content: flex-end; }

.confirm-panel { text-align: center; padding: 20px 10px; }
.check-badge {
  width: 64px; height: 64px; border-radius: 50%; background: var(--success-bg); color: var(--success);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
}
.ref-code {
  display: inline-block; font-family: var(--font-mono); font-size: 15px; font-weight: 700; color: var(--sky-700);
  background: var(--sky-50); border: 1.5px dashed var(--sky-300); border-radius: var(--radius-sm); padding: 10px 18px; margin: 14px 0;
}

/* ==========================================================================
   Modals
   ========================================================================== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(12, 74, 110, 0.42); z-index: 90;
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--white); border-radius: var(--radius-lg); max-width: 640px; width: 100%;
  max-height: 82vh; overflow-y: auto; box-shadow: var(--shadow-lg);
}
.modal-head {
  display: flex; align-items: center; justify-content: space-between; padding: 20px 26px;
  border-bottom: 1px solid var(--sky-100); position: sticky; top: 0; background: var(--white);
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
}
.modal-close { background: none; border: none; font-size: 22px; cursor: pointer; color: var(--ink-500); line-height: 1; padding: 4px; }
.modal-body { padding: 22px 26px 30px; font-size: 14px; color: var(--ink-700); }
.modal-body h4 { margin: 20px 0 8px; }
.modal-body h4:first-child { margin-top: 0; }

/* ==========================================================================
   Chat floating action button
   ========================================================================== */
.chat-fab {
  position: fixed; right: 26px; bottom: 26px; z-index: 58;
  width: 58px; height: 58px; border-radius: var(--radius-lg); border: none; cursor: pointer;
  background: var(--grad-brand); color: var(--white); box-shadow: var(--shadow-glow);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.15s ease;
}
.chat-fab:hover { transform: scale(1.06); }
.chat-panel {
  position: fixed; right: 26px; bottom: 96px; z-index: 59; width: 320px;
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 1px solid var(--sky-100); overflow: hidden; display: none;
}
.chat-panel.open { display: block; animation: fadeUp 0.2s ease; }
.chat-panel-head { background: var(--grad-brand); color: var(--white); padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.chat-panel-close { background: none; border: none; color: var(--white); font-size: 18px; cursor: pointer; line-height: 1; }
.chat-panel-body { padding: 16px 18px; }
.chat-bubble { background: var(--mist); border-radius: var(--radius-md); padding: 12px 14px; font-size: 13.5px; color: var(--ink-700); }
.chat-panel-form { display: flex; gap: 8px; padding: 0 18px 18px; }
.chat-panel-form input { flex: 1; padding: 10px 12px; font-size: 13.5px; }
.chat-panel-form button { border: none; background: var(--grad-brand); color: var(--white); border-radius: var(--radius-sm); padding: 0 16px; font-family: var(--font-display); font-weight: 700; font-size: 13px; cursor: pointer; }

@media (max-width: 480px) {
  .chat-panel { width: calc(100vw - 32px); right: 16px; bottom: 88px; }
  .chat-fab { right: 16px; bottom: 16px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--grad-dark); color: rgba(255,255,255,0.72); position: relative; overflow: hidden; padding-top: 64px; }
.footer-cloud-line { position: absolute; top: 0; left: 0; right: 0; height: 46px; overflow: hidden; }
.site-footer .container { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 7px; font-family: var(--font-display); font-weight: 800; font-size: 19px; color: var(--white); margin-bottom: 14px; }
.site-footer p { color: rgba(255,255,255,0.6); font-size: 14px; }
.footer-col h4 { color: var(--white); font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: rgba(255,255,255,0.68); font-size: 14px; }
.footer-col a:hover { color: var(--white); text-decoration: none; }
.footer-status-ok { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: #86efac; margin-top: 4px; }
.footer-status-ok .dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding: 22px 0; display: flex;
  align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(255,255,255,0.5);
}
.legal-links { display: flex; gap: 10px; }
.legal-links a { color: rgba(255,255,255,0.5); font-size: 13px; }
.legal-links a:hover { color: var(--white); }

/* ==========================================================================
   Reveal-on-scroll utility
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-stagger .stagger-child { transition-delay: calc(var(--i, 0) * 90ms); }

@media (max-width: 640px) {
  h1 { font-size: 36px; }
  .hero h1 { font-size: 36px; }
  h2 { font-size: 27px; }
  section { padding: 56px 0; }
}
