/* ==========================
   VARIABLES
========================== */
:root {
  --primary: #2563EB;
  --accent: #00C896;
  --bg: #f6f8fb;
  --card: #fff;
  --muted: #6b7280;
  --radius: 12px;
  --maxw: 1100px;
  --shadow: 0 6px 20px rgba(20,36,63,0.04);
}

/* ==========================
   RESET & BASE
========================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.kp-theme {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  background: var(--bg);
  color: #071245;
}

a { text-decoration: none; color: var(--primary); }

/* ==========================
   CONTAINER
========================== */
.kp-container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px;
}

/* ==========================
   HEADER
========================== */
.kp-header {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(4px);
  box-shadow: 0 1px 8px rgba(2,6,23,0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}

.kp-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  height: 48px;
  border-radius: 8px;
}

.brand-text h1 {
  margin: 0;
  font-size: 20px;
  color: var(--primary);
}

.brand-text .tag {
  font-size: 12px;
  color: var(--muted);
}

/* ==========================
   NAVIGATION
========================== */
.nav ul {
  display: flex;
  gap: 12px;
  list-style: none;
}

.nav a {
  font-weight: 600;
}

.nav .nav-btn {
  background: var(--primary);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: 0.3s;
}

.nav .nav-btn:hover {
  background: linear-gradient(90deg, #2b69ff, var(--primary));
}

/* ==========================
   HERO / MAIN
========================== */
.kp-hero {
  padding: 40px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.hero-left h2 {
  font-size: 32px;
  margin-bottom: 12px;
}

.lead {
  color: var(--muted);
  margin-bottom: 18px;
}

/* ==========================
   BUTTONS
========================== */
.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
  text-align: center;
}

.btn.primary {
  background: linear-gradient(90deg, var(--primary), #2b69ff);
  color: #fff;
  transition: 0.3s;
}

.btn.primary:hover {
  filter: brightness(1.1);
}

.btn.outline {
  background: transparent;
  border: 1px solid rgba(37,99,235,0.2);
  color: var(--primary);
}

.btn.small {
  padding: 8px 10px;
  font-size: 14px;
}

/* ==========================
   CARDS
========================== */
.card {
  background: var(--card);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 400px;
  margin: 40px auto;
}

/* ==========================
   FORM ELEMENTS
========================== */
.input-field {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: var(--radius);
  font-size: 14px;
  transition: 0.3s;
}

.input-field:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(37,99,235,0.2);
}

.captcha-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.captcha-text {
  font-weight: bold;
  font-size: 16px;
  letter-spacing: 2px;
  padding: 6px 12px;
  background: #f1f5f9;
  border-radius: 6px;
}

/* ==========================
   ERROR BOX
========================== */
.error-box {
  background: #ffe6e6;
  color: #cc0000;
  padding: 12px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  text-align: left;
}

/* ==========================
   STATS
========================== */
.stats-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.stat {
  background: var(--card);
  padding: 12px;
  border-radius: var(--radius);
  flex: 1;
  min-width: 100px;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-num {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
}

/* ==========================
   FOOTER
========================== */
.kp-footer {
  margin-top: 30px;
  padding: 28px 0;
  background: #fff;
  border-top: 1px solid rgba(2,6,23,0.04);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
}

.footer-links a,
.footer-contact a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  margin: 6px 0;
}

.socials a {
  display: inline-block;
  margin-right: 8px;
  padding: 8px 10px;
  border-radius: var(--radius);
  background: linear-gradient(90deg,#eef7ff,#f1fff7);
  font-weight: 600;
}

/* ==========================
   RESPONSIVE
========================== */
@media (min-width:900px){
  .hero-grid{grid-template-columns:1fr 420px;}
}

@media (max-width:899px){
  .footer-grid{grid-template-columns:1fr;}
  .hero-left h2{font-size:24px;}
}

