/* =========================================================
   Vixit Management Limited — styles
   ========================================================= */

:root {
  --bg: #0B0B10;
  --bg-2: #101019;
  --bg-3: #15151F;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #ECECEF;
  --muted: #9A9AA8;
  --muted-2: #6B6B78;
  --accent: #F2BD3A;       /* warm gold */
  --accent-2: #FF6A3D;     /* coral */
  --grad: linear-gradient(135deg, #F2BD3A 0%, #FF6A3D 100%);

  --radius: 14px;
  --radius-lg: 22px;
  --container: 1200px;

  --t: 220ms cubic-bezier(.2,.7,.3,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

img, svg { display: block; max-width: 100%; }

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

/* ==========================
   Typography
   ========================== */

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text);
}

.h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.kicker {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==========================
   Buttons
   ========================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--t), background var(--t), color var(--t), border-color var(--t);
}

.btn-primary {
  background: var(--accent);
  color: #14140A;
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: #ffce4d;
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ==========================
   Nav
   ========================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: rgba(11, 11, 16, 0.7);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), background var(--t);
}
.nav.scrolled {
  background: rgba(11, 11, 16, 0.85);
  border-bottom-color: var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 14px;
  color: var(--text);
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: inline-block;
  flex-shrink: 0;
}
.brand-mark line, .brand-mark polyline {
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  animation: vx-draw 700ms cubic-bezier(.5,.05,.2,1) forwards;
}
.brand-mark line:nth-of-type(1)     { animation-delay: 80ms; }
.brand-mark line:nth-of-type(2)     { animation-delay: 220ms; }
.brand-mark polyline:nth-of-type(1) { animation-delay: 700ms; animation-duration: 360ms; }
.brand-mark polyline:nth-of-type(2) { animation-delay: 820ms; animation-duration: 360ms; }
@keyframes vx-draw {
  to { stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-mark line, .brand-mark polyline {
    animation: none;
    stroke-dashoffset: 0;
  }
}

.brand-x {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #F2BD3A;             /* fallback if clip-text unsupported */
  font-weight: 700;
}

.brand-text-light { color: var(--muted); font-weight: 500; }

.nav-links {
  display: flex;
  gap: 30px;
}
.nav-links a {
  font-size: 14.5px;
  color: var(--muted);
  transition: color var(--t);
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  padding: 10px 18px;
  font-size: 14px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  background: transparent;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: transform var(--t), opacity var(--t);
}

/* ==========================
   Hero
   ========================== */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 5vw, 64px) 0 clamp(60px, 9vw, 110px);
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 35%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 35%, transparent 75%);
}

.hero-glow {
  position: absolute;
  width: 900px;
  height: 900px;
  left: 50%;
  top: -300px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(242, 189, 58, 0.18), rgba(255, 106, 61, 0.08) 40%, transparent 70%);
  filter: blur(20px);
}

.hero-inner {
  position: relative;
  text-align: center;
}

.hero-title {
  margin: 18px auto 18px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(38px, 6.4vw, 80px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 600;
  max-width: 16ch;
}

.hero-sub {
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.65;
}

.hero-cta {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 28px;
}

.hero-stats {
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 880px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
  overflow: hidden;
}
.hero-stats > div {
  padding: 22px 18px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.hero-stats > div:last-child { border-right: 0; }
.hero-stats strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  letter-spacing: 0.02em;
}
.hero-stats span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}


/* ==========================
   Sections
   ========================== */

.section {
  padding: clamp(70px, 10vw, 130px) 0;
  border-top: 1px solid var(--line);
  position: relative;
}

.section-head {
  max-width: 720px;
  margin-bottom: 60px;
}
.section-head .h2 { margin-bottom: 16px; }
.section-lead {
  color: var(--muted);
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.65;
}

/* About */

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.about-copy p {
  color: var(--muted);
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.7;
}
.about-copy p:first-child {
  color: var(--text);
  font-size: 19px;
}

.bullets {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}
.bullets li {
  position: relative;
  padding: 12px 0 12px 28px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 16px;
}
.bullets li:last-child { border-bottom: 1px solid var(--line); }
.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 14px;
  height: 2px;
  background: var(--accent);
}

/* Services */

.services .section-head { margin-bottom: 40px; }

.service {
  border-top: 1px solid var(--line);
  padding: 60px 0;
}
.service:first-of-type { border-top: 1px solid var(--line); }

.service-head {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 18px 28px;
  align-items: start;
  margin-bottom: 40px;
}
.service-num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: var(--accent);
  font-size: 22px;
  letter-spacing: 0.04em;
  padding-top: 6px;
}
.service-head .h3 { grid-column: 2; }
.service-lead {
  grid-column: 2;
  color: var(--muted);
  font-size: 17.5px;
  line-height: 1.65;
  max-width: 70ch;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-left: 108px;
}

.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: border-color var(--t), transform var(--t), background var(--t);
}
.card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
  background: var(--bg-3);
}
.card h4 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin-bottom: 14px;
  color: var(--text);
}
.card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.card li {
  padding: 8px 0;
  font-size: 15px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.card li:first-child { border-top: 0; padding-top: 0; }

/* Approach */

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
}
.steps li {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
}
.steps li:last-child { border-right: 0; }

.step-num {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.steps h4 {
  font-size: 19px;
  margin-bottom: 10px;
}
.steps p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

/* CTA */

.cta-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.cta-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.cta-row {
  display: grid;
  grid-template-columns: 110px 1fr 30px;
  align-items: center;
  padding: 22px 26px;
  border-top: 1px solid var(--line);
  transition: background var(--t), color var(--t);
}
.cta-row:first-child { border-top: 0; }
.cta-row--multiline { align-items: start; }
.cta-row--multiline .cta-label,
.cta-row--multiline .cta-arrow { padding-top: 2px; }
.cta-row:hover {
  background: var(--bg-3);
}
.cta-row:hover .cta-arrow { color: var(--accent); transform: translateX(4px); }
.cta-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.cta-value {
  font-size: 17px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.45;
}
.cta-arrow {
  text-align: right;
  color: var(--muted);
  transition: transform var(--t), color var(--t);
}

/* Footer */

.footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-brand > div {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.footer-brand strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.footer-brand span {
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
  white-space: nowrap;
}
.footer-meta {
  color: var(--muted);
  font-size: 13px;
}

/* ==========================
   Reveal animations
   ========================== */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms cubic-bezier(.2,.7,.3,1), transform 700ms cubic-bezier(.2,.7,.3,1);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================
   Responsive
   ========================== */

@media (max-width: 960px) {
  .grid-2 { grid-template-columns: 1fr; gap: 30px; }

  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .nav.menu-open .nav-links {
    display: flex;
    position: absolute;
    inset: 72px 0 auto 0;
    flex-direction: column;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 18px 28px 26px;
    gap: 14px;
  }
  .nav.menu-open .nav-links a { font-size: 17px; }

  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats > div:nth-child(2) { border-right: 0; }
  .hero-stats > div:nth-child(1), .hero-stats > div:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .service-grid { grid-template-columns: 1fr; margin-left: 0; }
  .service-head { grid-template-columns: 60px 1fr; }
  .service-head .h3, .service-lead { grid-column: 2; }

  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(2) { border-right: 0; }
  .steps li:nth-child(1), .steps li:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .cta-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .hero { padding: 60px 0 80px; }
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .steps li { border-right: 0; border-bottom: 1px solid var(--line); }
  .steps li:last-child { border-bottom: 0; }
  .brand-text-light { display: none; }
  .cta-row { grid-template-columns: 90px 1fr 24px; padding: 18px 20px; }
}
