

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand Colors - Matched to Baba Bite Logo (#B42C92) */
  --primary: #B42C92;
  --primary-dark: #911B73;
  --primary-light: #D438AE;
  --primary-ultra-light: #FDF2F9;
  --success: #10B981;
  --dark: #0F1629;

  /* Typography Colors */
  --text-primary: #0F1629;
  --text-secondary: #5A607F;
  --text-tertiary: #94A3B8;

  /* Surfaces & Borders */
  --bg-white: #FFFFFF;
  --bg-light: #F8FAFC;
  --border-light: #E2E8F0;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 22, 41, 0.05);
  --shadow-md: 0 4px 14px rgba(15, 22, 41, 0.07);
  --shadow-lg: 0 10px 30px rgba(15, 22, 41, 0.1);
  --shadow-xl: 0 20px 50px rgba(15, 22, 41, 0.14);
  --shadow-primary: 0 8px 24px rgba(180, 44, 146, 0.28);
  --shadow-phone: 0 25px 60px -15px rgba(15, 22, 41, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;

  /* Border Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Typography & Transitions */
  --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --t-fast: 0.15s;
  --t-normal: 0.3s;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1280px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  color: var(--text-primary);
  background: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all var(--t-fast) var(--ease);
}

button {
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  background: none;
}

/* ---------- Container ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

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

@keyframes float {
  0%, 100% {
    transform: perspective(1000px) rotateY(-8deg) rotateX(2deg) translateY(0);
  }
  50% {
    transform: perspective(1000px) rotateY(-8deg) rotateX(2deg) translateY(-14px);
  }
}

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

@keyframes bgShift {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(25px, -20px) scale(1.05);
  }
}

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

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

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  transition: all var(--t-normal) var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(180, 44, 146, 0.35);
  color: #fff;
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.84375rem;
}

/* ==========================================================
   NAVIGATION HEADER (Minimal: Logo Left, CTA Right)
   ========================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--t-normal) var(--ease);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border-light), var(--shadow-sm);
  padding: 10px 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.3125rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.015em;
  transition: opacity var(--t-fast) var(--ease);
}

.nav-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 3px 12px rgba(180, 44, 146, 0.22);
  border: 1.5px solid rgba(180, 44, 146, 0.22);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), width var(--t-normal) var(--ease), height var(--t-normal) var(--ease);
}

.nav-logo:hover .nav-logo-img {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(180, 44, 146, 0.35);
}

.navbar.scrolled .nav-logo-img {
  width: 44px;
  height: 44px;
}

.nav-logo-icon {
  width: 38px;
  height: 38px;
  background: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(180, 44, 146, 0.3);
}

.nav-logo-icon svg {
  width: 26px;
  height: 26px;
}

.nav-cta {
  display: flex;
  align-items: center;
}

/* Navigation Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  transition: color var(--t-fast) var(--ease);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  transition: width var(--t-normal) var(--ease);
}

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

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

/* Mobile Menu Hamburger Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--t-normal) var(--ease);
  transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================================
   HERO SECTION (Complete, Balanced & Responsive)
   ========================================================== */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(170deg, #FDF4FA 0%, #FAEDF7 40%, #FFFFFF 100%);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Decorative background shapes */
.hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-bg-shape-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(180, 44, 146, 0.08) 0%, transparent 70%);
  top: -150px;
  right: -100px;
  animation: bgShift 20s ease-in-out infinite;
}

.hero-bg-shape-2 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(180, 44, 146, 0.06) 0%, transparent 70%);
  bottom: -100px;
  left: -80px;
  animation: bgShift 25s ease-in-out infinite reverse;
}

.hero-bg-shape-3 {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(212, 56, 174, 0.07) 0%, transparent 70%);
  top: 40%;
  left: 30%;
  animation: bgShift 18s ease-in-out infinite 3s;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Hero Content Column */
.hero-content {
  animation: fadeUp 0.8s var(--ease) both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(180, 44, 146, 0.08);
  border: 1px solid rgba(180, 44, 146, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 28px;
}

.hero-badge svg {
  color: var(--primary);
  fill: var(--primary);
  stroke: none;
}

h1 {
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--text-primary);
}

h1 .highlight {
  color: var(--primary);
  background: linear-gradient(135deg, #B42C92 0%, #D438AE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 480px;
  font-weight: 400;
}

/* Store Buttons */
.hero-store-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  transition: all var(--t-normal) var(--ease);
  cursor: pointer;
  text-decoration: none;
}

.store-btn-dark {
  background: var(--dark);
  color: #fff;
  border: 1px solid transparent;
}

.store-btn-dark:hover {
  background: #2D2D3F;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: #fff;
}

.store-btn svg {
  flex-shrink: 0;
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.store-btn-label {
  font-size: 0.625rem;
  opacity: 0.8;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  line-height: 1.2;
}

.store-btn-name {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}


/* Hero Visual & Smartphone Mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  animation: fadeUp 0.8s var(--ease) 0.2s both;
}

.hero-phone-wrapper {
  position: relative;
}

.phone-mockup {
  position: relative;
  width: 280px;
  background: #1A1A2E;
  border-radius: 44px;
  padding: 14px;
  box-shadow: var(--shadow-phone);
}

.phone-hero {

  width: 300px;
}



.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 26px;
  background: #1A1A2E;
  border-radius: 0 0 18px 18px;
  z-index: 5;
}

.phone-notch::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: #2D2D3F;
  border-radius: 50%;
}

.phone-screen {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  border-radius: 32px;
  overflow: hidden;
  background: #f5f5f5;
  position: relative;
}

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

.phone-home-bar {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  z-index: 5;
}

/* Floating Badges */
.hero-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 10;
  white-space: nowrap;
}

.hero-float-card-1 {
  top: 15%;
  left: -70px;
  animation: floatCard 5s ease-in-out infinite;
}

.hero-float-card-2 {
  bottom: 20%;
  right: -60px;
  animation: floatCard 6s ease-in-out infinite 1.5s;
}

.float-card-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(180, 44, 146, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.float-card-icon-green {
  background: rgba(16, 185, 129, 0.1);
}

.float-card-text {
  display: flex;
  flex-direction: column;
}

.float-card-text strong {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.float-card-text span {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin-top: 1px;
}

/* ==========================================================
   FOOTER (Clean, Balanced & Logo-Toned)
   ========================================================== */
.footer {
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF4F8 60%, #F6ECF3 100%);
  border-top: 1px solid rgba(180, 44, 146, 0.12);
  padding: 52px 0 42px;
  position: relative;
  z-index: 10;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
  transition: all var(--t-fast) var(--ease);
}

.footer-logo:hover {
  color: var(--primary);
  transform: translateY(-1px);
}

.footer-logo-img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(180, 44, 146, 0.18);
  border: 1.5px solid rgba(180, 44, 146, 0.25);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

.footer-logo:hover .footer-logo-img {
  transform: scale(1.05);
  border-color: var(--primary);
  box-shadow: 0 6px 18px rgba(180, 44, 146, 0.28);
}

.footer-logo-icon {
  width: 38px;
  height: 38px;
  background: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(180, 44, 146, 0.25);
}

.footer-logo-icon svg {
  width: 24px;
  height: 24px;
}

/* Footer Navigation Links */
.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  transition: all var(--t-fast) var(--ease);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-links a.active {
  color: var(--primary);
  font-weight: 600;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  transition: width var(--t-normal) var(--ease);
}

.footer-links a:hover::after,
.footer-links a.active::after {
  width: 100%;
}

/* Footer Buttons */
.btn-footer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: var(--primary-ultra-light);
  border: 1px solid rgba(180, 44, 146, 0.22);
  color: var(--primary);
  font-size: 0.84375rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--t-fast) var(--ease);
}

.btn-footer:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(180, 44, 146, 0.28);
  transform: translateY(-2px);
}

/* Footer Copyright Text */
.footer-copyright {
  font-size: 0.84375rem;
  color: var(--text-tertiary);
  margin: 0;
  line-height: 1.6;
  font-weight: 400;
}

.footer-copyright a {
  color: var(--text-secondary);
  text-decoration: underline;
  transition: color var(--t-fast) var(--ease);
}

.footer-copyright a:hover {
  color: var(--primary);
}

/* ==========================================================
   PRODUCTS PAGE STYLES
   ========================================================== */
.products-page {
  background: #FAF4F8;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

.products-page-main {
  flex: 1 0 auto;
  position: relative;
  overflow: hidden;
  background: linear-gradient(170deg, #FDF4FA 0%, #FAEDF7 40%, #FFFFFF 100%);
  z-index: 2;
}

.products-section {
  padding: 150px 0 70px;
  position: relative;
}

.products-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}

.products-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: var(--primary-ultra-light);
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: 1px solid rgba(180, 44, 146, 0.15);
}

.products-title {
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.products-intro {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 auto;
}

/* Products Grid - Desktop: 3 in a row */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

/* Product Card - Modern, Elevated, Professional */
.product-card {
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: var(--radius-xl);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-shadow: 0 4px 20px rgba(15, 22, 41, 0.04);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(180, 44, 146, 0.12);
  border-color: rgba(180, 44, 146, 0.28);
}

/* Consistent Aspect Ratio Image Wrapper */
.product-image-container {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border: 1px solid #eee;
  outline: none;
  box-shadow: none;
  position: relative;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  border: none;
  outline: none;
  box-shadow: none;
  transition: transform 0.4s var(--ease);
}

.product-card:hover .product-image {
  transform: scale(1.06);
}

/* Clickable Image Link */
.product-image-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  border: none;
  outline: none;
  box-shadow: none;
}

/* Product Card Body */
.product-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
  gap: 22px;
  text-align: center;
}

.product-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  min-width: 0;
}

.product-name {
  font-size: clamp(0.9375rem, 3.2vw, 1.125rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  margin: 0;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.product-name a {
  color: inherit;
  text-decoration: none;
  display: block;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color var(--t-fast) var(--ease);
}

.product-name a:hover {
  color: var(--primary);
}

/* Buy on Etsy Button */
.btn-etsy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 24px;
  background: var(--primary);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-primary);
  text-decoration: none;
  transition: all var(--t-normal) var(--ease);
  letter-spacing: -0.01em;
}

.btn-etsy:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(180, 44, 146, 0.35);
  color: #FFFFFF;
}

.btn-etsy:active {
  transform: translateY(0);
}

.btn-etsy svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform var(--t-fast) var(--ease);
}

.btn-etsy:hover svg {
  transform: translateX(3px);
}

/* ==========================================================
   PRODUCT STORY & VALUE PROPOSITION SECTION
   ========================================================== */
.products-story-section {
  padding: 50px 0 120px;
  position: relative;
  z-index: 2;
}

.story-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 52px;
}

.story-tagline {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.6;
}

.story-title {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.story-lead {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 28px;
}

.story-subtitle {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0;
}

/* Features 2x2 Grid */
.story-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.feature-item {
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(15, 22, 41, 0.04);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.feature-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(180, 44, 146, 0.12);
  border-color: rgba(180, 44, 146, 0.25);
}

.feature-item-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.feature-number {
  width: 36px;
  height: 36px;
  background: var(--primary-ultra-light);
  color: var(--primary);
  font-weight: 800;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(180, 44, 146, 0.18);
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  margin: 0;
}

.feature-desc {
  font-size: 0.96875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* ==========================================================
   RESPONSIVE DESIGN
   ========================================================== */

/* Tablet (<= 1024px) */
@media (max-width: 1024px) {
  /* Tablet: 2 products per row */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .products-section {
    padding: 130px 0 80px;
  }

  .story-features-grid {
    gap: 20px;
  }

  .nav-cta {
    display: flex;
    align-items: center;
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .hero-content {
    order: 1;
  }

  .hero-visual {
    order: 2;
  }

  .hero-description {
    margin: 0 auto 36px;
  }

  .hero-store-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-float-card {
    display: none;
  }

  .phone-hero {
    transform: none;
    width: 270px;
  }
}

/* Mobile (<= 768px) */
@media (max-width: 768px) {
  /* Mobile Navigation */
  .navbar {
    padding: 12px 0;
  }

  .nav-logo {
    font-size: 1.2rem;
    gap: 11px;
  }

  .nav-logo-img {
    width: 44px;
    height: 44px;
  }

  .navbar.scrolled .nav-logo-img {
    width: 40px;
    height: 40px;
  }

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

  .nav-links {
    display: none;
  }

  .nav-links.active {
    display: flex;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 24px;
    gap: 24px;
    z-index: 999;
    animation: fadeUp 0.3s var(--ease);
	        height: 100vh;
  }

  .nav-links.active a {
    font-size: 1.25rem;
    font-weight: 600;
    padding: 10px 0;
  }

  /* Products Mobile Layout - 1 product per row */
  .products-section {
    padding: 120px 0 70px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 420px;
    margin: 0 auto;
  }

  .products-header {
    margin-bottom: 38px;
  }

  /* Products Story Mobile Layout */
  .products-story-section {
    padding: 30px 0 70px;
  }

  .story-header {
    margin-bottom: 32px;
  }

  .story-title {
    font-size: 1.875rem;
  }

  .story-lead {
    font-size: 0.984375rem;
    line-height: 1.65;
    margin-bottom: 20px;
  }

  .story-features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-item {
    padding: 22px 18px;
  }

  .hero {
    padding: 120px 0 60px;
    min-height: auto;
  }

  h1 {
    font-size: clamp(2rem, 7vw, 2.5rem);
  }


  .footer {
    padding: 38px 0 28px;
  }

  .footer-logo {
    margin-bottom: 14px;
  }

  .footer-links {
    gap: 18px;
    margin-bottom: 16px;
  }

  .footer-links a {
    font-size: 0.875rem;
  }

  .footer-copyright {
    font-size: 0.8125rem;
  }
}

/* Small Mobile (<= 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .navbar {
    padding: 10px 0;
  }

  .nav-logo {
    font-size: 1.125rem;
    gap: 9px;
  }

  .nav-logo-img {
    width: 40px;
    height: 40px;
  }

  .navbar.scrolled .nav-logo-img {
    width: 36px;
    height: 36px;
  }

  .nav-logo-icon {
    width: 32px;
    height: 32px;
  }

  .nav-cta .btn {
    padding: 8px 16px;
    font-size: 0.8125rem;
  }

  .hero {
    padding: 100px 0 48px;
  }

  .products-section {
    padding: 105px 0 50px;
  }

  .products-title {
    font-size: 1.875rem;
  }

  .products-intro {
    font-size: 0.9375rem;
  }

  .product-card {
    padding: 18px;
  }

  .story-title {
    font-size: 1.625rem;
  }

  .story-tagline {
    font-size: 0.875rem;
  }

  .phone-hero {
    width: 240px;
  }

  .hero-store-buttons {
    flex-direction: column;
    align-items: center;
  }

  .store-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }
}
