:root{
  --bg:#0b1020;
  --card:#ffffff;
  --muted:#6b7280;
  --text:#0f172a;
  --border:#e5e7eb;
  --ring: rgba(99,102,241,.25);

  /* Brand */
  --brand1:#6366f1;  /* indigo */
  --brand2:#3b82f6;  /* blue */
  --brand3:#06b6d4;  /* cyan */
  --brand4:#f59e0b;  /* amber */
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  line-height:1.6;
  color:var(--text);
  background:
    radial-gradient(900px 600px at 20% -10%, rgba(99,102,241,.25), transparent 60%),
    radial-gradient(900px 600px at 90% 10%, rgba(59,130,246,.18), transparent 55%),
    radial-gradient(900px 600px at 60% 110%, rgba(6,182,212,.16), transparent 55%),
    #f7f8fc;
}

.wrap{max-width:1040px;margin:0 auto;padding:18px}
.row{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}

/* Header */
.header{
  position:sticky;top:0;z-index:10;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.78);
  border-bottom:1px solid rgba(229,231,235,.7);
}
.logo{
  font-weight:900;
  letter-spacing:.2px;
  text-decoration:none;
  color:var(--text);
  display:flex;
  align-items:center;
  gap:10px;
}
.logo-badge{
  width:34px;height:34px;border-radius:12px;
  background: linear-gradient(135deg,var(--brand1),var(--brand3));
  box-shadow: 0 10px 24px rgba(99,102,241,.25);
  display:inline-flex;align-items:center;justify-content:center;
  color:#fff;font-weight:900;
}
.nav a{
  text-decoration:none;
  color:#111827;
  padding:10px 12px;
  border-radius:12px;
  transition: .2s ease;
}
.nav a:hover{
  background: rgba(99,102,241,.10);
  color:#111827;
}

/* Hero */
.hero{
  margin:18px 0 10px;
  padding:18px;
  border-radius:18px;
  color:#fff;
  background:
    linear-gradient(135deg, rgba(99,102,241,.92), rgba(6,182,212,.86)),
    radial-gradient(700px 350px at 20% 20%, rgba(255,255,255,.25), transparent 60%);
  box-shadow: 0 18px 40px rgba(15,23,42,.12);
}
.hero h1{margin:0 0 6px;font-size:28px;line-height:1.2}
.hero p{margin:0;color:rgba(255,255,255,.92)}
.hero .chips{margin-top:12px;display:flex;gap:10px;flex-wrap:wrap}
.chip{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 10px;border-radius:999px;
  background: rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.22);
  font-size:13px;
}

/* Layout */
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}
.card{
  background: rgba(255,255,255,.92);
  border:1px solid rgba(229,231,235,.85);
  border-radius:18px;
  padding:16px;
  margin:14px 0;
  box-shadow: 0 10px 30px rgba(15,23,42,.06);
}
.card h2, .card h3{margin:0 0 8px}
.small{font-size:14px;color:var(--muted)}

.kbd{
  font-family:ui-monospace,Menlo,Consolas,monospace;
  font-size:12px;background:#f3f4f6;border:1px solid var(--border);
  padding:2px 6px;border-radius:10px
}

/* Forms */
label{display:block;margin:10px 0 6px;font-weight:700}
input,select,textarea{
  width:100%;
  padding:12px 12px;
  border:1px solid rgba(229,231,235,.95);
  border-radius:14px;
  outline:none;
  background:#fff;
  transition: .2s ease;
}
input:focus,select:focus,textarea:focus{
  border-color: rgba(99,102,241,.65);
  box-shadow: 0 0 0 6px var(--ring);
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border:none;
  border-radius:14px;
  padding:12px 14px;
  text-decoration:none;
  cursor:pointer;
  font-weight:800;
  color:#fff;
  background: linear-gradient(135deg,var(--brand1),var(--brand3));
  box-shadow: 0 16px 30px rgba(99,102,241,.22);
  transition: transform .12s ease, box-shadow .2s ease;
}
.btn:hover{transform: translateY(-1px); box-shadow: 0 18px 38px rgba(99,102,241,.26)}
.btn.secondary{
  background: linear-gradient(135deg, rgba(17,24,39,.92), rgba(31,41,55,.92));
  box-shadow: 0 16px 30px rgba(15,23,42,.16);
}
.btn.ghost{
  color:#111827;
  background: rgba(99,102,241,.10);
  border:1px solid rgba(99,102,241,.20);
  box-shadow:none;
}
.btn.ghost:hover{background: rgba(99,102,241,.14)}

/* Make sure buttons inside cards have spacing */
.card button.btn{ margin-top:10px; }
.card .grid{ align-items:start; }

/* Results */
.result{
  padding:14px;
  border-radius:16px;
  border:1px dashed rgba(99,102,241,.55);
  background:
    linear-gradient(180deg, rgba(99,102,241,.08), rgba(6,182,212,.06));
  margin-top:12px;
  min-height:48px;
}

/* Footer */
.footer{
  margin-top:34px;
  border-top:1px solid rgba(229,231,235,.8);
  background: rgba(255,255,255,.7);
}
.footer a{color:#1f2937}

/* =========================
   Contact Page (Blue theme)
   ========================= */
.contact-section{ margin-top:20px; }

.contact-box{
  background: linear-gradient(135deg,#4f46e5,#3b82f6);
  padding:30px;
  border-radius:20px;
  color:#fff;
  box-shadow:0 20px 50px rgba(59,130,246,.35);
  text-align:center;
  transition:.3s ease;
}
.contact-box:hover{
  transform: translateY(-5px);
  box-shadow:0 25px 60px rgba(59,130,246,.45);
}
.contact-btn{
  display:inline-block;
  margin-top:15px;
  padding:12px 22px;
  border-radius:30px;
  background:#fff;
  color:#1e3a8a;
  font-weight:800;
  text-decoration:none;
  transition:.3s ease;
}
.contact-btn:hover{
  background:#1e3a8a;
  color:#fff;
}

/* Make the “small” line readable on gradient */
.contact-box p.small{
  margin-top:18px;
  font-size:14px;
  color:rgba(255,255,255,.92);
  line-height:1.6;
}
.contact-box p.small strong{ color:#fff; }

.site-footer {
    text-align: center;
    padding: 20px 10px;
    background: #f8f9fa;
    font-size: 14px;
}

.footer-links {
    margin-top: 8px;
}

.footer-links a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
}

.footer-links a:hover {
    color: #007bff;
}