/* DRAVEK Holdings Ltd — site styles
   Aesthetic: McKinsey / Stripe annual report. Dark, restrained, gold accent. */

:root {
  --bg: #0c0c0f;
  --bg-section: #111114;
  --bg-card: #16161a;
  --bg-elevated: #1c1c22;
  --accent: #c9a84c;
  --accent-light: #dbc06e;
  --accent-dark: #a88a38;
  --accent-bg: rgba(201, 168, 76, 0.06);
  --accent-border: rgba(201, 168, 76, 0.18);
  --text: #e8e8ec;
  --text-body: #9898a8;
  --text-dim: #5a5a6a;
  --border: rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.1);
  --radius: 8px;
  --radius-lg: 12px;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-body);
  line-height: 1.75;
  font-size: 15px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Subtle noise overlay */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

::selection { background: rgba(201, 168, 76, 0.2); color: var(--text); }

a { color: var(--accent); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--accent-light); }

strong { font-weight: 600; color: var(--text); }

/* ----------------- NAV ----------------- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(12, 12, 15, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 2rem;
  height: 64px; padding: 0 2rem;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 600;
  color: var(--text);
  letter-spacing: 3px;
  text-transform: uppercase;
  flex-shrink: 0;
}
.nav-logo .dot { color: var(--accent); }
.nav-links {
  display: flex; gap: 1.5rem;
  list-style: none; margin-left: auto;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--text-dim);
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 1px; text-transform: uppercase;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--text); }

/* ----------------- LAYOUT ----------------- */
main { flex: 1; padding-top: 64px; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 2rem; }

section { padding: 6rem 0; }
section.alt-bg { background: var(--bg-section); }

.section-label {
  display: inline-block;
  font-size: 0.62rem; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.85;
  max-width: 720px;
}

.divider {
  width: 60px; height: 1px;
  background: var(--accent-border);
  margin: 3.5rem 0;
}

/* ----------------- HERO ----------------- */
.hero {
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 900px; height: 900px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(201, 168, 76, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}
.hero-inner { position: relative; z-index: 2; max-width: 900px; }

.hero-mark {
  font-family: var(--font-display);
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 6px; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.05;
  margin-bottom: 1.75rem;
  letter-spacing: -1.5px;
}
.hero-title .accent { color: var(--accent); }

.hero-tagline {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-body);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.hero-meta {
  display: inline-flex;
  align-items: center; gap: 1rem;
  padding: 0.6rem 1.25rem;
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text);
}
.hero-meta .dot { color: var(--accent); }

/* ----------------- GRID + CARDS ----------------- */
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

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

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: border-color 0.3s, transform 0.3s;
}
.card:hover {
  border-color: var(--accent-border);
  transform: translateY(-2px);
}
.card-num {
  font-family: var(--font-display);
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 1rem;
}
.card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.card-body { font-size: 0.92rem; line-height: 1.75; }

/* ----------------- LEGAL CONTENT ----------------- */
.legal {
  padding: 5rem 0 6rem;
}
.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--text);
  letter-spacing: -1px;
  margin-bottom: 0.75rem;
}
.legal .updated {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 3rem;
  display: block;
}
.legal h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin: 2.75rem 0 1rem;
  letter-spacing: -0.3px;
}
.legal p { margin-bottom: 1rem; max-width: 760px; }
.legal ul { margin: 1rem 0 1.25rem 1.5rem; max-width: 760px; }
.legal li { margin-bottom: 0.5rem; }
.legal .lead {
  font-size: 1.05rem;
  color: var(--text);
  max-width: 760px;
  margin-bottom: 2rem;
}

/* ----------------- FOOTER ----------------- */
footer {
  border-top: 1px solid var(--border);
  background: var(--bg-section);
  padding: 3.5rem 0 2.5rem;
  margin-top: auto;
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
}
@media (max-width: 800px) { .footer-inner { grid-template-columns: 1fr 1fr; } }

.footer-brand .nav-logo {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  display: block;
}
.footer-brand p {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 360px;
}
.footer-brand p a {
  color: var(--text-body);
  border-bottom: 1px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}
.footer-brand p a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent-border);
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a {
  font-size: 0.82rem;
  color: var(--text-dim);
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  max-width: 1120px;
  margin: 3rem auto 0;
  padding: 2rem 2rem 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  max-width: 720px; width: calc(100% - 3rem);
  background: var(--bg-elevated);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex; align-items: center; gap: 1.5rem;
  flex-wrap: wrap;
  z-index: 1001;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}
.cookie-banner.hidden { display: none; }
.cookie-banner p {
  font-size: 0.82rem;
  flex: 1; min-width: 240px;
  margin: 0;
}
.cookie-banner button {
  background: var(--accent);
  color: var(--bg);
  border: none;
  padding: 0.6rem 1.25rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.3s;
}
.cookie-banner button:hover { background: var(--accent-light); }
.cookie-banner .secondary {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border-light);
}
.cookie-banner .secondary:hover { color: var(--text); background: transparent; }
