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

:root {
  --primary: #6c63ff;
  --primary-dark: #4b44cc;
  --accent: #ff6584;
  --bg-dark: #0d0d1a;
  --bg-card: #161628;
  --bg-card2: #1e1e38;
  --text: #e8e8f5;
  --text-muted: #9090b8;
  --border: #2a2a50;
  --success: #4ade80;
  --warning: #facc15;
  --danger: #f87171;
  --radius: 14px;
  --shadow: 0 8px 32px rgba(108,99,255,0.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
}

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

/* ===== NAV ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(13,13,26,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-size: 1.5rem; font-weight: 800; letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.nav-logo span { font-weight: 400; opacity: 0.7; font-size: 0.95rem; -webkit-text-fill-color: var(--text-muted); }

.nav-links { display: flex; gap: 1.8rem; list-style: none; }
.nav-links a { color: var(--text-muted); font-size: 0.92rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

.nav-cta {
  background: var(--primary); color: #fff !important;
  padding: 0.45rem 1.2rem; border-radius: 8px; transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--primary-dark) !important; text-decoration: none !important; }

/* ===== HERO ===== */
#hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(108,99,255,0.22) 0%, transparent 70%);
  position: relative; overflow: hidden;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(108,99,255,0.15); border: 1px solid rgba(108,99,255,0.35);
  color: var(--primary); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 0.35rem 1rem; border-radius: 100px; margin-bottom: 1.6rem;
}

.hero-badge::before { content: "✦"; font-size: 0.7rem; }

#hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 900; letter-spacing: -2px; line-height: 1.08;
  margin-bottom: 1rem;
}

.gradient-text {
  background: linear-gradient(135deg, #fff 30%, var(--primary) 70%, var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.hero-slogan {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--text-muted); margin-bottom: 2.4rem; font-style: italic;
}

.hero-slogan em { color: var(--primary); font-style: normal; font-weight: 600; }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 2rem; border-radius: 10px; font-weight: 700;
  font-size: 1rem; cursor: pointer; border: none; transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; box-shadow: 0 4px 20px rgba(108,99,255,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(108,99,255,0.5); text-decoration: none; color: #fff; }

.btn-outline {
  background: transparent; color: var(--text);
  border: 2px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; transform: translateY(-2px); }

.btn-track {
  background: transparent; color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-track:hover { background: rgba(255,101,132,0.12); border-color: var(--accent); color: var(--accent); text-decoration: none; transform: translateY(-2px); }

/* ===== SECTIONS ===== */
section { padding: 5rem 2rem; }

.container { max-width: 1100px; margin: 0 auto; }

.section-tag {
  display: inline-block; color: var(--primary); font-size: 0.78rem;
  font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.8rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; letter-spacing: -0.5px; margin-bottom: 1rem;
}

.section-subtitle { color: var(--text-muted); font-size: 1.05rem; max-width: 620px; margin-bottom: 3rem; }

/* ===== WHY CHOOSE US ===== */
#why { background: var(--bg-card2); }

.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.8rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.feature-icon {
  font-size: 2rem; background: rgba(108,99,255,0.12); width: 56px; height: 56px;
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
}

.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.feature-card p { color: var(--text-muted); font-size: 0.9rem; }

/* ===== WHAT IS SIDELOADING ===== */
#sideloading .two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start;
}

.info-block { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }
.info-block h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 1.2rem; }

.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }

.pro-list, .con-list { background: var(--bg-card); border-radius: var(--radius); padding: 1.6rem; border: 1px solid var(--border); }
.pro-list { border-top: 3px solid var(--success); }
.con-list { border-top: 3px solid var(--danger); }

.pro-list h4 { color: var(--success); font-weight: 700; margin-bottom: 1rem; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; }
.con-list h4 { color: var(--danger); font-weight: 700; margin-bottom: 1rem; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; }

.pro-list li, .con-list li {
  list-style: none; padding: 0.35rem 0;
  font-size: 0.92rem; color: var(--text-muted);
  display: flex; gap: 0.6rem; align-items: flex-start;
}
.pro-list li::before { content: "✓"; color: var(--success); font-weight: 700; flex-shrink: 0; }
.con-list li::before { content: "✗"; color: var(--danger); font-weight: 700; flex-shrink: 0; }

/* ===== P12 & SIGNER ===== */
#p12-signer { background: var(--bg-card2); }

.cards-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

.info-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
}

.info-card .card-icon {
  font-size: 2.2rem; margin-bottom: 1.2rem; display: block;
}

.info-card h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 0.8rem; }
.info-card p { color: var(--text-muted); font-size: 0.93rem; margin-bottom: 0.9rem; }
.info-card ul { list-style: none; margin-top: 0.6rem; }
.info-card ul li {
  padding: 0.3rem 0; font-size: 0.9rem; color: var(--text-muted);
  display: flex; gap: 0.6rem; align-items: flex-start;
}
.info-card ul li::before { content: "→"; color: var(--primary); flex-shrink: 0; }

/* ===== PURCHASE PROCESS ===== */
#purchase { background: var(--bg-dark); }

.steps-container { display: flex; flex-direction: column; gap: 1.5rem; }

.step-card {
  display: flex; gap: 1.5rem; align-items: flex-start;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.8rem;
  transition: border-color 0.2s;
}
.step-card:hover { border-color: var(--primary); }

.step-number {
  flex-shrink: 0; width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem; color: #fff;
}

.step-content h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem; }
.step-content p { color: var(--text-muted); font-size: 0.92rem; }

.step-badge {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  padding: 0.2rem 0.6rem; border-radius: 6px; margin-top: 0.6rem;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.badge-info { background: rgba(108,99,255,0.2); color: var(--primary); }
.badge-warn { background: rgba(250,204,21,0.15); color: var(--warning); }

.warning-box {
  margin-top: 2.5rem; padding: 1.5rem 1.8rem;
  background: rgba(248,113,113,0.08);
  border: 1px solid rgba(248,113,113,0.3);
  border-left: 4px solid var(--danger);
  border-radius: var(--radius);
}

.warning-box h4 {
  color: var(--danger); font-size: 0.9rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 0.7rem;
  display: flex; gap: 0.5rem; align-items: center;
}

.warning-box ul { list-style: none; }
.warning-box ul li {
  color: var(--text-muted); font-size: 0.9rem;
  padding: 0.3rem 0; display: flex; gap: 0.7rem; align-items: flex-start;
}
.warning-box ul li::before { content: "⚠"; color: var(--warning); flex-shrink: 0; }

.guarantee-box {
  margin-top: 1.2rem; padding: 1.5rem 1.8rem;
  background: rgba(74,222,128,0.07);
  border: 1px solid rgba(74,222,128,0.25);
  border-left: 4px solid var(--success);
  border-radius: var(--radius);
}

.guarantee-box h4 {
  color: var(--success); font-size: 0.9rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 0.7rem;
  display: flex; gap: 0.5rem; align-items: center;
}

.guarantee-box p { color: var(--text-muted); font-size: 0.9rem; }

/* ===== INTERESTED (CTA) ===== */
#interested { background: var(--bg-card2); }

.cta-center { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-center .section-subtitle { margin-left: auto; margin-right: auto; }

.interested-form {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2.4rem; margin-top: 2rem;
  text-align: left;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.full { grid-column: 1 / -1; }

.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-dark); border: 1px solid var(--border);
  color: var(--text); border-radius: 8px; padding: 0.7rem 1rem;
  font-size: 0.95rem; font-family: inherit; outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); }

.form-group select option { background: var(--bg-dark); }
.form-group textarea { resize: vertical; min-height: 100px; }

.form-submit { margin-top: 1.5rem; text-align: center; }
.warning-school-email {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(248,113,113,0.12);
  border: 1px solid var(--danger);
  border-radius: var(--radius);
  color: var(--danger);
  font-size: 0.95rem;
}

.btn-interested {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; padding: 0.9rem 2.5rem; font-size: 1.05rem;
  border-radius: 10px; border: none; cursor: pointer; font-weight: 700;
  transition: all 0.2s; box-shadow: 0 4px 20px rgba(108,99,255,0.4);
}
.btn-interested:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(108,99,255,0.55); }

/* ===== FOOTER ===== */
footer {
  background: var(--bg-card); border-top: 1px solid var(--border);
  padding: 2.5rem 2rem; text-align: center;
}

.footer-logo {
  font-size: 1.3rem; font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

footer p { color: var(--text-muted); font-size: 0.88rem; }
footer a { color: var(--primary); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  #sideloading .two-col,
  .cards-row,
  .pros-cons,
  .form-grid { grid-template-columns: 1fr; }
  .step-card { flex-direction: column; }
}
