/* ========================================================
   HOMEFINANCE — LUXURY APPLE DESIGN SYSTEM (CUPERTINO GRADE)
   Style Reference: "White room with a single blue switch."
   Features: SF Pro Architecture, Rich Visual Bento Cards,
   Circular Health Rings, Timeline Flow & Hairline Precision.
   ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Colors */
  --color-apple-blue: #0071e3;
  --color-link-blue: #0066cc;
  --color-signal-blue: #2997ff;
  --color-carbon: #1d1d1f;
  --color-frost: #f5f5f7;
  --color-ice: #f4f8fb;
  --color-smoke: #333333;
  --color-graphite: #474747;
  --color-ash: #6e6e73;
  --color-mist: #86868b;
  --color-pebble: #e5e5ea;
  --color-hairline: rgba(0, 0, 0, 0.08);

  /* Typography */
  --font-sf-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", sans-serif;
  --font-sf-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  /* Typography Scale */
  --text-caption: 12px;
  --text-body-sm: 14px;
  --text-body: 17px;
  --text-subheading: 21px;
  --text-heading-sm: 28px;
  --text-heading: 40px;
  --text-display: 56px;

  /* Border Radii */
  --radius-card: 16px;
  --radius-inner: 10px;
  --radius-pill: 980px;

  /* Elevation */
  --shadow-apple-card: 0 12px 32px -4px rgba(0, 0, 0, 0.04), 0 0 0 1px var(--color-hairline);
  --shadow-apple-hover: 0 20px 40px -8px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.12);
  --shadow-hero-device: 0 30px 60px -15px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.08);
}

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

body.apple-theme {
  background-color: #ffffff;
  color: var(--color-carbon);
  font-family: var(--font-sf-text);
  font-size: var(--text-body);
  line-height: 1.47;
  letter-spacing: -0.016em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ============================================
   1. GLOBAL NAV (APPLE FROSTED)
   ============================================ */

.apple-global-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--color-hairline);
  height: 48px;
  display: flex;
  align-items: center;
  width: 100%;
}

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

.apple-nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--color-carbon);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
}

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

.apple-nav-links a {
  color: var(--color-carbon);
  text-decoration: none;
  font-size: 12px;
  font-weight: 400;
  opacity: 0.8;
  transition: opacity 0.15s ease;
}

.apple-nav-links a:hover {
  opacity: 1;
}

.apple-nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.apple-nav-btn-small {
  background: var(--color-apple-blue);
  color: #ffffff;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 400;
  padding: 4px 12px;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.apple-nav-btn-small:hover {
  opacity: 0.9;
}

/* ============================================
   2. BUTTONS (APPLE PILL SPEC)
   ============================================ */

.btn-apple-filled {
  background-color: var(--color-apple-blue);
  color: #ffffff;
  font-size: var(--text-body);
  font-weight: 400;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background-color 0.15s ease, transform 0.1s ease;
  line-height: 1.15;
}

.btn-apple-filled:hover {
  background-color: #0077ed;
  transform: scale(1.01);
}

.btn-apple-outlined {
  background-color: transparent;
  color: var(--color-link-blue);
  font-size: var(--text-body);
  font-weight: 400;
  padding: 10px 21px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-link-blue);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease;
  line-height: 1.15;
}

.btn-apple-outlined:hover {
  background-color: rgba(0, 102, 204, 0.05);
}

.link-apple-ghost {
  color: var(--color-link-blue);
  font-size: inherit;
  font-weight: 400;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.link-apple-ghost:hover {
  text-decoration: underline;
}

/* ============================================
   3. HERO SECTION (ATMOSPHERIC FROST)
   ============================================ */

.apple-hero-section {
  background: 
    radial-gradient(ellipse 70% 40% at 50% 15%, rgba(0, 113, 227, 0.05) 0%, transparent 70%),
    var(--color-frost);
  padding: 64px 20px 80px;
  text-align: center;
  width: 100%;
}

.apple-hero-container {
  max-width: 1020px;
  margin: 0 auto;
}

.apple-hero-eyebrow {
  font-size: var(--text-subheading);
  font-weight: 600;
  color: var(--color-link-blue);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.apple-hero-title {
  font-family: var(--font-sf-display);
  font-size: clamp(42px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--color-carbon);
  margin-bottom: 14px;
}

.apple-hero-tagline {
  font-size: clamp(20px, 2.8vw, 26px);
  font-weight: 300;
  line-height: 1.35;
  color: var(--color-carbon);
  max-width: 720px;
  margin: 0 auto 28px;
  letter-spacing: -0.015em;
}

.apple-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 56px;
}

/* ============================================
   HERO DEVICE FRAME (APPLE MACOS STUDIO PREVIEW)
   ============================================ */

.apple-product-frame {
  background: #ffffff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-hero-device);
  max-width: 980px;
  margin: 0 auto;
  overflow: hidden;
  text-align: left;
}

.frame-header {
  background: #fbfbfd;
  border-bottom: 1px solid var(--color-hairline);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.frame-dots {
  display: flex;
  gap: 7px;
}

.frame-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.frame-dot.red { background: #ff5f56; }
.frame-dot.yellow { background: #ffbd2e; }
.frame-dot.green { background: #27c93f; }

.frame-title {
  font-size: 13px;
  color: var(--color-smoke);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.pill-active-sync {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.frame-body {
  padding: 28px;
}

/* 3 Interactive KPI Cards inside Device Frame */
.frame-metrics-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .frame-metrics-row {
    grid-template-columns: 1fr;
  }
}

.metric-card-box {
  background: #fafafc;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-inner);
  padding: 16px 20px;
  position: relative;
}

.metric-item-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-ash);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.metric-item-val {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

.metric-item-sub {
  font-size: 12px;
  color: var(--color-ash);
  margin-top: 4px;
}

/* Visual Pay-Period Progress Bar */
.pay-period-progress-container {
  background: #fbfbfd;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-inner);
  padding: 16px 20px;
  margin-bottom: 24px;
}

.progress-split-bar {
  height: 8px;
  border-radius: 4px;
  background: #e5e5ea;
  display: flex;
  overflow: hidden;
  margin: 10px 0 6px;
}

.progress-fill-1 {
  width: 65%;
  background: #059669;
}

.progress-fill-2 {
  width: 35%;
  background: #0071e3;
}

/* Table styling */
.frame-bills-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.frame-bills-table th {
  text-align: left;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-ash);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--color-hairline);
}

.frame-bills-table td {
  padding: 14px;
  border-bottom: 1px solid #f2f2f5;
  color: var(--color-carbon);
  vertical-align: middle;
}

.frame-bills-table tr:last-child td {
  border-bottom: none;
}

.badge-tag-housing {
  background: #f0fdf4;
  color: #15803d;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.badge-tag-utilities {
  background: #eff6ff;
  color: #1d4ed8;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.badge-tag-transport {
  background: #faf5ff;
  color: #7e22ce;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.pill-settled {
  background: #f5f5f7;
  color: #1d1d1f;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
}

.pill-pending {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
}

/* ============================================
   4. APPLE BENTO SHOWCASE GRID (RICH GRAPHICS)
   ============================================ */

.apple-bento-section {
  padding: 80px 20px;
  background-color: #ffffff;
}

.apple-bento-section.alt-surface {
  background-color: var(--color-ice);
}

.apple-section-container {
  max-width: 1020px;
  margin: 0 auto;
  text-align: center;
}

.apple-section-eyebrow {
  font-size: var(--text-subheading);
  font-weight: 600;
  color: var(--color-link-blue);
  margin-bottom: 8px;
}

.apple-section-title {
  font-family: var(--font-sf-display);
  font-size: clamp(34px, 4.5vw, 44px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--color-carbon);
  margin-bottom: 12px;
}

.apple-section-desc {
  font-size: 19px;
  font-weight: 300;
  line-height: 1.45;
  color: var(--color-smoke);
  max-width: 680px;
  margin: 0 auto 48px;
}

/* Bento Grid */
.bento-showcase-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  text-align: left;
}

.bento-tile {
  background: #ffffff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-apple-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-apple-hover);
}

.bento-tile.span-8 { grid-column: span 8; }
.bento-tile.span-4 { grid-column: span 4; }
.bento-tile.span-6 { grid-column: span 6; }
.bento-tile.span-12 { grid-column: span 12; }

@media (max-width: 900px) {
  .bento-tile.span-8,
  .bento-tile.span-4,
  .bento-tile.span-6 {
    grid-column: span 12;
  }
}

.bento-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-link-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.bento-title {
  font-family: var(--font-sf-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-carbon);
  margin-bottom: 8px;
}

.bento-desc {
  font-size: 15px;
  color: var(--color-smoke);
  line-height: 1.5;
  margin-bottom: 24px;
}

/* Bento Graphics */
.bento-visual-timeline {
  background: #fbfbfd;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-inner);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.timeline-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid var(--color-hairline);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
}

.timeline-chip-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.timeline-chip-date {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--color-link-blue);
  background: #eff6ff;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Health Gauge Ring Widget */
.health-radar-visual {
  background: #fbfbfd;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-inner);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.radar-score-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: conic-gradient(#0071e3 0% 84%, #e5e5ea 84% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.radar-score-inner {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  color: var(--color-carbon);
  font-variant-numeric: tabular-nums;
}

/* ============================================
   5. PRICING TIERS SECTION (APPLE TIER MATRIX)
   ============================================ */

.apple-pricing-section {
  background-color: var(--color-frost);
  padding: 80px 20px;
}

.apple-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1020px;
  margin: 0 auto;
  text-align: left;
}

@media (max-width: 900px) {
  .apple-pricing-grid {
    grid-template-columns: 1fr;
  }
}

.apple-plan-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-apple-card);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.apple-plan-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-apple-hover);
}

.apple-plan-card.featured {
  border: 2px solid var(--color-carbon);
  position: relative;
}

.featured-pill-tag {
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--color-carbon);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.apple-plan-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-carbon);
  margin-bottom: 4px;
}

.apple-plan-desc {
  font-size: 14px;
  color: var(--color-ash);
  min-height: 40px;
}

.apple-plan-price {
  font-size: 38px;
  font-weight: 700;
  color: var(--color-carbon);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  margin: 18px 0 2px;
}

.apple-plan-price span {
  font-size: 15px;
  font-weight: 400;
  color: var(--color-ash);
}

.apple-plan-annual {
  font-size: 13px;
  color: var(--color-link-blue);
  font-weight: 500;
  margin-bottom: 24px;
}

.apple-plan-features {
  list-style: none;
  padding: 20px 0;
  border-top: 1px solid var(--color-hairline);
  border-bottom: 1px solid var(--color-hairline);
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--color-carbon);
}

.apple-plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.apple-plan-features li svg {
  color: var(--color-apple-blue);
  flex-shrink: 0;
}

/* ============================================
   6. TYPOGRAPHIC CTA BLOCK
   ============================================ */

.apple-cta-block {
  padding: 80px 20px;
  background-color: #ffffff;
  text-align: center;
}

.apple-cta-name {
  font-family: var(--font-sf-display);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--color-carbon);
  margin-bottom: 8px;
}

.apple-cta-descriptor {
  font-size: 21px;
  font-weight: 300;
  color: var(--color-carbon);
  margin-bottom: 28px;
}

/* ============================================
   7. FOOTER (APPLE FLAT DIRECTORY SPEC)
   ============================================ */

.apple-footer {
  background-color: var(--color-frost);
  border-top: 1px solid var(--color-hairline);
  padding: 48px 20px 32px;
  color: var(--color-ash);
  font-size: 12px;
}

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

.apple-footer-fineprint {
  border-bottom: 1px solid var(--color-hairline);
  padding-bottom: 20px;
  margin-bottom: 28px;
  line-height: 1.4;
}

.apple-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 28px;
}

@media (max-width: 768px) {
  .apple-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.footer-col-header {
  font-weight: 600;
  color: var(--color-carbon);
  margin-bottom: 10px;
}

.footer-col-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col-list a {
  color: var(--color-ash);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-col-list a:hover {
  color: var(--color-carbon);
}

.apple-footer-legal {
  border-top: 1px solid var(--color-hairline);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================
   8. COMPREHENSIVE RESPONSIVE STYLES (iOS / ANDROID / TABLET)
   ============================================ */

.apple-mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  gap: 5px;
}

.apple-mobile-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background-color: var(--color-carbon);
  border-radius: 2px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.apple-mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(3.5px) rotate(45deg);
}

.apple-mobile-menu-btn.active span:nth-child(2) {
  transform: translateY(-3.5px) rotate(-45deg);
}

.apple-mobile-drawer {
  position: absolute;
  top: 48px;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 1px solid var(--color-hairline);
  padding: 24px 20px 32px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
}

.apple-mobile-drawer.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-hairline);
}

.mobile-drawer-links a {
  font-family: var(--font-sf-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--color-carbon);
  text-decoration: none;
  display: block;
}

.mobile-drawer-links a:hover {
  color: var(--color-apple-blue);
}

@media (max-width: 840px) {
  .desktop-nav,
  .desktop-only {
    display: none !important;
  }

  .apple-mobile-menu-btn {
    display: flex;
  }

  .apple-hero-title {
    font-size: clamp(32px, 8vw, 46px);
    letter-spacing: -0.03em;
  }

  .apple-hero-tagline {
    font-size: 17px;
    padding: 0 10px;
  }

  .apple-hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    gap: 10px;
  }

  .apple-hero-actions a {
    width: 100%;
    justify-content: center;
  }

  .apple-hero-section {
    padding: 48px 16px 40px;
  }

  .apple-product-frame {
    border-radius: 12px;
    margin-top: 28px;
  }

  .frame-metrics-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .apple-bento-grid {
    grid-template-columns: 1fr !important;
  }

  .apple-plans-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .apple-section-header h2 {
    font-size: clamp(28px, 6vw, 36px);
  }

  .apple-section-header p {
    font-size: 16px;
  }

  .apple-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .apple-footer-legal {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .apple-footer-grid {
    grid-template-columns: 1fr;
  }

  .apple-cta-name {
    font-size: 28px;
  }

  .apple-cta-descriptor {
    font-size: 17px;
  }
}
/* MOBILE NAVBAR AND HERO OVERRIDES */
@media (max-width: 900px) {
    .apple-nav-container { padding: 0 16px; }
    .bento-showcase-grid { gap: 16px; }
    .bento-tile { padding: 24px; }
}

@media (max-width: 480px) {
    .apple-hero-section { padding: 40px 16px 20px; }
    .apple-hero-title { font-size: 32px; letter-spacing: -0.02em; }
    .apple-hero-tagline { font-size: 16px; margin-bottom: 24px; }
    .apple-nav-logo { font-size: 18px; }
    
    .apple-pricing-section { padding: 40px 16px; }
    .apple-plan-card { padding: 24px 20px; }
    .apple-plan-name { font-size: 20px; }
    .apple-plan-price { font-size: 36px; }
    
    .bento-tile { padding: 20px; }
    .bento-title { font-size: 20px; }
    
    .apple-cta-block { padding: 60px 16px; }
    .apple-cta-name { font-size: 24px; }
    
    .footer-col-header { font-size: 14px; }
    .footer-col-list a { font-size: 13px; }
}
/* MOBILE POLISH & HERO CENTERING */
@media (max-width: 840px) {
  .apple-hero-actions {
    margin: 0 auto !important;
    align-items: center !important;
    max-width: 100% !important;
    padding: 0 20px;
  }
  
  .apple-hero-actions a {
    width: 100%;
    max-width: 320px;
  }
  
  .apple-hero-section {
    padding-top: 56px !important;
  }
  
  .apple-hero-title {
    font-size: 38px !important;
    line-height: 1.1 !important;
    padding: 0 10px;
  }
  
  .apple-hero-tagline {
    margin-top: 16px !important;
    margin-bottom: 32px !important;
    font-size: 18px !important;
    line-height: 1.4 !important;
  }
}

@media (max-width: 480px) {
  .apple-nav-container {
    padding: 0 20px !important;
  }
  
  .apple-hero-title {
    font-size: 34px !important;
  }
  
  .apple-hero-actions {
    padding: 0 16px;
  }
  
  .apple-hero-tagline {
    font-size: 17px !important;
    padding: 0 8px;
  }
}
