/* Sohna Enterprises - Apple Design System Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

/* --- Custom Variables & Tokens --- */
:root {
  /* Colors */
  --color-black: #000000;
  --color-light-gray: #f5f5f7;
  --color-white: #ffffff;
  --color-near-black: #1d1d1f;
  
  --color-apple-blue: #0071e3;
  --color-link-blue-light: #0066cc;
  --color-link-blue-dark: #2997ff;
  
  --color-text-dark-primary: #1d1d1f;
  --color-text-dark-secondary: rgba(29, 29, 31, 0.8);
  --color-text-dark-tertiary: rgba(29, 29, 31, 0.48);
  
  --color-text-light-primary: #ffffff;
  --color-text-light-secondary: rgba(255, 255, 255, 0.8);
  --color-text-light-tertiary: rgba(255, 255, 255, 0.48);
  
  --color-dark-surface-1: #1c1c1e;
  --color-dark-surface-2: #2c2c2e;
  --color-dark-surface-3: #3a3a3c;
  
  /* Shadows */
  --shadow-card: rgba(0, 0, 0, 0.15) 0px 8px 30px 0px;
  --shadow-hover: rgba(0, 0, 0, 0.22) 0px 12px 40px 0px;
  
  /* Fonts */
  --font-display: "SF Pro Display", "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-text: "SF Pro Text", "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Spacing */
  --spacing-base: 8px;
  --nav-height: 144px;
  --nav-logo-width: 192px;
  --nav-logo-height: 128px;
}

/* --- Global Reset & Base --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  font-family: var(--font-text);
  scroll-behavior: smooth;
  background-color: var(--color-black);
  color: var(--color-text-light-primary);
  font-size: 16px;
}

body {
  line-height: 1.47;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}

/* --- Sticky Navigation Bar --- */
header.apple-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color 0.3s ease;
}

.apple-nav-container {
  max-width: 1920px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 22px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.2px;
  color: var(--color-white);
}

.nav-logo-img {
  display: block;
  flex: 0 0 auto;
  width: var(--nav-logo-width);
  height: var(--nav-logo-height);
  max-width: var(--nav-logo-width);
  object-fit: contain;
}

.logo-icon-container {
  width: 14px;
  height: 14px;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-img {
  height: 12px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

.logo-icon-container .logo-img {
  position: absolute;
  width: 60px;
  height: auto;
  max-width: none;
  left: -23px;
  top: -6px;
  filter: invert(1) brightness(2.5) contrast(1.5);
  mix-blend-mode: screen;
}

.footer-logo {
  height: 20px;
  opacity: 0.85;
}

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

.apple-nav-links a {
  font-size: 18px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: -0.1px;
}

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

.apple-nav-call,
.apple-nav-cta {
  background-color: var(--color-apple-blue);
  color: var(--color-white) !important;
  padding: 9px 18px;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.apple-nav-call {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.apple-nav-cta:hover {
  background-color: #0077ed;
}

.apple-nav-call:hover {
  border-color: var(--color-white);
}

.apple-nav-cta:active {
  transform: scale(0.97);
}

/* Mobile Nav Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 18px;
  height: 12px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10000;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--color-white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* --- Layout Sections --- */
section {
  position: relative;
  padding: 100px 22px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Hero section fits the entire viewport */
#hero {
  padding: 0 22px;
  height: 100dvh;
  min-height: 560px;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

.section-content {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

/* Alternating Theme Styles */
section.dark-theme {
  background-color: var(--color-black);
  color: var(--color-text-light-primary);
}

section.light-theme {
  background-color: var(--color-light-gray);
  color: var(--color-text-dark-primary);
}

section.white-theme {
  background-color: var(--color-white);
  color: var(--color-text-dark-primary);
}

/* --- Typography --- */
h1.display-hero {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 76px);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
  animation: fadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

h2.section-heading {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}

.section-tagline {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.19;
  letter-spacing: 0.011em;
  margin-bottom: 20px;
  opacity: 0.8;
}

.dark-theme .section-tagline {
  color: var(--color-text-light-secondary);
}

.light-theme .section-tagline {
  color: var(--color-text-dark-secondary);
}

.body-standard {
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  margin-bottom: 24px;
}

/* --- Buttons & CTAs --- */
.cta-group {
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
  margin-top: 16px;
}

.btn-primary {
  background-color: var(--color-apple-blue);
  color: var(--color-white);
  padding: 12px 22px;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 400;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: background-color 0.2s cubic-bezier(0.25, 1, 0.5, 1), transform 0.1s ease;
}

.btn-primary:hover {
  background-color: #0077ed;
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-secondary-outline {
  background-color: transparent;
  color: var(--color-white);
  padding: 12px 22px;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 400;
  border: 1px solid var(--color-white);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
}

.light-theme .btn-secondary-outline {
  color: var(--color-near-black);
  border-color: var(--color-near-black);
}

.btn-secondary-outline:hover {
  background-color: var(--color-white);
  color: var(--color-black);
}

.light-theme .btn-secondary-outline:hover {
  background-color: var(--color-near-black);
  color: var(--color-white);
}

.btn-secondary-outline:active {
  transform: scale(0.98);
}

.link-chevron {
  font-size: 17px;
  color: var(--color-link-blue-dark);
  display: inline-flex;
  align-items: center;
  font-weight: 400;
  cursor: pointer;
}

.light-theme .link-chevron {
  color: var(--color-link-blue-light);
}

.link-chevron::after {
  content: " ➔";
  font-size: 12px;
  margin-left: 5px;
  transition: transform 0.2s ease;
}

.link-chevron:hover::after {
  transform: translateX(4px);
}

.link-chevron:hover {
  text-decoration: underline;
}

/* --- Hero Section --- */
.hero-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 980px;
  padding-top: var(--nav-height); /* clear the fixed nav */
  gap: 0;
  position: relative;
  z-index: 2;
}

.hero-motion {
  position: absolute;
  inset: var(--nav-height) 0 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.78;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.hero-motion::before {
  content: "";
  position: absolute;
  inset: 8% 12%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  transform: skewY(-7deg);
}

.motion-lane {
  position: absolute;
  left: -260px;
  width: calc(100% + 520px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: rotate(-7deg);
}

.motion-lane::before,
.motion-lane::after {
  content: "";
  position: absolute;
  top: -52px;
  width: 1px;
  height: 104px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.motion-lane::before {
  left: 28%;
}

.motion-lane::after {
  left: 72%;
}

.lane-one {
  top: 18%;
}

.lane-two {
  top: 34%;
}

.lane-three {
  top: 66%;
}

.lane-four {
  top: 82%;
}

.motion-card {
  position: absolute;
  top: -18px;
  left: 0;
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background-color: rgba(10, 15, 22, 0.76);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  box-shadow: rgba(0, 0, 0, 0.28) 0 12px 36px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: runLane 13s linear infinite;
}

.motion-dot {
  position: absolute;
  top: -4px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background-color: #7cc9ff;
  box-shadow: 0 0 0 6px rgba(124, 201, 255, 0.12), 0 0 28px rgba(124, 201, 255, 0.62);
  animation: runLane 13s linear infinite;
}

.lane-two .motion-card,
.lane-two .motion-dot {
  animation-duration: 16s;
  animation-delay: -4s;
}

.lane-three .motion-card,
.lane-three .motion-dot {
  animation-duration: 18s;
  animation-delay: -8s;
}

.lane-four .motion-card,
.lane-four .motion-dot {
  animation-duration: 15s;
  animation-delay: -10s;
}

.lane-one .motion-dot,
.lane-three .motion-dot {
  animation-delay: -6s;
}

.lane-two .motion-dot,
.lane-four .motion-dot {
  animation-delay: -12s;
}

.hero-visual {
  width: 100%;
  max-width: 680px;
  margin-top: 60px;
  animation: scaleIn 1s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-vector-art {
  width: 100%;
  height: auto;
  max-height: 400px;
}

/* --- Product Grid & Tiles --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  margin-top: 40px;
}

.product-tile {
  background-color: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 430px;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.dark-theme .product-tile {
  background-color: var(--color-dark-surface-1);
}

.product-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.tile-header {
  text-align: center;
  margin-bottom: 24px;
}

.tile-heading {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.14;
  margin-bottom: 8px;
  color: var(--color-text-dark-primary);
}

.dark-theme .tile-heading {
  color: var(--color-text-light-primary);
}

.tile-subheading {
  font-size: 13px;
  line-height: 1.35;
  color: var(--color-text-dark-secondary);
}

.dark-theme .tile-subheading {
  color: var(--color-text-light-secondary);
}

.tile-image-container {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 0;
  width: 100%;
}

.tile-image-container svg {
  width: min(118px, 100%);
  height: auto;
}

.tile-image {
  max-width: 180px;
  max-height: 180px;
  object-fit: contain;
  filter: drop-shadow(0px 8px 16px rgba(0, 0, 0, 0.1));
}

.tile-spec-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.spec-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  background-color: var(--color-light-gray);
  color: var(--color-text-dark-secondary);
}

.dark-theme .spec-badge {
  background-color: var(--color-dark-surface-2);
  color: var(--color-text-light-secondary);
}

.tile-footer {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.product-tile .btn-primary {
  padding: 10px 14px;
  font-size: 13px;
  white-space: nowrap;
}

/* Compare Grid */
.compare-grid {
  grid-template-columns: repeat(4, 1fr);
}

.compare-tile {
  min-height: 400px;
  padding: 30px 20px;
}

/* --- Features Strip (Why Choose Us) --- */
.features-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
  margin-top: 50px;
}

.feature-card {
  text-align: left;
  padding: 30px;
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}

.feature-icon-wrapper {
  margin-bottom: 20px;
  color: var(--color-apple-blue);
}

.feature-icon {
  width: 36px;
  height: 36px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--color-text-dark-secondary);
  line-height: 1.4;
}

/* --- Interactive Request Form --- */
.form-container {
  width: 100%;
  max-width: 580px;
  margin: 40px auto 0 auto;
  background: var(--color-light-gray);
  padding: 40px;
  border-radius: 16px;
  text-align: left;
}

.form-group {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-step-indicator {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}

.step-pill {
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  color: var(--color-text-dark-secondary);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  padding: 10px 12px;
  text-align: center;
}

.step-pill.active {
  background: var(--color-apple-blue);
  color: var(--color-white);
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.form-step-copy {
  margin-bottom: 24px;
}

.form-step-copy h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 6px;
  color: var(--color-text-dark-primary);
}

.form-step-copy p {
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-text-dark-secondary);
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-dark-primary);
}

.form-control {
  font-family: var(--font-text);
  font-size: 16px;
  padding: 12px 16px;
  border-radius: 11px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background-color: var(--color-white);
  width: 100%;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  border-color: var(--color-apple-blue);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 40px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  accent-color: var(--color-apple-blue);
  cursor: pointer;
  margin-top: 3px;
}

.checkbox-group label {
  font-size: 13px;
  color: var(--color-text-dark-secondary);
  line-height: 1.4;
  user-select: none;
}

.checkbox-group label a {
  color: var(--color-link-blue-light);
  text-decoration: underline;
}

.form-next-btn,
.form-submit-btn {
  width: 100%;
  justify-content: center;
  border: none;
}

.form-actions {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 12px;
}

.btn-secondary-form {
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: var(--color-white);
  color: var(--color-text-dark-primary);
  padding: 12px 18px;
  border-radius: 980px;
  font-family: var(--font-text);
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.1s ease;
}

.btn-secondary-form:hover {
  border-color: rgba(0, 0, 0, 0.32);
}

.btn-secondary-form:active {
  transform: scale(0.98);
}

/* Success & Error message flags */
.form-status-msg {
  display: none;
  padding: 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.4;
}

.form-status-msg.success {
  background-color: rgba(52, 199, 89, 0.1);
  color: #248a3d;
  border: 1px solid rgba(52, 199, 89, 0.2);
}

.form-status-msg.error {
  background-color: rgba(255, 59, 48, 0.1);
  color: #ff3b30;
  border: 1px solid rgba(255, 59, 48, 0.2);
}

/* --- Footer --- */
footer.apple-footer {
  background-color: var(--color-light-gray);
  color: var(--color-text-dark-tertiary);
  padding: 50px 22px 30px 22px;
  font-size: 12px;
  line-height: 1.5;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-content {
  max-width: 980px;
  margin: 0 auto;
}

.footer-fine-print {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
  color: rgba(0, 0, 0, 0.48);
}

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

.footer-legal-links {
  display: flex;
  gap: 15px;
}

.footer-legal-links a {
  color: rgba(0, 0, 0, 0.6);
}

.footer-legal-links a:hover {
  color: var(--color-near-black);
  text-decoration: underline;
}

/* --- Modals for Legal Documents --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100000;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-window {
  background-color: var(--color-white);
  border-radius: 12px;
  width: 100%;
  max-width: 640px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--shadow-hover);
  position: relative;
  padding: 40px;
  color: var(--color-text-dark-primary);
  animation: scaleIn 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.05);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background-color 0.2s ease;
}

.modal-close-btn:hover {
  background-color: rgba(0, 0, 0, 0.15);
}

.modal-body h2 {
  font-family: var(--font-display);
  font-size: 28px;
  margin-bottom: 20px;
}

.modal-body h3 {
  font-size: 18px;
  margin: 20px 0 10px 0;
}

.modal-body p, .modal-body li {
  font-size: 14px;
  color: var(--color-text-dark-secondary);
  margin-bottom: 12px;
}

.modal-body ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes runLane {
  from {
    transform: translateX(-180px);
  }
  to {
    transform: translateX(calc(100vw + 360px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-card,
  .motion-dot {
    animation: none;
  }
}

/* --- Responsive Adjustments --- */
@media (max-width: 1400px) {
  :root {
    --nav-height: 120px;
    --nav-logo-width: 160px;
    --nav-logo-height: 107px;
  }

  h1.display-hero {
    font-size: clamp(42px, 11vw, 52px);
  }
  
  h2.section-heading {
    font-size: 32px;
  }
  
  .section-tagline {
    font-size: 17px;
  }

  .hero-motion {
    opacity: 0.52;
  }

  .motion-card {
    height: 30px;
    padding: 0 10px;
    font-size: 11px;
  }

  .lane-one,
  .lane-four {
    display: none;
  }
  
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .product-tile {
    min-height: 360px;
    padding: 22px 12px;
  }

  .tile-heading {
    font-size: 17px;
  }

  .tile-subheading {
    font-size: 12px;
  }

  .tile-image-container svg {
    width: min(92px, 100%);
  }

  .product-tile .btn-primary {
    padding: 8px 10px;
    font-size: 12px;
  }
  
  .compare-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features-strip {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .apple-nav-links {
    display: none; /* Collapsed on mobile/tablet */
  }
  
  .menu-toggle {
    display: flex;
  }
  
  /* Mobile links overlay */
  .apple-nav-links.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background-color: var(--color-black);
    padding: 40px;
    gap: 24px;
    align-items: flex-start;
  }
  
  .apple-nav-links.active a {
    font-size: 20px;
    font-family: var(--font-display);
    font-weight: 500;
  }

}

@media (max-width: 480px) {
  section {
    padding-left: 10px;
    padding-right: 10px;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .product-tile {
    min-height: 250px;
    padding: 14px 6px;
    border-radius: 8px;
  }

  .tile-header {
    margin-bottom: 8px;
  }

  .tile-heading {
    font-size: 12px;
    line-height: 1.15;
    margin-bottom: 5px;
  }

  .tile-subheading {
    font-size: 9px;
    line-height: 1.2;
  }

  .tile-image-container {
    margin: 8px 0;
  }

  .tile-image-container svg {
    width: min(58px, 100%);
  }

  .tile-spec-strip {
    gap: 4px;
    margin-bottom: 10px;
  }

  .spec-badge {
    font-size: 8px;
    padding: 3px 5px;
    line-height: 1.15;
  }

  .product-tile .btn-primary {
    width: 100%;
    padding: 6px 4px;
    font-size: 9px;
  }

  .compare-grid {
    grid-template-columns: 1fr;
  }
  
  .form-container {
    padding: 24px 16px;
  }
  
  .cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  
  .btn-primary, .btn-secondary-outline {
    width: 100%;
    justify-content: center;
  }
  
  footer.apple-footer {
    padding: 40px 16px;
  }
}
