/* Potipha marketing site - same dark gold/rose brand as the app itself
   (potipha_fresh/assets/css/style.css), reimplemented here as a
   self-contained stylesheet (no file dependency between the two apps)
   since this is a landing page, not an app screen: bigger type, hero
   sections, feature grids. */

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

:root{
  --gold:#D4AF37; --gold2:#F5D060; --rose:#E8A0BF;
  --bg:#07070E; --surface:#111118; --card:#14141F; --card2:#1A1A2A;
  --border:rgba(212,175,55,.16); --border2:rgba(212,175,55,.32);
  --text:#EDE9E3; --muted:#8A8AA0;
  --green:#6DD98C; --red:#FF7070; --blue:#7EC8E3;
  --radius:16px;
}

html{ scroll-behavior:smooth; overflow-x:hidden; }
body{
  background:var(--bg); color:var(--text);
  font-family:'Inter',-apple-system,sans-serif;
  min-height:100vh; line-height:1.6;
}
h1,h2,h3,.brand,.footer-brand{ font-family:'Playfair Display',Georgia,serif; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; }
.muted{ color:var(--muted); }
img{ max-width:100%; display:block; }

.gold-text{
  background:linear-gradient(120deg,var(--gold),var(--gold2));
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}

/* ---------- nav ---------- */
.topnav{
  position:sticky; top:0; z-index:100;
  background:rgba(7,7,14,.85); backdrop-filter:blur(16px);
  border-bottom:1px solid var(--border);
  display:flex; align-items:center; justify-content:space-between;
  padding:0 24px; height:64px;
}
.brand{ font-weight:900; font-size:1.3rem; }
.brand, .footer-brand{
  background:linear-gradient(120deg,var(--gold),var(--gold2));
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}
.nav-links{ display:flex; align-items:center; gap:6px; }
.nav-links a{ padding:9px 14px; border-radius:8px; font-size:14.5px; color:var(--muted); font-weight:600; }
.nav-links a:hover, .nav-links a.active{ color:var(--gold); background:rgba(212,175,55,.08); }
.nav-toggle{ display:none; background:none; border:none; color:var(--text); font-size:22px; }

.btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:13px 26px; border-radius:12px; border:none; font-weight:700; font-size:15px;
  transition:transform .12s ease, opacity .12s ease; }
.btn:active{ transform:scale(.97); }
.btn-gold{ background:linear-gradient(135deg,var(--gold),var(--gold2)); color:#1a1200; }
.btn-gold:hover{ opacity:.92; }
.btn-ghost{ background:transparent; border:1.5px solid var(--border2); color:var(--text); }
.btn-ghost:hover{ background:rgba(212,175,55,.08); }
.btn-sm{ padding:9px 18px; font-size:13.5px; }
.btn-block{ width:100%; }

/* ---------- hero ---------- */
.hero{ max-width:960px; margin:0 auto; padding:90px 24px 70px; text-align:center; }
.hero-eyebrow{ display:inline-block; padding:6px 16px; border-radius:999px; background:rgba(212,175,55,.1);
  border:1px solid var(--border2); color:var(--gold); font-size:13px; font-weight:700; letter-spacing:.5px; margin-bottom:24px; }
.hero h1{ font-size:clamp(2.2rem, 5vw, 3.6rem); font-weight:800; line-height:1.15; margin-bottom:20px; }
.hero p{ font-size:1.15rem; color:var(--muted); max-width:640px; margin:0 auto 34px; }
.hero-ctas{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* ---------- sections / feature grid ---------- */
.section{ max-width:1100px; margin:0 auto; padding:70px 24px; }
.section-head{ text-align:center; max-width:600px; margin:0 auto 48px; }
.section-head .eyebrow{ color:var(--gold); font-weight:700; font-size:13px; letter-spacing:1px; text-transform:uppercase; margin-bottom:10px; }
.section-head h2{ font-size:clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom:12px; }
.section-head p{ color:var(--muted); font-size:1.05rem; }

.feature-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(260px, 1fr)); gap:20px; }
.feature-card{ background:var(--card); border:1px solid var(--border); border-radius:var(--radius); padding:28px 24px;
  transition:border-color .15s, transform .15s; }
.feature-card:hover{ border-color:var(--border2); transform:translateY(-3px); }
.feature-icon{ width:52px; height:52px; border-radius:14px; background:rgba(212,175,55,.1);
  display:flex; align-items:center; justify-content:center; font-size:24px; margin-bottom:16px; }
.feature-card h3{ font-size:1.1rem; margin-bottom:8px; font-family:'Inter',sans-serif; font-weight:700; }
.feature-card p{ color:var(--muted); font-size:14.5px; }

.stat-strip{ display:flex; justify-content:center; gap:0; flex-wrap:wrap; background:var(--card);
  border:1px solid var(--border); border-radius:var(--radius); padding:32px 20px; }
.stat-strip .stat{ flex:1; min-width:150px; text-align:center; padding:12px; }
.stat-strip .stat .v{ font-family:'Playfair Display',serif; font-size:2rem; font-weight:800; color:var(--gold); }
.stat-strip .stat .k{ color:var(--muted); font-size:13px; margin-top:4px; }

.cta-band{ text-align:center; background:linear-gradient(135deg, rgba(212,175,55,.12), rgba(232,160,191,.08));
  border:1px solid var(--border2); border-radius:24px; padding:60px 24px; margin:0 24px; }
.cta-band h2{ font-size:clamp(1.6rem, 3vw, 2.2rem); margin-bottom:14px; }
.cta-band p{ color:var(--muted); margin-bottom:28px; }

/* ---------- contact page / form ---------- */
.contact-wrap{ max-width:640px; margin:0 auto; padding:60px 24px 90px; }
.contact-card{ background:var(--card); border:1px solid var(--border); border-radius:var(--radius); padding:32px; }
.type-grid{ display:grid; grid-template-columns:repeat(2, 1fr); gap:10px; margin-bottom:20px; }
.type-btn{ background:var(--surface); border:1.5px solid var(--border); border-radius:12px; padding:14px 10px;
  text-align:center; font-size:13.5px; font-weight:600; color:var(--muted); }
.type-btn.selected{ border-color:var(--gold); color:var(--gold); background:rgba(212,175,55,.08); }

label{ display:block; font-size:12px; letter-spacing:.5px; text-transform:uppercase; color:var(--muted); margin-bottom:6px; font-weight:700; }
input[type=text], input[type=email], textarea, select{
  width:100%; background:var(--surface); border:1.5px solid var(--border); border-radius:10px;
  padding:13px 14px; color:var(--text); margin-bottom:18px; font-family:inherit; font-size:14.5px; }
textarea{ resize:vertical; min-height:130px; }
input:focus, textarea:focus, select:focus{ outline:none; border-color:var(--gold); }

.alert{ padding:14px 16px; border-radius:10px; font-size:14px; margin-bottom:18px; }
.alert-success{ background:rgba(109,217,140,.1); border:1px solid rgba(109,217,140,.35); color:var(--green); }
.alert-error{ background:rgba(255,112,112,.1); border:1px solid rgba(255,112,112,.35); color:var(--red); }

/* honeypot - visually hidden, but present in the DOM for basic bots to
   trip over; real users never see or fill it in. */
.hp-field{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

/* ---------- footer ---------- */
.site-footer{ border-top:1px solid var(--border); margin-top:40px; }
.footer-inner{ max-width:1100px; margin:0 auto; padding:40px 24px; text-align:center; }
.footer-brand{ font-weight:800; font-size:1.15rem; margin-bottom:14px; }
.footer-links{ display:flex; justify-content:center; gap:20px; flex-wrap:wrap; margin-bottom:16px; font-size:14px; }
.footer-links a:hover{ color:var(--gold); }
.footer-copy{ font-size:12.5px; max-width:520px; margin:0 auto; }
.footer-copy a{ color:var(--gold); }
.footer-legal{ font-size:11.5px; max-width:520px; margin:8px auto 0; opacity:.75; }

@media (max-width: 720px){
  .nav-toggle{ display:block; }
  .nav-links{ position:absolute; top:64px; left:0; right:0; background:rgba(7,7,14,.98); flex-direction:column;
    align-items:stretch; padding:12px; border-bottom:1px solid var(--border); display:none; }
  .nav-links.open{ display:flex; }
  .nav-links a{ padding:12px 14px; }
  .type-grid{ grid-template-columns:1fr; }
  .cta-band{ margin:0 12px; }
}
