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

:root {
  /* Premium Dark Theme Core */
  --bg-deep: #050814;
  --bg-gradient: radial-gradient(circle at 15% 50%, rgba(14, 165, 233, 0.15), transparent 25%),
                radial-gradient(circle at 85% 30%, rgba(244, 114, 182, 0.12), transparent 25%),
                linear-gradient(180deg, #050814 0%, #0a0f25 50%, #050814 100%);
  
  /* Primary Accents */
  --ink: #0c172a;
  --sky: #38bdf8;
  --ocean: #0284c7;
  --neon-cyan: #22d3ee;
  --dawn: #f472b6;
  --hot-pink: #ec4899;
  --sand: #f8fafc;
  
  /* Status / Highlight Colors */
  --green: #10b981;
  --emerald: #34d399;
  --yellow: #f59e0b;
  --amber: #fbbf24;
  --purple: #8b5cf6;
  --violet: #a78bfa;

  /* Glassmorphism Tokens */
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-bg-hover: rgba(255, 255, 255, 0.05);
  --stroke: rgba(255, 255, 255, 0.08);
  --stroke-glow: rgba(56, 189, 248, 0.4);
  --shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7);
  --glow-shadow: 0 0 30px rgba(14, 165, 233, 0.15);
  
  /* Typography */
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
}

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

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.2);
}

body {
  min-height: 100vh;
  font-family: 'Outfit', sans-serif;
  background: var(--bg-deep);
  background-image: var(--bg-gradient);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

/* Animated Background Overlay */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  z-index: -1;
  pointer-events: none;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 16px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: rgba(5, 8, 20, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--stroke);
  transition: all 0.3s ease;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: -0.5px;
}

.logo img {
  height: 36px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.4));
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  padding: 8px 0;
}

.nav-links a:hover {
  color: var(--text-main);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

.nav-cta {
  background: linear-gradient(135deg, var(--sky), var(--neon-cyan));
  color: #000;
  padding: 10px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  box-shadow: 0 8px 24px rgba(34, 211, 238, 0.3);
}

.nav-cta:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 32px rgba(34, 211, 238, 0.5);
}

.back-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.back-link:hover { 
  color: var(--sky);
  transform: translateX(-4px);
}
.back-link svg { width: 18px; height: 18px; }

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 180px 48px 80px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  text-align: center;
}

/* Background Blobs for Hero */
.blob {
  position: absolute;
  filter: blur(100px);
  opacity: 0.4;
  pointer-events: none;
  border-radius: 50%;
  animation: float 10s ease-in-out infinite alternate;
}

.blob.one {
  width: 500px;
  height: 500px;
  background: var(--ocean);
  top: -50px;
  left: 10%;
}

.blob.two {
  width: 400px;
  height: 400px;
  background: var(--hot-pink);
  bottom: -100px;
  right: 15%;
  animation-delay: -5s;
}

@keyframes float {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-30px) scale(1.1); }
}

.badge, .case-study-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.case-study-badge {
  color: var(--neon-cyan);
  border-color: rgba(34, 211, 238, 0.3);
  background: rgba(34, 211, 238, 0.05);
}
.case-study-badge svg { width: 16px; height: 16px; }

.spark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 10px var(--neon-cyan), 0 0 0 6px rgba(34, 211, 238, 0.15);
  animation: pulse-spark 2.5s infinite;
}

@keyframes pulse-spark {
  0%, 100% { box-shadow: 0 0 10px var(--neon-cyan), 0 0 0 6px rgba(34, 211, 238, 0.15); }
  50% { box-shadow: 0 0 20px var(--neon-cyan), 0 0 0 10px rgba(34, 211, 238, 0.25); }
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
  position: relative;
  z-index: 1;
}

.gradient-text {
  background: linear-gradient(135deg, var(--sky), var(--hot-pink), var(--yellow));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 6s linear infinite;
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 1;
}

.hero-stats {
  display: flex;
  gap: 60px;
  justify-content: center;
  margin-top: 50px;
  padding-top: 50px;
  border-top: 1px solid var(--stroke);
  position: relative;
  z-index: 1;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-main);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  line-height: 1;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 8px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   General Sections
   ========================================================================== */
section {
  padding: 100px 48px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--neon-cyan);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 16px;
  display: inline-block;
  padding: 6px 16px;
  background: rgba(34, 211, 238, 0.1);
  border-radius: 999px;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
  font-weight: 300;
}

/* ==========================================================================
   Projects Grid (Index)
   ========================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 32px;
}

.project-card {
  padding: 40px;
  border-radius: 24px;
  border: 1px solid var(--stroke);
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--card-accent, var(--ocean)), transparent);
  opacity: 0.5;
  transition: opacity 0.4s ease, height 0.4s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow), 0 0 0 1px var(--card-accent, var(--ocean));
  background: var(--card-bg-hover);
}

.project-card:hover::before {
  opacity: 1;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.1), transparent 70%);
}

.project-card:nth-child(1) { --card-accent: var(--ocean); }
.project-card:nth-child(2) { --card-accent: var(--dawn); }
.project-card:nth-child(3) { --card-accent: var(--amber); }
.project-card:nth-child(4) { --card-accent: var(--emerald); }
.project-card:nth-child(5) { --card-accent: var(--violet); }
.project-card:nth-child(6) { --card-accent: var(--neon-cyan); }

.project-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--stroke);
  color: var(--card-accent);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  transition: transform 0.4s ease;
  position: relative;
  z-index: 1;
}

.project-card:hover .project-icon {
  transform: scale(1.1) rotate(5deg);
}

.project-icon svg {
  width: 30px;
  height: 30px;
}

.project-title {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
  position: relative;
  z-index: 1;
}

.project-tagline {
  font-size: 0.95rem;
  color: var(--card-accent, var(--sky));
  margin-bottom: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
}

.project-description {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 24px;
  line-height: 1.6;
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.tech-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--stroke);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-main);
  transition: all 0.3s ease;
}

.tech-tag:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.case-study-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  background: var(--card-bg);
  border: 1px solid var(--stroke);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  align-self: flex-start;
}

.case-study-link:hover {
  background: var(--card-accent);
  color: #000;
  border-color: transparent;
  transform: translateX(5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.case-study-link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}
.case-study-link:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.service-card {
  padding: 32px 24px;
  border-radius: 20px;
  border: 1px solid var(--stroke);
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  text-align: center;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--ocean);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  background: var(--card-bg-hover);
}

.service-icon {
  height: 60px;
  margin-bottom: 20px;
  color: var(--sky);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 4px 8px rgba(56, 189, 248, 0.3));
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Tech Stack Section (Index)
   ========================================================================== */
.tech-section {
  background: linear-gradient(to right, rgba(0,0,0,0.2), rgba(255,255,255,0.02), rgba(0,0,0,0.2));
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
  margin: 0;
  max-width: none;
  padding: 100px 48px;
}

.tech-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.tech-category h3 {
  font-size: 0.95rem;
  color: var(--neon-cyan);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tech-category h3::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--stroke);
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tech-item {
  background: var(--card-bg);
  border: 1px solid var(--stroke);
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.tech-item:hover {
  border-color: var(--ocean);
  color: var(--text-main);
  background: rgba(2, 132, 199, 0.1);
  transform: translateY(-2px);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 1.15rem;
  font-weight: 300;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--card-bg);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  transition: transform 0.3s ease;
}
.highlight-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.2);
}

.highlight-icon {
  width: 48px;
  height: 48px;
  background: rgba(34, 211, 238, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--neon-cyan);
}

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

.highlight-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.highlight-text strong {
  color: var(--text-main);
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
  font-weight: 700;
}

/* ==========================================================================
   CTA Section Elements
   ========================================================================== */
.cta-section {
  text-align: center;
  padding: 120px 48px;
}

.cta-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--stroke);
  border-radius: 32px;
  padding: 80px 40px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.cta-box::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 32px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.5), rgba(244, 114, 182, 0.5));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Subtle glow blob inside CTA */
.cta-box::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(34, 211, 238, 0.1) 0%, transparent 40%);
  animation: rotate 20s linear infinite;
  pointer-events: none;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.cta-box h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.cta-box p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
  font-weight: 300;
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon-cyan), var(--ocean));
  color: #000;
  padding: 18px 36px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 12px 40px rgba(2, 132, 199, 0.4);
  position: relative;
  z-index: 1;
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 50px rgba(2, 132, 199, 0.6);
}

/* ==========================================================================
   Case Study Specific Elements
   ========================================================================== */
.meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 24px;
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  margin-top: 40px;
}

.meta-item { text-align: center; }
.meta-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
  font-weight: 700;
}
.meta-value {
  font-size: 1.05rem;
  color: var(--text-main);
  font-weight: 600;
}

.content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 48px 100px;
}

.content .section {
  padding: 0;
  margin-bottom: 60px;
}

.content .section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-main);
  display: inline-block;
  border-bottom: 2px solid var(--stroke);
  padding-bottom: 8px;
}

.content p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 1.1rem;
  font-weight: 300;
}

.highlight-box {
  background: var(--card-bg);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.highlight-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
}

.highlight-box.problem::before { background: var(--dawn); }
.highlight-box.solution::before { background: var(--green); }

.highlight-box h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.highlight-box.problem h3 { color: var(--dawn); }
.highlight-box.solution h3 { color: var(--green); }
.highlight-box h3 svg { width: 24px; height: 24px; }

.highlight-box p, .highlight-box ul {
  color: var(--text-muted);
  font-size: 1.05rem;
  font-weight: 300;
}

.highlight-box ul {
  list-style: none;
  padding: 0;
  margin-top: 16px;
}

.highlight-box li {
  padding: 10px 0 10px 28px;
  position: relative;
}

.highlight-box li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--neon-cyan);
  font-weight: bold;
}

.architecture {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  padding: 32px;
  margin: 40px 0;
}

.architecture h3 {
  font-size: 0.9rem;
  color: var(--neon-cyan);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
  font-weight: 700;
}

.arch-layers {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.arch-layer {
  display: flex;
  gap: 16px;
  align-items: stretch;
}

.arch-layer-label {
  width: 120px;
  padding: 16px;
  background: var(--card-bg);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.arch-layer-items {
  flex: 1;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.arch-item {
  background: var(--card-bg);
  border: 1px solid var(--stroke);
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  flex: 1;
  min-width: 140px;
  text-align: center;
  transition: all 0.3s ease;
}
.arch-item:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
}

.arch-item.highlight {
  border-color: var(--violet);
  background: rgba(139, 92, 246, 0.1);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 40px 0;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  padding: 28px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--violet);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(139, 92, 246, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--violet);
}
.feature-icon svg { width: 24px; height: 24px; }

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 300;
}

.tech-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 32px 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--stroke);
}

.tech-table th, .tech-table td {
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid var(--stroke);
}

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

.tech-table th {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tech-table td {
  color: var(--text-muted);
  font-size: 1rem;
  background: var(--card-bg);
  font-weight: 400;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
}

.result-card {
  background: var(--card-bg);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s ease;
}
.result-card:hover {
  transform: translateY(-5px);
  border-color: var(--green);
}

.result-icon {
  height: 48px;
  margin-bottom: 16px;
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}
.result-icon svg { width: 36px; height: 36px; }

.result-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1;
}

.result-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0;
}

.tech-tags .tech-tag {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--violet);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  background: rgba(5, 8, 20, 0.9);
  border-top: 1px solid var(--stroke);
  padding: 40px 48px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
  .hero { padding: 150px 32px 60px; }
  .about-content { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .meta-grid { grid-template-columns: repeat(2, 1fr); }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .hero-stats { flex-direction: column; gap: 30px; }
  section { padding: 80px 24px; }
  .tech-categories { grid-template-columns: 1fr; }
  .cta-section { padding: 80px 24px; }
  .cta-box { padding: 40px 24px; }
  .about-highlights { grid-template-columns: 1fr; }
  
  .content { padding-left: 24px; padding-right: 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .arch-layer { flex-direction: column; }
  .arch-layer-label { width: 100%; }
}
