/* ─────────────────────────────────────────
   ELLYO — style.css
   ───────────────────────────────────────── */

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

:root {
  --coral:       #E89B86;
  --coral-light: #f3c4b5;
  --coral-dark:  #d4826c;
  --taupe:       #c4a484;
  --bg:          #F9F8F6;
  --border:      #E8E0D8;
  --txt:         #111827;
  --txt2:        #374151;
  --txtm:        #A0A0A0;
  --mint:        #A8D5BA;
  --lav:         #B8A9C9;

  --fd: 'Playfair Display', Georgia, serif;
  --fs: 'Inter', system-ui, sans-serif;

  --radius-card: 20px;
  --shadow-sm:   0 4px 16px rgba(0,0,0,.07);
  --shadow-md:   0 12px 36px rgba(0,0,0,.10);
  --shadow-lg:   0 28px 64px rgba(0,0,0,.18);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--fs);
  background: var(--bg);
  color: var(--txt);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Nav ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 56px;
  background: rgba(249,248,246,.95);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(232,224,216,.5);
  transition: padding .3s;
}
nav.scrolled { padding: 10px 56px; }

.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { width: 32px; height: 32px; border-radius: 8px; }
.nav-logo-text { font-family: var(--fd); font-weight: 600; font-size: 20px; color: var(--txt); }
.nav-logo-text span { color: var(--coral); font-style: italic; }

.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-link {
  font-size: 13px; font-weight: 500; color: var(--txt2);
  background: none; border: none; cursor: pointer; font-family: var(--fs);
  transition: color .2s; padding: 0;
}
.nav-link:hover { color: var(--coral); }
.nav-cta {
  background: var(--coral); color: #fff;
  font-family: var(--fs); font-weight: 600; font-size: 13px;
  padding: 9px 20px; border-radius: 999px; border: none; cursor: pointer;
  box-shadow: 0 2px 12px rgba(232,155,134,.3); transition: all .2s;
}
.nav-cta:hover { background: var(--coral-dark); transform: translateY(-1px); }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  padding-top: 72px; position: relative; overflow: hidden;
  align-items: center;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 65% 80% at 85% 15%, rgba(232,155,134,.13) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 5% 85%,  rgba(196,164,132,.08) 0%, transparent 60%);
}

/* Floating memory cards */
.memory-cards { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.mc {
  position: absolute; background: #fff; border-radius: 14px;
  padding: 11px 14px; border: 1px solid var(--border);
  box-shadow: 0 6px 24px rgba(0,0,0,.09);
  white-space: nowrap; font-family: var(--fs);
}
.mc-emoji { font-size: 16px; display: block; margin-bottom: 3px; }
.mc-title { font-size: 11px; font-weight: 600; color: var(--txt); display: block; }
.mc-sub   { font-size: 9.5px; color: var(--txtm); display: block; margin-top: 1px; }
.mc-dot   { display: inline-block; width: 5px; height: 5px; border-radius: 50%; margin-right: 3px; vertical-align: middle; }

.mc-1 { top: 22%; left: 54%; animation: float-card 6s   0.8s ease-in-out infinite; }
.mc-2 { top: 58%; left: 55%; animation: float-card 7s   1.6s ease-in-out infinite; }
.mc-3 { top: 34%; left: 76%; animation: float-card 5.5s 0.2s ease-in-out infinite; }
.mc-4 { bottom: 16%; left: 68%; animation: float-card 6.5s 2s  ease-in-out infinite; }

@keyframes float-card {
  0%,100% { transform: translateY(0)    rotate(-1deg); }
  45%      { transform: translateY(-8px) rotate(.5deg); }
}

.hero-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 60px 48px 60px 72px; position: relative; z-index: 3;
}

.badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(232,155,134,.1); border: 1px solid rgba(232,155,134,.25);
  border-radius: 999px; padding: 5px 14px;
  font-size: 10.5px; font-weight: 700; color: var(--coral-dark);
  letter-spacing: .9px; text-transform: uppercase;
  margin-bottom: 24px; width: fit-content;
  animation: fade-up .8s ease both;
}

.hero-title {
  font-family: var(--fd); font-size: clamp(36px, 3.8vw, 54px);
  font-weight: 600; line-height: 1.13; letter-spacing: -.5px;
  color: var(--txt); margin-bottom: 18px;
  animation: fade-up .8s .1s ease both;
}
.hero-title em { font-style: italic; color: var(--coral); }

.hero-subtitle {
  font-size: 16px; line-height: 1.7; color: var(--txt2);
  max-width: 400px; margin-bottom: 32px;
  animation: fade-up .8s .2s ease both;
}

.hero-form {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px;
  animation: fade-up .8s .3s ease both;
}
.email-input {
  flex: 1; min-width: 200px; padding: 13px 18px;
  border: 1.5px solid var(--border); border-radius: 999px;
  font-family: var(--fs); font-size: 14px; background: #fff; color: var(--txt); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.email-input::placeholder { color: var(--txtm); }
.email-input:focus { border-color: var(--coral); box-shadow: 0 0 0 4px rgba(232,155,134,.1); }

.btn-primary {
  background: var(--coral); color: #fff;
  font-family: var(--fs); font-weight: 700; font-size: 14px;
  padding: 13px 24px; border-radius: 999px; border: none; cursor: pointer;
  box-shadow: 0 4px 18px rgba(232,155,134,.35); transition: all .2s; white-space: nowrap;
}
.btn-primary:hover   { background: var(--coral-dark); transform: translateY(-2px); }
.btn-primary:disabled { opacity: .6; cursor: default; transform: none; }

.form-feedback { font-size: 13px; min-height: 18px; margin-top: 6px; }
.form-feedback.ok  { color: #4CAF7A; font-weight: 600; }
.form-feedback.err { color: #E07A6A; }

.hero-note { font-size: 11.5px; color: var(--txtm); margin-top: 8px; animation: fade-up .8s .4s ease both; }

.hero-social { display: flex; align-items: center; gap: 12px; margin-top: 28px; animation: fade-up .8s .5s ease both; }
.social-label { font-size: 9.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--txtm); }
.social-pill {
  display: flex; align-items: center; gap: 6px; padding: 7px 14px;
  border-radius: 999px; border: 1.5px solid var(--border);
  font-size: 11.5px; font-weight: 600; color: var(--txt2);
  text-decoration: none; background: #fff; transition: all .2s;
}
.social-pill:hover { border-color: var(--coral); color: var(--coral-dark); }
.social-pill svg { width: 12px; height: 12px; flex-shrink: 0; }

/* ── Phones (hero right) ── */
.hero-right {
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 2; padding: 40px 32px;
}
.phones-stack { position: relative; width: 300px; height: 560px; animation: fade-up .9s .15s ease both; }

.phone-frame {
  position: absolute; background: #1e1e1e;
  border-radius: 36px; padding: 7px;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.12);
  transition: all .4s cubic-bezier(.34,1.56,.64,1);
}
.phone-frame .screen { width: 100%; border-radius: 30px; overflow: hidden; display: block; }
.phone-frame .screen img { width: 100%; display: block; }
.phone-notch {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 62px; height: 15px; background: #1e1e1e; border-radius: 999px; z-index: 3;
}
.phone-main  { left: 40px; top: 20px; z-index: 10; width: 218px; animation: phone-float 5s ease-in-out infinite; }
.phone-left  { left: 0;   top: 85px; z-index: 5; width: 172px; transform: rotate(-6deg) translateX(-8px); opacity: .82; }
.phone-right { right: 0;  top: 68px; z-index: 5; width: 172px; transform: rotate(6deg)  translateX(8px);  opacity: .82; }

.phones-stack:hover .phone-left  { transform: rotate(-8deg) translateX(-18px); opacity: .9; }
.phones-stack:hover .phone-right { transform: rotate(8deg)  translateX(18px);  opacity: .9; }
.phones-stack:hover .phone-main  { transform: translateY(-6px); }

@keyframes phone-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ── Shared section styles ── */
.section-eyebrow {
  font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--coral); margin-bottom: 12px; display: block; text-align: center;
}
.section-title {
  font-family: var(--fd); font-size: clamp(26px, 3vw, 40px);
  font-weight: 600; text-align: center; color: var(--txt); line-height: 1.2; margin-bottom: 12px;
}
.section-title em { font-style: italic; color: var(--coral); }
.section-desc {
  text-align: center; font-size: 15px; color: var(--txt2); line-height: 1.7;
  max-width: 480px; margin: 0 auto 44px;
}

/* Scroll reveal */
.reveal { opacity: 1; transform: none; transition: opacity .65s ease, transform .65s ease; }
.reveal.animate         { opacity: 0; transform: translateY(22px); }
.reveal.animate.visible { opacity: 1; transform: none; }
.rd1 { transition-delay: .1s; }
.rd2 { transition-delay: .2s; }
.rd3 { transition-delay: .3s; }

/* ── Showcase ── */
.showcase { background: #fff; padding: 72px 56px 60px; overflow-x: auto; }
.screens-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  margin-top: 44px;
  flex-wrap: nowrap;
}

.screen-card { display: flex; flex-direction: column; align-items: center; gap: 16px; transition: transform .3s; flex: 0 0 auto; }
.screen-card:hover { transform: translateY(-8px); }

.screen-phone {
  width: 240px; background: #1e1e1e; border-radius: 38px; padding: 8px;
  box-shadow: 0 20px 50px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.1);
  position: relative;
}
.screen-notch {
  position: absolute; top: 13px; left: 50%; transform: translateX(-50%);
  width: 70px; height: 17px; background: #1e1e1e; border-radius: 999px; z-index: 3;
}
.screen-phone img { width: 100%; border-radius: 32px; display: block; }
.screen-label-title { font-family: var(--fd); font-size: 15px; font-weight: 600; color: var(--txt); text-align: center; margin-bottom: 3px; }
.screen-label-desc  { font-size: 12px; color: var(--txtm); line-height: 1.5; max-width: 220px; text-align: center; }

/* ── Features ── */
.features { background: var(--bg); padding: 72px 56px 60px; }
.features-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.feature-item {
  background: #fff; border-radius: var(--radius-card); padding: 22px;
  border: 1.5px solid var(--border); display: flex; gap: 15px; align-items: flex-start;
  transition: all .3s;
}
.feature-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--coral-light); }

.feature-icon {
  width: 40px; height: 40px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.feature-icon svg { width: 17px; height: 17px; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.fi-coral  { background: rgba(232,155,134,.12); } .fi-coral  svg { stroke: var(--coral-dark); }
.fi-lav    { background: rgba(184,169,201,.14); } .fi-lav    svg { stroke: #7a6a8a; }
.fi-mint   { background: rgba(168,213,186,.15); } .fi-mint   svg { stroke: #4a7a5e; }
.fi-taupe  { background: rgba(196,164,132,.14); } .fi-taupe  svg { stroke: #8a6e4e; }
.fi-sand   { background: rgba(240,223,200,.35); } .fi-sand   svg { stroke: #a0802a; }
.fi-blue   { background: rgba(126,181,196,.14); } .fi-blue   svg { stroke: #3a7a8a; }

.feature-title { font-family: var(--fd); font-size: 16px; font-weight: 600; color: var(--txt); margin-bottom: 4px; }
.feature-desc  { font-size: 12.5px; color: var(--txt2); line-height: 1.6; }

/* ── Quote band ── */
.quote-band { background: linear-gradient(135deg, #1c1410, #2a1a12); padding: 64px 56px; position: relative; overflow: hidden; }
.quote-band::before {
  content: ''; position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,155,134,.1) 0%, transparent 70%);
  top: -150px; right: -80px; pointer-events: none;
}
.quote-inner { max-width: 720px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.quote-mark { font-family: var(--fd); font-size: 80px; color: var(--coral); line-height: .5; opacity: .4; display: block; margin-bottom: 20px; }
.quote-text { font-family: var(--fd); font-size: clamp(20px, 2.8vw, 30px); font-style: italic; font-weight: 500; color: #f5ede4; line-height: 1.45; }

/* ── Hero store row ── */
.hero-store-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; animation: fade-up .8s .3s ease both; }

.store-badge-btn {
  display: flex; align-items: center; gap: 11px;
  background: #1a1a1a; color: #fff;
  padding: 11px 20px; border-radius: 14px;
  text-decoration: none; transition: all .2s;
  border: 1.5px solid rgba(255,255,255,.08);
}
.store-badge-btn:hover { background: #111; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.store-badge-sub  { font-size: 9px;  font-weight: 500; color: rgba(255,255,255,.6); display: block; letter-spacing: .3px; }
.store-badge-name { font-size: 15px; font-weight: 700; color: #fff; display: block; line-height: 1.2; }

/* ── Stores section ── */
.stores-section { background: var(--bg); padding: 80px 56px; text-align: center; }

.stores-big { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 44px; margin-bottom: 24px; }

.store-big-btn {
  display: flex; align-items: center; gap: 18px;
  background: #1a1a1a; color: #fff;
  padding: 20px 32px; border-radius: 22px;
  text-decoration: none; transition: all .25s;
  border: 1.5px solid rgba(255,255,255,.06);
  min-width: 240px;
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
}
.store-big-btn:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.25); background: #111; }

.store-big-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: #000; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.store-big-icon--play { background: linear-gradient(135deg, #00c853, #0091ea, #d500f9, #ff6d00); }

.store-big-sub    { font-size: 10px; font-weight: 500; color: rgba(255,255,255,.55); display: block; letter-spacing: .5px; text-transform: uppercase; }
.store-big-name   { font-size: 22px; font-weight: 700; color: #fff; display: block; line-height: 1.15; margin: 2px 0; }
.store-big-detail { font-size: 11px; color: rgba(255,255,255,.4); display: block; }

.stores-note { font-size: 12px; color: var(--txtm); letter-spacing: .3px; }

/* ── Social ── */
.social-section { background: #fff; padding: 56px; text-align: center; border-top: 1px solid var(--border); }
.social-section-title { font-family: var(--fd); font-size: 22px; font-weight: 500; color: var(--txt); margin-bottom: 5px; }
.social-section-title em { font-style: italic; color: var(--coral); }
.social-section-sub  { font-size: 13.5px; color: var(--txtm); margin-bottom: 26px; }
.social-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.social-btn { display: flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-family: var(--fs); font-size: 13px; font-weight: 600; text-decoration: none; transition: all .2s; }
.social-btn-tiktok { background: #010101; color: #fff; }
.social-btn-tiktok:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.social-btn-insta  { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: #fff; }
.social-btn-insta:hover  { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(220,39,67,.3); }

/* ── Footer ── */
footer {
  background: var(--bg); border-top: 1px solid var(--border);
  padding: 26px 56px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.footer-logo img { width: 24px; height: 24px; border-radius: 6px; }
.footer-logo-text { font-family: var(--fd); font-size: 16px; font-weight: 600; color: var(--txt); }
.footer-logo-text span { color: var(--coral); font-style: italic; }
.footer-copy  { font-size: 11px; color: var(--txtm); }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-link  { font-size: 11px; color: var(--txtm); text-decoration: none; transition: color .2s; }
.footer-link:hover { color: var(--coral); }

/* ── Animations ── */
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

/* ── Responsive ── */
@media (max-width: 960px) {
  nav { padding: 12px 20px; }
  nav.scrolled { padding: 10px 20px; }
  .nav-link { display: none; }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left  { padding: 48px 24px 24px; }
  .hero-right { padding: 0 24px 48px; }
  .mc-1, .mc-2, .mc-3, .mc-4 { display: none; }

  .showcase, .features, .waitlist, .social-section { padding: 56px 24px; }
  .screens-grid { flex-wrap: wrap; gap: 24px 16px; }
  .screen-phone { width: 190px; }
  .features-grid { grid-template-columns: 1fr; }
  .quote-band { padding: 48px 24px; }
  footer { padding: 22px 20px; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .hero-form  { flex-direction: column; }
  .email-input { min-width: auto; }
  .stores-big { flex-direction: column; align-items: center; }
  .store-big-btn { min-width: auto; width: 100%; max-width: 320px; }
  .stores-section { padding: 56px 24px; }
  .phones-stack { transform: scale(.8); transform-origin: center; }
  .screens-grid { flex-wrap: wrap; gap: 20px; }
  .screen-phone { width: 160px; }
}

/* ── Language switcher ── */
.lang-switcher { position: relative; }

.lang-current {
  display: flex; align-items: center; gap: 6px;
  background: transparent; border: 1.5px solid var(--border);
  border-radius: 999px; padding: 6px 12px;
  font-family: var(--fs); font-size: 12px; font-weight: 600;
  color: var(--txt); cursor: pointer; transition: all .2s;
  white-space: nowrap;
}
.lang-current:hover { border-color: var(--coral); color: var(--coral); }

.lang-chevron { transition: transform .2s; flex-shrink: 0; }
.lang-current[aria-expanded="true"] .lang-chevron { transform: rotate(180deg); }

.lang-dropdown {
  display: none; position: absolute; top: calc(100% + 8px); right: 0;
  background: #fff; border: 1.5px solid var(--border); border-radius: 14px;
  padding: 6px; min-width: 150px;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  z-index: 9999;
}
.lang-dropdown.open { display: block !important; }

.lang-option {
  display: flex; align-items: center; gap: 8px; width: 100%;
  background: none; border: none; border-radius: 9px;
  padding: 9px 12px; font-family: var(--fs); font-size: 13px;
  color: var(--txt); cursor: pointer; text-align: left; transition: background .15s;
}
.lang-option:hover  { background: var(--bg); }
.lang-option.active { background: rgba(232,155,134,.1); color: var(--coral-dark); font-weight: 600; }
