/* Vuddha website styles */

@font-face { font-family: "Saira"; src: url("../fonts/saira-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 50% 125%; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-var.woff2") format("woff2"); font-weight: 100 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-var.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  --bg: #050505;
  --bg-2: #080808;
  --surface: #0c0c0c;
  --line: #1e1e1e;
  --line-2: #242422;
  --text: #f4f4f2;
  --text-2: #c9c9c5;
  --text-3: #b8b8b4;
  --muted: #8f8f8b;
  --accent: #f2c12e;
  --accent-line: #3a3217;
  --on-accent: #0a0a0a;
  --display: "Saira", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --pad: clamp(20px, 8vw, 120px);
  --max: 1440px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--accent); color: var(--on-accent); padding: 12px 16px; z-index: 100; }
.skip:focus { left: 16px; top: 16px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }
.dots { background-image: radial-gradient(rgba(255,255,255,0.09) 1px, transparent 1.2px); background-size: 22px 22px; }
.mono { font-family: var(--mono); }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.accent { color: var(--accent); }
.sq { display: inline-block; width: 6px; height: 6px; background: var(--accent); flex-shrink: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 4px; font-weight: 600; font-size: 16px; border: 1px solid transparent; transition: background .15s, color .15s, border-color .15s; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: #ffd24a; color: var(--on-accent); }
.btn-ghost { border-color: #3a3a38; color: var(--text); font-weight: 500; }
.btn-ghost:hover { border-color: var(--accent); }
.btn-dark { background: var(--on-accent); color: var(--text); }
.btn-dark:hover { background: #1c1c1c; color: var(--text); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(5,5,5,0.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark { height: 34px; width: auto; }
.brand .word { height: 24px; width: auto; }
.menu { display: flex; align-items: center; gap: 36px; font-size: 15px; font-weight: 500; }
.nav-actions { display: flex; align-items: center; gap: 20px; }
.lang { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; color: #555; }
.lang a { color: #a3a3a0; min-height: 44px; display: inline-flex; align-items: center; }
.lang a[aria-current="true"] { color: var(--accent); }
.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: 1px solid #3a3a38; border-radius: 4px; color: var(--text); cursor: pointer; }
.menu-toggle svg { width: 20px; height: 20px; }

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 40px; padding-top: 104px; padding-bottom: 104px; }
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 28px; }
.tags { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.16em; color: var(--text-2); }
.hero h1 { font-size: clamp(42px, 5.4vw, 78px); line-height: 1.02; letter-spacing: -0.01em; }
.hero .lead { max-width: 600px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--text-2); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.mail { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 14px; color: var(--text-2); }
.mail svg { width: 16px; height: 16px; }
.circuit { position: absolute; left: 0; top: 50%; width: calc(var(--pad) - 28px); height: 40px; border-bottom: 1px solid #5a4a12; pointer-events: none; }

.hero-visual { position: relative; min-height: 520px; }
.stripe { position: absolute; top: -260px; height: 1400px; transform: rotate(20deg); transform-origin: top left; pointer-events: none; }
.stripe-y { left: 170px; width: 16px; background: var(--accent); }
.stripe-w { left: 214px; width: 4px; background: var(--text); }
.hero-mark { position: absolute; right: 0; top: -24px; width: min(230px, 40%); }
.console { position: absolute; z-index: 1; left: 40px; top: 230px; width: min(460px, 100%); background: #0d0d0d; border: 1px solid #2a2a28; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.console-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid #222; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--text-2); }
.live { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.console ul { list-style: none; margin: 0; padding: 6px 20px 12px; }
.console li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid #1a1a1a; }
.console li:last-child { border-bottom: 0; }
.console strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.console small { display: block; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.state { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; padding: 5px 10px; border: 1px solid var(--accent-line); color: var(--accent); border-radius: 3px; white-space: nowrap; }

/* Trust */
.trust { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.trust-inner { display: flex; flex-direction: column; gap: 22px; padding-top: 48px; padding-bottom: 48px; }
.trust-row { display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: center; gap: 24px; }
.trust-row .label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; color: var(--muted); }
.trust-row ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 40px; font-family: var(--display); font-weight: 600; font-size: 21px; color: #d8d8d4; }

/* Sections */
.section { padding-top: clamp(72px, 9vw, 120px); padding-bottom: clamp(72px, 9vw, 120px); }
.section-alt { background-color: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 80px; flex-wrap: wrap; margin-bottom: 56px; }
.section-head > div { display: flex; flex-direction: column; gap: 18px; max-width: 720px; }
.section h2 { font-size: clamp(34px, 3.8vw, 52px); }
.section-head p { max-width: 440px; font-size: 18px; color: var(--text-3); }

/* Services */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card { padding: clamp(24px, 3vw, 40px); background: var(--surface); border: 1px solid var(--line-2); border-radius: 8px; display: flex; flex-direction: column; gap: 18px; transition: border-color .2s; }
.card:hover { border-color: var(--accent-line); }
.card-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); }
.card-top .num { font-size: 14px; color: var(--accent); }
.card-top .tag { font-size: 12px; letter-spacing: 0.14em; color: var(--muted); }
.card h3 { font-size: clamp(26px, 2.4vw, 32px); }
.card > p { color: var(--text-3); }
.card ul { list-style: none; margin: 0; padding: 20px 0 0; border-top: 1px solid #222; display: flex; flex-direction: column; gap: 12px; }
.card li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; line-height: 1.45; color: #e4e4e0; }
.card li .sq { margin-top: 8px; }
.card .more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: auto; font-weight: 600; font-size: 16px; color: var(--accent); }
.card .more svg { width: 16px; height: 16px; }

/* Steps */
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 1px; background: var(--accent-line); }
.steps li { position: relative; display: flex; flex-direction: column; gap: 16px; }
.step-num { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--bg); border: 1px solid var(--accent); border-radius: 50%; font-family: var(--mono); font-size: 14px; color: var(--accent); }
.steps h3 { font-size: 28px; }
.steps p { font-size: 16px; color: var(--text-3); }

/* Why */
.why { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: clamp(40px, 7vw, 96px); }
.why-intro { display: flex; flex-direction: column; gap: 22px; }
.why-intro p { font-size: 18px; color: var(--text-3); }
.why-intro img { width: 150px; margin-top: 20px; }
.reasons { list-style: none; margin: 0; padding: 0; }
.reasons li { display: flex; gap: 28px; padding: 30px 0; border-top: 1px solid var(--line-2); }
.reasons .num { width: 36px; flex-shrink: 0; font-family: var(--mono); font-size: 14px; color: var(--accent); padding-top: 6px; }
.reasons h3 { font-size: 26px; margin-bottom: 10px; }
.reasons p { color: var(--text-3); }

/* CTA */
.cta { position: relative; overflow: hidden; margin-bottom: clamp(72px, 9vw, 120px); padding: clamp(40px, 5vw, 72px) clamp(24px, 5.5vw, 80px); background: var(--accent); color: var(--on-accent); border-radius: 8px; display: flex; justify-content: space-between; align-items: center; gap: 40px 64px; flex-wrap: wrap; }
.cta .eyebrow { color: var(--on-accent); font-weight: 500; }
.cta-copy { position: relative; display: flex; flex-direction: column; gap: 18px; max-width: 700px; }
.cta h2 { font-size: clamp(34px, 3.8vw, 52px); }
.cta p { font-size: 19px; line-height: 1.55; }
.cta-actions { position: relative; display: flex; flex-direction: column; gap: 10px; }
.cta-actions .mail-dark { min-height: 44px; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 15px; color: var(--on-accent); }
.cta-actions .mail-dark:hover { text-decoration: underline; }
.cta .bar { position: absolute; top: -120px; height: 600px; background: var(--on-accent); transform: rotate(30deg); transform-origin: top left; opacity: .9; }
.cta .bar-a { right: 180px; width: 14px; }
.cta .bar-b { right: 150px; width: 4px; }

/* Footer */
.site-footer { background: #030303; border-top: 1px solid var(--line); padding-top: 72px; padding-bottom: 40px; }
.footer-top { display: flex; justify-content: space-between; gap: 48px 64px; flex-wrap: wrap; margin-bottom: 56px; }
.footer-brand { max-width: 400px; display: flex; flex-direction: column; gap: 20px; }
.footer-brand p { font-size: 16px; color: #a3a3a0; }
.footer-cols { display: flex; gap: 40px 96px; flex-wrap: wrap; }
.footer-cols div { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer-cols .label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; color: var(--muted); margin-bottom: 6px; }
.footer-cols span:not(.label) { color: var(--text-2); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer-bottom nav { display: flex; gap: 28px; }
.footer-bottom a { color: #a3a3a0; }

/* 404 */
.notfound { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; gap: 24px; padding-top: 80px; padding-bottom: 80px; }
.notfound h1 { font-size: clamp(42px, 6vw, 80px); }
.notfound p { color: var(--text-2); max-width: 560px; }

/* Responsive */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); padding-top: 72px; padding-bottom: 72px; }
  .hero-visual { min-height: 0; }
  .stripe, .hero-mark, .circuit { display: none; }
  .console { position: relative; left: 0; top: 0; width: 100%; max-width: 560px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .steps::before { display: none; }
  .why { grid-template-columns: minmax(0, 1fr); }
  .why-intro img { display: none; }
}
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav-actions .btn { display: none; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 80px; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--pad) 24px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .menu.open { display: flex; }
  .menu a { min-height: 52px; display: flex; align-items: center; border-bottom: 1px solid var(--line); font-size: 17px; }
  .menu .btn { margin-top: 16px; border-bottom: 0; justify-content: center; }
  .services { grid-template-columns: minmax(0, 1fr); }
  .trust-row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .trust-row ul { gap: 8px 24px; font-size: 18px; }
}
@media (min-width: 901px) { .menu .btn { display: none; } }
@media (max-width: 600px) {
  .nav { height: 72px; }
  .menu { top: 72px; }
  .brand .mark { height: 28px; }
  .brand .word { height: 20px; }
  .tags { font-size: 12px; letter-spacing: 0.12em; }
  .cta-row .btn { width: 100%; }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  .reasons li { gap: 16px; padding: 22px 0; }
  .reasons h3 { font-size: 21px; }
  .cta .bar { display: none; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { width: 100%; }
  .console li { padding: 11px 0; }
  .console small { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .live i { animation: none; }
}
