/* ============================================================
   AlphaTill — Luxury marketing site
   Dark & gold theme
   ============================================================ */

:root {
  --bg:        #0a0a0c;
  --bg-soft:   #111114;
  --bg-card:   #16161a;
  --bg-elev:   #1c1c21;
  --line:      rgba(212,175,55,0.18);
  --line-soft: rgba(255,255,255,0.07);

  --gold:      #d4af37;
  --gold-lite: #f5e7a0;
  --gold-deep: #c9a227;
  --gold-grad: linear-gradient(135deg, #f5e7a0 0%, #d4af37 45%, #b8891f 100%);

  --text:      #ece9e2;
  --text-soft: #a7a39a;
  --text-dim:  #6f6c64;

  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1180px;
  --radius: 14px;
  --shadow: 0 24px 60px rgba(0,0,0,0.55);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* subtle luxe background grain/glow */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(212,175,55,0.10), transparent 60%),
    radial-gradient(700px 500px at -10% 20%, rgba(212,175,55,0.05), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: 0.4px; }

a { color: inherit; text-decoration: none; transition: color .25s ease, opacity .25s ease; }

.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 18px;
  display: inline-block;
}

/* ---------- Header ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(10,10,12,0.72);
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.nav .logo img { height: 42px; display: block; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-size: 14.5px;
  letter-spacing: 0.6px;
  color: var(--text-soft);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-lite); }
.nav-cta {
  border: 1px solid var(--gold);
  padding: 10px 22px;
  border-radius: 999px;
  color: var(--gold-lite) !important;
  font-weight: 500;
}
.nav-cta:hover { background: var(--gold); color: #14110a !important; }

.menu-toggle { display: none; background: none; border: 0; color: var(--gold); font-size: 26px; cursor: pointer; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.4px;
  padding: 15px 34px;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease;
}
.btn-gold {
  background: var(--gold-grad);
  color: #14110a;
  box-shadow: 0 10px 30px rgba(212,175,55,0.25);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(212,175,55,0.38); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-lite); }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 70px; text-align: center; }
.hero h1 { font-size: clamp(44px, 7vw, 88px); margin-bottom: 26px; }
.hero p.lead {
  font-size: 20px;
  color: var(--text-soft);
  max-width: 640px;
  margin: 0 auto 40px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 22px; font-size: 13.5px; color: var(--text-dim); letter-spacing: 0.5px; }

.hairline {
  width: 70px; height: 1px;
  background: var(--gold-grad);
  margin: 0 auto 28px;
}

/* device mock under hero */
.hero-visual {
  margin: 70px auto 0;
  max-width: 940px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #15151a, #0c0c0f);
  box-shadow: var(--shadow);
  padding: 26px;
}
.mock-bar { display: flex; gap: 8px; margin-bottom: 20px; }
.mock-bar span { width: 11px; height: 11px; border-radius: 50%; background: #2a2a30; }
.mock-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; }
.mock-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock-tile { aspect-ratio: 1.5; border-radius: 10px; border: 1px solid var(--line-soft);
  background: var(--bg-elev); display: flex; align-items: flex-end; padding: 12px; font-size: 12px; color: var(--text-dim); }
.mock-tile:nth-child(odd) { background: #1a1a1f; }
.mock-side { border-radius: 10px; border: 1px solid var(--line); background: #131317; padding: 18px; }
.mock-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: 13px; color: var(--text-soft); }
.mock-total { display: flex; justify-content: space-between; padding-top: 14px; font-family: var(--serif); font-size: 26px; }
.mock-total b { color: var(--gold-lite); }

/* ---------- Sections ---------- */
section { padding: 84px 0; position: relative; z-index: 1; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 58px; }
.section-head h2 { font-size: clamp(32px, 4.5vw, 50px); margin-bottom: 18px; }
.section-head p { color: var(--text-soft); font-size: 18px; }

.divider { height: 1px; background: var(--line-soft); }

/* feature grid */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--line); box-shadow: var(--shadow); }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  background: rgba(212,175,55,0.06);
  margin-bottom: 22px;
}
.card .icon svg { width: 26px; height: 26px; stroke: var(--gold); fill: none; stroke-width: 1.6; }
.card h3 { font-size: 24px; margin-bottom: 12px; color: var(--text); }
.card p { color: var(--text-soft); font-size: 15.5px; }

/* alternating detail rows (features page) */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--line-soft);
}
.feature-row:nth-child(even) .feature-text { order: 2; }
.feature-text h3 { font-size: 34px; margin-bottom: 18px; }
.feature-text p { color: var(--text-soft); margin-bottom: 18px; }
.feature-list { list-style: none; }
.feature-list li { padding: 9px 0 9px 30px; position: relative; color: var(--text-soft); font-size: 15.5px; }
.feature-list li::before {
  content: "";
  position: absolute; left: 0; top: 16px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}
.feature-art {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #16161b, #0c0c0f);
  min-height: 280px;
  box-shadow: var(--shadow);
  padding: 28px;
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
}
.art-stat { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.art-stat .label { color: var(--text-dim); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
.art-stat .val { font-family: var(--serif); font-size: 30px; color: var(--gold-lite); }
.art-chip { display: inline-block; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; color: var(--text-soft); margin: 3px 4px 0 0; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 40px 32px;
  display: flex; flex-direction: column;
}
.price-card.featured {
  border-color: var(--gold);
  background: linear-gradient(170deg, #1a160d, #121117);
  position: relative;
  box-shadow: 0 24px 60px rgba(212,175,55,0.12);
}
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold-grad); color: #14110a;
  font-size: 11.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 6px 16px; border-radius: 999px;
}
.price-card h3 { font-size: 27px; margin-bottom: 6px; }
.price-card .sub { color: var(--text-dim); font-size: 14px; margin-bottom: 26px; }
.price-amount { font-family: var(--serif); font-size: 56px; line-height: 1; margin-bottom: 4px; }
.price-amount span { font-size: 17px; color: var(--text-dim); font-family: var(--sans); }
.price-foot { color: var(--text-dim); font-size: 13px; margin-bottom: 28px; }
.price-features { list-style: none; margin-bottom: 32px; flex: 1; }
.price-features li { padding: 10px 0 10px 28px; position: relative; color: var(--text-soft); font-size: 15px; border-bottom: 1px solid var(--line-soft); }
.price-features li::before {
  content: ""; position: absolute; left: 0; top: 17px;
  width: 13px; height: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}
.price-card .btn { width: 100%; text-align: center; }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .num { font-family: var(--serif); font-size: 50px; }
.stat .lbl { color: var(--text-soft); font-size: 14px; letter-spacing: 0.5px; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; padding: 86px 28px; border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #1a160d 0%, #0d0d10 70%);
  box-shadow: var(--shadow); }
.cta-band h2 { font-size: clamp(32px, 5vw, 54px); margin-bottom: 20px; }
.cta-band p { color: var(--text-soft); font-size: 18px; max-width: 540px; margin: 0 auto 34px; }

/* ---------- Forms ---------- */
.form-wrap { max-width: 640px; margin: 0 auto; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--text-dim); margin-bottom: 9px; }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 15.5px;
  transition: border-color .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { min-height: 130px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-note { color: var(--text-dim); font-size: 13px; text-align: center; margin-top: 18px; }

.contact-info { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 64px; text-align: center; }
.contact-info .ci h4 { font-family: var(--sans); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-dim); margin-bottom: 8px; }
.contact-info .ci p { color: var(--gold-lite); font-size: 17px; }

/* ---------- About ---------- */
.about-lead { max-width: 760px; margin: 0 auto; text-align: center; }
.about-lead p { font-size: 21px; color: var(--text-soft); font-family: var(--serif); line-height: 1.5; }
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 60px; }

/* ---------- Footer ---------- */
footer.site {
  border-top: 1px solid var(--line-soft);
  padding: 64px 0 40px;
  margin-top: 40px;
  position: relative; z-index: 1;
}
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.foot-brand img { height: 40px; margin-bottom: 18px; }
.foot-brand p { color: var(--text-dim); font-size: 14.5px; max-width: 280px; }
.foot-col h5 { font-family: var(--sans); font-size: 12.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.foot-col a { display: block; color: var(--text-soft); font-size: 14.5px; padding: 6px 0; }
.foot-col a:hover { color: var(--gold-lite); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid var(--line-soft); color: var(--text-dim); font-size: 13.5px; flex-wrap: wrap; gap: 12px; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .grid-3, .price-grid, .stats, .contact-info, .values { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .mock-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 78px; left: 0; right: 0;
    background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 24px 28px; gap: 20px;
  }
  .menu-toggle { display: block; }
  .feature-row { grid-template-columns: 1fr; gap: 28px; }
  .feature-row:nth-child(even) .feature-text { order: 0; }
  .grid-3, .grid-2, .price-grid, .stats, .contact-info, .values, .form-grid, .foot-grid { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .hero { padding: 60px 0 40px; }
}
