/* GUNOVULA — Cryptocurrency Insights | Brand Redesign */
:root {
  --primary: #1F459C;
  --primary-light: #2856c8;
  --secondary: #00C8FF;
  --secondary-dim: rgba(0, 200, 255, 0.15);
  --bg: #101827;
  --surface: #162035;
  --surface2: #1c2a47;
  --accent: #F4A261;
  --grey: #778496;
  --text: #e2e8f4;
  --text-light: #9aacc4;
  --border: #1e3060;
  --border-light: #243a6a;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.25);
  --radius: 12px;
  --radius-sm: 8px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
}

/* Hex circuit background pattern */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image:
    radial-gradient(circle at 25% 25%, rgba(31, 69, 156, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(0, 200, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

body > * { position: relative; z-index: 1; }

/* Nav */
nav {
  background: rgba(16, 24, 39, 0.95);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img {
  height: 48px;
  width: auto;
  max-width: 240px;
}
.nav-logo-text {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--secondary);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.nav-links { display: flex; gap: 1.25rem; list-style: none; align-items: center; }
.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--secondary); }
.nav-links .nav-cta a {
  background: var(--primary);
  color: var(--white);
  padding: 0.45rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s;
}
.nav-links .nav-cta a:hover { background: var(--primary-light); color: var(--white); }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #0d2a6e 60%, #0a1a40 100%);
  color: var(--white);
  padding: 5rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0,200,255,0.12) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='30,5 55,17.5 55,42.5 30,55 5,42.5 5,17.5' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3C/svg%3E") repeat;
  pointer-events: none;
}
.hero-content { position: relative; max-width: 760px; margin: 0 auto; }
.hero-badge {
  display: inline-block;
  background: rgba(0,200,255,0.15);
  border: 1px solid rgba(0,200,255,0.35);
  color: var(--secondary);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.hero h1 em {
  color: var(--secondary);
  font-style: normal;
}
.hero p {
  font-size: 1.15rem;
  opacity: 0.88;
  max-width: 580px;
  margin: 0 auto 2.5rem;
  color: rgba(255,255,255,0.85);
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.75rem;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  font-size: 1rem;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--secondary);
  color: #0a1a40;
}
.btn-primary:hover {
  background: #33d6ff;
  box-shadow: 0 6px 24px rgba(0,200,255,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline:hover { border-color: var(--white); box-shadow: 0 4px 16px rgba(0,0,0,0.3); }
.btn-accent {
  background: var(--accent);
  color: var(--white);
  font-size: 0.9rem;
  padding: 0.55rem 1.25rem;
}
.btn-accent:hover { background: #f5b580; box-shadow: 0 4px 16px rgba(244,162,97,0.35); }

/* Container */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 2rem;
}

/* Sections */
section { padding: 4rem 0; }
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.6rem;
}
section h2 {
  font-size: clamp(1.6rem, 4vw, 2rem);
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}
section h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--secondary);
}

/* Featured Blog Cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover {
  border-color: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 200, 255, 0.1);
}
.blog-card-tag {
  display: inline-block;
  background: rgba(0,200,255,0.1);
  color: var(--secondary);
  border: 1px solid rgba(0,200,255,0.25);
  padding: 0.2rem 0.65rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  width: fit-content;
}
.blog-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}
.blog-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.55;
  flex: 1;
}
.blog-card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.blog-card:hover .blog-card-link { gap: 0.5rem; }

/* Exchange Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}
.card:hover { border-color: var(--border-light); }
.card h3 { margin-top: 0; font-size: 1.1rem; color: var(--text); }
.card p { color: var(--text-light); font-size: 0.9rem; margin: 0.5rem 0 1rem; }
.card ul { color: var(--text-light); }
.card ul li { margin-bottom: 0.3rem; font-size: 0.88rem; }
.card .badge {
  display: inline-block;
  background: rgba(31,69,156,0.2);
  color: var(--secondary);
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(0,200,255,0.2);
}
.card .badge.green {
  background: rgba(0,200,255,0.1);
  color: var(--secondary);
  border-color: rgba(0,200,255,0.25);
}

/* Comparison Table */
.table-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  font-size: 0.9rem;
  border: 1px solid var(--border);
}
th {
  background: var(--primary);
  color: var(--white);
  padding: 0.9rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.88rem;
}
td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(31,69,156,0.12); }
.check { color: var(--secondary); font-weight: bold; }
.cross { color: #e17055; }

/* Guide content */
.guide-content { max-width: 780px; }
.guide-content h2 { font-size: 1.45rem; margin: 2rem 0 0.75rem; color: var(--text); }
.guide-content h3 { font-size: 1.05rem; color: var(--secondary); margin: 1.5rem 0 0.5rem; }
.guide-content p { margin-bottom: 1rem; color: var(--text); }
.guide-content ul, .guide-content ol {
  margin: 0.75rem 0 1rem 1.5rem;
  color: var(--text-light);
}
.guide-content li { margin-bottom: 0.4rem; }
.guide-content .tip {
  background: rgba(0,200,255,0.08);
  border-left: 4px solid var(--secondary);
  padding: 0.85rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1rem 0;
  font-size: 0.95rem;
  color: var(--text);
}
.guide-content .warning {
  background: rgba(244,162,97,0.08);
  border-left: 4px solid var(--accent);
  padding: 0.85rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1rem 0;
  font-size: 0.95rem;
  color: var(--text);
}

/* CTA box */
.cta-box {
  background: linear-gradient(135deg, var(--primary) 0%, #0d2a6e 100%);
  border: 1px solid rgba(0,200,255,0.2);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,200,255,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.cta-box h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 0.6rem; position: relative; }
.cta-box p { opacity: 0.85; margin-bottom: 1.5rem; color: var(--white); position: relative; }
.cta-box .btn { position: relative; }

/* Stats strip */
.stats-strip {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.stat { text-align: center; }
.stat strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: -0.02em;
}
.stat span { font-size: 0.82rem; color: var(--text-light); }

/* Guide nav pills */
.guide-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.guide-nav a {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 0.45rem 1.1rem;
  font-size: 0.88rem;
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.2s;
}
.guide-nav a:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  background: rgba(0,200,255,0.05);
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: var(--border-light); }
.feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(31,69,156,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 0.9rem;
  border: 1px solid rgba(0,200,255,0.15);
}
.feature-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--text); }
.feature-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.5; }

/* Footer */
footer {
  background: #0a1120;
  border-top: 1px solid var(--border);
  color: var(--text-light);
  padding: 2.5rem 2rem;
  text-align: center;
  font-size: 0.85rem;
}
footer a { color: var(--secondary); text-decoration: none; }
footer a:hover { text-decoration: underline; }
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
}
.footer-logo {
  display: inline-block;
  margin-bottom: 1rem;
}
.footer-logo img { height: 40px; opacity: 0.85; max-width: 180px; }

/* Divider */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 3.5rem 1.25rem 3rem; }
  .hero h1 { font-size: 2rem; }
  section { padding: 3rem 0; }
  .container { padding: 1.25rem; }
  .stats-strip { gap: 1.5rem; padding: 2rem 1.25rem; }
  .cta-box { padding: 2rem 1.5rem; }
}
