:root {
  --bg-deep: #050508;
  --bg-card: #0a0a12;
  --neon-cyan: #00f9ff;
  --neon-magenta: #ff2e63;
  --neon-purple: #c026ff;
  --neon-lime: #39ff14;
  --text-primary: #e8e8ff;
  --text-secondary: #a0a0c0;
  --glass: rgba(10, 10, 18, 0.85);
}

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

body {
  font-family: 'Inter', system_ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: var(--neon-cyan);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

a:hover {
  color: var(--neon-magenta);
  text-shadow: 0 0 12px var(--neon-cyan);
}

/* Neon Glow Effects */
.neon-text {
  text-shadow: 
    0 0 5px var(--neon-cyan),
    0 0 10px var(--neon-cyan),
    0 0 20px var(--neon-purple);
}

.neon-button {
  background: transparent;
  border: 2px solid var(--neon-cyan);
  color: var(--neon-cyan);
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.neon-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transition: 0.6s;
}

.neon-button:hover {
  background: var(--neon-cyan);
  color: #050508;
  box-shadow: 0 0 25px var(--neon-cyan), 0 0 50px var(--neon-purple);
  transform: translateY(-3px);
}

.neon-button:hover::before {
  left: 250%;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 5, 8, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 249, 255, 0.15);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -2px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(0, 249, 255, 0.5);
}

nav ul {
  display: flex;
  gap: 42px;
  list-style: none;
}

nav ul li a {
  font-weight: 500;
  font-size: 15px;
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--neon-cyan), var(--neon-magenta));
  transition: width 0.4s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

/* Hero - Split Screen Unique */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero-left {
  padding: 60px 80px 60px 80px;
  max-width: 620px;
}

.hero-right {
  position: relative;
  height: 100vh;
  background: linear-gradient(135deg, #0a0a12 0%, #1a0033 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.neon-orb {
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 30%, #c026ff 0%, #ff2e63 40%, transparent 70%);
  box-shadow: 
    0 0 80px #c026ff,
    0 0 160px #ff2e63,
    inset 0 0 60px rgba(255,255,255,0.2);
  animation: orb-pulse 8s ease-in-out infinite;
  position: relative;
}

.neon-orb::before {
  content: '';
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  border: 1px solid rgba(0, 249, 255, 0.3);
  animation: orb-ring 4s linear infinite;
}

@keyframes orb-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@keyframes orb-ring {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

.hero h1 {
  font-size: 68px;
  line-height: 1.05;
  font-weight: 900;
  margin-bottom: 28px;
  letter-spacing: -3.5px;
}

.hero p {
  font-size: 21px;
  color: var(--text-secondary);
  margin-bottom: 42px;
  max-width: 480px;
}

/* Main Content */
main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 40px;
}

.section-title {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -1.5px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--neon-cyan), transparent);
}

/* Asymmetric Masonry Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 28px;
  margin-top: 50px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 249, 255, 0.1);
  border-radius: 20px;
  padding: 32px 28px;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 380px;
}

.article-card:nth-child(2n) {
  min-height: 440px;
}

.article-card:nth-child(3n) {
  min-height: 320px;
}

.article-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--neon-cyan), var(--neon-magenta));
  transform: scaleX(0);
  transition: transform 0.6s ease;
}

.article-card:hover {
  transform: translateY(-12px);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 40px rgba(0, 249, 255, 0.15);
}

.article-card:hover::before {
  transform: scaleX(1);
}

.article-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.3;
  color: #fff;
}

.article-card p {
  color: var(--text-secondary);
  font-size: 15.5px;
  flex-grow: 1;
  margin-bottom: 24px;
}

.article-meta {
  font-size: 13px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 12px;
}

.read-more {
  color: var(--neon-lime);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

/* Sticky Sidebar */
.sidebar {
  position: sticky;
  top: 100px;
  background: var(--glass);
  border: 1px solid rgba(192, 38, 255, 0.2);
  border-radius: 18px;
  padding: 32px;
  height: fit-content;
  backdrop-filter: blur(16px);
}

.sidebar h4 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  color: var(--neon-purple);
}

.category-list {
  list-style: none;
}

.category-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 15px;
}

.category-list li:last-child {
  border: none;
}

.category-list a {
  color: var(--text-primary);
}

.category-list a:hover {
  color: var(--neon-cyan);
  padding-left: 8px;
}

/* Layout with sidebar */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 50px;
  margin-top: 60px;
}

/* Forms */
.form-group {
  margin-bottom: 22px;
}

label {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

input, textarea {
  width: 100%;
  background: #0a0a12;
  border: 1px solid rgba(0, 249, 255, 0.25);
  border-radius: 12px;
  padding: 16px 20px;
  color: var(--text-primary);
  font-size: 15px;
  transition: all 0.3s ease;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 0 4px rgba(0, 249, 255, 0.1);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

/* Footer */
footer {
  background: #020204;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 70px 40px 40px;
  margin-top: 100px;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
}

.footer-brand {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.footer-links a {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
}

.copyright {
  text-align: center;
  margin-top: 70px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 13px;
  color: #555;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  
  .hero-right {
    height: 380px;
    order: -1;
  }
  
  .content-with-sidebar {
    grid-template-columns: 1fr;
  }
  
  .sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 16px 20px;
  }
  
  nav ul {
    gap: 22px;
  }
  
  .hero-left {
    padding: 40px 20px;
  }
  
  .hero h1 {
    font-size: 46px;
  }
  
  .articles-grid {
    grid-template-columns: 1fr;
  }
  
  .article-card {
    min-height: auto !important;
  }
}