/* ==========================================================
   EO GLOBAL - Premium Dark/Gold Theme
   Global stylesheet
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,500&family=Outfit:wght@200;300;400;500;600;700&display=swap');

:root {
  --bg: #050505;
  --surface: #0a0a0a;
  --surface-2: #111111;
  --surface-3: #1a1a1a;
  --border: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.12);
  --border-gold: rgba(212, 175, 55, 0.25);
  --gold: #d4af37;
  --gold-light: #f3e5ab;
  --gold-dark: #aa771c;
  --text: #ffffff;
  --text-dim: #a1a1aa;
  --text-mute: #71717a;
  --danger: #ef4444;
  --success: #10b981;
  --warn: #f59e0b;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Outfit', sans-serif;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-gold: 0 10px 40px rgba(212, 175, 55, 0.15);
  --shadow-deep: 0 20px 60px rgba(0, 0, 0, 0.6);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-weight: 300;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: #000; }

a { color: inherit; text-decoration: none; transition: color .3s ease; }
a:hover { color: var(--gold); }
img { max-width: 100%; display: block; }

/* ---------- Typography ---------- */
.display, h1, h2, h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 6vw, 5.5rem); line-height: 1.02; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.1; }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
.italic { font-style: italic; }
.label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold);
  font-weight: 500;
  font-family: var(--font-body);
}

.muted { color: var(--text-dim); }
.gold { color: var(--gold); }

/* ---------- Container & Layout ---------- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .container { padding: 0 48px; } }

.section { padding: 100px 0; position: relative; }
@media (min-width: 768px) { .section { padding: 140px 0; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: padding .3s;
}
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.brand .alt { color: var(--gold); font-weight: 400; }
.nav-links { display: none; gap: 36px; align-items: center; }
.nav-links a {
  font-size: 0.92rem;
  color: var(--text-dim);
  font-weight: 300;
  letter-spacing: 0.04em;
}
.nav-links a:hover { color: var(--text); }
@media (min-width: 900px) { .nav-links { display: flex; } }

.nav-cta { display: flex; gap: 12px; align-items: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  background: transparent;
  color: inherit;
  text-decoration: none;
}
.btn:active { transform: scale(0.97); }
.btn-gold {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-light); color: #000; box-shadow: var(--shadow-gold); }
.btn-ghost {
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 10px 18px; font-size: 0.82rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(900px circle at 20% 30%, rgba(212,175,55,0.10), transparent 60%),
    radial-gradient(700px circle at 90% 80%, rgba(212,175,55,0.06), transparent 60%);
  pointer-events: none;
}
.hero-grain {
  position: absolute; inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.83  0 0 0 0 0.69  0 0 0 0 0.22  0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.6; pointer-events: none;
}
.hero-row {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr; gap: 60px; align-items: center;
}
@media (min-width: 980px) { .hero-row { grid-template-columns: 1.1fr 0.9fr; gap: 80px; } }

.hero h1 {
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.98;
  margin: 24px 0 28px;
}
.hero h1 em { color: var(--gold); font-weight: 500; }
.hero p.lead {
  font-size: 1.15rem; color: var(--text-dim); font-weight: 300;
  max-width: 560px; margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero card preview mock */
.card-preview {
  background: linear-gradient(140deg, #0a0a0a 0%, #161616 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  box-shadow: var(--shadow-deep), 0 0 80px rgba(212,175,55,0.08);
  overflow: hidden;
}
.card-preview::before {
  content: ''; position: absolute; top: -50%; right: -30%;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(212,175,55,0.3), transparent 70%);
  filter: blur(40px);
}
.card-preview-avatar {
  width: 96px; height: 96px; border-radius: 50%;
  border: 2px solid var(--gold);
  background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-family: var(--font-display); font-size: 2.5rem;
  position: relative; z-index: 2;
  box-shadow: 0 0 30px rgba(212,175,55,0.4);
}
.card-preview h3 { margin-top: 22px; font-size: 2rem; }
.card-preview .role { color: var(--gold); font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase; margin-top: 4px; }
.card-preview .company { color: var(--text-dim); font-size: 0.92rem; margin-top: 14px; }
.card-preview-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 32px; position: relative; z-index: 2; }
.card-preview-actions a {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 14px 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.7rem; color: var(--text-dim);
}
.card-preview-actions a:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Stats Strip ---------- */
.stats-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}
.stats-row {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px;
}
@media (min-width: 768px) { .stats-row { grid-template-columns: repeat(4, 1fr); } }
.stat-num { font-family: var(--font-display); font-size: 2.6rem; color: var(--gold); font-weight: 500; }
.stat-label { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-dim); margin-top: 6px; }

/* ---------- Features Bento ---------- */
.section-header { max-width: 720px; margin-bottom: 64px; }
.section-header .label { display: inline-block; margin-bottom: 18px; }

.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 760px) { .bento { grid-template-columns: repeat(12, 1fr); } }
.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: border-color .5s ease, transform .5s ease;
}
.bento-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at top right, rgba(212,175,55,0.10), transparent 60%);
  opacity: 0; transition: opacity .5s;
}
.bento-card:hover { border-color: var(--border-gold); }
.bento-card:hover::before { opacity: 1; }
.bento-card > * { position: relative; z-index: 1; }
.bento-card .icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(212,175,55,0.08);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  color: var(--gold);
  margin-bottom: 24px;
}
.bento-card h3 { font-size: 1.7rem; margin-bottom: 12px; }
.bento-card p { color: var(--text-dim); font-size: 0.96rem; }

@media (min-width: 760px) {
  .b-1 { grid-column: span 7; min-height: 320px; }
  .b-2 { grid-column: span 5; }
  .b-3 { grid-column: span 4; }
  .b-4 { grid-column: span 4; }
  .b-5 { grid-column: span 4; }
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid; grid-template-columns: 1fr; gap: 22px;
}
@media (min-width: 880px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 42px 32px;
  position: relative;
  transition: border-color .5s;
}
.price-card.featured {
  border-color: var(--gold);
  background: linear-gradient(160deg, #0c0a04, #0a0a0a);
  box-shadow: var(--shadow-gold);
}
.price-card.featured::after {
  content: 'EN POPÜLER';
  position: absolute; top: -12px; left: 32px;
  background: var(--gold); color: #000;
  font-size: 0.65rem; letter-spacing: 0.2em; font-weight: 600;
  padding: 6px 14px; border-radius: 999px;
}
.price-card h3 { font-size: 1.8rem; }
.price-card .amount { font-family: var(--font-display); font-size: 3.4rem; color: var(--gold); margin-top: 18px; }
.price-card .amount small { font-size: 1rem; color: var(--text-dim); margin-left: 6px; }
.price-card ul { list-style: none; margin: 28px 0; }
.price-card li { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.92rem; color: var(--text-dim); display: flex; gap: 10px; align-items: center; }
.price-card li::before { content: '✓'; color: var(--gold); font-weight: 600; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, #0a0a0a, #1a1408);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 80px 48px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(212,175,55,0.15), transparent 70%);
}
.cta-banner > * { position: relative; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 80px 0 28px;
  background: var(--surface);
  position: relative;
}
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 48px;
  margin-bottom: 64px;
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer h4 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer ul { list-style: none; }
.footer ul li { padding: 6px 0; }
.footer ul a { color: var(--text-dim); font-size: 0.92rem; }
.footer ul a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem; color: var(--text-mute);
  flex-wrap: wrap; gap: 12px;
  position: relative;
}
/* Hidden admin login (the discreet button) */
.admin-discreet {
  position: relative;
  width: 14px; height: 14px;
  display: inline-block;
  opacity: 0.18;
  transition: opacity .4s, transform .4s;
  cursor: pointer;
  border: 1px solid var(--gold);
  border-radius: 50%;
  margin-left: 14px;
  color: var(--gold);
  font-size: 9px;
  line-height: 12px;
  text-align: center;
}
.admin-discreet:hover { opacity: 1; transform: rotate(60deg); }

/* ---------- Forms (auth) ---------- */
.auth-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 980px) { .auth-wrap { grid-template-columns: 1fr 1fr; } }
.auth-art {
  display: none;
  background:
    radial-gradient(circle at 30% 30%, rgba(212,175,55,0.18), transparent 60%),
    linear-gradient(140deg, #0a0a0a, #050505);
  position: relative;
  padding: 80px;
  border-right: 1px solid var(--border-gold);
}
@media (min-width: 980px) { .auth-art { display: flex; align-items: flex-end; } }
.auth-art h2 { font-size: 3.4rem; line-height: 1.05; }
.auth-art h2 em { color: var(--gold); }
.auth-form-wrap {
  display: flex; align-items: center; justify-content: center;
  padding: 60px 24px;
}
.auth-card { width: 100%; max-width: 440px; }
.auth-card h1 { font-size: 2.4rem; margin-bottom: 8px; }
.auth-card .muted { margin-bottom: 36px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.96rem;
  outline: none;
  transition: border-color .3s, box-shadow .3s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212,175,55,0.10);
}
.field textarea { resize: vertical; min-height: 110px; font-family: var(--font-body); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.alert { padding: 14px 16px; border-radius: 10px; font-size: 0.9rem; margin-bottom: 20px; }
.alert-error { background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.3); color: #fca5a5; }
.alert-success { background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.3); color: #6ee7b7; }
.alert-info { background: rgba(212,175,55,0.06); border: 1px solid var(--border-gold); color: var(--gold-light); }

.brand-back { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 36px; display: inline-flex; align-items: center; gap: 6px; }
.brand-back:hover { color: var(--gold); }
