/* ==========================================================================
   APPLE-GRADE SAAS DESIGN SYSTEM & FOUNDATIONS (APPLE.COM INSPIRED)
   ========================================================================== */

:root {
  /* Apple Neutral Canvas */
  --bg-apple-base: #F5F5F7;
  --bg-apple-surface: #FFFFFF;
  --bg-apple-card-soft: rgba(255, 255, 255, 0.85);
  
  --text-apple-main: #1D1D1F;
  --text-apple-subtle: #86868B;
  --text-apple-muted: #6E6E73;
  
  --brand-blue: #0071E3;
  --brand-blue-hover: #0077ED;
  --brand-dark-navy: #0B192C;
  
  /* Physical Multi-layer Shadows (Apple Grade) */
  --shadow-apple-card: 0 4px 20px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
  --shadow-apple-hover: 0 20px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-apple-glow: 0 0 40px rgba(0, 113, 227, 0.15);
  
  --border-apple: rgba(0, 0, 0, 0.06);
  --border-apple-hover: rgba(0, 0, 0, 0.12);
  
  --font-apple: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease-apple: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-apple: cubic-bezier(0.42, 0, 0.58, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-apple);
  background-color: var(--bg-apple-base);
  color: var(--text-apple-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  background-color: var(--bg-apple-base);
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   NAVIGATION BAR (TRANSPARENT -> FROSTED GLASS ON SCROLL)
   ========================================================================== */
.apple-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: background-color 0.4s var(--ease-apple), backdrop-filter 0.4s var(--ease-apple), border-bottom-color 0.4s var(--ease-apple), padding 0.3s var(--ease-apple);
  background-color: transparent;
  border-bottom: 1px solid transparent;
}

.apple-nav.scrolled {
  background-color: rgba(245, 245, 247, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 12px 0;
}

.apple-nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.apple-logo {
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text-apple-main);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.02em;
}

.apple-nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.apple-nav-link {
  text-decoration: none;
  color: var(--text-apple-main);
  font-size: 0.9rem;
  font-weight: 400;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.apple-nav-link:hover {
  opacity: 1;
}

.apple-nav-btn {
  background: var(--brand-dark-navy);
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.25s var(--ease-apple);
}

.apple-nav-btn:hover {
  background: #172B4D;
  transform: scale(1.02);
}

/* ==========================================================================
   HERO SECTION WITH ATMOSPHERIC MESH GRADIENT & CONTINUOUS FLOAT
   ========================================================================== */
.hero-apple {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 60px;
  background: radial-gradient(circle at 80% 20%, rgba(200, 225, 255, 0.5) 0%, rgba(245, 245, 247, 1) 60%),
              radial-gradient(circle at 10% 80%, rgba(220, 235, 255, 0.4) 0%, transparent 50%);
}

.hero-apple-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

.hero-apple-grid.inverted {
  grid-template-columns: 0.85fr 1.15fr;
}

.hero-pill-badge {
  display: inline-block;
  background: linear-gradient(135deg, #0066FF, #00D2FF);
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 9999px;
  margin-bottom: 24px;
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.3);
  letter-spacing: -0.01em;
}

.hero-title-apple {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--text-apple-main);
  margin-bottom: 24px;
}

.hero-subtitle-apple {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  line-height: 1.5;
  color: var(--text-apple-muted);
  max-width: 520px;
  margin-bottom: 36px;
  font-weight: 400;
}

.hero-phone-stage {
  perspective: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Smartphone Mockup with 3D Tilt & Idle Animation */
.apple-phone-mockup {
  width: 310px;
  height: 620px;
  background: #1A1D24;
  border-radius: 48px;
  padding: 10px;
  box-shadow: 0 30px 70px -10px rgba(0, 0, 0, 0.25), 0 10px 24px rgba(0, 0, 0, 0.1);
  transform: rotate(-12deg) rotateX(10deg) rotateY(15deg);
  transition: transform 0.2s var(--ease-apple);
  will-change: transform;
  position: relative;
}

.apple-phone-mockup.idle-floating {
  animation: applePhoneIdle 7s ease-in-out infinite alternate;
}

@keyframes applePhoneIdle {
  0% { transform: translateY(0px) rotate(-12deg) rotateX(10deg) rotateY(15deg); }
  50% { transform: translateY(-16px) rotate(-10deg) rotateX(12deg) rotateY(12deg); }
  100% { transform: translateY(0px) rotate(-12deg) rotateX(10deg) rotateY(15deg); }
}

.apple-phone-screen {
  width: 100%;
  height: 100%;
  background: #FFFFFF;
  border-radius: 38px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.apple-phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   FEATURE CARDS SECTION (3 SOFT CARDS WITH EMOJIS & FADE)
   ========================================================================== */
.section-features {
  padding: 120px 0;
  background-color: var(--bg-apple-base);
  text-align: center;
}

.section-tagline {
  color: var(--brand-blue);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.section-heading-apple {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-apple-main);
  margin-bottom: 16px;
}

.section-subheading-apple {
  color: var(--text-apple-muted);
  font-size: 1.15rem;
  margin-bottom: 64px;
}

.apple-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.apple-feature-card {
  background: var(--bg-apple-surface);
  border-radius: 28px;
  padding: 44px 32px;
  text-align: left;
  border: 1px solid var(--border-apple);
  box-shadow: var(--shadow-apple-card);
  transition: transform 0.4s var(--ease-apple), box-shadow 0.4s var(--ease-apple);
  position: relative;
  overflow: hidden;
}

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

.card-emoji-box {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
}

.card-emoji-yellow { background: #FEF9C3; }
.card-emoji-green { background: #DCFCE7; }
.card-emoji-purple { background: #F3E8FF; }

.card-title-apple {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-apple-main);
  margin-bottom: 12px;
}

.card-desc-apple {
  font-size: 0.975rem;
  line-height: 1.6;
  color: var(--text-apple-muted);
}

/* ==========================================================================
   INTERACTIVE ROTATION & COLOR CHANGING SHOWCASE
   ========================================================================== */
.section-showcase {
  padding: 120px 0;
  background: #FFFFFF;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.accordion-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion-item {
  border-radius: 20px;
  background: var(--bg-apple-base);
  border: 1px solid var(--border-apple);
  overflow: hidden;
  transition: all 0.3s var(--ease-apple);
}

.accordion-item.active {
  background: #FFFFFF;
  box-shadow: var(--shadow-apple-card);
  border-color: var(--border-apple-hover);
}

.accordion-header {
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-apple-main);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-apple), padding 0.4s var(--ease-apple);
  padding: 0 28px;
  color: var(--text-apple-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.accordion-item.active .accordion-body {
  max-height: 140px;
  padding: 0 28px 24px;
}

/* Rotating Showcase Phone */
.showcase-phone-wrapper {
  perspective: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.showcase-phone {
  width: 320px;
  height: 640px;
  background: transparent;
  border-radius: 50px;
  padding: 12px;
  box-shadow: none;
  transition: transform 0.6s var(--ease-apple);
  will-change: transform;
}

.showcase-phone-screen {
  width: 100%;
  height: 100%;
  background: #0071E3;
  border-radius: 38px;
  transition: background-color 0.5s var(--ease-apple);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 36px 20px 20px;
  color: #FFF;
}

/* Theme Switcher Dots */
.color-switcher-bar {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  background: var(--bg-apple-base);
  padding: 10px 20px;
  border-radius: 9999px;
  border: 1px solid var(--border-apple);
}

.color-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s var(--ease-apple);
}

.color-dot:hover {
  transform: scale(1.2);
}

.color-dot.active {
  border-color: #000;
  transform: scale(1.15);
}

/* ==========================================================================
   PLANS & PRICING WITH DUAL SWITCH (FOOD/RETAIL & MONTHLY/ANNUAL)
   ========================================================================== */
.section-pricing {
  padding: 120px 0;
  background-color: var(--bg-apple-base);
  text-align: center;
}

.switches-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.pill-switch {
  display: inline-flex;
  background: rgba(0, 0, 0, 0.05);
  padding: 4px;
  border-radius: 9999px;
  border: 1px solid var(--border-apple);
}

.pill-switch button {
  padding: 8px 20px;
  border-radius: 9999px;
  border: none;
  background: transparent;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-apple-muted);
  cursor: pointer;
  transition: all 0.25s var(--ease-apple);
}

.pill-switch button.active {
  background: #FFFFFF;
  color: var(--text-apple-main);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.pricing-cards-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pricing-apple-card {
  background: #FFFFFF;
  border-radius: 28px;
  padding: 48px 32px;
  text-align: left;
  border: 1px solid var(--border-apple);
  box-shadow: var(--shadow-apple-card);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s var(--ease-apple), box-shadow 0.3s var(--ease-apple);
}

.pricing-apple-card.featured {
  background: var(--brand-dark-navy);
  color: #FFFFFF;
  transform: scale(1.04);
  box-shadow: 0 20px 50px rgba(11, 25, 44, 0.3);
}

.pricing-apple-card.featured .card-desc-apple,
.pricing-apple-card.featured .pricing-period,
.pricing-apple-card.featured .feature-item {
  color: rgba(255, 255, 255, 0.8);
}

.pricing-apple-card.featured .pricing-title,
.pricing-apple-card.featured .pricing-amount {
  color: #FFFFFF;
}

.popular-tag {
  position: absolute;
  top: 24px;
  right: 28px;
  background: #FFFFFF;
  color: var(--brand-dark-navy);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  text-transform: uppercase;
}

.pricing-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-apple-main);
}

.pricing-amount {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-apple-main);
  margin-bottom: 8px;
}

.pricing-period {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-apple-subtle);
}

.pricing-features-list {
  list-style: none;
  margin: 32px 0 40px;
  flex-grow: 1;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: var(--text-apple-muted);
}

.btn-pricing {
  width: 100%;
  padding: 14px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all 0.25s var(--ease-apple);
}

.btn-pricing-primary {
  background: #FFFFFF;
  color: var(--brand-dark-navy);
}

.btn-pricing-primary:hover {
  background: #E2E8F0;
  transform: translateY(-2px);
}

.btn-pricing-secondary {
  background: var(--brand-dark-navy);
  color: #FFFFFF;
}

.btn-pricing-secondary:hover {
  background: #172B4D;
  transform: translateY(-2px);
}

/* ==========================================================================
   CONTACT SECTION WITH GLOBAL MAP BACKGROUND & ENCLOSED CARD
   ========================================================================== */
.section-contact-apple {
  padding: 120px 0;
  background-color: var(--bg-apple-base);
  position: relative;
  overflow: hidden;
}

.contact-map-canvas-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.18;
  pointer-events: none;
  background-image: radial-gradient(var(--brand-dark-navy) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
}

.contact-card-enclosed {
  max-width: 680px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: 32px;
  padding: 56px 48px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-apple);
  position: relative;
  z-index: 2;
  text-align: center;
}

.contact-input {
  width: 100%;
  padding: 16px 20px;
  border-radius: 9999px;
  border: 1px solid var(--border-apple-hover);
  background: var(--bg-apple-base);
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-input:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15);
  background: #FFFFFF;
}

.contact-textarea {
  border-radius: 20px;
  min-height: 120px;
  resize: vertical;
}

.legal-notice-box {
  max-width: 680px;
  margin: 32px auto 0;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 24px 32px;
  border: 1px solid var(--border-apple);
  box-shadow: var(--shadow-apple-card);
  text-align: left;
  font-size: 0.85rem;
  color: var(--text-apple-muted);
}

/* Media Queries */
@media (max-width: 960px) {
  .hero-apple-grid,
  .hero-apple-grid.inverted,
  .showcase-grid,
  .apple-cards-grid,
  .pricing-cards-3col {
    grid-template-columns: 1fr;
  }
  
  .pricing-apple-card.featured {
    transform: none;
  }
}

/* ==========================================================================
   CINEMATIC APPLE-GRADE SCROLL REVEAL STYLES (CALIBRATED TIMING)
   ========================================================================== */

.apple-reveal-init {
  opacity: 0;
  transform: translateY(44px) scale(0.985);
  transition: opacity 1.15s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.15s cubic-bezier(0.16, 1, 0.3, 1),
              filter 1.15s cubic-bezier(0.16, 1, 0.3, 1);
  filter: blur(4px);
  will-change: opacity, transform, filter;
}

.apple-reveal-init.apple-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* ==========================================================================
   CINEMATIC TITLE REVEAL TYPOGRAPHY (APPLE-GRADE MOTION)
   ========================================================================== */

.apple-tagline-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

.apple-title-reveal {
  opacity: 0;
  transform: translateY(32px);
  filter: blur(5px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.08s,
              transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.08s,
              filter 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.08s;
  will-change: opacity, transform, filter;
}

.apple-title-reveal.apple-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.apple-subtitle-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.18s,
              transform 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.18s;
  will-change: opacity, transform;
}

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

/* ==========================================================================
   WHATSAPP FLOATING BUTTON & INTERACTIVE POPUP
   ========================================================================== */

.whatsapp-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  border: none;
  outline: none;
}

.whatsapp-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
}

.whatsapp-float-btn svg {
  width: 32px;
  height: 32px;
  fill: #FFFFFF;
}

.whatsapp-popup-card {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 320px;
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18), 0 4px 16px rgba(0,0,0,0.06);
  z-index: 1000;
  overflow: hidden;
  display: none;
  flex-direction: column;
  transform-origin: bottom right;
  animation: whatsappPopupIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.whatsapp-popup-card.is-open {
  display: flex;
}

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

.whatsapp-popup-header {
  background: #25D366;
  color: #FFFFFF;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1.05rem;
}

.whatsapp-popup-close {
  background: rgba(0, 0, 0, 0.15);
  border: none;
  color: #FFFFFF;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.2s ease;
}

.whatsapp-popup-close:hover {
  background: rgba(0, 0, 0, 0.3);
}

.whatsapp-popup-body {
  padding: 20px;
  background: #EFEAE2;
  background-image: radial-gradient(#CBD5E1 1px, transparent 1px);
  background-size: 16px 16px;
}

.whatsapp-bubble {
  background: #FFFFFF;
  border-radius: 16px 16px 16px 4px;
  padding: 12px 16px;
  font-size: 0.925rem;
  line-height: 1.5;
  color: #1F2937;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  margin-bottom: 16px;
  position: relative;
}

.whatsapp-chat-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 20px;
  border-radius: 9999px;
  transition: background-color 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.whatsapp-chat-btn:hover {
  background: #20BA5A;
  transform: translateY(-2px);
}

/* Active Nav Link Indicator (ScrollSpy Apple Style) */
.apple-nav-link {
  position: relative;
  transition: color 0.25s var(--ease-apple), opacity 0.25s var(--ease-apple);
}

.apple-nav-link.active {
  color: var(--brand-blue) !important;
  opacity: 1 !important;
  font-weight: 600 !important;
}

.apple-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--brand-blue);
  border-radius: 9999px;
  animation: navLineIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes navLineIn {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}

/* ==========================================================================
   MOBILE ACCESSIBLE HAMBURGER & RESPONSIVE DRAWER (APPLE-GRADE)
   ========================================================================== */

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
  width: 44px;
  height: 44px;
  position: relative;
  align-items: center;
  justify-content: center;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-apple-main);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-apple), opacity 0.3s ease, background-color 0.3s ease;
  position: relative;
}

.hamburger-line::before,
.hamburger-line::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: var(--text-apple-main);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-apple);
}

.hamburger-line::before { top: -7px; left: 0; }
.hamburger-line::after { bottom: -7px; left: 0; }

/* Open State for Hamburger */
.mobile-menu-toggle.is-active .hamburger-line {
  background-color: transparent;
}
.mobile-menu-toggle.is-active .hamburger-line::before {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle.is-active .hamburger-line::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Responsive Breakpoints */
@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .apple-nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(245, 245, 247, 0.96);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    z-index: 1050;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.35s var(--ease-apple), transform 0.35s var(--ease-apple);
  }

  .apple-nav-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .apple-nav-link {
    font-size: 1.4rem;
    font-weight: 600;
  }

  .apple-nav-btn {
    font-size: 1.1rem;
    padding: 12px 32px;
    margin-top: 12px;
  }

  /* Responsive Grid Adjustments */
  .hero-apple-grid,
  .hero-apple-grid.inverted {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-phone-stage {
    order: 2;
  }

  .hero-copy-col {
    order: 1;
  }

  .apple-phone-mockup.idle-floating {
    width: 100% !important;
    max-width: 360px !important;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .apple-cards-grid,
  .pricing-cards-3col {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-card-enclosed {
    padding: 36px 20px;
  }
}
