/* ============================================
   IDLC Framework — Modern Single Page Website
   Color Palette: Dark Navy + Teal/Cyan
   ============================================ */

:root {
  --navy-900: #0a1628;
  --navy-800: #0f1f3d;
  --navy-700: #142952;
  --navy-600: #1a3568;
  --teal-500: #2dd4a8;
  --teal-400: #3de8bc;
  --teal-300: #5eead4;
  --cyan-500: #22d3ee;
  --cyan-400: #67e8f9;
  --white: #f0f4f8;
  --white-muted: #94a3b8;
  --white-dim: #64748b;
  --glass-bg: rgba(15, 31, 61, 0.6);
  --glass-border: rgba(45, 212, 168, 0.15);
  --card-bg: rgba(20, 41, 82, 0.5);
  --card-border: rgba(45, 212, 168, 0.1);
  --gradient-primary: linear-gradient(135deg, var(--teal-500), var(--cyan-500));
  --gradient-glow: linear-gradient(135deg, rgba(45, 212, 168, 0.2), rgba(34, 211, 238, 0.2));
  --shadow-glow: 0 0 40px rgba(45, 212, 168, 0.1);
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background: var(--navy-900);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal-400); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--teal-300); }

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

/* ============================================
   Navigation
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 10px 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.nav-logo:hover { color: var(--white); }

.nav-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--white-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover { color: var(--white); }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after { width: 100%; }

.nav-btn {
  background: var(--gradient-primary) !important;
  color: var(--navy-900) !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
}

.nav-btn::after { display: none !important; }
.nav-btn:hover { opacity: 0.9; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(45, 212, 168, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 212, 168, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 70%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(45, 212, 168, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 60%, rgba(34, 211, 238, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(45, 212, 168, 0.04) 0%, transparent 40%);
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(45, 212, 168, 0.1);
  border: 1px solid rgba(45, 212, 168, 0.2);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal-400);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--white-muted);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--navy-900);
  box-shadow: 0 4px 20px rgba(45, 212, 168, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(45, 212, 168, 0.4);
  color: var(--navy-900);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  border-color: var(--teal-400);
  color: var(--teal-400);
  transform: translateY(-2px);
}

.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* Hero Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
}

.stat { text-align: center; }

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--white-dim);
  font-weight: 500;
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-line {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--teal-500), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================
   Taglines Section
   ============================================ */
.taglines {
  padding: 100px 0;
  position: relative;
}

.tagline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.tagline-card {
  text-align: center;
  padding: 48px 32px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.tagline-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tagline-card:hover {
  transform: translateY(-8px);
  border-color: rgba(45, 212, 168, 0.3);
  box-shadow: var(--shadow-glow);
}

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

.tagline-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-glow);
  border-radius: 16px;
  font-size: 1.5rem;
  color: var(--teal-400);
}

.tagline-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.tagline-card p {
  color: var(--white-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   Section Common Styles
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(45, 212, 168, 0.1);
  border: 1px solid rgba(45, 212, 168, 0.2);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--teal-400);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--white-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   Features Section
   ============================================ */
.features {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
}

.features-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 64px;
}

.flow-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.flow-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-glow);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  font-size: 1.3rem;
  color: var(--teal-400);
}

.flow-item h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white-muted);
}

.flow-arrow {
  color: var(--teal-500);
  font-size: 1.2rem;
  opacity: 0.5;
}

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

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(45, 212, 168, 0.25);
  box-shadow: var(--shadow-glow);
}

.feature-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-glow);
  border-radius: 12px;
  font-size: 1.1rem;
  color: var(--teal-400);
  flex-shrink: 0;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.feature-card > p {
  color: var(--white-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.feature-list {
  list-style: none;
  margin-bottom: 20px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.88rem;
  color: var(--white-muted);
}

.feature-list li i {
  color: var(--teal-500);
  font-size: 0.75rem;
}

.feature-code {
  background: rgba(10, 22, 40, 0.6);
  border: 1px solid rgba(45, 212, 168, 0.08);
  border-radius: 10px;
  padding: 16px;
  overflow-x: auto;
}

.feature-code pre {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--white-muted);
}

/* ============================================
   How It Works Section
   ============================================ */
.how-it-works {
  padding: 100px 0;
  position: relative;
}

.workflow-timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.workflow-timeline::before {
  content: '';
  position: absolute;
  left: 36px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--teal-500), rgba(45, 212, 168, 0.1));
}

.workflow-step {
  display: flex;
  gap: 32px;
  padding: 32px 0;
  position: relative;
}

.step-number {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-800);
  border: 2px solid var(--teal-500);
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--teal-400);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-content p {
  color: var(--white-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   Phases Section
   ============================================ */
.phases {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
}

.phases-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

.phases-category {
  margin-bottom: 48px;
}

.category-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--teal-400);
  margin-bottom: 24px;
  padding-left: 4px;
}

.category-label i { font-size: 0.9rem; }

.phases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.phases-grid-ops {
  grid-template-columns: repeat(2, 1fr);
  max-width: 66%;
}

.phase-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 28px 24px;
  transition: var(--transition);
  position: relative;
}

.phase-card:hover {
  transform: translateY(-4px);
  border-color: rgba(45, 212, 168, 0.25);
  box-shadow: var(--shadow-glow);
}

.phase-number {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 14px;
}

.phase-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.phase-card p {
  color: var(--white-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ============================================
   Toolchain Section
   ============================================ */
.toolchain {
  padding: 100px 0;
}

.toolchain-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.tool-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
}

.tool-card:hover {
  transform: translateY(-6px);
  border-color: rgba(45, 212, 168, 0.25);
  box-shadow: var(--shadow-glow);
}

.tool-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-glow);
  border-radius: 14px;
  font-size: 1.2rem;
  color: var(--teal-400);
}

.tool-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.tool-card p {
  color: var(--white-muted);
  font-size: 0.82rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.tool-role {
  display: inline-block;
  padding: 3px 12px;
  background: rgba(45, 212, 168, 0.08);
  border: 1px solid rgba(45, 212, 168, 0.15);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--teal-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.toolchain-flow {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 28px 32px;
  text-align: center;
}

.flow-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.flow-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.flow-steps span {
  font-size: 0.88rem;
  color: var(--white-muted);
  font-weight: 500;
}

.flow-steps i {
  color: var(--teal-500);
  font-size: 0.7rem;
  opacity: 0.5;
}

/* ============================================
   Cloud Section
   ============================================ */
.cloud {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
}

.cloud-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.cloud-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition);
}

.cloud-card:hover {
  transform: translateY(-6px);
  border-color: rgba(45, 212, 168, 0.25);
  box-shadow: var(--shadow-glow);
}

.cloud-icon {
  font-size: 2.5rem;
  color: var(--teal-400);
  margin-bottom: 20px;
}

.cloud-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.cloud-card p {
  color: var(--white-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.cloud-status {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-active {
  background: rgba(45, 212, 168, 0.15);
  color: var(--teal-400);
  border: 1px solid rgba(45, 212, 168, 0.3);
}

.status-ready {
  background: rgba(34, 211, 238, 0.1);
  color: var(--cyan-400);
  border: 1px solid rgba(34, 211, 238, 0.2);
}

.cloud-principles {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 40px;
}

.cloud-principles h3 {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 28px;
}

.principles-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.principle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(10, 22, 40, 0.5);
  border: 1px solid rgba(45, 212, 168, 0.08);
  border-radius: 10px;
}

.principle i {
  color: var(--teal-500);
  font-size: 0.9rem;
}

.principle span {
  font-size: 0.88rem;
  color: var(--white-muted);
  font-weight: 500;
}

/* ============================================
   Repository Structure Section
   ============================================ */
.repo-structure {
  padding: 100px 0;
}

.repo-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.repo-info .section-tag { margin-bottom: 16px; }

.repo-info h2 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.repo-info > p {
  color: var(--white-muted);
  font-size: 1rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

.repo-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.repo-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.repo-feature i {
  color: var(--teal-400);
  font-size: 1.1rem;
  margin-top: 4px;
}

.repo-feature h4 {
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--teal-300);
  margin-bottom: 2px;
}

.repo-feature p {
  color: var(--white-muted);
  font-size: 0.88rem;
}

/* Code Window */
.code-window {
  background: rgba(10, 22, 40, 0.8);
  border: 1px solid rgba(45, 212, 168, 0.12);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.code-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: rgba(15, 31, 61, 0.8);
  border-bottom: 1px solid rgba(45, 212, 168, 0.08);
}

.code-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.code-dot.red { background: #ff5f57; }
.code-dot.yellow { background: #febc2e; }
.code-dot.green { background: #28c840; }

.code-title {
  margin-left: 12px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--white-dim);
}

.code-window pre {
  padding: 24px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--white-muted);
  overflow-x: auto;
}

.code-folder { color: var(--teal-400); font-weight: 600; }

/* ============================================
   CTA Section
   ============================================ */
.cta {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(45, 212, 168, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(34, 211, 238, 0.04) 0%, transparent 50%);
}

.cta-content {
  position: relative;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.cta-content p {
  color: var(--white-muted);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid rgba(45, 212, 168, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  margin-bottom: 12px;
}

.footer-brand h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-brand p {
  color: var(--white-dim);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer-links h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--white);
}

.footer-links ul { list-style: none; }

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  color: var(--white-dim);
  font-size: 0.88rem;
  transition: var(--transition);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
  color: var(--white-dim);
  font-size: 0.82rem;
}

/* ============================================
   Animations
   ============================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.features-grid [data-animate]:nth-child(2),
.tagline-grid [data-animate]:nth-child(2),
.cloud-grid [data-animate]:nth-child(2),
.toolchain-grid [data-animate]:nth-child(2) {
  transition-delay: 0.1s;
}

.features-grid [data-animate]:nth-child(3),
.tagline-grid [data-animate]:nth-child(3),
.cloud-grid [data-animate]:nth-child(3),
.toolchain-grid [data-animate]:nth-child(3) {
  transition-delay: 0.2s;
}

.toolchain-grid [data-animate]:nth-child(4) { transition-delay: 0.3s; }
.toolchain-grid [data-animate]:nth-child(5) { transition-delay: 0.4s; }

.workflow-step[data-animate]:nth-child(2) { transition-delay: 0.15s; }
.workflow-step[data-animate]:nth-child(3) { transition-delay: 0.3s; }
.workflow-step[data-animate]:nth-child(4) { transition-delay: 0.45s; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .toolchain-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .features-grid,
  .cloud-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .phases-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .phases-grid-ops {
    max-width: 100%;
  }

  .repo-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--glass-border);
  }

  .nav-links.active { display: flex; }

  .nav-toggle { display: flex; }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .tagline-grid,
  .features-grid,
  .cloud-grid {
    grid-template-columns: 1fr;
  }

  .toolchain-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .phases-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 32px;
  }

  .stat-number { font-size: 2rem; }

  .features-flow {
    flex-wrap: wrap;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .flow-steps {
    flex-direction: column;
    gap: 8px;
  }

  .flow-steps i { transform: rotate(90deg); }

  .workflow-timeline::before { left: 36px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .toolchain-grid { grid-template-columns: 1fr; }
  .btn { padding: 10px 20px; font-size: 0.9rem; }
  .btn-lg { padding: 12px 24px; font-size: 0.95rem; }
}
