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

:root {
  --rust: #f74c00;
  --rust-light: #ff6b2b;
  --rust-dark: #c23d00;
  --rust-glow: rgba(247, 76, 0, 0.25);
  --bg-primary: #0a0a0b;
  --bg-secondary: #111113;
  --bg-card: #161618;
  --bg-card-hover: #1c1c1f;
  --border: #222225;
  --border-light: #2a2a2e;
  --text-primary: #e8e6e3;
  --text-secondary: #9a9898;
  --text-muted: #5c5b5b;
  --font-display: "Outfit", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

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

body {
  font-family: var(--font-display);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* ─── Noise Texture Overlay ─── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* ─── Navigation ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 10, 11, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.3s,
    background 0.3s;
}

.nav.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(10, 10, 11, 0.95);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}

.nav-logo svg {
  height: 28px;
  width: auto;
}

.nav-logo-text {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.nav-logo-text span {
  color: var(--rust);
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.btn-ghost {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-ghost:hover {
  border-color: var(--text-muted);
  background: var(--bg-card);
}

.btn-primary {
  padding: 0.5rem 1.25rem;
  border: none;
  border-radius: 8px;
  background: var(--rust);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  background: var(--rust-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--rust-glow);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

.mobile-menu-icon {
  position: relative;
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 999px;
  transition: transform 0.2s ease;
}

.mobile-menu-icon::before,
.mobile-menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 999px;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.mobile-menu-icon::before {
  transform: translateY(-7px);
}

.mobile-menu-icon::after {
  transform: translateY(7px);
}

.nav.is-open .mobile-menu-icon {
  transform: rotate(45deg);
}

.nav.is-open .mobile-menu-icon::before {
  transform: rotate(90deg);
}

.nav.is-open .mobile-menu-icon::after {
  opacity: 0;
  transform: translateY(0);
}

body.menu-open {
  overflow: hidden;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 60% at 50% 0%,
      rgba(247, 76, 0, 0.08) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 60% 50% at 80% 20%,
      rgba(247, 76, 0, 0.04) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse 50% 40% at 20% 80%,
      rgba(247, 76, 0, 0.03) 0%,
      transparent 50%
    );
}

/* Animated grid lines */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(
    ellipse 70% 70% at 50% 40%,
    black 20%,
    transparent 70%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 70% 70% at 50% 40%,
    black 20%,
    transparent 70%
  );
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--rust);
  border-radius: 50%;
  opacity: 0;
  animation: particle-float 8s infinite;
}

@keyframes particle-float {
  0% {
    opacity: 0;
    transform: translateY(100vh) scale(0);
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    opacity: 0;
    transform: translateY(-20vh) scale(1);
  }
}

.hero-content {
  position: relative;
  max-width: 820px;
  text-align: center;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  background: rgba(22, 22, 24, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
  }
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 0.35em;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero h1 .rust-accent {
  background: linear-gradient(135deg, var(--rust) 0%, var(--rust-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-family: var(--font-mono);
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 500;
  color: var(--rust);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-desc {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  font-weight: 400;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-actions .btn-primary {
  padding: 0.75rem 2rem;
  font-size: 1rem;
  border-radius: 10px;
}

.hero-actions .btn-ghost {
  padding: 0.75rem 2rem;
  font-size: 1rem;
  border-radius: 10px;
}

.hero-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero-social-proof {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  list-style: none;
  padding-left: 0;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.proof-item strong {
  color: var(--text-secondary);
  font-weight: 600;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Section Common ─── */
section {
  padding: 100px 2rem;
}

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

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--rust);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}

/* ─── Downloads / Get Started ─── */
#downloads {
  background: var(--bg-secondary);
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  list-style: none;
  padding: 0;
  align-items: stretch;
}

.downloads-grid > li {
  display: flex;
}

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.download-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--rust), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.download-card:hover {
  border-color: var(--border-light);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

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

.download-card.is-featured {
  border-color: rgba(247, 76, 0, 0.3);
  background: linear-gradient(
    180deg,
    rgba(247, 76, 0, 0.04) 0%,
    var(--bg-card) 40%
  );
}

.card-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.badge-live {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}
.badge-soon {
  background: rgba(247, 76, 0, 0.15);
  color: var(--rust-light);
}

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

.download-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.download-card .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 0.65rem 1rem;
  margin-top: auto;
}
.download-card .btn-ghost {
  width: 100%;
  text-align: center;
  display: block;
  padding: 0.65rem 1rem;
  margin-top: auto;
}

/* ─── Features Section ─── */
#features {
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
  list-style: none;
  padding: 0;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
  transition: all 0.3s;
  position: relative;
}

.feature-card:hover {
  border-color: var(--border-light);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(247, 76, 0, 0.08);
  border: 1px solid rgba(247, 76, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.feature-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--rust);
  text-decoration: none;
  transition: gap 0.2s;
}

.feature-card:hover .learn-more {
  gap: 0.6rem;
}

/* ─── Code Demo Section ─── */
#demo {
  background: var(--bg-secondary);
  padding: 80px 2rem;
}

.demo-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.demo-video {
  margin-top: 2.5rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: #0d0d0f;
}

.demo-video-player {
  width: 100%;
  display: block;
}

.code-window {
  margin-top: 2.5rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
  text-align: left;
  background: #0d0d0f;
}

.code-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

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

.code-dot:nth-child(1) {
  background: #ff5f57;
}
.code-dot:nth-child(2) {
  background: #febc2e;
}
.code-dot:nth-child(3) {
  background: #28c840;
}

.code-titlebar span {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.code-body {
  padding: 1.5rem 2rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.8;
  overflow-x: auto;
}

.code-body .kw {
  color: #ff7b72;
}
.code-body .fn {
  color: #d2a8ff;
}
.code-body .ty {
  color: #79c0ff;
}
.code-body .str {
  color: #a5d6ff;
}
.code-body .cm {
  color: #484f58;
  font-style: italic;
}
.code-body .mac {
  color: #ffa657;
}
.code-body .lt {
  color: #ff7b72;
}
.code-body .num {
  color: #79c0ff;
}

.ghost-line {
  color: rgba(247, 76, 0, 0.5);
  position: relative;
}

.ghost-line::before {
  content: "✦ Corust";
  position: absolute;
  right: 0;
  font-size: 0.65rem;
  color: var(--rust);
  opacity: 0.6;
  font-style: normal;
}

/* ─── Community Section ─── */
#community {
  position: relative;
}

.community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
  list-style: none;
  padding: 0;
}

.community-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2.25rem;
  transition: all 0.3s;
}

.community-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.community-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.community-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.community-card .btn-primary {
  border-radius: 10px;
  padding: 0.6rem 1.5rem;
  display: flex;
  justify-content: center;
  width: fit-content;
  margin: 0 auto;
}

/* ─── Contact Section ─── */
#contact {
  background: var(--bg-secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  font-style: normal;
}

.contact-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.contact-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-item a {
  color: var(--rust);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-fieldset {
  border: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.7rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-card);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 0.9rem;
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--rust);
  box-shadow: 0 0 0 3px var(--rust-glow);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form .btn-primary {
  align-self: stretch;
  width: 100%;
  text-align: center;
  justify-content: center;
  padding: 0.7rem 2rem;
  font-size: 0.95rem;
  border-radius: 10px;
}

/* ─── Footer ─── */
footer {
  padding: 3rem 2rem 2rem;
  border-top: 1px solid var(--border);
}

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

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  max-width: 320px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 3rem;
}

.footer-links-col h3 {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.footer-links-col a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s;
}

.footer-social a:hover {
  border-color: var(--rust);
  color: var(--rust);
  background: rgba(247, 76, 0, 0.06);
}

.powered-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 1.5rem;
}

/* ─── Scroll Reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive ─── */
@media (max-width: 960px) {
  .nav {
    padding: 0 1.25rem;
  }
  .nav-menu {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    padding: 1.5rem 1.5rem 1.75rem;
    background: rgba(10, 10, 11, 0.98);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  }
  .nav.is-open .nav-menu {
    display: flex;
  }
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .nav-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .nav-cta .btn-primary,
  .nav-cta .btn-ghost {
    width: 100%;
    justify-content: center;
  }
  .mobile-menu-btn {
    display: block;
  }
  .downloads-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-top {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  section {
    padding: 60px 1.25rem;
  }
  .hero {
    padding: 100px 1.25rem 60px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .community-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-links {
    width: 100%;
    justify-content: space-between;
  }
  .footer-social {
    width: 100%;
    justify-content: center;
  }
}
