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

/* Core Design System Variables */
:root {
  --bg-dark: #0a0f1d;
  --bg-slate: #111b33;
  --bg-slate-trans: rgba(17, 27, 51, 0.7);
  --bg-card: rgba(22, 34, 64, 0.55);
  --border-light: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 242, 254, 0.2);
  
  --primary: #00f2fe; /* Neon Cyan */
  --primary-hover: #4facfe; /* Electric Blue */
  --accent: #10b981; /* Emerald Green */
  --accent-purple: #8b5cf6; /* Volatility Purple */
  --danger: #ef4444; /* Alert Red */
  
  --text-main: #f3f4f6; /* Soft White */
  --text-muted: #9ca3af; /* Muted Grey */
  --text-dark: #4b5563;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 20px rgba(0, 242, 254, 0.15);
  --shadow-glow-strong: 0 0 35px rgba(0, 242, 254, 0.3);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(0, 242, 254, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.04) 0%, transparent 40%);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Sticky Premium Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 2rem;
  background: transparent;
  transition: all 0.4s ease;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  padding: 0.85rem 2rem;
  background: var(--bg-slate-trans);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  cursor: pointer;
}

.logo-dot {
  width: 10px;
  height: 10px;
  background-color: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary);
  display: inline-block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-hover));
  transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-btn {
  background: rgba(0, 242, 254, 0.15);
  color: var(--primary);
  border: 1px solid var(--border-glow);
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.05);
}

.nav-btn:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: var(--bg-dark);
  box-shadow: var(--shadow-glow);
  border-color: transparent;
}

.nav-btn-icon {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  animation: pulse-glow 2s infinite;
}

.nav-btn:hover .nav-btn-icon {
  background-color: var(--bg-dark);
}

/* Hamburger menu for mobile */
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
  background-color: var(--text-main);
  border-radius: 2px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(10, 15, 29, 0.9), rgba(10, 15, 29, 0.5)),
    radial-gradient(circle at 70% 30%, rgba(0, 242, 254, 0.12) 0%, transparent 60%);
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-grid-svg {
  width: 100%;
  max-width: 550px;
  opacity: 0.35;
  filter: drop-shadow(0 0 15px rgba(0, 242, 254, 0.2));
  animation: float-slow 8s ease-in-out infinite alternate;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 650px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #ffffff, #9ca3af);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 550px;
}

.hero-ctas {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: var(--bg-dark);
  padding: 0.85rem 1.85rem;
  border-radius: 6px;
  font-weight: 700;
  font-family: var(--font-heading);
  box-shadow: var(--shadow-glow);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-strong);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  padding: 0.85rem 1.85rem;
  border-radius: 6px;
  font-weight: 600;
  font-family: var(--font-heading);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--text-muted);
  transform: translateY(-2px);
}

/* Generic Layout Sections */
.section {
  padding: 7rem 2rem;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  max-width: 700px;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.75rem;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #ffffff, #e5e7eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Glassmorphic Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card:hover {
  transform: translateY(-5px) scale(1.01);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  color: var(--primary);
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card-features li {
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-main);
}

.card-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: bold;
}

/* Tab Component for Options Page */
.tabs-container {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.tabs-menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-right: 1px solid var(--border-light);
  padding-right: 2rem;
}

.tab-btn {
  background: none;
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 1rem 1.25rem;
  border-radius: 6px;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tab-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.02);
}

.tab-btn.active {
  background: rgba(0, 242, 254, 0.08);
  border-color: rgba(0, 242, 254, 0.15);
  color: var(--primary);
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-content.active {
  display: block;
}

.tab-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.tab-header h3 {
  font-size: 2rem;
}

.tab-meta {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--accent);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

.tab-meta.purple {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  color: var(--accent-purple);
}

.strategy-details {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
}

.strategy-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}

.strategy-table th, .strategy-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.strategy-table th {
  font-family: var(--font-heading);
  color: var(--text-muted);
  font-weight: 600;
}

.strategy-table td {
  font-size: 0.95rem;
}

/* Interactive Go Board SVG Styles */
.go-showcase {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.go-board-wrapper {
  background: radial-gradient(circle at center, #1b2644 0%, #0d152a 100%);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  padding: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow-glow);
}

.go-board-svg {
  width: 100%;
  max-width: 420px;
}

.go-board-grid {
  stroke: rgba(0, 242, 254, 0.25);
  stroke-width: 1.5;
}

.go-hoshi {
  fill: var(--primary);
}

.stone-black {
  fill: #060913;
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 1;
  filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.6));
}

.stone-white {
  fill: #f3f4f6;
  stroke: #ffffff;
  stroke-width: 1;
  filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.4));
}

.stone-sente {
  fill: var(--primary);
  stroke: #ffffff;
  stroke-width: 1.5;
  filter: drop-shadow(0 0 10px var(--primary));
  animation: pulse-glow 2.5s infinite;
}

.stone-label {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  text-anchor: middle;
  dominant-baseline: middle;
}

.stone-label.black {
  fill: #ffffff;
}

.stone-label.white {
  fill: #0a0f1d;
}

.stone-label.sente {
  fill: #0a0f1d;
}

.philosophy-bullets {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.philosophy-step {
  display: flex;
  gap: 1.5rem;
}

.philosophy-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.philosophy-text h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.philosophy-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* MEIC Server Mock Dashboard */
.meic-dashboard {
  background: #0b1120;
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-glow-strong);
}

.dashboard-header {
  background: #111b33;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.dashboard-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent);
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  font-weight: 600;
}

.status-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 50%;
  animation: pulse-glow 1.5s infinite;
}

.dashboard-actions {
  display: flex;
  gap: 1rem;
}

.server-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.server-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.dashboard-body {
  padding: 2rem;
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.metric-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  padding: 1.25rem;
  border-radius: 8px;
}

.metric-box label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.5rem;
}

.metric-box .value {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-main);
}

.metric-box .value.glow-cyan {
  color: var(--primary);
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
}

.metric-box .value.glow-green {
  color: var(--accent);
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.table-responsive {
  overflow-x: auto;
}

.dashboard-table {
  width: 100%;
  border-collapse: collapse;
}

.dashboard-table th, .dashboard-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.dashboard-table th {
  font-family: var(--font-heading);
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dashboard-table tr:hover {
  background: rgba(255, 255, 255, 0.015);
}

.signal-badge {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.25rem 0.6;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-block;
}

.progress-bar-container {
  width: 100px;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  display: inline-block;
  vertical-align: middle;
}

.progress-bar {
  height: 100%;
  background: var(--primary);
}

.progress-bar.orange {
  background: #f59e0b;
}

/* Client Login Overlay */
.login-overlay-container {
  position: relative;
}

.login-blur {
  filter: blur(8px);
  pointer-events: none;
  user-select: none;
}

.login-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 15, 29, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
  border-radius: 12px;
  padding: 2rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.login-card {
  background: var(--bg-slate);
  border: 1px solid var(--border-glow);
  border-radius: 8px;
  padding: 2.5rem;
  max-width: 400px;
  width: 100%;
  box-shadow: var(--shadow-glow-strong);
  text-align: center;
}

.login-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.login-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}

.form-group {
  margin-bottom: 1.25rem;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
}

.login-btn {
  width: 100%;
  margin-top: 1rem;
}

/* Insights/Blog Styles */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
}

.blog-post {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.4s ease;
}

.blog-post:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.blog-image {
  height: 200px;
  width: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  background-color: var(--bg-slate);
}

.blog-category-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: rgba(10, 15, 29, 0.85);
  border: 1px solid var(--border-glow);
  color: var(--primary);
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.blog-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.blog-content h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.blog-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-readmore {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-readmore:hover {
  color: var(--primary-hover);
}

/* Contact/About Section Layouts */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.discretion-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(0, 242, 254, 0.05));
  border: 1px solid rgba(0, 242, 254, 0.15);
  border-radius: 8px;
  padding: 2rem;
  margin-top: 2rem;
}

.discretion-box h4 {
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.discretion-box p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 3rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.contact-card h3 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

/* Footer Styles */
.footer {
  background: #05070e;
  border-top: 1px solid var(--border-light);
  padding: 4rem 2rem 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 320px;
}

.footer-links h5 {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-dark);
  font-size: 0.8rem;
}

.footer-bottom p {
  color: var(--text-muted);
}

.footer-disclaimer {
  max-width: 700px;
  line-height: 1.4;
  color: var(--text-dark);
}

/* Keyframes & Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-glow {
  0% { transform: scale(1); box-shadow: 0 0 10px rgba(0, 242, 254, 0.2); opacity: 0.8; }
  50% { transform: scale(1.1); box-shadow: 0 0 20px rgba(0, 242, 254, 0.4); opacity: 1; }
  100% { transform: scale(1); box-shadow: 0 0 10px rgba(0, 242, 254, 0.2); opacity: 0.8; }
}

@keyframes float-slow {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-15px) rotate(3deg); }
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-bg-grid {
    width: 100%;
    opacity: 0.25;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-ctas {
    justify-content: center;
  }
  .go-showcase {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .tabs-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .tabs-menu {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding-right: 0;
    padding-bottom: 1.5rem;
    flex-direction: row;
    overflow-x: auto;
    white-space: nowrap;
  }
  .tab-btn {
    display: inline-block;
  }
  .strategy-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
  }
  .hamburger {
    display: block;
  }
  
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 60px;
    gap: 0;
    flex-direction: column;
    background-color: var(--bg-slate);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--border-light);
    padding: 2rem 0;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-item {
    margin: 1.5rem 0;
  }
  
  .section {
    padding: 5rem 1rem;
  }
  
  .section-header h2 {
    font-size: 2.2rem;
  }
}

/* Blog Reader Modal Styles */
.blog-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 15, 29, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.blog-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.blog-modal-container {
  background: var(--bg-slate);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  width: 90%;
  max-width: 800px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-md), var(--shadow-glow);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.blog-modal-overlay.active .blog-modal-container {
  transform: scale(1);
}

.blog-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s ease;
}

.blog-modal-close:hover {
  color: var(--primary);
}

.blog-modal-header-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 2rem;
  border: 1px solid var(--border-light);
}

.blog-modal-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.blog-modal-category {
  background: rgba(0, 242, 254, 0.1);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-weight: 600;
}

.blog-modal-date {
  color: var(--text-muted);
}

.blog-modal-title {
  font-size: 2.25rem;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.blog-modal-body {
  color: var(--text-main);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* Rich Text formatting for dynamic Quill content */
.blog-modal-body p {
  margin-bottom: 1.25rem;
}

.blog-modal-body h1, .blog-modal-body h2, .blog-modal-body h3 {
  color: #fff;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.blog-modal-body h2 {
  font-size: 1.5rem;
}

.blog-modal-body ul, .blog-modal-body ol {
  margin-left: 2rem;
  margin-bottom: 1.25rem;
}

.blog-modal-body li {
  margin-bottom: 0.5rem;
}

.blog-modal-body a {
  color: var(--primary);
  text-decoration: underline;
}

.blog-modal-body a:hover {
  color: var(--primary-hover);
}

.blog-modal-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 2rem 0;
  display: block;
}

.blog-modal-body blockquote {
  border-left: 4px solid var(--primary);
  background: rgba(255, 255, 255, 0.02);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--text-muted);
}

.blog-modal-body pre {
  background: rgba(0, 0, 0, 0.3);
  padding: 1rem;
  border-radius: 6px;
  overflow-x: auto;
  font-family: monospace;
  margin: 1.5rem 0;
  border: 1px solid var(--border-light);
}

/* Scrollbar for modal content */
.blog-modal-container::-webkit-scrollbar {
  width: 8px;
}

.blog-modal-container::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.blog-modal-container::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: 8px;
}

.blog-modal-container::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 242, 254, 0.3);
}

@media (max-width: 768px) {
  .blog-modal-container {
    padding: 1.5rem;
    max-height: 90vh;
  }
  
  .blog-modal-title {
    font-size: 1.75rem;
  }
  
  .blog-modal-header-img {
    height: 200px;
    margin-bottom: 1.5rem;
  }
}

/* GitHub Portfolio Section Styles */
.github-grid-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}

@media (max-width: 992px) {
  .github-grid-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Profile Card */
.github-profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 6rem;
}

.github-avatar {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 3px solid var(--primary);
  margin: 0 auto 1.5rem;
  display: block;
  box-shadow: var(--shadow-glow-strong);
  object-fit: cover;
}

.github-name {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.25rem;
  font-family: var(--font-heading);
}

.github-username {
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.github-bio {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.github-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 1.25rem 0;
  margin-bottom: 2rem;
}

.github-stat-item label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.github-stat-item .value {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}

/* Search and Filters */
.github-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.github-search-wrapper {
  position: relative;
  flex: 1;
  max-width: 400px;
  min-width: 250px;
}

.github-search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  background: rgba(10, 15, 29, 0.6);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.3s;
}

.github-search-input:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: var(--shadow-glow);
}

.github-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.github-filter-pills {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.github-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: var(--font-body);
}

.github-pill:hover, .github-pill.active {
  background: rgba(0, 242, 254, 0.1);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.1);
}

/* Repositories Grid */
.repos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.repo-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  min-height: 220px;
}

.repo-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-hover);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.repo-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.repo-title {
  font-size: 1.2rem;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.repo-title a:hover {
  color: var(--primary);
}

.repo-badge {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  text-transform: uppercase;
  font-weight: bold;
}

.repo-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.repo-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1rem;
  font-size: 0.85rem;
}

.repo-lang {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
}

.repo-lang-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.repo-stats {
  display: flex;
  gap: 1rem;
  color: var(--text-muted);
}

.repo-stat {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.repo-stat svg {
  width: 14px;
  height: 14px;
}
