/* ============================================
   The CTRL Team - Global Styles
   ============================================ */

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

:root {
  /* Colors */
  --bg-primary: #0a0a0d;
  --bg-secondary: #12121a;
  --bg-card: #16161f;
  --bg-card-hover: #1a1a25;
  
  --text-primary: #f0f0f5;
  --text-secondary: #a0a0b0;
  --text-muted: #6b6b7b;
  
  --accent: #00d4aa;
  --accent-hover: #00e6b8;
  --accent-glow: rgba(0, 212, 170, 0.25);
  
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  
  /* Typography */
  --font-sans: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  
  /* Layout */
  --max-width: 1200px;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero h1, .hero-lead, .hero-actions, .hero-side {
    opacity: 1 !important;
    animation: none !important;
  }
  .product-card, .feature-item, .feature-card, .studio-card, .timeline-item, .animate-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Background gradient */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 212, 170, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(0, 100, 200, 0.04), transparent),
    radial-gradient(ellipse 60% 40% at 0% 80%, rgba(0, 212, 170, 0.08), transparent);
  pointer-events: none;
  z-index: 0;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   Layout
   ============================================ */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ============================================
   Page wrapper (redesigned index)
   ============================================ */

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

/* ============================================
   Site Header (redesigned)
   ============================================ */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

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

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-label {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.nav-link:hover,
.nav-link-active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link-active::after {
  width: 100%;
}

/* ============================================
   Header (legacy / product pages)
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(10, 10, 13, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  transition: background var(--transition-base), border-color var(--transition-base);
}

.header.scrolled {
  background: rgba(10, 10, 13, 0.95);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.header .logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  display: inline;
}

.header .logo span {
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.nav a {
  color: var(--text-secondary);
}

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

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition-base);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: var(--space-sm);
}

/* ============================================
   Hero
   ============================================ */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  padding: var(--space-3xl) var(--space-xl);
  max-width: var(--max-width);
  margin: 0 auto;
  min-height: calc(100vh - 180px);
}

.hero-content {
  max-width: 540px;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
  opacity: 0;
  animation: fadeSlideUp 0.6s ease forwards;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--accent), #00a8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead,
.hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-xl);
  opacity: 0;
  animation: fadeSlideUp 0.6s ease 0.15s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  opacity: 0;
  animation: fadeSlideUp 0.6s ease 0.3s forwards;
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  opacity: 0;
  animation: fadeSlideUp 0.6s ease 0.4s forwards;
}

.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: var(--space-xl);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.hero-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.4);
}

.hero-card-alt {
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.06) 0%, var(--bg-card) 100%);
  border-color: rgba(0, 212, 170, 0.15);
}

.hero-card-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
}

.hero-card h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.hero-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
  opacity: 1;
  animation: none;
}

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

/* ============================================
   Product Cards
   ============================================ */

.products {
  padding: var(--space-3xl) var(--space-lg);
}

.section-title,
.products h2 {
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-intro {
  text-align: center;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto var(--space-2xl);
  font-size: 1.05rem;
}

.products-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
  max-width: var(--max-width);
  margin: 0 auto;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  padding: var(--space-xl);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow var(--transition-base), border-color var(--transition-base);
}

.product-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border-hover);
  border-color: var(--border-hover);
}

.product-card-image {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.product-card-body {
  padding: var(--space-xl);
}

.product-tagline {
  font-size: 1rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: var(--space-lg);
}

.product-list {
  list-style: none;
  margin-bottom: var(--space-lg);
}

.product-list li {
  position: relative;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.product-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

.product-card h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.product-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: var(--space-lg);
}

.product-card .btn:not(.btn-link),
.product-card .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: var(--accent);
  color: var(--bg-primary);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.product-card .btn:not(.btn-link):hover,
.product-card .btn-primary:hover {
  background: var(--accent-hover);
  color: var(--bg-primary);
  transform: scale(1.02);
  box-shadow: 0 0 24px var(--accent-glow);
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-primary);
}

.btn-primary:hover,
a.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--bg-primary);
  transform: scale(1.02);
  box-shadow: 0 0 24px var(--accent-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-link {
  background: none;
  color: var(--accent);
  padding: 0;
  font-weight: 500;
}

.btn-link:hover {
  color: var(--accent-hover);
  transform: none;
  box-shadow: none;
}

/* ============================================
   Studio section
   ============================================ */

.studio {
  padding: var(--space-3xl) var(--space-lg);
  max-width: var(--max-width);
  margin: 0 auto;
}

.studio .section-title {
  margin-bottom: var(--space-md);
}

.studio .section-intro {
  margin-bottom: var(--space-2xl);
}

.studio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.studio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: var(--space-xl);
  transition: border-color var(--transition-base), opacity 0.6s ease, transform 0.6s ease;
  opacity: 0;
  transform: translateY(20px);
}

.studio-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.studio-card:hover {
  border-color: var(--border-hover);
}

.studio-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.studio-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   Product Page
   ============================================ */

.product-hero {
  padding: calc(var(--header-height) + var(--space-3xl)) var(--space-lg) var(--space-2xl);
  text-align: center;
}

.product-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.product-hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.product-screenshot {
  max-width: 900px;
  margin: 0 auto var(--space-3xl);
  padding: 0 var(--space-lg);
}

.product-screenshot-placeholder {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
}

.product-features {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg) var(--space-3xl);
}

.product-features h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--space-xl);
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
}

.feature-item {
  padding: var(--space-xl);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--accent);
}

.feature-item p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ============================================
   Product pages: screenshot placeholder, features, CTA
   ============================================ */

.screenshot-placeholder {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
}

.screenshot-placeholder p {
  margin: 0;
  opacity: 1;
  animation: none;
}

.screenshot-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  padding: 0;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: none;
  cursor: pointer;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.screenshot-wrap:hover {
  border-color: var(--accent);
  box-shadow: 0 0 24px var(--accent-glow);
}

.screenshot-img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

.lightbox-content {
  position: relative;
  max-width: 95vw;
  max-height: 95vh;
  z-index: 1;
}

.lightbox-img {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 2rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  z-index: 2;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--border-hover);
}

.features {
  padding: var(--space-3xl) var(--space-lg);
  max-width: var(--max-width);
  margin: 0 auto;
}

.features .section-title {
  margin-bottom: var(--space-2xl);
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.feature-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-xl);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: border-color var(--transition-base), box-shadow var(--transition-base), opacity 0.6s ease, transform 0.6s ease;
  opacity: 0;
  transform: translateY(20px);
}

.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.4);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

.cta {
  padding: var(--space-3xl) var(--space-lg);
}

.cta-card {
  max-width: 560px;
  margin: 0 auto;
  padding: var(--space-2xl);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-align: center;
}

.cta-card h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.cta-card p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}

.cta-card .btn {
  display: inline-flex;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

/* ============================================
   Changelog / Roadmap
   ============================================ */

.changelog-page {
  padding: calc(var(--header-height) + var(--space-2xl)) var(--space-lg) var(--space-3xl);
}

.changelog-page h1 {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.changelog-section {
  max-width: 720px;
  margin: 0 auto var(--space-3xl);
}

.changelog-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--space-xl);
  color: var(--accent);
}

.timeline {
  position: relative;
  padding-left: var(--space-xl);
  border-left: 2px solid var(--border);
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-xl);
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-xl) - 5px);
  top: 6px;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent-glow);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}

.timeline-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.timeline-item p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ============================================
   Footer
   ============================================ */

.footer,
.site-footer {
  padding: var(--space-2xl) var(--space-lg);
  border-top: 1px solid var(--border);
  text-align: center;
  margin-top: auto;
}

.site-footer p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.site-footer a {
  color: var(--accent);
}

.site-footer a:hover {
  color: var(--accent-hover);
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.footer-nav a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-nav a:hover {
  color: var(--accent);
}

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

/* ============================================
   Mobile
   ============================================ */

@media (max-width: 768px) {
  .header .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-secondary);
    padding: var(--space-xl);
    gap: var(--space-md);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition-base), opacity var(--transition-base), visibility var(--transition-base);
    border-bottom: 1px solid var(--border);
  }
  
  .header .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-toggle {
    display: block;
  }

  /* Redesigned index: hero stacks on mobile */
  .hero {
    grid-template-columns: 1fr;
    padding: var(--space-2xl) var(--space-lg);
    min-height: auto;
  }

  .hero-content {
    max-width: none;
  }

  .site-header {
    flex-wrap: wrap;
    padding: var(--space-md) var(--space-lg);
  }

  .site-header .nav {
    width: 100%;
    justify-content: flex-start;
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
  }
  
  .products-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 540px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}
