/* ═══════════════════════════════════════════════════════
   StackSimplified — Homepage
   Theme: Deep Indigo / Purple gradient
   ═══════════════════════════════════════════════════════ */

:root {
  --primary: #6366f1;
  --primary-light: #818cf8;
  --primary-dark: #4f46e5;
  --primary-soft: rgba(99, 102, 241, 0.08);
  --primary-glow: rgba(99, 102, 241, 0.2);
  --bg: #0a0a0f;
  --bg-card: rgba(17, 17, 27, 0.7);
  --bg-card-hover: rgba(25, 25, 40, 0.8);
  --surface: #111117;
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(99, 102, 241, 0.3);
  --text: #f0f0f5;
  --text-dim: #a1a1b5;
  --text-muted: #6b6b80;
  --success: #10b981;
  --gradient: linear-gradient(135deg, #6366f1, #8b5cf6, #a855f7);
  --gradient-subtle: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(139,92,246,0.05));
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.4);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }


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

a { color: var(--primary-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--text); }
::selection { background: rgba(99, 102, 241, 0.3); }

/* ─── Navigation ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 40px; height: 72px;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--gradient);
  display: grid; place-items: center;
  font-weight: 900; font-size: 18px; color: #fff;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
}
.logo-text { font-size: 17px; font-weight: 800; color: var(--text); }
.logo-text span { color: var(--primary-light); }
.logo-byline {
  font-size: 10px; font-weight: 500; color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.5px; padding: 2px 8px;
  border: 1px solid var(--border); border-radius: 999px;
}
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text-dim);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }


/* ─── Hero Section ─── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 120px 40px 80px; text-align: center;
  overflow: hidden;
}
.hero-glow {
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse, rgba(99,102,241,0.15) 0%, rgba(139,92,246,0.05) 40%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; max-width: 720px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: 999px; margin-bottom: 28px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.5px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--primary-light); background: var(--primary-soft);
  border: 1px solid rgba(99, 102, 241, 0.2);
}
.hero-title {
  font-size: clamp(48px, 7vw, 80px); font-weight: 900;
  line-height: 1.05; letter-spacing: -2px;
  color: var(--text); margin-bottom: 24px;
}
.gradient-text {
  background: var(--gradient); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-description {
  font-size: 18px; line-height: 1.8; color: var(--text-dim);
  max-width: 580px; margin: 0 auto 36px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; margin-bottom: 56px; }
.btn {
  padding: 14px 28px; border-radius: 12px; font-size: 14px;
  font-weight: 700; cursor: pointer; transition: all 0.25s; border: none;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary {
  background: var(--gradient); color: #fff;
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(99, 102, 241, 0.5); color: #fff; }
.btn-ghost {
  background: transparent; color: var(--text-dim);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--border-hover); color: var(--text); background: var(--primary-soft); }
.hero-stats {
  display: flex; justify-content: center; gap: 48px;
}
.stat { text-align: center; }
.stat-num { display: block; font-size: 28px; font-weight: 900; color: var(--text); }
.stat-label { font-size: 12px; color: var(--text-muted); font-weight: 500; }


/* ─── Technologies Section ─── */
.technologies {
  padding: 100px 40px; max-width: 1100px; margin: 0 auto;
}
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 {
  font-size: 36px; font-weight: 900; color: var(--text);
  margin-bottom: 12px; letter-spacing: -0.5px;
}
.section-header p { font-size: 16px; color: var(--text-dim); max-width: 500px; margin: 0 auto; }
.tech-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.tech-card {
  padding: 28px; border-radius: var(--radius);
  background: var(--bg-card); border: 1px solid var(--border);
  transition: all 0.3s; position: relative; overflow: hidden;
}
.tech-card:hover { border-color: var(--border-hover); background: var(--bg-card-hover); transform: translateY(-4px); box-shadow: var(--shadow); }
.tech-card-header { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.tech-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center; flex-shrink: 0;
  border: 1px solid var(--border);
}
.aws-icon { background: rgba(255, 153, 0, 0.08); color: #FF9900; border-color: rgba(255, 153, 0, 0.2); }
.azure-icon { background: rgba(0, 120, 212, 0.08); color: #0078D4; border-color: rgba(0, 120, 212, 0.2); }
.devops-icon { background: rgba(16, 185, 129, 0.08); color: #10b981; border-color: rgba(16, 185, 129, 0.2); }
.k8s-icon { background: rgba(56, 128, 255, 0.08); color: #3880ff; border-color: rgba(56, 128, 255, 0.2); }
.ai-icon { background: rgba(168, 85, 247, 0.08); color: #a855f7; border-color: rgba(168, 85, 247, 0.2); }
.tech-card-info { flex: 1; }
.tech-card-info h3 { font-size: 16px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.tech-status {
  display: inline-flex; padding: 2px 8px; border-radius: 999px;
  font-size: 10px; font-weight: 700; font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.3px;
}
.tech-status.live { background: rgba(16, 185, 129, 0.1); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.2); }
.tech-status.upcoming { background: rgba(107, 107, 128, 0.1); color: var(--text-muted); border: 1px solid var(--border); }
.tech-desc { font-size: 13.5px; line-height: 1.7; color: var(--text-dim); margin-bottom: 16px; }


/* AWS Card modules (expandable sub-links) */
.aws-card { grid-column: span 2; }
.tech-modules { display: flex; flex-direction: column; gap: 6px; }
.module-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: var(--radius-xs);
  font-size: 13px; color: var(--text-dim); transition: all 0.2s;
  text-decoration: none; border: 1px solid transparent;
}
.module-link:hover { background: var(--primary-soft); border-color: var(--border-hover); color: var(--text); }
.module-link.coming-soon { opacity: 0.5; cursor: default; }
.module-link.coming-soon:hover { background: transparent; border-color: transparent; color: var(--text-dim); }
.module-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  background: var(--primary); box-shadow: 0 0 8px var(--primary-glow);
}
.module-link.coming-soon .module-dot { background: var(--text-muted); box-shadow: none; }
.module-arrow { margin-left: auto; color: var(--primary-light); font-weight: 600; }

/* Topic tags */
.tech-topics { display: flex; flex-wrap: wrap; gap: 6px; }
.topic-tag {
  padding: 4px 10px; border-radius: 999px; font-size: 11px;
  font-weight: 600; color: var(--text-muted); background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
}


/* ─── About / Philosophy ─── */
.about {
  padding: 100px 40px; max-width: 900px; margin: 0 auto;
}
.about-content h2 {
  font-size: 32px; font-weight: 900; text-align: center;
  margin-bottom: 48px; color: var(--text);
}
.philosophy-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.philosophy-card {
  padding: 28px; border-radius: var(--radius);
  background: var(--bg-card); border: 1px solid var(--border);
  transition: all 0.3s;
}
.philosophy-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.phil-icon { font-size: 28px; margin-bottom: 14px; }
.philosophy-card h4 { font-size: 16px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.philosophy-card p { font-size: 13.5px; line-height: 1.7; color: var(--text-dim); }

/* ─── Footer ─── */
.footer {
  padding: 60px 40px 30px;
  border-top: 1px solid var(--border);
  margin-top: 60px;
}
.footer-content {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1100px; margin: 0 auto; margin-bottom: 32px;
}
.footer-tagline { font-size: 14px; color: var(--text-dim); margin-top: 8px; }
.footer-byline { color: var(--primary-light); font-weight: 600; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--text-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  text-align: center; padding-top: 24px;
  border-top: 1px solid var(--border); max-width: 1100px; margin: 0 auto;
}
.footer-bottom p { font-size: 12px; color: var(--text-muted); }


/* ─── Responsive ─── */
@media (max-width: 900px) {
  .aws-card { grid-column: span 1; }
  .philosophy-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 32px; }
  .nav { padding: 16px 20px; }
  .nav-links { gap: 16px; }
  .hero { padding: 100px 24px 60px; }
  .technologies { padding: 60px 20px; }
  .about { padding: 60px 20px; }
}
@media (max-width: 600px) {
  .tech-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .footer-content { flex-direction: column; gap: 20px; text-align: center; }
  .nav-links { display: none; }
  .hero-title { font-size: 40px; }
}

/* ─── Animations ─── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-content { animation: fadeInUp 0.8s ease forwards; }
.tech-card { animation: fadeInUp 0.6s ease forwards; }
.tech-card:nth-child(2) { animation-delay: 0.1s; }
.tech-card:nth-child(3) { animation-delay: 0.2s; }
.tech-card:nth-child(4) { animation-delay: 0.3s; }
.tech-card:nth-child(5) { animation-delay: 0.4s; }

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(99, 102, 241, 0.3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(99, 102, 241, 0.5); }


/* ─── AK Glow Effect ─── */
.ak-glow {
  font-weight: 900;
  letter-spacing: 1px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  position: relative;
  display: inline-block;
}
.ak-glow::after {
  content: 'AK';
  position: absolute;
  top: 0;
  left: 0;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: blur(6px);
  opacity: 0.6;
  z-index: -1;
  animation: akPulse 2.5s ease-in-out infinite;
}
@keyframes akPulse {
  0%, 100% { opacity: 0.4; filter: blur(6px); }
  50% { opacity: 0.8; filter: blur(10px); }
}

/* Nav byline styling */
.logo-byline {
  font-size: 10px; font-weight: 500; color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.5px; padding: 2px 8px;
  border: 1px solid var(--border); border-radius: 999px;
  display: inline-flex; align-items: center; gap: 3px;
}
.logo-byline .ak-glow { font-size: 10px; }

/* Footer byline */
.footer-byline {
  color: var(--text-dim); font-weight: 500;
  display: inline-flex; align-items: center; gap: 3px;
}
.footer-byline .ak-glow { font-size: inherit; }
