/* ==========================================================================
   TRAINAR Design System & Styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Custom Properties
   -------------------------------------------------------------------------- */

:root {
  /* Primary */
  --near-black: #050A12;
  --arctic-mist: #D3E7EF;

  /* Surfaces */
  --surface-base: #050A12;
  --surface-sheet: #0A1220;
  --surface-card: #111D32;
  --surface-element: #1C2D48;
  --surface-active: #2E486C;

  /* Text */
  --text-primary: #D3E7EF;
  --text-secondary: rgba(244, 244, 245, 0.68);
  --text-tertiary: rgba(211, 231, 239, 0.42);

  /* Status */
  --status-success: #2EA877;
  --status-warning: #CC8526;
  --status-critical: #C93B33;
  --status-info: #8895A7;

  /* Accent */
  --accent: #7EC8E3;
  --accent-glow: rgba(126, 200, 227, 0.15);
  --accent-subtle: rgba(126, 200, 227, 0.08);

  /* Dividers */
  --divider-subtle: rgba(211, 231, 239, 0.08);
  --divider-standard: rgba(211, 231, 239, 0.14);
  --divider-emphasis: rgba(211, 231, 239, 0.24);

  /* Typography */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 48px;
  --space-2xl: 80px;
  --space-3xl: 120px;

  /* Components */
  --card-padding: 12px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 600ms ease;
}

/* --------------------------------------------------------------------------
   2. Reset & Base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--surface-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

::selection {
  background: rgba(126, 200, 227, 0.2);
  color: var(--text-primary);
}

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

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */

.heading-xl {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  text-wrap: balance;
}

.heading-lg {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.heading-md {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.text-body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-primary);
}

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

.text-small {
  font-size: 13px;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */

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

.section {
  padding: var(--space-3xl) 0;
}

.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

/* --------------------------------------------------------------------------
   5. Navbar
   -------------------------------------------------------------------------- */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: var(--space-md) 0;
  transition: background-color var(--transition-base), backdrop-filter var(--transition-base);
}

.navbar.scrolled {
  background: rgba(5, 10, 18, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--divider-subtle);
}

.navbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.navbar__logo img {
  height: 36px;
  width: auto;
  transition: opacity var(--transition-fast), transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.navbar__logo:hover img {
  opacity: 0.8;
  transform: scale(1.04);
}

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

.navbar__links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition-fast);
}

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

/* Hamburger */
.navbar__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  position: relative;
  z-index: 110;
}

.navbar__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  position: absolute;
  left: 5px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.navbar__toggle span:nth-child(1) { top: 9px; }
.navbar__toggle span:nth-child(2) { top: 15px; }
.navbar__toggle span:nth-child(3) { top: 21px; }

.nav-open .navbar__toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-open .navbar__toggle span:nth-child(2) {
  opacity: 0;
}
.nav-open .navbar__toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: var(--space-3xl) 0 var(--space-2xl);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--surface-element) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 40%, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 40%, black 10%, transparent 70%);
  opacity: 0.5;
}

.hero__glow {
  position: absolute;
  width: 800px;
  height: 600px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  opacity: 0.6;
  animation: glow-drift 20s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.hero__content {
  flex: 1;
  max-width: 560px;
}

.hero__title {
  margin-bottom: var(--space-lg);
  background: linear-gradient(
    90deg,
    var(--text-primary) 0%,
    var(--text-primary) 40%,
    var(--accent) 50%,
    var(--text-primary) 60%,
    var(--text-primary) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: hero-shimmer 8s ease-in-out infinite;
}

.hero__subtitle {
  max-width: 460px;
  margin-bottom: var(--space-xl);
  font-size: 17px;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero__phones {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  position: relative;
  padding: var(--space-lg);
}

/* --------------------------------------------------------------------------
   7. Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 28px;
  border-radius: 99px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

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

.btn--primary:hover {
  color: var(--surface-base);
  filter: brightness(1.1);
  box-shadow: 0 0 28px var(--accent-glow);
  transform: translateY(-2px);
}

.btn--primary:active {
  transform: translateY(0) scale(0.97);
  filter: brightness(0.95);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--divider-standard);
}

.btn--outline:hover {
  color: var(--text-primary);
  border-color: var(--text-tertiary);
  background: var(--accent-subtle);
  transform: translateY(-2px);
}

.btn--outline:active {
  transform: translateY(0) scale(0.97);
}

.btn--sm {
  padding: 8px 20px;
  font-size: 13px;
}

.btn--disabled {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   8. Feature Cards (Bento Grid)
   -------------------------------------------------------------------------- */

.features__header {
  margin-bottom: var(--space-xl);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.feature-card {
  background: var(--surface-card);
  border: 1px solid var(--divider-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: border-color var(--transition-base),
              background-color var(--transition-base),
              transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-card:hover {
  border-color: var(--divider-standard);
  background: var(--surface-element);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 0 0 1px var(--divider-subtle);
}

.feature-card--hero {
  grid-column: span 2;
  grid-row: span 2;
  padding: var(--space-xl);
}

.feature-card--wide {
  grid-column: span 2;
}

.feature-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--surface-element);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color var(--transition-base), transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-card:hover .feature-card__icon {
  background: var(--surface-active);
  transform: scale(1.1) rotate(-4deg);
}

.feature-card__icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  transition: color var(--transition-base);
}

.feature-card:hover .feature-card__icon svg {
  color: var(--text-primary);
}

.feature-card__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.feature-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--text-primary);
}

.feature-card__description {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.feature-card__visual {
  flex: 1;
  min-height: 120px;
  margin-top: auto;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.feature-card__visual img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-md);
}

/* --------------------------------------------------------------------------
   9. App Showcase
   -------------------------------------------------------------------------- */

.showcase {
  background: var(--surface-sheet);
  border-top: 1px solid var(--divider-subtle);
  border-bottom: 1px solid var(--divider-subtle);
}

.showcase__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.showcase__header .heading-lg {
  margin-bottom: var(--space-md);
}

.showcase__header p {
  max-width: 520px;
  margin: 0 auto;
}

.showcase__screen {
  max-width: 900px;
  margin: 0 auto var(--space-xl);
}

.showcase__screen .placeholder--phone {
  transition: transform 0.15s ease-out, filter 0.3s ease, border-color 0.3s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.showcase__screen .placeholder--phone:hover {
  filter: drop-shadow(0 24px 64px rgba(0, 0, 0, 0.5));
  border-color: var(--accent);
}

.showcase__screen {
  perspective: 800px;
}

.showcase__stats {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  padding-top: var(--space-xl);
}

.showcase__stat {
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.showcase__stat:hover {
  transform: translateY(-4px);
}

.showcase__stat-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--accent);
  line-height: 1;
  margin-bottom: var(--space-sm);
  transition: text-shadow var(--transition-base);
}

.showcase__stat:hover .showcase__stat-number {
  text-shadow: 0 0 24px var(--accent-glow);
}

.showcase__stat-label {
  font-size: 14px;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   10. Footer
   -------------------------------------------------------------------------- */

.footer {
  padding: var(--space-2xl) 0 var(--space-lg);
  border-top: 1px solid var(--divider-subtle);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__brand-name img {
  height: 22px;
  width: auto;
}

.footer__brand-desc {
  font-size: 14px;
  color: var(--text-tertiary);
}

.footer__group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__group-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-xs);
}

.footer__group a {
  color: var(--text-secondary);
  font-size: 14px;
  position: relative;
}

.footer__group a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.footer__group a:hover::after {
  width: 100%;
}

.footer__copyright {
  text-align: center;
  font-size: 13px;
  color: var(--text-tertiary);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--divider-subtle);
}

/* --------------------------------------------------------------------------
   11. Placeholder Components
   -------------------------------------------------------------------------- */

.placeholder {
  background: var(--surface-card);
  border: 1px solid var(--divider-subtle);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-sm);
  overflow: hidden;
  position: relative;
}

.placeholder__label {
  color: var(--text-tertiary);
  font-size: 11px;
  font-family: var(--font-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Phone mockup */
.placeholder--phone {
  width: 240px;
  aspect-ratio: 9 / 19.5;
  border-radius: 32px;
  border: 2px solid var(--divider-standard);
  padding: 0;
  justify-content: center;
  align-items: center;
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.35));
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              border-color var(--transition-base);
}

.placeholder--phone img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
}

.placeholder--phone .placeholder__skeleton {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  padding-top: var(--space-md);
}

.placeholder__skeleton-row {
  height: 10px;
  background: var(--surface-element);
  border-radius: 4px;
}

.placeholder__skeleton-row--short { width: 60%; }
.placeholder__skeleton-row--medium { width: 82%; }
.placeholder__skeleton-row--long { width: 100%; }

.placeholder__skeleton-block {
  height: 48px;
  background: var(--surface-element);
  border-radius: var(--radius-sm);
  width: 100%;
}

.placeholder__skeleton-circle {
  width: 32px;
  height: 32px;
  background: var(--surface-element);
  border-radius: 50%;
}

.hero__phones .placeholder--phone:first-child {
  transform: rotate(-4deg);
  z-index: 1;
}

.hero__phones .placeholder--phone:first-child:hover {
  transform: rotate(-1deg) translateY(-12px) scale(1.05);
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5));
  border-color: var(--accent);
  z-index: 3;
}

.hero__phones .placeholder--phone:last-child {
  transform: rotate(5deg) translate(-28px, 24px);
  z-index: 2;
}

.hero__phones .placeholder--phone:last-child:hover {
  transform: rotate(1deg) translate(-28px, 12px) scale(1.05);
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5));
  border-color: var(--accent);
  z-index: 3;
}

/* Showcase phone hover */
.showcase__screen .placeholder--phone:hover {
  transform: translateY(-8px) scale(1.03);
  filter: drop-shadow(0 24px 64px rgba(0, 0, 0, 0.5));
  border-color: var(--accent);
}

/* Large screen mockup */
.placeholder--screen {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  border: 1px solid var(--divider-standard);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--divider-subtle);
  padding: 0;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

.placeholder__titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px var(--space-md);
  border-bottom: 1px solid var(--divider-subtle);
  flex-shrink: 0;
}

.placeholder__titlebar-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--surface-element);
}

.placeholder__screen-content {
  flex: 1;
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  justify-content: center;
}

.placeholder__screen-content .placeholder__skeleton-row {
  height: 12px;
}

/* Feature card visual */
.placeholder--card-visual {
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  padding: 0;
  gap: var(--space-sm);
  align-items: stretch;
}

.placeholder--card-visual .placeholder__skeleton {
  gap: var(--space-sm);
}

/* --------------------------------------------------------------------------
   12. Scroll Animations
   -------------------------------------------------------------------------- */

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
  transition-delay: var(--delay, 0ms);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   13. Keyframes
   -------------------------------------------------------------------------- */

@keyframes hero-shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes glow-drift {
  0% {
    transform: translate(-50%, -50%) translate(0, 0);
  }
  25% {
    transform: translate(-50%, -50%) translate(60px, -30px);
  }
  50% {
    transform: translate(-50%, -50%) translate(-40px, 20px);
  }
  75% {
    transform: translate(-50%, -50%) translate(30px, 40px);
  }
  100% {
    transform: translate(-50%, -50%) translate(-20px, -10px);
  }
}

/* --------------------------------------------------------------------------
   14. Legal Pages
   -------------------------------------------------------------------------- */

.legal-page {
  min-height: 100vh;
  padding-top: 120px;
  padding-bottom: var(--space-3xl);
}

.legal-page .fade-up {
  opacity: 1;
  transform: none;
}

.legal-page__content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.legal-page__content .heading-lg {
  margin-bottom: var(--space-sm);
}

.legal-page__subtitle {
  color: var(--text-tertiary);
  font-size: 14px;
  margin-bottom: var(--space-xl);
}

.legal-page__content p {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.legal-page__content a {
  color: var(--accent);
}

.legal-page__content h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  color: var(--text-primary);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}

.legal-page__content h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.legal-page__content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: var(--space-md);
}

.legal-page__content ul li {
  color: var(--text-secondary);
  line-height: 1.7;
  padding-left: var(--space-lg);
  position: relative;
  margin-bottom: var(--space-sm);
}

.legal-page__content ul li::before {
  content: '';
  position: absolute;
  left: var(--space-sm);
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.legal-page__content strong {
  color: var(--text-primary);
  font-weight: 600;
}

.legal-page__content .table-wrap {
  overflow-x: auto;
  margin-bottom: var(--space-lg);
  -webkit-overflow-scrolling: touch;
}

.legal-page__content table {
  width: 100%;
  min-width: 500px;
  border-collapse: collapse;
  font-size: 14px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--divider-standard);
}

.legal-page__content th {
  background: var(--surface-element);
  color: var(--text-primary);
  font-weight: 600;
  text-align: left;
  padding: 12px var(--space-md);
  border-bottom: 1px solid var(--divider-standard);
}

.legal-page__content td {
  background: var(--surface-card);
  color: var(--text-secondary);
  padding: 12px var(--space-md);
  border-bottom: 1px solid var(--divider-subtle);
  vertical-align: top;
  line-height: 1.6;
}

.legal-page__content tr:last-child td {
  border-bottom: none;
}

.legal-page__content .legal-contact {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   15. Media Queries
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .section {
    padding: var(--space-2xl) 0;
  }

  .hero {
    padding: var(--space-2xl) 0;
  }

  .hero__inner {
    gap: var(--space-xl);
  }

  .hero__phones .placeholder--phone {
    width: 200px;
  }

  .showcase__stats {
    gap: var(--space-xl);
  }
}

@media (max-width: 768px) {
  .section {
    padding: var(--space-xl) 0;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 var(--space-xl);
  }

  .hero__inner {
    flex-direction: column;
    text-align: center;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__phones {
    justify-content: center;
  }

  .hero__phones .placeholder--phone {
    width: 180px;
  }

  .hero__phones .placeholder--phone:first-child {
    transform: rotate(-2deg);
  }

  .hero__phones .placeholder--phone:last-child {
    transform: rotate(3deg) translate(-20px, 16px);
  }

  /* Navbar mobile */
  .navbar__inner {
    justify-content: center;
  }

  .navbar__links {
    display: none;
  }

  .navbar__toggle {
    display: none;
  }

  /* Bento → 2 columns */
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card--hero,
  .feature-card--wide {
    grid-column: span 2;
  }

  .feature-card--hero {
    grid-row: span 1;
  }

  .footer__inner {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .showcase__stats {
    flex-wrap: wrap;
    gap: var(--space-lg);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .hero__phones {
    flex-direction: row;
  }

  .hero__phones .placeholder--phone {
    width: 150px;
  }

  /* Bento → 1 column */
  .features__grid {
    grid-template-columns: 1fr;
  }

  .feature-card--hero,
  .feature-card--wide {
    grid-column: span 1;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .showcase__stats {
    flex-direction: column;
    align-items: center;
  }
}
