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

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

:root{
  --bg:#080c14;
  --bg2:#0d1320;
  --card:rgba(255,255,255,0.03);
  --border:rgba(255,255,255,0.08);
  --border-hover:rgba(99,179,237,0.3);
  --cyan:#63b3ed;
  --cyan-hover:#90cdf4;
  --cyan2:#4299e1;
  --accent:#7c3aed;
  --text:#f0f4f8;
  --muted:#94a3b8;
  --muted2:#475569;
  --radius:16px;
  --radius-lg:24px;
}

html{scroll-behavior:smooth}

body{
  font-family:'Inter',system-ui,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}

body::before{
  content:'';
  position:fixed;
  inset:0;
  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)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events:none;
  z-index:0;
  opacity:.4;
}

/* Background Gradients for elegance */
.ambient-glow {
  position: absolute;
  top: -150px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99,179,237,0.08), transparent 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: -1;
  border-radius: 50%;
}
.ambient-glow-left {
  position: absolute;
  top: 300px;
  left: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124,58,237,0.05), transparent 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: -1;
  border-radius: 50%;
}

::-webkit-scrollbar{width:6px}
::-webkit-scrollbar-track{background:var(--bg)}
::-webkit-scrollbar-thumb{background:var(--muted2);border-radius:10px}

/* Navbar */
nav{
  position:fixed;
  top:0;left:0;right:0;
  z-index:100;
  padding:0 24px;
  height:64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  border-bottom:1px solid var(--border);
  background:rgba(8,12,20,0.8);
  transition:all .3s;
}
.nav-logo{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  font-weight:700;
  font-size:17px;
  color:var(--text);
  letter-spacing:-0.3px;
}
.nav-logo img{width:32px;height:32px}
.nav-right{display:flex;align-items:center;gap:12px}

.btn-nav-login{
  background:none;
  border:1px solid var(--border);
  color:var(--muted);
  padding:8px 18px;
  border-radius:10px;
  font-size:14px;
  font-weight:500;
  cursor:pointer;
  text-decoration:none;
  transition:all .2s;
  white-space:nowrap;
}
.btn-nav-login:hover{
  border-color:var(--cyan);
  color:var(--cyan);
  background:rgba(99,179,237,0.05);
}

.btn-nav-buy{
  background:var(--cyan2);
  color:#fff;
  padding:8px 20px;
  border-radius:10px;
  font-size:14px;
  font-weight:600;
  cursor:pointer;
  text-decoration:none;
  border:none;
  transition:all .2s;
  white-space:nowrap;
  box-shadow:0 4px 14px rgba(66,153,225,0.25);
}
.btn-nav-buy:hover{
  background:var(--cyan);
  transform:translateY(-1px);
  box-shadow:0 6px 20px rgba(66,153,225,0.35);
}

/* Typography & Layouts */
section { position:relative; z-index:1; }

.page-badge {
  display:inline-block;
  padding:6px 16px;
  background:rgba(99,179,237,0.1);
  color:var(--cyan);
  border-radius:20px;
  font-size:12px;
  font-weight:700;
  letter-spacing:1px;
  text-transform:uppercase;
  margin-bottom:20px;
  border: 1px solid rgba(99,179,237,0.2);
}

.article-card {
  text-decoration:none;
  display:flex;
  flex-direction: column;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:32px;
  transition:all .3s ease;
  position: relative;
  overflow: hidden;
}
.article-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: opacity .3s ease;
}
.article-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  background:rgba(255,255,255,0.05);
  box-shadow: 0 16px 32px rgba(0,0,0,0.3);
}
.article-card:hover::before {
  opacity: 1;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  color: var(--text);
  line-height: 1.8;
  font-size: 17px;
}
.article-body h2 {
  margin-top: 50px;
  margin-bottom: 24px;
  font-size: 26px;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1.3;
}
.article-body p {
  margin-bottom: 24px;
  color: var(--muted);
}
.article-body strong {
  color: #fff;
  font-weight: 600;
}
.article-body ol, .article-body ul {
  color: var(--muted);
  margin-left: 20px;
  margin-bottom: 24px;
}
.article-body li {
  margin-bottom: 12px;
}

.cta-box {
  background: linear-gradient(135deg, rgba(99,179,237,0.05) 0%, rgba(124,58,237,0.05) 100%);
  border: 1px solid rgba(99,179,237,0.2);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  margin: 48px 0;
  position: relative;
  overflow: hidden;
}
.cta-box::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 60%);
  transform: rotate(30deg);
  pointer-events: none;
}

footer {
  border-top:1px solid var(--border);
  padding:40px 0;
  text-align:center;
  color:var(--muted);
  position:relative;
  z-index:1;
}
