/* ============================================
   DIGITAL HUSTLER X — GODSEYE DESIGN SYSTEM
   Gold (#C4A484) on Black (#0A0A0A)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Colors */
  --bg: #0A0A0A;
  --surface: #121212;
  --surface-2: #1A1A1A;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.16);
  --brand: #C4A484;
  --brand-dark: #A8886A;
  --brand-light: #D4B494;
  --brand-glow: rgba(196, 164, 132, 0.25);
  --text: #F2F2F2;
  --muted: rgba(255, 255, 255, 0.6);
  --dim: rgba(255, 255, 255, 0.35);

  /* Typography */
  --font-display: Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Menlo', 'Consolas', monospace;

  /* Spacing */
  --container: 1200px;
  --radius: 12px;
  --radius-lg: 20px;
}

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

html { scroll-behavior: smooth; }

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

::selection {
  background: var(--brand);
  color: #0A0A0A;
}

/* ============================================
   GLOBAL NAV
   ============================================ */

.dhx-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.dhx-nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.dhx-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.dhx-logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
  color: #0A0A0A;
  font-family: var(--font-body);
}

.dhx-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.dhx-nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s;
}

.dhx-nav-links a:hover {
  color: var(--text);
  background: var(--surface);
}

.dhx-nav-links a.active {
  color: var(--brand);
  background: rgba(196, 164, 132, 0.08);
}

.dhx-nav-cta {
  background: var(--brand) !important;
  color: #0A0A0A !important;
  padding: 10px 18px !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 14px -4px var(--brand-glow);
}

.dhx-nav-cta:hover {
  background: var(--brand-light) !important;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .dhx-nav-links { display: none; }
  .dhx-mobile-menu { display: block; }
}

/* ============================================
   CONTAINER
   ============================================ */

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

.dhx-section {
  padding: 100px 0;
  position: relative;
}

@media (max-width: 768px) {
  .dhx-section { padding: 60px 0; }
}

/* ============================================
   HERO
   ============================================ */

.dhx-hero {
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.dhx-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(196, 164, 132, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.dhx-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(196, 164, 132, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 164, 132, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  pointer-events: none;
}

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

.dhx-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(196, 164, 132, 0.08);
  border: 1px solid rgba(196, 164, 132, 0.2);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--brand);
  margin-bottom: 32px;
  font-family: var(--font-mono);
}

.dhx-hero-badge .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 0 rgba(196, 164, 132, 0.5);
  animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
  0% { box-shadow: 0 0 0 0 rgba(196, 164, 132, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(196, 164, 132, 0); }
  100% { box-shadow: 0 0 0 0 rgba(196, 164, 132, 0); }
}

.dhx-hero h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin-bottom: 24px;
  color: var(--text);
}

.dhx-hero h1 .gold {
  color: var(--brand);
}

.dhx-hero p.lead {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.dhx-hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.dhx-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.2s;
}

.dhx-btn-primary {
  background: var(--brand);
  color: #0A0A0A;
}

.dhx-btn-primary:hover {
  background: var(--brand-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -6px var(--brand-glow);
}

.dhx-btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-light);
}

.dhx-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--brand);
  color: var(--brand);
}

.dhx-hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  max-width: 720px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.dhx-stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.dhx-stat-num .gold { color: var(--brand); }

.dhx-stat-label {
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* ============================================
   TYPOGRAPHY — GODSEYE MATCH
   ============================================ */

.dhx-section h2,
.dhx-hero h1,
.dhx-card h3,
.dhx-tier-name,
.dhx-post h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 300;
  letter-spacing: -0.05em;
  line-height: 1;
}

.dhx-section-head {
  text-align: center;
  margin-bottom: 64px;
}

.dhx-section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.dhx-section h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 16px;
  color: var(--text);
}

.dhx-section .lead {
  font-size: 18px;
  font-weight: 300;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   PRODUCT GRID
   ============================================ */

.dhx-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.dhx-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.25s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.dhx-card:hover {
  border-color: rgba(196, 164, 132, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(196, 164, 132, 0.2);
}

.dhx-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 20px;
  font-weight: 700;
}

.dhx-card-icon.blue { background: rgba(196, 164, 132, 0.12); color: var(--brand); }
.dhx-card-icon.cyan { background: rgba(196, 164, 132, 0.12); color: var(--brand); }
.dhx-card-icon.green { background: rgba(196, 164, 132, 0.12); color: var(--brand); }
.dhx-card-icon.purple { background: rgba(196, 164, 132, 0.12); color: var(--brand); }
.dhx-card-icon.orange { background: rgba(196, 164, 132, 0.12); color: var(--brand); }
.dhx-card-icon.red { background: rgba(196, 164, 132, 0.12); color: var(--brand); }

.dhx-card-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--brand);
  background: rgba(196, 164, 132, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  align-self: flex-start;
}

.dhx-card h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 20px;
  font-weight: 300;
  margin-bottom: 8px;
  letter-spacing: -0.05em;
}

.dhx-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
  flex: 1;
}

.dhx-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.dhx-card-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--brand);
}

.dhx-card-price small {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  margin-left: 4px;
}

.dhx-card-arrow {
  color: var(--muted);
  font-size: 18px;
  transition: all 0.2s;
}

.dhx-card:hover .dhx-card-arrow {
  color: var(--brand);
  transform: translateX(4px);
}

/* ============================================
   BLOG
   ============================================ */

.dhx-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.dhx-post {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.25s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.dhx-post:hover {
  border-color: rgba(196, 164, 132, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -20px rgba(196, 164, 132, 0.2);
}

.dhx-post-cover {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, rgba(196, 164, 132, 0.6) 0%, rgba(196, 164, 132, 0.3) 100%);
  position: relative;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: #0A0A0A;
}

.dhx-post-cover.cyan { background: linear-gradient(135deg, var(--brand-light) 0%, var(--brand-dark) 100%); }
.dhx-post-cover.green { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%); }
.dhx-post-cover.purple { background: linear-gradient(135deg, var(--brand-dark) 0%, rgba(196, 164, 132, 0.5) 100%); }

.dhx-post-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.dhx-post-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--dim);
  margin-bottom: 12px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dhx-post h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 18px;
  font-weight: 300;
  margin-bottom: 8px;
  line-height: 1.3;
}

.dhx-post p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}

.dhx-post-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--brand);
  background: rgba(196, 164, 132, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  align-self: flex-start;
}

/* ============================================
   COMMUNITY
   ============================================ */

.dhx-community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.dhx-channel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 16px;
}

.dhx-channel:hover {
  border-color: rgba(196, 164, 132, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -12px rgba(196, 164, 132, 0.2);
}

.dhx-channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}

.dhx-channel-meta { flex: 1; min-width: 0; }
.dhx-channel-name { font-weight: 600; font-size: 15px; margin-bottom: 2px; }
.dhx-channel-handle { color: var(--muted); font-size: 12px; font-family: var(--font-mono); }

/* ============================================
   CTA
   ============================================ */

.dhx-cta {
  background: linear-gradient(135deg, rgba(196, 164, 132, 0.06) 0%, rgba(196, 164, 132, 0.12) 100%);
  border: 1px solid rgba(196, 164, 132, 0.15);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.dhx-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(196, 164, 132, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.dhx-cta-inner { position: relative; }
.dhx-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.dhx-cta p { color: var(--muted); margin-bottom: 32px; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ============================================
   FOOTER
   ============================================ */

.dhx-footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
  background: var(--bg);
}

.dhx-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .dhx-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

.dhx-footer h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dim);
  margin-bottom: 16px;
}

.dhx-footer ul { list-style: none; }
.dhx-footer li { margin-bottom: 10px; }
.dhx-footer a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.dhx-footer a:hover { color: var(--brand); }

.dhx-footer-brand p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 12px 0 20px;
  max-width: 320px;
}

.dhx-footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.dhx-footer-bottom a { color: var(--muted); text-decoration: none; }
.dhx-footer-bottom a:hover { color: var(--brand); }

/* ============================================
   LEGAL PAGES
   ============================================ */

.dhx-legal {
  padding: 80px 0;
  max-width: 760px;
  margin: 0 auto;
}

.dhx-legal h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.dhx-legal .updated {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 40px;
  font-family: var(--font-mono);
}

.dhx-legal h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin: 40px 0 12px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.dhx-legal h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  margin: 24px 0 8px;
  color: var(--brand);
}

.dhx-legal p, .dhx-legal li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.dhx-legal ul { padding-left: 20px; margin-bottom: 16px; }

.dhx-legal a { color: var(--brand); text-decoration: none; }
.dhx-legal a:hover { text-decoration: underline; }

.dhx-legal hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

.dhx-legal code {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
}

/* ============================================
   STORE / PRICING
   ============================================ */

.dhx-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.dhx-tier {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.25s;
  position: relative;
}

.dhx-tier.featured {
  border-color: var(--brand);
  box-shadow: 0 8px 32px -12px rgba(196, 164, 132, 0.3);
  background: linear-gradient(180deg, rgba(196, 164, 132, 0.04) 0%, var(--surface) 100%);
}

.dhx-tier.featured::before {
  content: '★ MOST POPULAR';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #0A0A0A;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.dhx-tier-name {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.dhx-tier-price {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  color: var(--text);
}

.dhx-tier-price span { font-size: 16px; color: var(--muted); }

.dhx-tier-desc {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
  min-height: 40px;
}

.dhx-tier ul {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
}

.dhx-tier li {
  color: var(--text);
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.dhx-tier li::before {
  content: '✓';
  color: var(--brand);
  font-weight: 700;
  flex-shrink: 0;
}

.dhx-tier .dhx-btn { width: 100%; justify-content: center; }

/* ============================================
   MOBILE NAV
   ============================================ */

.dhx-mobile-menu {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--text);
  cursor: pointer;
}

@media (max-width: 768px) {
  .dhx-mobile-menu { display: block; }
}
