/* Faceoon Landing Styles */
:root {
  --bg: #161925;
  --text: #FDFFFC;
  --muted: #cdd3d8;
  --primary: #235789;
  --accent: #F1D302;
  --danger: #C1292E;
  --surface: #1e2230;
  --border: #2a3042;
}

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

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(1200px 600px at 10% -10%, rgba(35, 87, 137, 0.25), transparent 60%),
              radial-gradient(1000px 500px at 110% 10%, rgba(241, 211, 2, 0.12), transparent 60%),
              var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 {
  line-height: 1.2;
  margin: 0 0 10px;
}
h1 { font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
.subtitle { color: var(--muted); margin-top: 10px; }
.muted { color: var(--muted); }

a { color: inherit; text-decoration: none; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(8px);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: .2px;
}
.brand-mark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  box-shadow: 0 0 0 2px rgba(241, 211, 2, .2), 0 0 16px rgba(35, 87, 137, .2) inset;
}
.site-nav {
  display: flex;
  gap: 18px;
}
.site-nav a {
  padding: 8px 10px;
  color: var(--muted);
}
.site-nav a:hover { color: var(--text); }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
}

/* Hero */
.hero {
  padding: 72px 0 40px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform .12s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--primary); color: var(--text); }
.btn-primary:hover { filter: brightness(1.05); }
.btn-accent { background: var(--accent); color: #161925; }
.btn-accent:hover { filter: brightness(1.05); }
.btn-kicker {
  padding: 4px 8px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--bg) 20%, var(--text));
  color: var(--bg);
  font-size: 12px;
  line-height: 1;
}
.is-disabled,
.btn[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: .6;
  border-color: var(--border);
  background: color-mix(in srgb, var(--primary) 50%, var(--surface));
}

.hero-media .media-card {
  position: relative;
  isolation: isolate;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  padding: 18px;
  overflow: hidden;
}
.media-glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(600px 220px at 70% 30%, rgba(241, 211, 2, .12), transparent 70%),
              radial-gradient(600px 220px at 40% 70%, rgba(35, 87, 137, .18), transparent 70%);
  filter: blur(6px);
  z-index: -1;
}
.phone-frame {
  width: clamp(220px, 28vw, 340px);
  aspect-ratio: 9/19.5;
  margin-inline: auto;
  border-radius: 28px;
  border: 2px solid var(--border);
  background:
    radial-gradient(120px 40px at 50% 0%, rgba(253,255,252,.08), transparent 70%),
    #0f1320;
  position: relative;
  box-shadow: 0 10px 40px rgba(0,0,0,.45), inset 0 0 0 6px rgba(255,255,255,.03);
}
.phone-screen {
  position: absolute;
  inset: 10px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(35,87,137,.25), rgba(35,87,137,.05));
  display: grid;
  place-items: center;
}
.phone-placeholder {
  color: var(--text);
  opacity: .7;
  letter-spacing: .8px;
  font-weight: 700;
}

/* Sections */
.section-head {
  text-align: center;
  margin-bottom: 28px;
}
.features, .sample, .download, .contact { padding: 56px 0; }
.features { background: linear-gradient(180deg, rgba(30,34,48,.6), rgba(30,34,48,0)); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}
.feature-card .icon {
  font-size: 20px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--accent) 20%, transparent);
  color: var(--accent);
  margin-bottom: 10px;
}

/* Before/After */
.ba-wrapper {
  max-width: 920px;
  margin: 0 auto;
}
.ba-viewport {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(241,211,2,.4);
}
.ba-range {
  width: 100%;
  margin-top: 10px;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  outline: none;
}
.ba-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--accent);
  box-shadow: 0 0 0 4px rgba(241,211,2,.15);
  cursor: pointer;
}
.ba-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--accent);
  box-shadow: 0 0 0 4px rgba(241,211,2,.15);
  cursor: pointer;
}

/* Download */
.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.download-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}
.download-card .btn { margin-top: 10px; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}
.field {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}
.field label {
  color: var(--muted);
  font-size: 14px;
}
.field input,
.field textarea {
  width: 100%;
  color: var(--text);
  background: #0f1320;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input::placeholder,
.field textarea::placeholder { color: #7e8695; }
.field input:focus,
.field textarea:focus {
  border-color: color-mix(in srgb, var(--primary) 70%, var(--border));
  box-shadow: 0 0 0 4px rgba(35, 87, 137, .15);
}
.form-note {
  margin-top: 6px;
  min-height: 1.2em;
  color: var(--muted);
}

.contact-side {
  display: grid;
  align-content: start;
  gap: 12px;
}
.socials {
  display: flex;
  gap: 10px;
}
.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}
.socials a:hover {
  border-color: color-mix(in srgb, var(--accent) 60%, var(--border));
  color: var(--accent);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: #0f1320;
  padding: 22px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.footer-links {
  display: flex;
  gap: 12px;
}
.footer-links a {
  color: var(--muted);
}
.footer-links a:hover { color: var(--text); }

/* Responsive */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr;
    background: #0f1320;
    border-bottom: 1px solid var(--border);
    padding: 10px 20px 16px;
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform .15s ease, opacity .15s ease;
  }
  .site-nav.open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }
}


