/* ===== BingeTry Landing Page — Design System ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');

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

:root {
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --bg-card: #111111;
  --bg-card-hover: #1a1a1a;
  --surface-glass: rgba(255,255,255,0.04);
  --border-subtle: rgba(255,255,255,0.06);
  --border-accent: rgba(255,255,255,0.1);
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;
  --accent-primary: #2D8CFF;
  --accent-secondary: #1a6fdb;
  --accent-glow: rgba(45,140,255,0.25);
  --gradient-hero: linear-gradient(135deg, #2D8CFF 0%, #1a6fdb 50%, #4da6ff 100%);
  --gradient-btn: linear-gradient(135deg, #2D8CFF 0%, #1a6fdb 100%);
  --gradient-card: linear-gradient(180deg, rgba(45,140,255,0.08) 0%, transparent 100%);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --font-primary: 'Outfit', 'Inter', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --shadow-glow: 0 0 60px rgba(45,140,255,0.15);
  --shadow-card: 0 4px 30px rgba(0,0,0,0.6);
  --transition-smooth: all 0.35s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent-primary); border-radius: 10px; }

/* ===== UTILITY ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: var(--radius-full);
  background: var(--surface-glass); border: 1px solid var(--border-subtle);
  font-size: 0.8rem; font-weight: 600; color: var(--accent-primary);
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-primary); font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800; line-height: 1.15; letter-spacing: -0.03em;
}
.section-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.15rem); color: var(--text-secondary);
  max-width: 600px; line-height: 1.7;
}
.gradient-text {
  background: var(--gradient-hero); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(10,10,15,0.8);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-icon {
  width: 36px; height: 36px; border-radius: 10px;
  overflow: hidden; flex-shrink: 0;
}
.nav-logo-icon img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 10px;
}
.nav-logo-text {
  font-family: var(--font-primary); font-weight: 800;
  font-size: 1.4rem; color: var(--text-primary); letter-spacing: -0.02em;
}
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--text-secondary); font-size: 0.9rem;
  font-weight: 500; transition: var(--transition-smooth); position: relative;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--gradient-hero); border-radius: 2px;
  transition: var(--transition-smooth);
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta a {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--surface-glass);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  text-decoration: none;
  color: var(--text-secondary); transition: var(--transition-smooth);
}
.nav-cta a:hover { 
  color: var(--text-primary);
  background: rgba(45,140,255,0.1);
  border-color: var(--accent-primary);
  box-shadow: 0 4px 16px rgba(45,140,255,0.25);
  transform: translateY(-2px);
}
.nav-cta svg { width: 22px; height: 22px; }
.nav-hamburger {
  display: none; background: none; border: none; color: var(--text-primary);
  cursor: pointer; padding: 8px;
}
.nav-hamburger svg { width: 24px; height: 24px; }

/* Mobile nav */
.mobile-nav {
  display: none; position: fixed; top: 72px; left: 0; right: 0;
  background: rgba(10,10,15,0.97); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle); padding: 20px 24px;
  flex-direction: column; gap: 8px; z-index: 99;
  transform: translateY(-10px); opacity: 0;
  transition: var(--transition-smooth);
}
.mobile-nav.open { display: flex; transform: translateY(0); opacity: 1; }
.mobile-nav a {
  display: block; text-decoration: none; color: var(--text-secondary);
  font-size: 1rem; font-weight: 500; padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}
.mobile-nav a:hover { color: var(--text-primary); }
.mobile-nav-btns { display: flex; gap: 12px; margin-top: 16px; }

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: block; }
}

/* ===== APP STORE BUTTONS ===== */
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 4px 24px -1px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 12px 24px; border-radius: 14px; color: var(--text-primary);
  text-decoration: none; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative; overflow: hidden;
}
.store-btn::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: all 0.5s ease;
}
.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px -2px rgba(45, 140, 255, 0.3), inset 0 1px 0 rgba(255,255,255,0.2);
  border-color: rgba(45, 140, 255, 0.5); background: #1a1a1a;
}
.store-btn:hover::before { left: 100%; }
.store-btn svg { width: 28px; height: 28px; flex-shrink: 0; }
.store-btn-text { display: flex; flex-direction: column; text-align: left; }
.store-btn-label { font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 500; }
.store-btn-name { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
.store-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.store-btn--hero { padding: 16px 32px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); }
.store-btn--hero:hover { background: rgba(45,140,255,0.15); border-color: var(--accent-primary); }
.store-btn--sm { padding: 10px 18px; }
.store-btn--sm svg { width: 20px; height: 20px; }
.store-btn--sm .store-btn-label { font-size: 0.55rem; }
.store-btn--sm .store-btn-name { font-size: 0.85rem; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 120px 0 80px; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; left: -20%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(45,140,255,0.12) 0%, transparent 70%);
  border-radius: 50%; filter: blur(80px); pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -30%; right: -10%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(45,140,255,0.08) 0%, transparent 70%);
  border-radius: 50%; filter: blur(80px); pointer-events: none;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center; position: relative; z-index: 1;
}
.hero-content { max-width: 560px; }
.hero h1 {
  font-family: var(--font-primary); font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 900; line-height: 1.05; letter-spacing: -0.04em; margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem); color: var(--text-secondary);
  line-height: 1.75; margin-bottom: 40px; max-width: 480px;
}
.hero-visual {
  position: relative; display: flex; justify-content: center;
  align-items: center; perspective: 1200px;
}
.phone-mockup--hero {
  width: 300px;
  transform: rotateY(-8deg) rotateX(3deg);
}
.phone-mockup--hero:hover {
  transform: rotateY(0) rotateX(0) scale(1.04);
}
.hero-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 120%; height: 120%; background: radial-gradient(circle, rgba(45,140,255,0.15) 0%, transparent 60%);
  filter: blur(60px); pointer-events: none; z-index: -1;
}
.hero-gif-demo {
  width: 100%; max-width: 420px; border-radius: var(--radius-xl);
  box-shadow: var(--shadow-glow);
  position: relative; z-index: 2;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease, border-radius 0.4s ease;
  clip-path: inset(2px 6px 2px 2px round var(--radius-xl));
}
.hero-gif-demo:hover {
  transform: scale(1.08);
  border-radius: var(--radius-md);
  box-shadow: 0 0 80px rgba(45,140,255,0.3);
  clip-path: inset(2px 6px 2px 2px round var(--radius-md));
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-content { max-width: 100%; margin: 0 auto; }
  .hero-sub { margin: 0 auto 32px; }
  .store-btns { justify-content: center; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
  .phone-mockup--hero { width: 260px; transform: rotateY(0) rotateX(0); }
}

/* ===== SECTION: FOR SHOPPERS ===== */
.section-shoppers { padding: 100px 0; position: relative; }
.section-shoppers::before {
  content:''; position:absolute; top:0; left:0; right:0; height:1px;
  background: linear-gradient(90deg, transparent, var(--border-accent), transparent);
}
.shoppers-header { text-align: center; margin-bottom: 72px; }
.shoppers-grid { display: flex; flex-direction: column; gap: 80px; }
.shopper-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.shopper-card:nth-child(even) { direction: rtl; }
.shopper-card:nth-child(even) > * { direction: ltr; }
.shopper-card-content {}
.shopper-card-label {
  font-size: 0.75rem; font-weight: 700; color: var(--accent-primary);
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px;
}
.shopper-card-title {
  font-family: var(--font-primary); font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800; line-height: 1.2; margin-bottom: 16px; letter-spacing: -0.02em;
}
.shopper-card-desc {
  font-size: 1rem; color: var(--text-secondary); line-height: 1.75;
}
.shopper-card-visual {
  position: relative; perspective: 1000px;
  display: flex; justify-content: center; align-items: center;
}
/* 3D Phone mockup wrapper */
.phone-mockup {
  position: relative; width: 260px;
  background: #1a1a1a; border-radius: 40px;
  padding: 12px; box-shadow:
    0 25px 60px rgba(0,0,0,0.5),
    0 0 40px rgba(45,140,255,0.08),
    inset 0 0 0 2px rgba(255,255,255,0.08);
  transform: rotateY(-6deg) rotateX(2deg);
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.shopper-card:nth-child(even) .phone-mockup {
  transform: rotateY(6deg) rotateX(2deg);
}
.phone-mockup:hover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.03);
}
.phone-mockup::before {
  content: ''; position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 6px; background: #333; border-radius: 10px; z-index: 2;
}
.phone-mockup-screen {
  border-radius: 30px; overflow: hidden; position: relative;
  background: #000; height: 500px;
}
.phone-mockup-screen img {
  width: 100%; height: 100%; display: block;
  object-fit: cover; object-position: top;
}
.shopper-card-visual .card-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 80%; height: 80%; border-radius: 50%; filter: blur(60px);
  pointer-events: none; z-index: -1;
}
.shopper-card:nth-child(1) .card-glow { background: rgba(45,140,255,0.12); }
.shopper-card:nth-child(2) .card-glow { background: rgba(45,140,255,0.08); }

@media (max-width: 768px) {
  .shopper-card, .shopper-card:nth-child(even) {
    grid-template-columns: 1fr; text-align: center; direction: ltr; gap: 32px;
  }
  .shopper-card-visual { order: -1; }
  .phone-mockup {
    width: 220px; transform: rotateY(0) rotateX(0);
  }
  .shopper-card:nth-child(even) .phone-mockup {
    transform: rotateY(0) rotateX(0);
  }
  .section-shoppers { padding: 60px 0; }
  .shoppers-header { margin-bottom: 48px; }
  .shoppers-grid { gap: 48px; }
}

/* ===== SECTION: FOR SELLERS ===== */
.section-sellers { padding: 100px 0; background: var(--bg-secondary); position: relative; }
.section-sellers::before {
  content:''; position:absolute; top:0; left:0; right:0; height:1px;
  background: linear-gradient(90deg, transparent, var(--border-accent), transparent);
}
.sellers-header { text-align: center; margin-bottom: 56px; }
.sellers-hero-visual {
  position: relative; display: flex; justify-content: center;
  align-items: center; perspective: 1200px; margin-bottom: 56px;
}
.phone-mockup--sellers {
  width: 260px;
  transform: rotateY(0deg) rotateX(2deg);
}
.phone-mockup--sellers:hover {
  transform: rotateY(0) rotateX(0) scale(1.02);
}
.sellers-copy {
  text-align: center; font-size: 1.1rem; color: var(--text-secondary);
  max-width: 680px; margin: 0 auto 56px; line-height: 1.75;
}
.features-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 900px; margin: 0 auto;
}
.feature-card {
  padding: 32px; border-radius: var(--radius-lg);
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  transition: var(--transition-smooth); position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient-hero); opacity: 0; transition: var(--transition-smooth);
}
.feature-card:hover { border-color: var(--border-accent); transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(45,140,255,0.1); display: flex; align-items: center;
  justify-content: center; margin-bottom: 20px; color: var(--accent-primary);
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-title {
  font-family: var(--font-primary); font-weight: 700;
  font-size: 1.1rem; margin-bottom: 8px;
}
.feature-desc { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.65; }

@media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }

/* ===== SECTION: HOW IT WORKS ===== */
.section-how { padding: 100px 0; position: relative; }
.section-how::before {
  content:''; position:absolute; top:0; left:0; right:0; height:1px;
  background: linear-gradient(90deg, transparent, var(--border-accent), transparent);
}
.how-header { text-align: center; margin-bottom: 64px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.steps-grid::before {
  content: ''; position: absolute; top: 50px; left: 15%; right: 15%;
  height: 2px; background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary), var(--accent-primary));
  opacity: 0.2; z-index: 0;
}
.step-card {
  text-align: center; padding: 40px 28px; border-radius: var(--radius-lg);
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  position: relative; z-index: 1; transition: var(--transition-smooth);
}
.step-card:hover { transform: translateY(-6px); border-color: var(--border-accent); box-shadow: var(--shadow-glow); }
.step-number {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 24px;
  background: var(--gradient-btn); display: flex; align-items: center;
  justify-content: center; font-family: var(--font-primary);
  font-weight: 900; font-size: 1.3rem; color: white;
  box-shadow: 0 0 30px rgba(45,140,255,0.3);
}
.step-title {
  font-family: var(--font-primary); font-weight: 700;
  font-size: 1.2rem; margin-bottom: 12px;
}
.step-desc { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.65; }

@media (max-width: 768px) {
  .steps-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .steps-grid::before { display: none; }
}

/* ===== FOOTER ===== */
.footer {
  padding: 60px 0 32px; background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
}
.footer-inner {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px;
  margin-bottom: 48px;
}
.footer-brand {}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; text-decoration: none; }
.footer-tagline { font-size: 1rem; color: var(--text-secondary); margin-bottom: 24px; font-style: italic; }
.footer-col-title { font-family: var(--font-primary); font-weight: 700; font-size: 0.9rem; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { text-decoration: none; color: var(--text-secondary); font-size: 0.9rem; transition: var(--transition-smooth); }
.footer-links a:hover { color: var(--accent-primary); }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid var(--border-subtle);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-copy { font-size: 0.85rem; color: var(--text-muted); }
.footer-socials { display: flex; gap: 16px; }
.footer-socials a { color: var(--text-muted); transition: var(--transition-smooth); }
.footer-socials a:hover { color: var(--accent-primary); }
.footer-socials svg { width: 20px; height: 20px; }

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .footer-bottom { justify-content: center; flex-direction: column; }
  .footer-socials { justify-content: center; }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.animate-on-scroll {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.hero-content { animation: fadeUp 0.8s ease forwards; }
.hero-visual { animation: fadeUp 1s ease 0.2s both, float 6s ease-in-out 1.2s infinite; opacity: 0; }
.float-anim { animation: float 6s ease-in-out infinite; }

/* ===== GRAIN / TEXTURE OVERLAY ===== */
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 9999;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ===== GLOBAL MOBILE OVERRIDES ===== */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section-badge { font-size: 0.7rem; padding: 5px 12px; }
  .section-title { font-size: clamp(1.6rem, 7vw, 2.2rem); }

  /* Hero mobile */
  .hero { padding: 100px 0 48px; min-height: auto; }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.6rem); margin-bottom: 16px; }
  .hero-sub { font-size: 0.95rem; margin-bottom: 28px; }
  .store-btns { flex-direction: column; gap: 10px; width: 100%; }
  .store-btn--hero { width: 100%; justify-content: center; padding: 14px 24px; }
  .hero-visual { max-width: 300px; }

  /* Sellers */
  .section-sellers { padding: 60px 0; }
  .sellers-header { margin-bottom: 36px; }
  .phone-mockup--sellers { width: 260px; transform: rotateY(0) rotateX(0); }
  .sellers-copy { font-size: 0.95rem; margin-bottom: 36px; }
  .feature-card { padding: 24px; }
  .feature-title { font-size: 1rem; }

  /* How It Works */
  .section-how { padding: 60px 0; }
  .how-header { margin-bottom: 40px; }
  .step-card { padding: 28px 20px; }
  .step-number { width: 48px; height: 48px; font-size: 1.1rem; }

  /* Footer */
  .footer { padding: 40px 0 24px; }
  .footer-inner { gap: 24px; }
  .store-btn--sm { width: 100%; justify-content: center; }
  .mobile-nav-btns { flex-direction: column; }
}

/* Tablet tweaks */
@media (min-width: 481px) and (max-width: 768px) {
  .hero { padding: 110px 0 60px; min-height: auto; }
  .store-btns { justify-content: center; }
  .hero-visual { max-width: 360px; }
}
