/* =========================================================
   Chef Marco landing — section-specific styles.
   Inherits all variables, fonts, navbar/footer styles from
   ../../style.min.css (which is loaded BEFORE this file).
   ========================================================= */

/* ---- Hero ---------------------------------------------- */
.app-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
}
.app-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 25%, rgba(99, 102, 241, 0.18), transparent 45%),
    radial-gradient(circle at 85% 65%, rgba(139, 92, 246, 0.16), transparent 50%),
    radial-gradient(circle at 50% 110%, rgba(6, 182, 212, 0.10), transparent 60%);
}
.app-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.app-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b9bbe0;
  margin-bottom: 24px;
}
.app-hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #06b6d4;
  box-shadow: 0 0 12px #06b6d4;
}
.app-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.05;
  font-weight: 700;
  margin: 0 0 24px;
  color: #fff;
}
.app-hero h1 .accent {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.app-hero-sub {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: #b9bbe0;
  max-width: 540px;
  margin: 0 0 36px;
}
.app-hero-ctas {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}
.store-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
}
.store-btn .store-icon { width: 28px; height: 28px; flex-shrink: 0; }
.store-btn .store-label { display: flex; flex-direction: column; line-height: 1.15; }
.store-btn .store-label small { font-size: 10px; opacity: 0.6; letter-spacing: 0.12em; text-transform: uppercase; }
.store-btn .store-label strong { font-size: 16px; font-weight: 600; }
.store-btn .store-badge {
  margin-left: 8px; padding: 2px 8px; border-radius: 999px;
  background: rgba(99, 102, 241, 0.25);
  color: #c7c9ff;
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
}
.app-hero-meta {
  margin-top: 28px;
  display: flex; gap: 24px; flex-wrap: wrap;
  font-size: 13px; color: #8a8db5;
}
.app-hero-meta b { color: #fff; font-weight: 600; }

/* ---- Phone mockups ------------------------------------- */
.phone-frame {
  position: relative;
  width: 280px;
  aspect-ratio: 9 / 19.5;
  border-radius: 42px;
  background: linear-gradient(160deg, #1a1d2e 0%, #0d0f1a 100%);
  padding: 12px;
  box-shadow:
    0 50px 80px -20px rgba(99, 102, 241, 0.4),
    0 30px 50px -20px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  margin: 0 auto;
}
.phone-frame::before {
  content: "";
  position: absolute;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  width: 88px; height: 22px;
  background: #0a0a0a;
  border-radius: 999px;
  z-index: 2;
}
.phone-frame .phone-screen {
  width: 100%; height: 100%;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  background: #0f1020;
}
.phone-frame .phone-screen img,
.phone-frame .phone-screen svg {
  width: 100%; height: 100%;
  display: block;
}

.hero-phone {
  position: relative;
  transform: rotate(-4deg);
}
.hero-phone::after {
  content: "";
  position: absolute;
  inset: -40px -60px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2), transparent 60%);
  z-index: -1;
}

/* ---- Generic section header ---------------------------- */
.app-section {
  padding: 100px 0;
  position: relative;
}
.section-eyebrow {
  display: block;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6366f1;
  margin-bottom: 12px;
  font-weight: 600;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 700;
  margin: 0 0 16px;
  line-height: 1.1;
  color: #fff;
}
.section-lead {
  color: #b9bbe0;
  font-size: 17px;
  line-height: 1.6;
  max-width: 680px;
  margin: 0 0 56px;
}

/* ---- Features ------------------------------------------ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  position: relative;
  padding: 32px 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: -50px; right: -50px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: var(--card-glow, radial-gradient(circle, rgba(99, 102, 241, 0.25), transparent 70%));
  opacity: 0.7;
  pointer-events: none;
  transition: transform 0.4s;
}
.feature-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(99, 102, 241, 0.35);
}
.feature-card:hover::before {
  transform: scale(1.2);
}
.feature-card .feat-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(139, 92, 246, 0.18));
  margin-bottom: 20px;
  color: #c7c9ff;
}
.feature-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px; font-weight: 600;
  margin: 0 0 10px; color: #fff;
}
.feature-card p {
  margin: 0; color: #b9bbe0; font-size: 15px; line-height: 1.55;
}

/* ---- Screenshots gallery -------------------------------- */
.screenshots-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: center;
}
.screenshots-row .phone-frame:nth-child(2) {
  transform: translateY(-20px) scale(1.05);
}
.screenshots-row .phone-frame:nth-child(1) { transform: rotate(-3deg); }
.screenshots-row .phone-frame:nth-child(3) { transform: rotate(3deg); }

/* ---- Steps --------------------------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  counter-reset: step;
}
.step-card {
  position: relative;
  padding: 32px 28px 28px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.step-card::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -22px; left: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 18px;
  box-shadow: 0 12px 24px -8px rgba(99, 102, 241, 0.5);
}
.step-card h4 {
  margin: 14px 0 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 19px; color: #fff;
}
.step-card p { margin: 0; color: #b9bbe0; font-size: 15px; line-height: 1.5; }

/* ---- Advantages list ----------------------------------- */
.advantages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
}
.advantage-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  color: #cfd0ee;
  font-size: 16px;
  line-height: 1.5;
}
.advantage-item .check {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.3), rgba(99, 102, 241, 0.3));
  display: flex; align-items: center; justify-content: center;
  color: #06b6d4;
}

/* ---- Final CTA + form ---------------------------------- */
.cta-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.cta-card {
  position: relative;
  padding: 56px clamp(24px, 5vw, 72px);
  border-radius: 32px;
  background:
    radial-gradient(circle at 20% 0%, rgba(99, 102, 241, 0.25), transparent 50%),
    radial-gradient(circle at 80% 100%, rgba(139, 92, 246, 0.18), transparent 50%),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  overflow: hidden;
}
.cta-card h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 700;
  margin: 0 0 14px;
  color: #fff;
}
.cta-card p {
  font-size: 16px;
  color: #b9bbe0;
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.55;
}
.notify-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 620px;
  margin: 0 auto;
}
.notify-form input[type="text"],
.notify-form input[type="email"] {
  flex: 1 1 280px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.notify-form input:focus {
  border-color: #6366f1;
  background: rgba(255, 255, 255, 0.06);
}
.notify-form button {
  padding: 14px 28px;
  border-radius: 14px;
  border: 0;
  font: inherit; font-size: 15px; font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.notify-form button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -10px rgba(139, 92, 246, 0.5);
}
.notify-form button:disabled { opacity: 0.6; cursor: not-allowed; }
.notify-options {
  display: flex; gap: 18px; justify-content: center;
  flex-wrap: wrap;
  margin-top: 14px;
  font-size: 13px; color: #8a8db5;
}
.notify-options label { display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }
.notify-form-status {
  margin-top: 18px;
  min-height: 22px;
  font-size: 14px;
}
.notify-form-status.ok  { color: #67e8b3; }
.notify-form-status.err { color: #ff7a8a; }

/* ---- Responsive ---------------------------------------- */
@media (max-width: 900px) {
  .app-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-phone { transform: rotate(0); margin-top: 20px; }
  .screenshots-row { grid-template-columns: 1fr; gap: 36px; }
  .screenshots-row .phone-frame:nth-child(2) { transform: none; }
  .screenshots-row .phone-frame:nth-child(1),
  .screenshots-row .phone-frame:nth-child(3) { transform: none; }
  .advantages-grid { grid-template-columns: 1fr; }
}
