/* ============================================================
   Innovea Mark — style.css
   Dark Luxury SEO Agency Theme
   ============================================================ */

/* ── Self-hosted fonts (@font-face) ──────────────────────────
   Download woff2 files — see assets/fonts/README.md
   ─────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/inter-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/playfair-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/playfair-400i.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/playfair-700.woff2') format('woff2');
}

/* ── Design tokens ─────────────────────────────────────────── */
:root {
  /* Core palette — dark luxury */
  --bg:           #080B12;
  --bg-2:         #0D1120;
  --bg-3:         #121828;
  --bg-card:      #0F1420;
  --border:       rgba(255,255,255,0.07);
  --border-glow:  rgba(212,175,55,0.25);

  /* Gold accent */
  --gold:         #D4AF37;
  --gold-light:   #F0D060;
  --gold-dim:     rgba(212,175,55,0.15);
  --gold-glow:    0 0 32px rgba(212,175,55,0.25);

  /* Text */
  --text-primary:   #F4F4F4;
  --text-secondary: #A0A8B8;
  --text-muted:     #5A6278;
  --text-gold:      #D4AF37;

  /* Gradient */
  --grad-gold:  linear-gradient(135deg, #D4AF37 0%, #F0D060 50%, #C49A2A 100%);
  --grad-card:  linear-gradient(135deg, rgba(212,175,55,0.05) 0%, rgba(255,255,255,0.02) 100%);

  /* Spacing */
  --container: 1200px;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);

  /* Radius */
  --radius:     10px;
  --radius-lg:  18px;
  --radius-xl:  28px;

  /* Transition */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --dur:  0.35s;
}

/* ── Reset ─────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  background-color: var(--bg);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, picture, video, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
input, button, textarea, select { font: inherit; }
button { cursor: pointer; }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.625rem); }
h4 { font-size: 1.125rem; font-weight: 600; }

p {
  line-height: 1.75;
  color: var(--text-secondary);
  font-size: clamp(0.9rem, 1.8vw, 1rem);
}

em { font-style: italic; color: var(--gold); }

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

/* ── Layout ─────────────────────────────────────────────────── */
.wrap {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sec {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.sec-sm {
  padding-block: clamp(3rem, 5vw, 4.5rem);
}

.sec-dark   { background: var(--bg); }
.sec-darker { background: var(--bg-2); }
.sec-card   { background: var(--bg-3); }

/* ── Section label ──────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--grad-gold);
  flex-shrink: 0;
}

/* ── Gold divider line ──────────────────────────────────────── */
.gold-line {
  width: 48px;
  height: 2px;
  background: var(--grad-gold);
  margin-block: 1.5rem;
}

.gold-line-center { margin-inline: auto; }

/* ── Badges ─────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.875rem;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-gold   { background: var(--gold-dim); color: var(--gold); border: 1px solid rgba(212,175,55,0.25); }
.badge-dark   { background: rgba(255,255,255,0.06); color: var(--text-secondary); border: 1px solid var(--border); }
.badge-success { background: rgba(34,197,94,0.12); color: #22c55e; border: 1px solid rgba(34,197,94,0.2); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              background var(--dur) var(--ease),
              color var(--dur) var(--ease);
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.2s;
}

.btn:hover::after { background: rgba(255,255,255,0.06); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: var(--grad-gold);
  color: #0D0A00;
  box-shadow: 0 4px 20px rgba(212,175,55,0.3);
}
.btn-gold:hover {
  box-shadow: 0 8px 32px rgba(212,175,55,0.45);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(212,175,55,0.5);
}
.btn-outline-gold:hover {
  background: var(--gold-dim);
  border-color: var(--gold);
  box-shadow: var(--gold-glow);
}

.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
}

.btn-sm { padding: 0.6rem 1.4rem; font-size: 0.8rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 0.9375rem; }
.btn-full { width: 100%; }

/* ── Cards ──────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}

.card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 8px 48px rgba(212,175,55,0.1);
  transform: translateY(-4px);
}

/* Glow card variant */
.card-glow {
  position: relative;
}

.card-glow::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius-lg) + 1px);
  background: linear-gradient(135deg, rgba(212,175,55,0.3), transparent 50%);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
  pointer-events: none;
  z-index: -1;
}

.card-glow:hover::before { opacity: 1; }

/* ── Reveal animations ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.on { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-left.on { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-right.on { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-scale.on { opacity: 1; transform: scale(1); }

.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }
.d5 { transition-delay: 0.5s; }
.d6 { transition-delay: 0.6s; }

/* ── Page hero (inner pages) ────────────────────────────────── */
.page-hero {
  background: var(--bg-2);
  padding-top: clamp(7.5rem, 14vw, 10rem);
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
  position: relative;
  overflow: hidden;
}

.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212,175,55,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,55,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.page-hero-glow {
  position: absolute;
  top: -30%;
  right: -10%;
  width: min(600px, 80vw);
  height: min(600px, 80vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.1) 0%, transparent 65%);
  pointer-events: none;
}

.page-hero .wrap { position: relative; z-index: 1; }

.page-hero h1 { color: var(--text-primary); margin-bottom: 1.25rem; }
.page-hero > .wrap > p {
  color: var(--text-secondary);
  font-size: clamp(0.9rem, 2vw, 1.0625rem);
  max-width: 580px;
}

/* ── Gold number stat ────────────────────────────────────────── */
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  letter-spacing: 0.04em;
}

/* ── CTA banner ─────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--bg-3) 0%, var(--bg-2) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(212,175,55,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.cta-banner h2 { color: var(--text-primary); position: relative; margin-bottom: 1rem; }
.cta-banner p { color: var(--text-secondary); max-width: 520px; margin: 0 auto 2.5rem; position: relative; }
.cta-banner-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ── Ticker ─────────────────────────────────────────────────── */
.ticker {
  background: linear-gradient(90deg, var(--bg-2), var(--bg-3), var(--bg-2));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  animation: ticker-scroll 40s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-inline: 2rem;
  transition: color 0.2s;
}

.ticker-item:hover { color: var(--gold); }

.ticker-item::after {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.5;
  flex-shrink: 0;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Custom cursor (desktop only) ───────────────────────────── */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s;
}

.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(212,175,55,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.12s var(--ease), width 0.2s, height 0.2s, border-color 0.2s;
}

.cursor-ring.hovered {
  width: 52px;
  height: 52px;
  border-color: var(--gold);
}

@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ── Scrollbar ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(212,175,55,0.4); }

/* ── Selection ──────────────────────────────────────────────── */
::selection { background: rgba(212,175,55,0.25); color: var(--text-primary); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 640px) {
  .wrap { padding-inline: 1.25rem; }
  .sec { padding-block: 3.5rem; }
}
