/* ==========================================================================
   Vibe Hosting — Design tokens
   Palette : Ink #150F23 · Paper #1E1730 · Coral #FF6B5B ·
             Teal #3ED6B5 · Gold #FFC857 · Text #F3EFEA
   Type    : Space Grotesk (display) · Inter (body) · JetBrains Mono (utility)
   Signature: the "vibe meter" equalizer + live-typed deploy terminal
   ========================================================================== */

:root{
  --ink: #150F23;
  --ink-soft: #1A1330;
  --paper: #1E1730;
  --paper-2: #2A2140;
  --line: #352A50;
  --coral: #FF6B5B;
  --teal: #3ED6B5;
  --gold: #FFC857;
  --text: #F3EFEA;
  --text-dim: #B7AFCB;
  --text-faint: #7C7396;

  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  --radius: 16px;
  --radius-sm: 10px;
  --wrap: 1160px;
}

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

body{
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3{
  font-family: var(--font-display);
  color: var(--text);
  margin: 0;
  letter-spacing: -0.01em;
}

p{ margin: 0; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
img, svg{ display: block; max-width: 100%; }

.wrap{
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

.text-gradient{
  background: linear-gradient(100deg, var(--coral), var(--gold) 55%, var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* subtle film-grain texture over the whole page for warmth */
.grain{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }

.btn--primary{
  background: linear-gradient(100deg, var(--coral), var(--gold));
  color: var(--ink);
  box-shadow: 0 10px 24px -8px rgba(255, 107, 91, .55);
}
.btn--primary:hover{ box-shadow: 0 14px 30px -8px rgba(255, 107, 91, .7); }

.btn--outline{
  border-color: var(--line);
  color: var(--text);
  background: transparent;
}
.btn--outline:hover{ border-color: var(--teal); color: var(--teal); }

.btn--ghost{
  border-color: var(--line);
  background: var(--paper);
  color: var(--text);
  font-size: 14px;
  padding: 10px 20px;
}
.btn--ghost:hover{ border-color: var(--gold); }

.btn--lg{ padding: 16px 34px; font-size: 16px; }

/* ---------- eyebrow / section titles ---------- */
.eyebrow{
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.eyebrow--center{ text-align: center; }

.section-title{
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
  line-height: 1.25;
}
.section-title--left{ margin: 0 0 20px; text-align: left; }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(21, 15, 35, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo{
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
}
.logo__dot{ color: var(--coral); }
.logo__mark{
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
}
.logo__mark .bar{
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--coral), var(--gold));
  animation: eqPulse 1.1s ease-in-out infinite;
}
.logo__mark .bar:nth-child(1){ height: 40%; animation-delay: 0s; }
.logo__mark .bar:nth-child(2){ height: 100%; animation-delay: .15s; }
.logo__mark .bar:nth-child(3){ height: 65%; animation-delay: .3s; }
.logo__mark .bar:nth-child(4){ height: 85%; animation-delay: .45s; }

@keyframes eqPulse{
  0%, 100%{ transform: scaleY(.5); opacity: .7; }
  50%{ transform: scaleY(1); opacity: 1; }
}

.nav__links{ display: flex; gap: 32px; }
.nav__links a{
  font-size: 14.5px;
  color: var(--text-dim);
  transition: color .15s ease;
}
.nav__links a:hover{ color: var(--text); }

@media (max-width: 820px){
  .nav__links{ display: none; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{
  padding: 96px 0 80px;
  background:
    radial-gradient(60% 50% at 85% -10%, rgba(255,107,91,.16), transparent 60%),
    radial-gradient(50% 40% at 10% 10%, rgba(62,214,181,.12), transparent 60%);
}
.hero__inner{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero__copy h1{
  font-size: clamp(38px, 5.4vw, 62px);
  font-weight: 700;
  line-height: 1.08;
}
.hero__sub{
  margin-top: 22px;
  font-size: 18px;
  color: var(--text-dim);
  max-width: 480px;
}
.hero__actions{
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.hero__note{
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-faint);
}

/* --- signature: vibe meter card --- */
.vibe-meter{
  background: linear-gradient(165deg, var(--paper), var(--ink-soft));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.55);
}
.vibe-meter__head{
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.dot{ width: 9px; height: 9px; border-radius: 50%; }
.dot--r{ background: var(--coral); }
.dot--y{ background: var(--gold); }
.dot--g{ background: var(--teal); }
.vibe-meter__title{
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-faint);
}
.vibe-meter__bars{
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 160px;
  padding: 0 4px;
}
.vibe-meter__bars span{
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--gold), var(--coral) 60%, var(--teal));
  animation: vibeBar 1.4s ease-in-out infinite;
}
@keyframes vibeBar{
  0%, 100%{ transform: scaleY(var(--min, .25)); }
  50%{ transform: scaleY(var(--max, 1)); }
}
.vibe-meter__bars span{ transform-origin: bottom; }

.vibe-meter__foot{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-dim);
}
.vibe-meter__status{ color: var(--teal); }

@media (max-width: 900px){
  .hero__inner{ grid-template-columns: 1fr; }
  .hero__copy{ text-align: left; }
}

/* ==========================================================================
   STATS
   ========================================================================== */
.stats{
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink-soft);
}
.stats__grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 40px 0;
}
.stats__item{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  border-left: 1px solid var(--line);
}
.stats__item:first-child{ border-left: none; }
.stats__value{
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--gold);
}
.stats__label{
  font-size: 13px;
  color: var(--text-faint);
}

@media (max-width: 700px){
  .stats__grid{ grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .stats__item:nth-child(3){ border-left: none; }
}

/* ==========================================================================
   FEATURES
   ========================================================================== */
.features{ padding: 110px 0; }

.features__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: border-color .2s ease, transform .2s ease;
}
.feature-card:hover{
  border-color: var(--teal);
  transform: translateY(-4px);
}
.feature-card__icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--paper-2);
  color: var(--coral);
  margin-bottom: 18px;
}
.feature-card__icon svg{ width: 21px; height: 21px; }
.feature-card h3{
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}
.feature-card p{
  font-size: 14.5px;
  color: var(--text-dim);
}

@media (max-width: 900px){
  .features__grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px){
  .features__grid{ grid-template-columns: 1fr; }
}

/* ==========================================================================
   DEPLOY / TERMINAL
   ========================================================================== */
.deploy{ padding: 0 0 110px; }
.deploy__inner{
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.deploy__desc{
  color: var(--text-dim);
  margin-bottom: 22px;
  max-width: 460px;
}
.deploy__list li{
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  font-size: 14.5px;
  color: var(--text-dim);
}
.deploy__list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--teal);
}

.terminal{
  background: #0F0A1C;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
}
.terminal__bar{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.terminal__title{
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-faint);
}
.terminal__body{
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  min-height: 220px;
}
.terminal__line{
  color: var(--text-dim);
  margin-bottom: 12px;
  opacity: 0;
  transform: translateY(4px);
  animation: lineIn .4s ease forwards;
  animation-delay: calc(var(--delay) * .45s + .2s);
}
.terminal__line:first-child{ color: var(--text); }
.terminal__line:last-child{ color: var(--teal); }
.terminal__t{
  color: var(--text-faint);
  margin-right: 14px;
}
@keyframes lineIn{
  to{ opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px){
  .deploy__inner{ grid-template-columns: 1fr; }
}

/* ==========================================================================
   PRICING
   ========================================================================== */
.pricing{
  padding: 110px 0;
  background: var(--ink-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pricing__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.price-card{
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
}
.price-card--highlight{
  border-color: var(--coral);
  background: linear-gradient(165deg, var(--paper-2), var(--paper));
  transform: translateY(-10px);
}
.price-card__badge{
  position: absolute;
  top: -13px;
  left: 28px;
  background: linear-gradient(100deg, var(--coral), var(--gold));
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}
.price-card h3{ font-size: 21px; margin-bottom: 8px; }
.price-card__tagline{
  font-size: 13.5px;
  color: var(--text-faint);
  min-height: 40px;
}
.price-card__price{
  margin: 20px 0 24px;
  font-family: var(--font-display);
}
.price-card__price span{ font-size: 34px; font-weight: 700; }
.price-card__price small{ color: var(--text-faint); font-size: 14px; }
.price-card__features{ flex: 1; margin-bottom: 28px; }
.price-card__features li{
  font-size: 14px;
  color: var(--text-dim);
  padding: 8px 0;
  border-top: 1px solid var(--line);
}
.price-card__features li:first-child{ border-top: none; }
.price-card__cta{ width: 100%; }

@media (max-width: 900px){
  .pricing__grid{ grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .price-card--highlight{ transform: none; }
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials{ padding: 110px 0; }
.testimonials__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.testimonial-card{
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.testimonial-card p{
  font-size: 15px;
  color: var(--text);
  line-height: 1.65;
}
.testimonial-card footer{
  display: flex;
  flex-direction: column;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-style: normal;
}
.testimonial-card footer strong{ font-size: 14px; }
.testimonial-card footer span{ font-size: 12.5px; color: var(--text-faint); }

@media (max-width: 900px){
  .testimonials__grid{ grid-template-columns: 1fr; }
}

/* ==========================================================================
   CTA
   ========================================================================== */
.cta{
  padding: 100px 0;
  text-align: center;
  background:
    radial-gradient(60% 100% at 50% 0%, rgba(255,107,91,.15), transparent 70%);
}
.cta h2{
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 14px;
}
.cta p{
  color: var(--text-dim);
  margin-bottom: 32px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer{
  border-top: 1px solid var(--line);
  padding-top: 64px;
  background: var(--ink-soft);
}
.footer__inner{
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 48px;
}
.footer__brand p{
  margin-top: 12px;
  color: var(--text-faint);
  font-size: 14px;
  max-width: 220px;
}
.logo--footer{ font-size: 17px; }
.footer__col h4{
  font-family: var(--font-mono);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-faint);
  margin-bottom: 16px;
}
.footer__col li{ margin-bottom: 10px; }
.footer__col a{
  font-size: 14px;
  color: var(--text-dim);
  transition: color .15s ease;
}
.footer__col a:hover{ color: var(--teal); }

.footer__bottom{
  border-top: 1px solid var(--line);
  padding: 22px 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-faint);
}

@media (max-width: 820px){
  .footer__inner{ grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  html{ scroll-behavior: auto; }
}

/* focus visibility */
a:focus-visible, button:focus-visible{
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}
