/* ============================================
   Farruggia Creations — site styles
   ============================================ */

:root {
  --bg: #16110d;
  --bg-2: #1e1712;
  --card: #251c15;
  --card-edge: #3a2c20;
  --cream: #f7eede;
  --muted: #bfae9a;
  --faint: #8d7d6b;
  --orange: #f0711f;
  --orange-hot: #e8501e;
  --gold: #f5a623;
  --grad: linear-gradient(135deg, #f5a623 0%, #f0711f 45%, #e8501e 100%);
  --radius: 20px;
  --maxw: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--orange); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

section { padding: 88px 0; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }

h2.section-title {
  font-size: clamp(30px, 4.5vw, 44px);
  margin-bottom: 16px;
}

.section-sub {
  color: var(--muted);
  max-width: 640px;
  font-size: 18px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(22, 17, 13, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(247, 238, 222, 0.07);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo { display: inline-flex; align-items: center; transition: opacity 0.15s ease; }
.nav-logo:hover { opacity: 0.85; }
.nav-logo img { height: 46px; width: auto; }

.hero-logo { width: min(340px, 76vw); height: auto; margin-bottom: 26px; }

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--cream);
  font-size: 15px;
  font-weight: 600;
  opacity: 0.85;
}
.nav-links a:hover { opacity: 1; color: var(--gold); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 6px 24px rgba(232, 80, 30, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 10px 30px rgba(232, 80, 30, 0.45); }

.btn-ghost {
  border: 1.5px solid var(--card-edge);
  color: var(--cream);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.nav .btn { padding: 9px 18px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 110px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 130%;
  background:
    radial-gradient(46% 42% at 72% 36%, rgba(232, 80, 30, 0.22), transparent 70%),
    radial-gradient(38% 36% at 22% 18%, rgba(245, 166, 35, 0.12), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(38px, 5.6vw, 60px);
  font-weight: 800;
  margin-bottom: 22px;
}

.hero h1 .flame { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero p.lede {
  font-size: 19px;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-ctas { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

.appstore-badge img, .appstore-badge svg { height: 54px; width: auto; }
.appstore-badge { transition: transform 0.15s ease; display: inline-block; }
.appstore-badge:hover { transform: translateY(-2px); }

.hero-note { margin-top: 18px; font-size: 14px; color: var(--faint); }

/* Phone mockup */
.phone {
  position: relative;
  width: min(300px, 72vw);
  margin: 0 auto;
  border-radius: 48px;
  border: 9px solid #0a0806;
  outline: 1.5px solid rgba(247, 238, 222, 0.14);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.55),
    0 12px 32px rgba(232, 80, 30, 0.18);
  overflow: hidden;
  background: #000;
}

.phone::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 26px;
  background: #0a0806;
  border-radius: 999px;
}

.phone img { width: 100%; }

.hero .phone { transform: rotate(2.5deg); }

/* ---------- App section ---------- */
.app-head {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.app-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(232, 80, 30, 0.35);
}

.app-head h2 { font-size: clamp(30px, 4.5vw, 44px); }
.app-head .tagline { color: var(--muted); font-size: 17px; margin-top: 4px; }

.app-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 22px 0 36px;
}

.chip {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--card-edge);
  border-radius: 999px;
  padding: 7px 15px;
}
.chip strong { color: var(--gold); font-weight: 700; }

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 8px;
}

.feature {
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.feature:hover { transform: translateY(-4px); border-color: rgba(245, 166, 35, 0.45); }

.feature .ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(240, 113, 31, 0.14);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.feature h3 { font-size: 17.5px; margin-bottom: 8px; }
.feature p { font-size: 15px; color: var(--muted); line-height: 1.55; }

/* ---------- Screenshots ---------- */
.shots {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 18px 4px 26px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.shots::-webkit-scrollbar { height: 8px; }
.shots::-webkit-scrollbar-thumb { background: var(--card-edge); border-radius: 99px; }
.shots::-webkit-scrollbar-track { background: transparent; }

.shot {
  flex: 0 0 auto;
  width: 216px;
  scroll-snap-align: start;
  border-radius: 32px;
  border: 6px solid #0a0806;
  outline: 1px solid rgba(247, 238, 222, 0.12);
  overflow: hidden;
  background: #000;
  transition: transform 0.18s ease;
}
.shot:hover { transform: translateY(-6px); }
.shot img { width: 100%; }

.scroll-hint { font-size: 13.5px; color: var(--faint); }

/* ---------- About ---------- */
.about { background: var(--bg-2); }

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.about p { color: var(--muted); margin-bottom: 18px; font-size: 17px; }
.about p strong { color: var(--cream); }

.quote {
  border-left: 3px solid var(--orange);
  padding: 6px 0 6px 20px;
  margin: 26px 0;
  font-size: 19px;
  font-weight: 600;
  color: var(--cream);
  font-style: italic;
}

.about-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Coming soon ---------- */
.soon-card {
  background:
    radial-gradient(60% 100% at 85% 0%, rgba(232, 80, 30, 0.16), transparent 70%),
    var(--card);
  border: 1px solid var(--card-edge);
  border-radius: 24px;
  padding: 48px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.soon-card h3 { font-size: 26px; margin-bottom: 8px; }
.soon-card p { color: var(--muted); max-width: 560px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}

form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

input, textarea {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: 14px;
  color: var(--cream);
  font: inherit;
  font-size: 16px;
  padding: 14px 16px;
  margin-bottom: 14px;
  transition: border-color 0.15s ease;
}
input:focus, textarea:focus { outline: none; border-color: var(--gold); }
input::placeholder, textarea::placeholder { color: var(--faint); }
textarea { resize: vertical; min-height: 140px; }

.form-status { font-size: 15px; margin-top: 4px; min-height: 22px; }
.form-status.ok { color: #7ed491; }
.form-status.err { color: #f08a8a; }

.contact-aside .panel {
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 18px;
}
.contact-aside h3 { font-size: 17px; margin-bottom: 6px; }
.contact-aside p { color: var(--muted); font-size: 15.5px; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid rgba(247, 238, 222, 0.07);
  padding: 40px 0 48px;
}

.foot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}


.foot-links { display: flex; gap: 24px; list-style: none; font-size: 14.5px; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--gold); }

.copyright { color: var(--faint); font-size: 13.5px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Legal page ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 72px 24px; }
.legal h1 { font-size: clamp(30px, 4.5vw, 42px); margin-bottom: 8px; }
.legal .updated { color: var(--faint); margin-bottom: 36px; font-size: 15px; }
.legal h2 { font-size: 21px; margin: 34px 0 12px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal li { margin-bottom: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  section { padding: 64px 0; }

  .hero { padding: 56px 0 72px; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero .phone { transform: none; margin-top: 8px; }

  .features { grid-template-columns: 1fr 1fr; }

  .nav-links li.hide-m { display: none; }
}

@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  form .row2 { grid-template-columns: 1fr; }
  .nav-logo img { height: 38px; }
  .soon-card { padding: 34px 26px; }
}
