/* =====================================================================
   Kiozap marketing site — site.css
   Brand palette: Ink violet #120A29, Pink #FF3D81, Blue #4C8DFF,
   Lime #C6FF3D, Purple #7B2FF7 — same system as the admin dashboard.
   ===================================================================== */

:root {
  --bg:        #0E081F;
  --bg-alt:    #150C36;
  --card:      #1A1240;
  --card-2:    #201748;
  --border:    #2C2359;
  --text:      #F0EEFA;
  --muted:     #9C93C0;
  --pink:      #FF3D81;
  --blue:      #4C8DFF;
  --lime:      #C6FF3D;
  --purple:    #7B2FF7;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
a { color: var(--blue); text-decoration: none; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; margin: 0; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
section { padding: 84px 0; }
img { max-width: 100%; display: block; }

/* ---------------------------------------------------------------- */
/* Header                                                             */
/* ---------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 8, 31, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.site-logo img { height: 34px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { color: var(--text); font-size: 14px; font-weight: 600; }
.site-nav a:hover { color: var(--pink); }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 8px; color: #fff; padding: 8px 10px; cursor: pointer; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: 10px; padding: 13px 22px; font-size: 14.5px; font-weight: 700;
  cursor: pointer; font-family: inherit; text-decoration: none;
}
.btn-primary { background: linear-gradient(135deg, var(--pink), var(--purple)); color: #fff; }
.btn-primary:hover { opacity: 0.92; text-decoration: none; }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--purple); text-decoration: none; }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 28px; font-size: 16px; }

/* ---------------------------------------------------------------- */
/* Hero                                                               */
/* ---------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(circle at 20% 0%, #2A1B5C, var(--bg) 60%);
  padding: 96px 0 70px;
}
.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(2px); opacity: 0.55; pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; background: #1A1140; border: 1px solid var(--border);
  border-radius: 20px; padding: 7px 16px; font-size: 12.5px; font-weight: 700; color: var(--lime); margin-bottom: 22px;
}
.hero h1 { font-size: 46px; font-weight: 700; max-width: 720px; line-height: 1.15; }
.hero h1 .accent {
  background: linear-gradient(135deg, var(--pink), var(--purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero p.lead { font-size: 17px; color: var(--muted); max-width: 600px; margin: 22px 0 32px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 64px; }
.stat-chip { background: rgba(26,18,64,0.7); border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.stat-chip .icon {
  width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; color: #120A29; margin-bottom: 12px;
}
.stat-chip .num { font-size: 22px; font-weight: 800; font-family: Georgia, serif; }
.stat-chip .lbl { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ---------------------------------------------------------------- */
/* Generic section heading                                            */
/* ---------------------------------------------------------------- */
.section-head { max-width: 640px; margin: 0 auto 50px; text-align: center; }
.section-head .eyebrow { color: var(--pink); font-size: 12.5px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.section-head h2 { font-size: 32px; margin-top: 10px; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 15.5px; }

/* ---------------------------------------------------------------- */
/* Problem / feature cards                                            */
/* ---------------------------------------------------------------- */
.card-grid { display: grid; gap: 20px; }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.feature-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 26px;
}
.feature-card .icon {
  width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 16px; color: #120A29; font-weight: 800;
}
.feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------------------------------------------------------------- */
/* How it works — 3 stage flow                                        */
/* ---------------------------------------------------------------- */
.flow-row { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 50px; }
.flow-stage { text-align: center; width: 210px; }
.flow-stage .badge-circle {
  width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 16px; display: flex; align-items: center;
  justify-content: center; font-size: 32px; color: #120A29; font-weight: 800;
}
.flow-stage h4 { font-size: 15px; margin-bottom: 6px; }
.flow-stage p { font-size: 13px; color: var(--muted); margin: 0; }
.flow-arrow { color: var(--border); font-size: 26px; }

/* ---------------------------------------------------------------- */
/* CTA banner                                                          */
/* ---------------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(120deg, #2A1B5C, #4a1f5c);
  border-radius: 22px; padding: 54px 40px; text-align: center;
}
.cta-banner h2 { font-size: 28px; margin-bottom: 12px; }
.cta-banner p { color: #D9CFF3; max-width: 520px; margin: 0 auto 26px; }

/* ---------------------------------------------------------------- */
/* Signup form                                                        */
/* ---------------------------------------------------------------- */
.signup-section { background: var(--bg-alt); }
.signup-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.signup-copy h2 { font-size: 30px; margin-bottom: 16px; }
.signup-copy ul { list-style: none; padding: 0; margin: 24px 0 0; }
.signup-copy li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; font-size: 14.5px; color: var(--muted); }
.signup-copy li .tick { color: var(--lime); font-weight: 800; }

.signup-card { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 32px; }
.form-group { margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group label { display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 13px; border-radius: 9px; border: 1px solid var(--border);
  background: var(--bg); color: var(--text); font-size: 14px; font-family: inherit;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--purple); }
.form-group textarea { resize: vertical; min-height: 80px; }

.captcha-row { display: flex; align-items: center; gap: 12px; }
.captcha-row img { border-radius: 8px; border: 1px solid var(--border); }
.captcha-refresh { background: none; border: 1px solid var(--border); color: var(--muted); border-radius: 8px; padding: 6px 10px; cursor: pointer; font-size: 12px; }

.hp-field { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; width: 0; }

.form-alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 18px; font-size: 13.5px; }
.form-alert-success { background: rgba(198,255,61,0.12); color: var(--lime); border: 1px solid rgba(198,255,61,0.3); }
.form-alert-error { background: rgba(255,107,107,0.12); color: #FF6B6B; border: 1px solid rgba(255,107,107,0.3); }

/* ---------------------------------------------------------------- */
/* Footer                                                              */
/* ---------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--border); padding: 46px 0 30px; }
.site-footer .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.site-footer img { height: 26px; }
.site-footer p { color: var(--muted); font-size: 13px; margin: 0; }

/* ---------------------------------------------------------------- */
/* Responsive                                                          */
/* ---------------------------------------------------------------- */
@media (max-width: 900px) {
  .site-nav { position: fixed; top: 74px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: flex-start; padding: 20px 24px; display: none; gap: 16px; }
  .site-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .hero h1 { font-size: 32px; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .card-grid.cols-3, .card-grid.cols-2 { grid-template-columns: 1fr; }
  .signup-wrap { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .flow-row { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); }
}
