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

:root {
  --bg-dark: #020617;
  --bg-card: rgba(15, 23, 42, 0.4);
  --border-slate: rgba(30, 41, 59, 0.6);
  --text-light: #f8fafc;
  --text-muted: #94a3b8;
  --cyan: #22d3ee;
  --cyan-glow: rgba(34, 211, 238, 0.25);
  --pink: #ec4899;
  --pink-glow: rgba(236, 72, 153, 0.25);
  --purple: #a855f7;
  --purple-glow: rgba(168, 85, 247, 0.25);
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-orbitron: 'Orbitron', sans-serif;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Grid & Blur Effects */
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, #0f172a 1px, transparent 1px),
    linear-gradient(to bottom, #0f172a 1px, transparent 1px);
  background-size: 4rem 4rem;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 70%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 70%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.blur-orb-1 {
  position: absolute;
  top: -10rem;
  left: -10rem;
  width: 25rem;
  height: 25rem;
  background-color: rgba(34, 211, 238, 0.08);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}

.blur-orb-2 {
  position: absolute;
  top: 50%;
  right: -10rem;
  width: 30rem;
  height: 30rem;
  background-color: rgba(168, 85, 247, 0.08);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 1;
}

/* Utility Containers */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 10;
}

/* Typography styling */
h1, h2, h3, h4, .font-orbitron {
  font-family: var(--font-orbitron);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.text-gradient {
  background: linear-gradient(to right, var(--cyan), var(--purple), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.neon-text-cyan {
  text-shadow: 0 0 10px rgba(34, 211, 238, 0.5);
}

.neon-text-pink {
  text-shadow: 0 0 10px rgba(236, 72, 153, 0.5);
}

/* Header */
header {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--text-light);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo i {
  color: var(--cyan);
  text-shadow: 0 0 8px var(--cyan);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--cyan);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-orbitron);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.8rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-cyan {
  background: linear-gradient(135deg, #06b6d4, #0284c7);
  color: white;
  box-shadow: 0 4px 15px var(--cyan-glow);
}

.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 211, 238, 0.4);
  opacity: 0.95;
}

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

.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 10px var(--cyan-glow);
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-slate);
  border-radius: 1.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 2rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.glass-card:hover {
  border-color: rgba(34, 211, 238, 0.3);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.05);
}

/* Hero Section */
.hero {
  padding: 4rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.tagline {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(236, 72, 153, 0.1);
  border: 1px solid rgba(236, 72, 153, 0.3);
  color: var(--pink);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.tagline-dot {
  width: 0.35rem;
  height: 0.35rem;
  background-color: var(--pink);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.1;
}

.hero-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

/* YouTube Shorts Video Styling */
.video-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.video-container {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 9 / 16;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border-slate);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6), 0 0 20px var(--cyan-glow);
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

.video-container:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(34, 211, 238, 0.4);
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Features Grid Section */
.section-features {
  padding: 5rem 0;
  border-top: 1px solid rgba(15, 23, 42, 0.6);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.section-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
}

.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  font-size: 0.85rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.2);
  color: var(--cyan);
  font-size: 1.1rem;
  text-shadow: 0 0 5px var(--cyan);
}

.feature-card h3 {
  font-size: 1rem;
  color: var(--text-light);
}

.feature-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Comparison Section */
.section-comparison {
  padding: 5rem 0;
  border-top: 1px solid rgba(15, 23, 42, 0.6);
}

.comparison-table-wrapper {
  width: 100%;
  overflow-x: auto;
  border-radius: 1.5rem;
  border: 1px solid var(--border-slate);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  background: rgba(15, 23, 42, 0.2);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 700px;
}

.comparison-table th, .comparison-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-slate);
  font-size: 0.85rem;
}

.comparison-table th {
  background: rgba(15, 23, 42, 0.7);
  font-family: var(--font-orbitron);
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.05em;
  font-size: 0.8rem;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover td {
  background: rgba(30, 41, 59, 0.2);
}

.comparison-table .highlight-col {
  background: rgba(34, 211, 238, 0.03);
  border-left: 1px solid rgba(34, 211, 238, 0.1);
  border-right: 1px solid rgba(34, 211, 238, 0.1);
  font-weight: 500;
}

.comparison-table tr:hover .highlight-col {
  background: rgba(34, 211, 238, 0.06);
}

.comparison-table th.highlight-col {
  background: rgba(34, 211, 238, 0.08);
  border-bottom: 2px solid var(--cyan);
  color: var(--cyan);
  text-shadow: 0 0 8px var(--cyan-glow);
}

.check-icon {
  color: var(--cyan);
  margin-right: 0.25rem;
}

.cross-icon {
  color: #ef4444;
  margin-right: 0.25rem;
}

/* Open Source Compliance Section */
.section-gpl {
  padding: 5rem 0;
  border-top: 1px solid rgba(15, 23, 42, 0.6);
}

.gpl-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-left: 3px solid var(--pink);
  box-shadow: 0 4px 20px rgba(236, 72, 153, 0.05);
}

.gpl-title-area {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.gpl-badge {
  background: rgba(236, 72, 153, 0.1);
  border: 1px solid rgba(236, 72, 153, 0.3);
  color: var(--pink);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
  font-family: var(--font-orbitron);
}

.gpl-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.source-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-orbitron);
  font-weight: 700;
  font-size: 0.7rem;
  color: var(--text-light);
  text-decoration: none;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-slate);
  padding: 0.6rem 1.2rem;
  border-radius: 0.5rem;
  transition: all 0.3s;
}

.source-btn:hover {
  border-color: var(--pink);
  color: var(--pink);
  box-shadow: 0 0 10px var(--pink-glow);
  transform: translateY(-1px);
}

/* Call to Action Banner */
.cta-banner {
  padding: 4rem 0 6rem;
  text-align: center;
}

.cta-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(2, 6, 23, 0.9) 100%);
  border: 1px solid rgba(168, 85, 247, 0.3);
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.1);
  padding: 3.5rem 2rem;
  border-radius: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.cta-card h2 {
  font-size: 2rem;
  font-weight: 900;
}

.cta-card p {
  color: var(--text-muted);
  max-width: 600px;
  font-size: 0.9rem;
}

/* Footer */
footer {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(15, 23, 42, 0.6);
  background: #01040d;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-logo {
  font-family: var(--font-orbitron);
  font-weight: 900;
  color: var(--text-light);
  text-decoration: none;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-link:hover {
  color: var(--cyan);
}

/* Responsive Styles */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .tagline {
    align-self: center;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

/* Pink Theme Color Modifiers for Cyber Chess */
.btn-pink {
  background: linear-gradient(135deg, #ec4899, #db2777);
  color: white;
  box-shadow: 0 4px 15px var(--pink-glow);
}

.btn-pink:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.4);
  opacity: 0.95;
}

.btn-outline-pink:hover {
  border-color: var(--pink);
  color: var(--pink);
  box-shadow: 0 0 10px var(--pink-glow);
}

.logo-pink i {
  color: var(--pink) !important;
  text-shadow: 0 0 8px var(--pink) !important;
}

.nav-link-pink:hover {
  color: var(--pink) !important;
}

.footer-link-pink:hover {
  color: var(--pink) !important;
}

.feature-icon-pink {
  background: rgba(236, 72, 153, 0.1) !important;
  border: 1px solid rgba(236, 72, 153, 0.2) !important;
  color: var(--pink) !important;
  text-shadow: 0 0 5px var(--pink) !important;
}

.check-icon-pink {
  color: var(--pink) !important;
}

.comparison-table .highlight-col-pink {
  background: rgba(236, 72, 153, 0.03);
  border-left: 1px solid rgba(236, 72, 153, 0.1);
  border-right: 1px solid rgba(236, 72, 153, 0.1);
}

.comparison-table tr:hover .highlight-col-pink {
  background: rgba(236, 72, 153, 0.06);
}

.comparison-table th.highlight-col-pink {
  background: rgba(236, 72, 153, 0.08);
  border-bottom: 2px solid var(--pink);
  color: var(--pink);
  text-shadow: 0 0 8px var(--pink-glow);
}

.neon-text-pink {
  text-shadow: 0 0 10px rgba(236, 72, 153, 0.5);
}

