/* ============================================================
   RailMind.dev — Liquid Glass Design System
   Aether Design Philosophy Implementation
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
  --bg-primary: #060a14;
  --bg-secondary: #0c1222;
  --bg-tertiary: #111827;

  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-bg-hover: rgba(255, 255, 255, 0.08);
  --glass-bg-strong: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(255, 255, 255, 0.15);
  --glass-glow: rgba(59, 130, 246, 0.15);

  --accent-blue: #3b82f6;
  --accent-cyan: #06b6d4;
  --accent-purple: #8b5cf6;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;

  --gradient-primary: linear-gradient(135deg, #3b82f6, #8b5cf6);
  --gradient-secondary: linear-gradient(135deg, #06b6d4, #3b82f6);
  --gradient-hero: radial-gradient(ellipse at 50% 0%, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0.08) 40%, transparent 70%);

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-tertiary: #64748b;
  --text-accent: #60a5fa;

  --radius-2xl: 1rem;
  --radius-full: 9999px;

  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.1);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.2);

  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  color: var(--text-accent);
  text-decoration: none;
  transition: color 0.3s var(--transition-smooth);
}

a:hover {
  color: var(--accent-blue);
}

img {
  max-width: 100%;
  border-radius: var(--radius-2xl);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-blue);
  margin-bottom: 1rem;
}

.section-label svg {
  width: 16px;
  height: 16px;
}

/* --- Layout --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 7rem 0;
  position: relative;
}

/* --- Glass Effect Components --- */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(1.5) brightness(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.5) brightness(1.1);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-glass);
  transition: all 0.4s var(--transition-smooth);
}

.glass:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-glass), var(--shadow-glow);
}

.glass-strong {
  background: var(--glass-bg-strong);
  backdrop-filter: blur(30px) saturate(1.8) brightness(1.15);
  -webkit-backdrop-filter: blur(30px) saturate(1.8) brightness(1.15);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-glass);
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(90%, 1200px);
  z-index: 1000;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(6, 10, 20, 0.7);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-card);
  transition: all 0.4s var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(6, 10, 20, 0.9);
  box-shadow: var(--shadow-card), 0 0 30px rgba(59, 130, 246, 0.05);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-primary);
}

.nav-logo svg {
  width: 28px;
  height: 28px;
}

.nav-logo .logo-dot {
  color: var(--accent-blue);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s var(--transition-smooth);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  transition: width 0.3s var(--transition-smooth);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.2rem;
  background: var(--gradient-primary);
  color: #fff !important;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-2xl);
  transition: all 0.3s var(--transition-smooth);
  box-shadow: 0 2px 12px rgba(59, 130, 246, 0.3);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
  color: #fff !important;
}

.nav-cta svg {
  width: 14px;
  height: 14px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: all 0.3s var(--transition-smooth);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding-top: 6rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-orb {
  position: absolute;
  border-radius: var(--radius-full);
  filter: blur(80px);
  opacity: 0.4;
  animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(59, 130, 246, 0.2);
  top: 10%;
  left: 15%;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(139, 92, 246, 0.2);
  bottom: 20%;
  right: 10%;
  animation-delay: -3s;
}

.hero-orb-3 {
  width: 200px;
  height: 200px;
  background: rgba(6, 182, 212, 0.15);
  top: 40%;
  right: 30%;
  animation-delay: -5s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  margin-bottom: 2rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: var(--radius-full);
  animation: fadeInDown 0.8s var(--transition-smooth) both;
}

.hero-badge svg {
  width: 14px;
  height: 14px;
}

.hero h1 {
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s var(--transition-smooth) 0.1s both;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  animation: fadeInUp 0.8s var(--transition-smooth) 0.2s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s var(--transition-smooth) 0.3s both;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll svg {
  width: 24px;
  height: 24px;
  color: var(--text-tertiary);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-sans);
  border: none;
  border-radius: var(--radius-2xl);
  cursor: pointer;
  transition: all 0.4s var(--transition-smooth);
  text-decoration: none;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
  color: #fff;
}

.btn-secondary {
  background: var(--glass-bg);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-2px);
  color: var(--text-primary);
}

.btn-ghost {
  background: transparent;
  color: var(--text-accent);
  padding: 0.6rem 1rem;
}

.btn-ghost:hover {
  background: var(--glass-bg);
  color: var(--accent-blue);
}

/* --- Problem & Solution Section --- */
.problem-solution {
  position: relative;
}

.ps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.ps-card {
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.ps-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius-full) var(--radius-full) 0 0;
}

.ps-problem::before {
  background: linear-gradient(90deg, var(--accent-rose), var(--accent-amber));
}

.ps-solution::before {
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-emerald));
}

.ps-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-2xl);
  margin-bottom: 1.5rem;
}

.ps-problem .ps-icon {
  background: rgba(244, 63, 94, 0.1);
  color: var(--accent-rose);
}

.ps-solution .ps-icon {
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent-blue);
}

.ps-icon svg {
  width: 24px;
  height: 24px;
}

.ps-card h3 {
  margin-bottom: 1rem;
}

.ps-card p {
  font-size: 1rem;
  line-height: 1.8;
}

/* --- Features Section --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.feature-card {
  padding: 2rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  border-radius: var(--radius-full);
  filter: blur(60px);
  opacity: 0;
  transition: opacity 0.5s var(--transition-smooth);
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-card:nth-child(1)::after { background: rgba(59, 130, 246, 0.15); }
.feature-card:nth-child(2)::after { background: rgba(139, 92, 246, 0.15); }
.feature-card:nth-child(3)::after { background: rgba(6, 182, 212, 0.15); }
.feature-card:nth-child(4)::after { background: rgba(16, 185, 129, 0.15); }

.feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-2xl);
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card:nth-child(1) .feature-icon { background: rgba(59, 130, 246, 0.1); color: var(--accent-blue); }
.feature-card:nth-child(2) .feature-icon { background: rgba(139, 92, 246, 0.1); color: var(--accent-purple); }
.feature-card:nth-child(3) .feature-icon { background: rgba(6, 182, 212, 0.1); color: var(--accent-cyan); }
.feature-card:nth-child(4) .feature-icon { background: rgba(16, 185, 129, 0.1); color: var(--accent-emerald); }

.feature-card h4 {
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.feature-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  font-family: var(--font-mono);
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.feature-card:nth-child(1) .feature-tag { background: rgba(59, 130, 246, 0.1); color: var(--accent-blue); }
.feature-card:nth-child(2) .feature-tag { background: rgba(139, 92, 246, 0.1); color: var(--accent-purple); }
.feature-card:nth-child(3) .feature-tag { background: rgba(6, 182, 212, 0.1); color: var(--accent-cyan); }
.feature-card:nth-child(4) .feature-tag { background: rgba(16, 185, 129, 0.1); color: var(--accent-emerald); }

.feature-card p {
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
  flex: 1;
}

.feature-value {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-accent);
  position: relative;
  z-index: 1;
}

.feature-value svg {
  width: 14px;
  height: 14px;
}

/* --- Why Rail Section --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.why-card {
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.why-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  border-radius: var(--radius-2xl);
  position: relative;
}

.why-icon svg {
  width: 26px;
  height: 26px;
}

.why-card:nth-child(1) .why-icon { background: rgba(59, 130, 246, 0.1); color: var(--accent-blue); }
.why-card:nth-child(2) .why-icon { background: rgba(245, 158, 11, 0.1); color: var(--accent-amber); }
.why-card:nth-child(3) .why-icon { background: rgba(16, 185, 129, 0.1); color: var(--accent-emerald); }

.why-card h4 {
  margin-bottom: 0.75rem;
}

.why-card p {
  font-size: 0.95rem;
}

/* --- Developer Experience Section --- */
.dev-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.dev-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
  margin-top: 3rem;
}

.dev-info h3 {
  margin-bottom: 1rem;
}

.dev-info p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.dev-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dev-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.dev-features li svg {
  width: 18px;
  height: 18px;
  color: var(--accent-emerald);
  flex-shrink: 0;
}

.code-block {
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.9;
  overflow-x: auto;
  position: relative;
}

.code-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

.code-block-header + .code-block {
  border-radius: 0 0 var(--radius-2xl) var(--radius-2xl);
}

.code-dots {
  display: flex;
  gap: 6px;
}

.code-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
}

.code-dot:nth-child(1) { background: #ef4444; }
.code-dot:nth-child(2) { background: #f59e0b; }
.code-dot:nth-child(3) { background: #22c55e; }

.code-lang {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  font-family: var(--font-sans);
}

.code-comment { color: var(--text-tertiary); }
.code-cmd { color: var(--accent-cyan); }
.code-url { color: var(--accent-blue); }
.code-flag { color: var(--accent-purple); }
.code-string { color: var(--accent-emerald); }

/* --- Footer --- */
.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--glass-border);
  background: var(--bg-primary);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-top: 0.75rem;
  max-width: 280px;
}

.footer-col h5 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.3s var(--transition-smooth);
}

.footer-col a:hover {
  color: var(--text-accent);
  transform: translateX(3px);
}

.footer-col a svg {
  width: 14px;
  height: 14px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: var(--text-tertiary);
  font-size: 0.8rem;
}

.footer-bottom-links a:hover {
  color: var(--text-accent);
}

/* --- Sub-page Styles --- */
.page-hero {
  padding: 10rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin-bottom: 1rem;
}

.page-hero p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.page-content {
  padding: 4rem 0 6rem;
}

.content-card {
  padding: 2.5rem;
  margin-bottom: 2rem;
}

.content-card h3 {
  margin-bottom: 1rem;
}

.content-card p,
.content-card li {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.content-card ul,
.content-card ol {
  padding-left: 1.5rem;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.content-grid .glass {
  padding: 2rem;
}

/* --- Status Page --- */
.status-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--glass-border);
}

.status-item:last-child {
  border-bottom: none;
}

.status-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.status-dot.operational { background: var(--accent-emerald); box-shadow: 0 0 8px rgba(16, 185, 129, 0.4); }
.status-dot.degraded { background: var(--accent-amber); box-shadow: 0 0 8px rgba(245, 158, 11, 0.4); }

.status-name {
  font-weight: 500;
  font-size: 0.95rem;
}

.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.status-badge.operational {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-emerald);
}

.status-badge.degraded {
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-amber);
}

.status-overall {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
}

.status-overall .status-dot {
  width: 14px;
  height: 14px;
}

.status-overall h3 {
  color: var(--accent-emerald);
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--transition-smooth), transform 0.6s var(--transition-smooth);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .dev-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1.5rem;
    background: rgba(6, 10, 20, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    gap: 1rem;
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-toggle {
    display: flex;
  }

  .ps-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
}
