/* SaasVaud — V1C palette · noir / crème / gris + accent vert */

:root {
  --bg: #0e0e0e;
  --bg-elev: #161616;
  --bg-subtle: #1d1d1d;
  --fg: #f4f0e6;
  --fg-muted: #a8a294;
  --fg-subtle: #7d7866;
  --border: rgba(244, 240, 230, 0.08);
  --border-strong: rgba(244, 240, 230, 0.16);

  --green: #3aaf6e;
  --green-light: #7dd3a0;
  --green-deep: #228b57;
  --cream: #f4f0e6;
  --accent: #3aaf6e;

  --orange: #ff7a1a;
  --orange-bright: #ff9442;
  --orange-glow: rgba(255, 122, 26, 0.55);

  --grad-green: linear-gradient(135deg, #3aaf6e 0%, #7dd3a0 100%);
  --grad-text:  linear-gradient(135deg, #f4f0e6 0%, #7dd3a0 60%, #3aaf6e 100%);
  --grad-mesh:  radial-gradient(at 20% 10%, rgba(58,175,110,0.4), transparent 55%),
                radial-gradient(at 85% 100%, rgba(58,175,110,0.18), transparent 55%);

  --font-sans: "Geist", -apple-system, system-ui, sans-serif;
  --font-mono: "Fira Code", "JetBrains Mono", "Geist Mono", monospace;
  --font-display: "Space Grotesk", "Geist", sans-serif;

  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --max-w: 1240px;
  --nav-h: 68px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: linear-gradient(180deg, #0e0e0e 0%, #1a1a1a 100%);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: ""; position: fixed; inset: 0;
  background: var(--grad-mesh);
  pointer-events: none; z-index: 0;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--green); color: var(--cream); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.section { padding: 96px 0; position: relative; }

/* ── Nav ── */
.nav { position: sticky; top: 12px; z-index: 50; padding: 0 12px; }
.nav__inner {
  max-width: var(--max-w); margin: 0 auto;
  height: var(--nav-h); padding: 0 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: rgba(14,14,14,0.7);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(244,240,230,0.04) inset, 0 12px 30px -12px rgba(0,0,0,0.5);
}
.nav__logo { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; letter-spacing: -0.02em; }
.nav__logo-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--grad-green);
  display: grid; place-items: center;
  color: var(--cream); font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  box-shadow: 0 0 0 1px rgba(244,240,230,0.1) inset, 0 8px 20px -8px var(--green);
}
.nav__logo span.dot {
  background: var(--grad-green);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav__links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav__links a { font-size: 13px; color: var(--fg-muted); transition: color 0.2s var(--ease); }
.nav__links a:hover, .nav__links a.active { color: var(--fg); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; font-size: 13px; font-weight: 500;
  border-radius: 999px; border: 1px solid transparent;
  transition: all 0.25s var(--ease); white-space: nowrap;
}
.btn--primary {
  background: var(--cream); color: #0e0e0e;
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 12px 32px -10px rgba(244,240,230,0.4); }

.btn--accent {
  background: var(--grad-green); color: var(--cream);
  box-shadow: 0 0 0 1px rgba(244,240,230,0.1) inset, 0 8px 24px -8px var(--green);
}
.btn--accent:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(244,240,230,0.16) inset, 0 14px 36px -10px var(--green); }

.btn--ghost {
  background: rgba(244,240,230,0.05);
  color: var(--fg);
  border-color: var(--border-strong);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(244,240,230,0.08); border-color: rgba(244,240,230,0.25); }
.btn--lg { padding: 14px 24px; font-size: 14px; }
.btn svg { width: 14px; height: 14px; }

/* ── Hero ── */
.hero { padding: 80px 0 64px; position: relative; overflow: hidden; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(244,240,230,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,240,230,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 30%, transparent 80%);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(244,240,230,0.05);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  backdrop-filter: blur(10px);
}
.eyebrow__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: pulseGlow 2s var(--ease) infinite;
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 8px var(--green); }
  50% { box-shadow: 0 0 18px var(--green); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 8vw, 92px);
  line-height: 1.0;
  letter-spacing: -0.04em;
  font-weight: 600;
  margin: 24px 0 24px;
  text-wrap: balance;
}
.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradFlow 8s var(--ease) infinite;
}
@keyframes gradFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero__lede { font-size: 18px; color: var(--fg-muted); max-width: 600px; margin: 0 0 32px; line-height: 1.55; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__meta {
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
@media (max-width: 700px) { .hero__meta { grid-template-columns: 1fr 1fr; } }
.hero__meta-item strong {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--fg);
  display: block;
}
.hero__meta-item span {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--fg-subtle);
}

/* ── Glow ── */
.floater {
  position: absolute; border-radius: 50%;
  filter: blur(50px); opacity: 0.4;
  pointer-events: none;
  animation: float 14s var(--ease) infinite alternate;
}
@keyframes float { to { transform: translate(40px, -40px) scale(1.2); } }

/* ── Phone ── */
.phone {
  width: 100%; max-width: 340px;
  aspect-ratio: 9 / 19;
  border-radius: 38px;
  background: linear-gradient(180deg, #1e1e1e, #0a0a0a);
  padding: 8px;
  position: relative;
  box-shadow: 0 0 0 1px rgba(244,240,230,0.06) inset, 0 0 80px -10px var(--green), 0 40px 80px -30px rgba(0,0,0,0.7);
}
.phone__notch { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 110px; height: 22px; background: #000; border-radius: 12px; z-index: 2; }
.phone__screen { width: 100%; height: 100%; border-radius: 30px; background: #0a1411; overflow: hidden; display: flex; flex-direction: column; }
.wa-header { background: linear-gradient(180deg, #1a2a26, #14201d); padding: 38px 14px 12px; display: flex; align-items: center; gap: 10px; }
.wa-header__avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--grad-green); display: grid; place-items: center; font-family: var(--font-mono); font-size: 11px; color: var(--cream); font-weight: 700; }
.wa-header__name { font-weight: 600; font-size: 13px; }
.wa-header__status { font-size: 10.5px; color: rgba(244,240,230,0.5); }
.wa-body { flex: 1; padding: 12px; background: #0a1411; display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
.wa-msg { max-width: 78%; padding: 8px 11px; border-radius: 8px; font-size: 12.5px; color: #e7f3ed; word-break: break-word; animation: msgIn 0.4s var(--ease) both; }
.wa-msg--in { align-self: flex-start; background: #1f2c2a; border-top-left-radius: 2px; }
.wa-msg--out { align-self: flex-end; background: linear-gradient(135deg, #1a5a3a, #228b57); border-top-right-radius: 2px; }
.wa-typing { align-self: flex-start; background: #1f2c2a; padding: 10px 12px; border-radius: 8px; border-top-left-radius: 2px; display: flex; gap: 4px; }
.wa-typing span { width: 6px; height: 6px; border-radius: 50%; background: #6b8479; animation: typing 1.4s infinite both; }
.wa-typing span:nth-child(2) { animation-delay: 0.15s; }
.wa-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-3px); opacity: 1; } }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px) scale(0.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
.wa-input { padding: 10px 12px; background: #1a2422; display: flex; gap: 8px; align-items: center; }
.wa-input__field { flex: 1; background: #2a3938; border-radius: 18px; padding: 7px 12px; font-size: 11px; color: #6b8479; }
.wa-input__send { width: 30px; height: 30px; border-radius: 50%; background: var(--grad-green); display: grid; place-items: center; color: var(--cream); font-size: 14px; }

/* ── Sections ── */
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 56px; }
.section-head__label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--grad-green);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -0.03em; line-height: 1.05;
  font-weight: 600; margin: 0;
  max-width: 780px; text-wrap: balance;
}
.section-head__sub { color: var(--fg-muted); font-size: 17px; max-width: 620px; margin: 0; line-height: 1.55; }

/* ── Cards ── */
.grid { display: grid; gap: 16px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: 1fr 1fr; } .grid--2 { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.tech-card {
  position: relative;
  padding: 28px;
  background: linear-gradient(180deg, rgba(244,240,230,0.04), rgba(244,240,230,0.01));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s var(--ease);
}
.tech-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(58,175,110,0.12), transparent 60%);
  opacity: 0; transition: opacity 0.3s var(--ease); pointer-events: none;
}
.tech-card:hover::before { opacity: 1; }
.tech-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.tech-card__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(58,175,110,0.2), rgba(125,211,160,0.1));
  border: 1px solid var(--border-strong);
  display: grid; place-items: center;
  margin-bottom: 20px;
  font-family: var(--font-mono); font-weight: 700; font-size: 13px;
}
.tech-card__icon span {
  background: var(--grad-green);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.tech-card h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 8px; color: var(--cream); }
.tech-card p { font-size: 14px; color: var(--fg-muted); margin: 0; line-height: 1.55; }

.glass {
  background: linear-gradient(180deg, rgba(244,240,230,0.05), rgba(244,240,230,0.01));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
}

/* ── Timeline ── */
.timeline { position: relative; padding-left: 24px; }
.timeline::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, var(--green), var(--green-light), transparent);
}
.timeline__step { position: relative; padding: 24px 0 24px 36px; }
.timeline__step::before {
  content: ""; position: absolute; left: -7px; top: 32px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--grad-green);
  box-shadow: 0 0 0 4px #0e0e0e, 0 0 24px var(--green);
}
.timeline__num { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--green-light); }
.timeline__step h3 { font-family: var(--font-display); font-size: 22px; letter-spacing: -0.02em; margin: 8px 0 8px; color: var(--cream); }
.timeline__step p { color: var(--fg-muted); margin: 0; font-size: 14px; max-width: 560px; }

/* ── Big CTA ── */
.bigcta {
  position: relative;
  padding: 96px 48px;
  text-align: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(244,240,230,0.04), rgba(244,240,230,0.01));
}
.bigcta::before {
  content: ""; position: absolute; inset: -20%;
  background: var(--grad-mesh);
  filter: blur(80px);
  opacity: 0.7;
  z-index: -1;
}
.bigcta h2 { font-family: var(--font-display); font-size: clamp(36px, 6vw, 72px); letter-spacing: -0.04em; line-height: 1.0; margin: 24px 0 16px; }
.bigcta p { color: var(--fg-muted); font-size: 17px; max-width: 540px; margin: 0 auto 32px; }
.bigcta .cta-row { justify-content: center; }

/* ── Footer ── */
.footer-tech { border-top: 1px solid var(--border); padding: 64px 0 32px; margin-top: 96px; }
.footer-tech .grid--4 { grid-template-columns: 2fr 1fr 1fr 1fr; }
@media (max-width: 700px) { .footer-tech .grid--4 { grid-template-columns: 1fr 1fr; } }
.footer-tech h4 { font-size: 11px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 16px; color: var(--cream); }
.footer-tech ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--fg-muted); }
.footer-tech ul a:hover { color: var(--cream); }
.footer-tech__bottom { border-top: 1px solid var(--border); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; font-size: 11px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--fg-subtle); }

/* ── Animations ── */
.fade-in { animation: fadeUp 0.8s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.stagger > * { animation: fadeUp 0.7s var(--ease) both; }
.stagger > *:nth-child(1) { animation-delay: 0.05s; }
.stagger > *:nth-child(2) { animation-delay: 0.15s; }
.stagger > *:nth-child(3) { animation-delay: 0.25s; }
.stagger > *:nth-child(4) { animation-delay: 0.35s; }
.stagger > *:nth-child(5) { animation-delay: 0.45s; }
.stagger > *:nth-child(6) { animation-delay: 0.55s; }

/* ── Row list ── */
.row-list { display: flex; flex-direction: column; }
.row { display: grid; grid-template-columns: 60px 1fr auto; gap: 24px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--border); transition: padding 0.2s var(--ease); }
.row:hover { padding-left: 12px; }
.row__num { font-family: var(--font-mono); color: var(--fg-subtle); font-size: 11px; }
.row__title { font-size: 17px; font-weight: 500; letter-spacing: -0.02em; color: var(--cream); }
.row__sub { font-size: 13px; color: var(--fg-muted); margin-top: 4px; }
.row__cta { font-family: var(--font-mono); font-size: 11px; color: var(--green-light); text-transform: uppercase; letter-spacing: 0.06em; }

/* ── Neon orange accents (info importantes / kali vibes) ── */
.neon-orange {
  color: var(--orange-bright);
  text-shadow: 0 0 8px var(--orange-glow), 0 0 22px rgba(255, 122, 26, 0.25);
  font-family: var(--font-mono);
  font-weight: 500;
}
.tag-orange {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(255, 122, 26, 0.10);
  border: 1px solid rgba(255, 122, 26, 0.35);
  color: var(--orange-bright);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-shadow: 0 0 8px var(--orange-glow);
}
.tag-orange::before {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--orange-bright);
  box-shadow: 0 0 8px var(--orange-bright), 0 0 14px var(--orange-glow);
  animation: pulseOrange 1.6s var(--ease) infinite;
}
@keyframes pulseOrange {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--orange-bright); }
  50% { opacity: 0.55; box-shadow: 0 0 14px var(--orange-bright), 0 0 22px var(--orange-glow); }
}

/* ── Linux console ── */
.console-section { padding: 64px 0 96px; }
.console {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #0a0a0a;
  border: 1px solid var(--border-strong);
  box-shadow:
    0 0 0 1px rgba(255, 122, 26, 0.06),
    0 30px 80px -30px rgba(0,0,0,0.8),
    0 0 60px -20px rgba(255, 122, 26, 0.18);
  font-family: var(--font-mono);
  max-width: 920px;
  margin: 0 auto;
}
.console__bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: linear-gradient(180deg, #1a1a1a, #131313);
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  color: var(--fg-subtle);
}
.console__dots { display: flex; gap: 6px; }
.console__dot { width: 11px; height: 11px; border-radius: 50%; }
.console__dot--r { background: #ff5f56; }
.console__dot--y { background: #ffbd2e; }
.console__dot--g { background: #27c93f; }
.console__title {
  flex: 1; text-align: center;
  font-size: 11px; letter-spacing: 0.04em; color: var(--fg-muted);
}
.console__body {
  padding: 22px 24px;
  min-height: 360px;
  font-size: 13.5px;
  line-height: 1.7;
  color: #d8e8df;
  background:
    linear-gradient(180deg, transparent, rgba(255, 122, 26, 0.02)),
    repeating-linear-gradient(0deg, transparent 0, transparent 2px, rgba(255, 255, 255, 0.012) 2px, rgba(255, 255, 255, 0.012) 3px),
    #0a0a0a;
  overflow: hidden;
  position: relative;
}
.console__body::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, transparent 60%, rgba(0,0,0,0.5) 100%);
  pointer-events: none;
}
.console__line {
  display: block;
  white-space: pre-wrap;
  word-break: break-word;
}
.console__prompt {
  color: var(--green-light);
  margin-right: 8px;
}
.console__prompt-user { color: var(--orange-bright); text-shadow: 0 0 8px var(--orange-glow); }
.console__prompt-at { color: var(--fg-subtle); }
.console__prompt-host { color: var(--green-light); }
.console__prompt-path { color: #6fb3ff; }
.console__prompt-tip { color: var(--fg-subtle); }
.console__cmd { color: var(--cream); }
.console__out { color: var(--fg-muted); padding-left: 0; }
.console__out--ok { color: var(--green-light); }
.console__out--warn { color: var(--orange-bright); text-shadow: 0 0 6px var(--orange-glow); }
.console__out--key { color: var(--orange-bright); text-shadow: 0 0 8px var(--orange-glow); font-weight: 500; }
.console__out--mute { color: var(--fg-subtle); }
.console__cursor {
  display: inline-block;
  width: 8px; height: 15px;
  background: var(--orange-bright);
  box-shadow: 0 0 8px var(--orange-bright), 0 0 14px var(--orange-glow);
  vertical-align: -2px;
  animation: blink 1.05s steps(1) infinite;
  margin-left: 2px;
}
@keyframes blink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }
.console__caption {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-subtle);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-top: 20px;
}
