/* TowerVPS — dawn skyline · architectural elevation */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=Outfit:wght@400;500;600;700;800&family=Syne:wght@600;700;800&display=swap');

:root {
  --mist: #e8eef5;
  --mist-2: #f4f7fb;
  --paper: #fbfcfe;
  --ink: #12161f;
  --ink-soft: #3a4458;
  --muted: #6b7689;
  --line: rgba(18, 22, 31, 0.1);
  --line-strong: rgba(18, 22, 31, 0.18);
  --signal: #1a5cff;
  --signal-deep: #0e3eb8;
  --signal-soft: rgba(26, 92, 255, 0.1);
  --glow: #ffb347;
  --glow-soft: rgba(255, 179, 71, 0.35);
  --tower: #1a2233;
  --tower-mid: #2a3548;
  --radius: 0;
  --font-display: "Syne", sans-serif;
  --font-body: "Outfit", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --max: 1160px;
  --header-h: 70px;
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-soft);
  background:
    radial-gradient(ellipse 80% 50% at 70% -10%, rgba(26, 92, 255, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 30%, var(--glow-soft), transparent 50%),
    linear-gradient(165deg, #d5e0ec 0%, var(--mist) 35%, var(--mist-2) 70%, #eef2f7 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--signal); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--signal-deep); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.08;
  font-weight: 750;
  letter-spacing: -0.03em;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }
.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.mono { font-family: var(--font-mono); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--signal); color: #fff;
  padding: 0.6rem 1rem; z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Top */
.topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(251, 252, 254, 0.72);
  backdrop-filter: blur(10px);
  font-size: 0.78rem;
  color: var(--muted);
}
.topbar .container {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.45rem 0; flex-wrap: wrap;
}
.topbar a {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
}
.topbar a:hover { color: var(--signal); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(244, 247, 251, 0.82);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%;
}

.logo {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.4rem;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.logo:hover { color: var(--ink); }
.logo span { color: var(--signal); }
.logo-mark { width: 26px; height: 34px; flex-shrink: 0; }

.nav {
  display: flex; align-items: center; gap: 1.4rem;
  font-size: 0.92rem; font-weight: 600;
}
.nav a { color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.btn-nav {
  padding: 0.5rem 1rem !important;
  background: var(--ink) !important;
  color: #fff !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 0 100%);
}
.btn-nav:hover { background: var(--signal) !important; color: #fff !important; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 0.4rem;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); transition: 0.2s;
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav {
    display: none; position: absolute;
    top: calc(var(--header-h) + 30px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(251, 252, 254, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1.25rem 1.25rem;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
  .btn-nav { text-align: center; margin-top: 0.5rem; clip-path: none; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem; padding: 0.85rem 1.4rem;
  font-family: var(--font-body); font-weight: 700; font-size: 0.92rem;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--ink);
  color: #fff;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 0 100%);
  box-shadow: 8px 12px 32px rgba(18, 22, 31, 0.18);
}
.btn-primary:hover { background: var(--signal); color: #fff; }
.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--signal); color: var(--signal); }
.cta-group { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }

/* Hero — full composition */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h) - 32px);
  display: flex; align-items: center;
  overflow: hidden; isolation: isolate;
  padding: 3.5rem 0 4rem;
}
.hero-atmosphere {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
}
.hero-atmosphere svg {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-haze {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(232, 238, 245, 0.95) 0%, rgba(232, 238, 245, 0.72) 38%, rgba(232, 238, 245, 0.15) 62%, transparent 78%),
    linear-gradient(180deg, transparent 60%, rgba(232, 238, 245, 0.55) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 34rem;
  padding-top: 1rem;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-bottom: 1.1rem;
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--signal-deep);
  font-weight: 600;
}
.hero-badge::before {
  content: "";
  width: 18px; height: 2px;
  background: var(--signal);
}

.brand-hero {
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 12vw, 6.4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.86;
  margin: 0 0 1rem;
  color: #0a0d14;
  text-shadow: 0 1px 0 rgba(255,255,255,0.4);
}
.brand-hero span { color: var(--signal); }

.hero-headline {
  font-size: clamp(1.25rem, 2.6vw, 1.55rem);
  font-weight: 650;
  color: var(--ink);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
  max-width: 18ch;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 30rem;
  margin: 0;
}

/* Elevation marker strip */
.elev-strip {
  display: flex; gap: 0;
  margin-top: 2.5rem;
  border-top: 1px solid var(--line-strong);
}
.elev-strip a {
  flex: 1;
  padding: 0.85rem 0.5rem 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-right: 1px solid var(--line);
  transition: color 0.2s, padding 0.2s;
}
.elev-strip a:last-child { border-right: 0; }
.elev-strip a strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 0.15rem;
  text-transform: none;
}
.elev-strip a:hover { color: var(--signal); padding-top: 0.65rem; }
.elev-strip a:hover strong { color: var(--signal); }

/* Sections */
.section { padding: 5.5rem 0; position: relative; }
.section-alt {
  background: rgba(251, 252, 254, 0.65);
  border-block: 1px solid var(--line);
}
.section-label {
  font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--signal); margin-bottom: 0.65rem;
}
.section-title {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  max-width: 12ch;
}
.section-lead {
  color: var(--muted); max-width: 36rem; margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.story-grid {
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: 3rem; align-items: end;
}
.story-visual {
  position: relative;
  min-height: 320px;
  background: linear-gradient(160deg, #cfd9e6, #e8eef5);
  border: 1px solid var(--line-strong);
  overflow: hidden;
}
.story-visual svg { width: 100%; height: 100%; min-height: 320px; }
.story-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(232, 238, 245, 0.4), transparent 40%);
  pointer-events: none;
}

.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; margin-top: 2.5rem;
  border: 1px solid var(--line-strong);
}
.pillar {
  padding: 1.75rem 1.5rem;
  border-right: 1px solid var(--line);
  background: rgba(251, 252, 254, 0.7);
  transition: background 0.25s;
}
.pillar:last-child { border-right: 0; }
.pillar:hover { background: #fff; }
.pillar .mono {
  display: block; font-size: 0.68rem; color: var(--signal);
  margin-bottom: 0.75rem; letter-spacing: 0.1em;
}
.pillar h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.pillar p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* Floor stack plans — building elevation, not cards */
.plans-grid {
  display: flex; flex-direction: column-reverse;
  gap: 0; margin-top: 2rem;
  border: 1px solid var(--line-strong);
  background: var(--paper);
}
.plan {
  position: relative;
  display: grid;
  grid-template-columns: 7rem 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.35rem 1.5rem;
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: background 0.25s, box-shadow 0.25s;
}
.plan:first-child { border-bottom: 0; } /* visually top after column-reverse = Floor 16 */
.plans-grid > .plan:last-child { /* Floor 2 at bottom of reverse = first in DOM visually at bottom */
  border-bottom: 1px solid var(--line);
}
.plan:hover, .plan:focus-within {
  background: #fff;
  box-shadow: inset 4px 0 0 var(--signal);
  transform: none;
}
.plan.featured {
  background: linear-gradient(90deg, var(--signal-soft), transparent 55%);
  box-shadow: inset 4px 0 0 var(--signal);
}
.plan.featured::before {
  content: "POPULAR";
  position: absolute; top: 0.75rem; right: 1.35rem;
  font-family: var(--font-mono); font-size: 0.6rem;
  letter-spacing: 0.1em; color: var(--signal);
}
.plan-floor {
  font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--signal); margin: 0;
}
.plan-name {
  font-size: 1.45rem; margin: 0.15rem 0 0;
  grid-column: 1;
}
.plan-price {
  font-family: var(--font-display);
  font-size: 1.85rem; font-weight: 800;
  color: var(--ink); margin: 0;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.plan-price small {
  font-size: 0.8rem; font-weight: 500; color: var(--muted);
  font-family: var(--font-body);
}
.plan-desc { display: none; }
.plan-mid { grid-column: 2; }
.plan-specs {
  list-style: none; padding: 0; margin: 0.35rem 0 0;
  display: flex; flex-wrap: wrap; gap: 0.35rem 1.1rem;
}
.plan-specs li {
  display: inline-flex; gap: 0.35rem;
  font-size: 0.82rem; color: var(--muted);
  padding: 0; border: 0;
}
.plan-specs li span:first-child { display: none; }
.plan-specs li span:last-child {
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}
.plan .btn {
  grid-column: 3;
  width: auto;
  min-width: 9.5rem;
  clip-path: none;
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
}
.pricing-note {
  margin-top: 1.35rem; font-size: 0.88rem; color: var(--muted); max-width: 52rem;
}

.features-row {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0; margin-top: 2rem;
  border: 1px solid var(--line-strong);
}
.feature {
  padding: 1.75rem 1.5rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 252, 254, 0.7);
}
.feature:nth-child(2n) { border-right: 0; }
.feature:nth-child(n+3) { border-bottom: 0; }
.feature h3 {
  font-size: 1.25rem; display: flex; gap: 0.65rem; align-items: baseline;
}
.feature .num {
  font-family: var(--font-mono); font-size: 0.72rem;
  color: var(--signal); letter-spacing: 0.06em;
}
.feature p { color: var(--muted); margin: 0; font-size: 0.95rem; }

.faq-list { max-width: 720px; margin-top: 1.5rem; }
.faq-item { border-bottom: 1px solid var(--line-strong); padding: 1rem 0; }
.faq-item summary {
  cursor: pointer; font-family: var(--font-display);
  font-weight: 700; font-size: 1.15rem; color: var(--ink);
  list-style: none; letter-spacing: -0.02em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; color: var(--signal); font-weight: 700; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { color: var(--muted); margin: 0.75rem 0 0.25rem; }

.cta-band {
  padding: 5rem 0;
  position: relative;
  background:
    linear-gradient(120deg, rgba(26, 92, 255, 0.08), transparent 40%),
    var(--ink);
  color: #b8c0d0;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; right: 8%; bottom: 0;
  width: 120px; height: 70%;
  background: linear-gradient(180deg, var(--signal), transparent);
  opacity: 0.35;
  clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%);
  animation: tower-breathe 4s ease-in-out infinite;
}
@keyframes tower-breathe {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.45; }
}
.cta-band .section-label { color: var(--glow); }
.cta-band .section-title { color: #fff; max-width: 12ch; }
.cta-band .section-lead { color: #8b95a8; }
.cta-band .btn-ghost {
  border-color: rgba(255,255,255,0.25); color: #fff;
}
.cta-band .btn-ghost:hover { border-color: var(--glow); color: var(--glow); }
.cta-band .btn-primary {
  background: #fff; color: var(--ink);
  box-shadow: none;
}
.cta-band .btn-primary:hover { background: var(--glow); color: var(--ink); }

.page-hero {
  padding: 3.5rem 0 2.25rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 40% 80% at 90% 0%, rgba(26, 92, 255, 0.1), transparent 50%);
}
.page-hero h1 { font-size: clamp(2.1rem, 4.5vw, 3rem); max-width: 12ch; }
.page-hero p { color: var(--muted); max-width: 36rem; margin: 0; }

.prose { max-width: 740px; }
.prose h2 { margin-top: 2rem; font-size: 1.25rem; }
.prose p, .prose li { color: var(--muted); }
.prose a { text-decoration: underline; text-underline-offset: 0.15em; }
.prose strong { color: var(--ink); }

.stat-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; margin: 0 0 2rem;
  border: 1px solid var(--line-strong);
}
.stat-strip div {
  padding: 1.15rem 1.25rem;
  border-right: 1px solid var(--line);
  background: rgba(251, 252, 254, 0.8);
}
.stat-strip div:last-child { border-right: 0; }
.stat-strip strong {
  display: block; font-family: var(--font-display);
  font-size: 1.35rem; color: var(--signal); margin-bottom: 0.25rem;
}
.stat-strip span { font-size: 0.85rem; color: var(--muted); }

.contact-layout {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2rem;
}
.contact-details { margin: 0; }
.contact-details dt {
  font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--signal); margin-top: 1rem;
}
.contact-details dt:first-child { margin-top: 0; }
.contact-details dd { margin: 0.25rem 0 0; color: var(--ink-soft); }
.contact-form {
  padding: 1.5rem;
  border: 1px solid var(--line-strong);
  background: rgba(251, 252, 254, 0.9);
  display: grid; gap: 0.9rem;
}
.contact-form label { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 0.3rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 0.7rem 0.85rem;
  border: 1px solid var(--line-strong);
  background: #fff; color: var(--ink); font: inherit;
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.consent {
  display: flex; gap: 0.65rem; align-items: flex-start;
  font-size: 0.88rem; color: var(--muted); line-height: 1.45;
}
.consent input { margin-top: 0.25rem; flex-shrink: 0; width: auto; }
.form-hint { font-size: 0.8rem; color: var(--muted); margin: 0; }

.site-footer {
  padding: 3rem 0 1.5rem;
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: #8b95a8;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem; margin-bottom: 2rem;
}
.footer-brand {
  font-family: var(--font-display); font-size: 1.45rem;
  font-weight: 800; letter-spacing: -0.03em;
  color: #fff; margin-bottom: 0.5rem;
}
.footer-brand span { color: var(--glow); }
.footer-grid > div > p { color: #8b95a8; font-size: 0.92rem; max-width: 28ch; }
.footer-grid h4 {
  font-family: var(--font-mono);
  font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--glow); margin-bottom: 0.75rem;
  font-weight: 500;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.45rem; }
.footer-links a { color: #8b95a8; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem;
  padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.82rem; color: #6b7689;
}
.footer-legal a { color: #6b7689; margin: 0 0.15rem; }
.footer-legal a:hover { color: var(--glow); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .story-grid { grid-template-columns: 1fr; }
  .plan {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .plan-name { grid-column: 1; }
  .plan-mid { grid-column: 1; }
  .plan .btn { grid-column: 1; width: 100%; }
  .plan.featured::before { top: 1rem; }
}
@media (max-width: 720px) {
  .pillars, .features-row, .contact-layout, .footer-grid, .stat-strip {
    grid-template-columns: 1fr;
  }
  .pillar, .stat-strip div, .feature {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .feature:nth-child(n+3) { border-bottom: 1px solid var(--line); }
  .feature:last-child, .pillar:last-child, .stat-strip div:last-child { border-bottom: 0; }
  .elev-strip { flex-wrap: wrap; }
  .elev-strip a { flex: 1 1 40%; border-bottom: 1px solid var(--line); }
  .hero { align-items: center; min-height: auto; padding: 3.5rem 0 3rem; }
}
