/* QuickEats — Apple-style preview v2 */

:root {
  --apple-bg: #fbfbfd;
  --apple-bg-dark: #000000;
  --apple-text: #1d1d1f;
  --apple-muted: #6e6e73;
  --apple-line: rgba(0, 0, 0, 0.08);
  --apple-orange: #ff7a33;
  --apple-orange-deep: #e86520;
  --apple-shell: min(calc(100% - 32px), 1360px);
  --apple-nav-h: 48px;
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body.apple-site {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--apple-bg);
  color: var(--apple-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }

.apple-shell {
  width: var(--apple-shell);
  margin: 0 auto;
}

.apple-shell-wide {
  width: min(calc(100% - 32px), 1360px);
  margin: 0 auto;
}

/* Preview ribbon */
.preview-ribbon {
  background: #1d1d1f;
  color: #f5f5f7;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  padding: 7px 16px;
}

.preview-ribbon a {
  color: var(--apple-orange);
  font-weight: 600;
}

.preview-ribbon a:hover { text-decoration: underline; }

/* Nav */
.apple-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 251, 253, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--apple-line);
}

.apple-nav-inner {
  width: var(--apple-shell);
  margin: 0 auto;
  height: var(--apple-nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.apple-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}

.apple-logo img { border-radius: 7px; }

.apple-links {
  display: flex;
  gap: 22px;
  font-size: 12px;
  color: var(--apple-muted);
  flex-wrap: wrap;
  justify-content: center;
}

.apple-links a:hover { color: var(--apple-text); }

.apple-nav-cta {
  font-size: 12px;
  font-weight: 600;
  color: var(--apple-orange);
  white-space: nowrap;
  flex-shrink: 0;
}

.apple-menu-btn {
  display: none;
  border: none;
  background: none;
  font-size: 20px;
  cursor: pointer;
}

.apple-mobile-menu {
  display: flex;
  flex-direction: column;
  padding: 8px 16px 16px;
  border-bottom: 1px solid var(--apple-line);
  background: rgba(251, 251, 253, 0.96);
}

.apple-mobile-menu[hidden] { display: none; }

.apple-mobile-menu a {
  padding: 12px 0;
  font-size: 17px;
  font-weight: 500;
  border-bottom: 1px solid var(--apple-line);
}

/* Typography */
.apple-kicker {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 600;
  color: var(--apple-orange);
}

.apple-brand-mark {
  margin: 0 0 16px;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--apple-text);
}

.apple-display {
  margin: 0;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.apple-gradient {
  background: linear-gradient(135deg, var(--apple-orange), #ff9f5a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.apple-lead {
  margin: 20px 0 0;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.45;
  color: var(--apple-muted);
  max-width: 420px;
}

.apple-lead-left { margin-left: 0; }

/* Buttons */
.apple-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 500;
  transition: transform 0.2s, opacity 0.2s;
}

.apple-btn:hover { opacity: 0.88; }
.apple-btn:active { transform: scale(0.98); }
.apple-btn-fill { background: var(--apple-orange); color: #fff; }
.apple-btn-ghost { color: var(--apple-orange); }
.apple-btn-wide { width: 100%; }

/* Hero intro — título centrado */
.apple-hero-intro {
  padding: clamp(48px, 8vw, 96px) 0 clamp(32px, 5vw, 56px);
  text-align: center;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255, 122, 51, 0.06), transparent 55%),
    var(--apple-bg);
}

.apple-brand-mark-center {
  margin-bottom: 12px;
  font-size: clamp(56px, 10vw, 96px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.apple-hero-tagline {
  margin: 0 auto;
  max-width: 640px;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--apple-muted);
}

.apple-hero-actions-center {
  justify-content: center;
  margin-top: 28px;
}

/* Hero showcase — scroll: texto + foto */
.apple-hero-showcase {
  padding: clamp(48px, 6vw, 80px) 0;
  background: var(--apple-bg);
  border-top: 1px solid var(--apple-line);
}

.apple-hero-showcase-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: stretch;
  min-height: min(680px, 78vh);
}

.apple-hero-showcase-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  max-width: none;
  padding-right: clamp(12px, 3vw, 32px);
}

.apple-hero-sublead {
  margin: 0 0 28px;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--apple-text);
}

.apple-hero-body-split {
  margin: 0;
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.55;
  color: var(--apple-muted);
  max-width: 480px;
}

.apple-hero-footnote {
  margin: 32px 0 0;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--apple-text);
}

.apple-pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.apple-pay-row span {
  padding: 10px 16px;
  border-radius: 980px;
  background: #f5f5f7;
  border: 1px solid var(--apple-line);
  font-size: 14px;
  font-weight: 500;
  color: var(--apple-text);
  letter-spacing: -0.01em;
}

.apple-hero-device-right {
  justify-self: end;
  align-self: center;
  width: min(100%, 480px);
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.12));
}

.apple-hero-device-right img {
  width: 100%;
  border-radius: 32px;
}

/* Legacy */
.apple-hero-center {
  display: none;
}

/* Legacy split hero — kept for reference */
.apple-hero-split {
  padding: clamp(32px, 5vw, 64px) 0 clamp(24px, 4vw, 48px);
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(255, 122, 51, 0.08), transparent 50%),
    var(--apple-bg);
}

.apple-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  min-height: calc(88vh - var(--apple-nav-h));
}

.apple-hero-copy {
  text-align: left;
  padding-right: 12px;
}

.apple-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.apple-hero-actions-left { justify-content: flex-start; }

.apple-hero-device {
  justify-self: end;
  width: min(100%, 480px);
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.14));
}

.apple-hero-device img {
  width: 100%;
  border-radius: 32px;
}

/* Statement */
.apple-statement {
  padding: clamp(56px, 8vw, 88px) 0;
}

.apple-statement-inner {
  text-align: center;
}

.apple-statement h2 {
  margin: 0 0 14px;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.apple-statement p {
  margin: 0 auto;
  max-width: 640px;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.45;
  color: var(--apple-muted);
}

.apple-statement-dark {
  background: var(--apple-bg-dark);
  color: #f5f5f7;
}

.apple-statement-dark p { color: #a1a1a6; }

/* Compare section — iPhone Air clean grid */
.apple-compare {
  padding: clamp(64px, 8vw, 96px) 0;
  background: #f5f5f7;
}

.apple-compare-head {
  margin-bottom: clamp(32px, 4vw, 48px);
  text-align: center;
}

.apple-compare-head h2 {
  margin: 0 0 12px;
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.apple-compare-kicker {
  margin: 0 auto 10px;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--apple-text);
  line-height: 1.2;
}

.apple-compare-em {
  display: inline;
  color: var(--apple-text);
}

.apple-compare-head p {
  margin: 0 auto;
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--apple-muted);
  line-height: 1.45;
  max-width: 560px;
}

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

/* Widget cards — unified Stories typography */
.apple-widget {
  background: #fff;
  border-radius: 20px;
  padding: clamp(32px, 3.5vw, 44px) clamp(24px, 2.8vw, 32px);
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.apple-widget-hero {
  margin: 0;
  font-size: clamp(32px, 3.6vw, 44px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--apple-text);
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 92%;
}

.apple-widget-hero--orange {
  font-size: clamp(72px, 9vw, 108px);
  line-height: 1;
  color: var(--apple-orange);
  letter-spacing: -0.04em;
}

.apple-widget-desc {
  margin: 0;
  padding-top: 8px;
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: #424245;
  max-width: 92%;
}

.apple-fine-print {
  margin: 28px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--apple-muted);
  line-height: 1.5;
}

/* Feature bands */
.apple-feature-band {
  padding: clamp(64px, 8vw, 100px) 0;
}

.apple-feature-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.apple-feature-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.apple-feature-copy p {
  margin: 0 0 20px;
  font-size: 20px;
  line-height: 1.45;
  color: var(--apple-muted);
  max-width: 460px;
}

.apple-feature-dark {
  background: var(--apple-bg-dark);
  color: #f5f5f7;
}

.apple-feature-dark .apple-kicker { color: var(--apple-orange); }
.apple-feature-dark p { color: #a1a1a6; }

.apple-feature-light {
  background: #f5f5f7;
}

.apple-feature-visual img {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.16);
}

.apple-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.apple-checklist li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: 17px;
  color: #d2d2d7;
}

.apple-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--apple-orange);
  font-weight: 700;
}

.apple-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.apple-pills span {
  padding: 10px 16px;
  border-radius: 980px;
  background: #fff;
  border: 1px solid var(--apple-line);
  font-size: 14px;
  font-weight: 500;
}

.apple-qr-mock {
  width: min(440px, 100%);
  display: grid;
  gap: 12px;
  margin-left: auto;
}

.apple-qr-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.apple-qr-card {
  background: #fff;
  border-radius: 18px;
  padding: 22px 18px;
  border: 1px solid var(--apple-line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.apple-qr-card.active {
  background: linear-gradient(145deg, var(--apple-orange), #ff9f5a);
  color: #fff;
  border-color: transparent;
}

.apple-qr-card strong {
  display: block;
  font-size: 19px;
  margin-bottom: 4px;
}

.apple-qr-card span {
  font-size: 14px;
  opacity: 0.75;
}

/* Strip */
.apple-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--apple-line);
  border-bottom: 1px solid var(--apple-line);
  background: #fff;
}

.apple-strip-item {
  padding: clamp(24px, 3vw, 36px) clamp(20px, 3vw, 28px);
  border-right: 1px solid var(--apple-line);
  transition: background 0.2s;
}

.apple-strip-item:last-child { border-right: none; }
.apple-strip-item:hover { background: #f5f5f7; }

.apple-strip-item strong {
  display: block;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.apple-strip-item span {
  font-size: 14px;
  color: var(--apple-orange);
}

/* Contact */
.apple-contact {
  background: #f5f5f7;
  padding: clamp(64px, 8vw, 100px) 0;
}

.apple-contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}

.apple-contact-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.apple-contact-copy > p {
  margin: 0 0 20px;
  font-size: 19px;
  color: var(--apple-muted);
  line-height: 1.5;
}

.apple-contact-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.apple-contact-meta a {
  font-size: 17px;
  font-weight: 500;
  color: var(--apple-orange);
}

.apple-contact-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.apple-contact-legal a {
  font-size: 14px;
  color: var(--apple-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.apple-form {
  display: grid;
  gap: 12px;
}

.apple-form input,
.apple-form textarea {
  width: 100%;
  border: 1px solid var(--apple-line);
  border-radius: 14px;
  padding: 16px 18px;
  font: inherit;
  font-size: 17px;
  background: #fff;
  outline: none;
}

.apple-form input:focus,
.apple-form textarea:focus {
  border-color: var(--apple-orange);
  box-shadow: 0 0 0 4px rgba(255, 122, 51, 0.12);
}

/* Footer */
.apple-footer {
  background: #f5f5f7;
  border-top: 1px solid var(--apple-line);
  padding: 28px 0 40px;
}

.apple-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.apple-footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--apple-muted);
}

.apple-footer-brand img { border-radius: 6px; }

.apple-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 12px;
  color: var(--apple-muted);
}

.apple-footer-links a:hover {
  color: var(--apple-text);
  text-decoration: underline;
}

.apple-footer-copy {
  width: 100%;
  margin: 8px 0 0;
  font-size: 12px;
  color: #86868b;
}

/* Float */
.apple-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  padding: 14px 20px;
  border-radius: 980px;
  background: #1d1d1f;
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 122, 51, 0.5);
}

.apple-float:hover { background: var(--apple-orange); }

/* Responsive */
@media (max-width: 1100px) {
  .apple-compare-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .apple-links,
  .apple-nav-cta { display: none; }

  .apple-menu-btn { display: block; }

  .apple-hero-showcase-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    text-align: center;
  }

  .apple-hero-showcase-copy {
    max-width: none;
    text-align: center;
  }

  .apple-hero-device-right {
    justify-self: center;
    width: min(360px, 92vw);
  }

  .apple-compare-grid {
    grid-template-columns: 1fr;
  }

  .apple-widget {
    min-height: 280px;
  }

  .apple-feature-inner,
  .apple-contact-inner {
    grid-template-columns: 1fr;
  }

  .apple-feature-copy p { max-width: none; }

  .apple-qr-mock { margin: 0 auto; }

  .apple-strip { grid-template-columns: 1fr; }

  .apple-strip-item {
    border-right: none;
    border-bottom: 1px solid var(--apple-line);
  }

  .apple-float {
    left: 16px;
    right: 16px;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .apple-compare-head h2 { font-size: 32px; }
}
