/* ========== Base ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #1e1e1e;
  color: #f0ede8;
  font-family: 'DM Sans', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: #8b3f6c; color: #fff; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #1e1e1e; }
::-webkit-scrollbar-thumb { background: #8b3f6c; border-radius: 3px; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ========== Animations ========== */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes spin-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes spin-rev { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fade-up 0.8s ease both; }

/* ========== Nav ========== */
nav.app-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  background: #1e1e1e;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
  overflow: visible;
}
nav.app-nav.scrolled {
  border-bottom-color: rgba(139, 63, 108, 0.25);
}
.nav-inner { max-width: 1140px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 161px; overflow: visible; }
.nav-logo { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.nav-logo img { border-radius: 50%; display: block; }
.nav-logo .brand { font-family: 'Rajdhani', sans-serif; font-weight: 600; font-size: 19px; letter-spacing: 2px; text-transform: uppercase; }
.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-links a {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500; font-size: 20px; letter-spacing: 1.5px;
  text-transform: uppercase; color: #9a9896; cursor: pointer;
  background: none; border: none; padding: 0; transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }

/* ========== Buttons ========== */
.btn {
  font-family: 'Rajdhani', sans-serif; font-weight: 600; font-size: 14px;
  letter-spacing: 2px; text-transform: uppercase;
  border: none; border-radius: 3px; cursor: pointer;
  transition: all 0.2s; padding: 13px 30px;
}
.btn-primary { background: #8b3f6c; color: #fff; }
.btn-primary:hover { background: #b05490; transform: translateY(-2px); }
.btn-primary:disabled { background: rgba(139, 63, 108, 0.55); cursor: wait; transform: none; }
.btn-outline { background: transparent; color: #9a9896; border: 1px solid rgba(154, 152, 150, 0.5); }
.btn-outline:hover { border-color: #fff; color: #fff; }
.btn-nav { background: #8b3f6c; color: #fff; padding: 10px 24px; border-radius: 3px; }
.btn-nav:hover { background: #b05490; }

/* ========== Section base ========== */
section { padding: 80px clamp(1.5rem, 5vw, 4rem); }
.inner { max-width: 1140px; margin: 0 auto; }
.section-label {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Rajdhani', sans-serif; font-size: 12px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase; color: #8b3f6c;
  margin-bottom: 14px;
}
.section-label::before { content: ''; width: 24px; height: 1px; background: #8b3f6c; display: inline-block; }
h1, h2, h3 { font-family: 'Rajdhani', sans-serif; font-weight: 700; letter-spacing: -0.5px; }
.mauve { color: #8b3f6c; }
.muted { color: #9a9896; }

/* ========== Hero ========== */
#hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding-top: 161px;
}
.hero-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 65% 55% at 65% 50%, rgba(139, 63, 108, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.grid-bg { position: absolute; inset: 0; opacity: 0.04; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 4rem; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(139, 63, 108, 0.15); border: 1px solid rgba(139, 63, 108, 0.4);
  border-radius: 20px; padding: 6px 14px; margin-bottom: 24px;
}
.hero-badge .dot { width: 6px; height: 6px; background: #8b3f6c; border-radius: 50%; animation: pulse 2s infinite; }
.hero-badge .label {
  font-family: 'Rajdhani', sans-serif; font-size: 11px;
  letter-spacing: 2px; text-transform: uppercase; color: #b05490;
}
h1 { font-size: clamp(2.6rem, 4.5vw, 4rem); line-height: 1.05; margin-bottom: 20px; }
.hero-sub { font-size: 17px; color: #9a9896; line-height: 1.85; max-width: 430px; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-graphic { display: flex; justify-content: center; align-items: center; }
.spin-slow { animation: spin-slow 22s linear infinite; transform-origin: 150px 150px; }
.spin-rev-slow { animation: spin-rev 15s linear infinite; transform-origin: 150px 150px; }

/* ========== Hero animated slide theme colours ========== */
.h-arc-grey { stroke: #ffffff; }
.h-slide-top { fill: #ffffff; }
body.light .h-arc-grey { stroke: #3A3A3A; }
body.light .h-slide-top { fill: #1e1e1e; }

/* ========== Hero cycler text slides ========== */
.hero-cycler { display: flex; justify-content: center; align-items: center; width: 416px; height: 416px; }

/* ========== Services ========== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card {
  background: rgba(45, 45, 45, 0.7); border: 1px solid #3a3a3a;
  border-radius: 6px; padding: 28px; transition: all 0.3s ease;
  position: relative; overflow: hidden;
}
.svc-card:hover { background: #3a3a3a; border-color: rgba(139, 63, 108, 0.6); transform: translateY(-5px); }
.svc-card:hover .card-line { opacity: 1; }
.card-line {
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #8b3f6c, transparent);
  opacity: 0; transition: opacity 0.3s;
}
.svc-icon { margin-bottom: 16px; display: block; }
.svc-card h3 { font-size: 18px; font-weight: 600; letter-spacing: 0.3px; margin-bottom: 10px; color: #f0ede8; }
.svc-card p { font-size: 14px; color: #9a9896; line-height: 1.75; }

/* ========== Why ========== */
#why { background: rgba(45, 45, 45, 0.4); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.why-text p { font-size: 15px; color: #9a9896; line-height: 1.9; margin-bottom: 16px; }
h2.big { font-size: clamp(2rem, 3.5vw, 2.8rem); margin-bottom: 20px; line-height: 1.1; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card {
  background: #3a3a3a; border: 1px solid rgba(139, 63, 108, 0.25);
  border-radius: 6px; padding: 24px; text-align: center;
}
.stat-num { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 36px; color: #8b3f6c; margin-bottom: 4px; }
.stat-label { font-family: 'Rajdhani', sans-serif; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #f0ede8; margin-bottom: 6px; }
.stat-desc { font-size: 12px; color: #9a9896; line-height: 1.5; }

/* ========== Payments ========== */
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.pay-controls { background: #2d2d2d; border: 1px solid rgba(139, 63, 108, 0.35); border-radius: 8px; padding: 32px; }
.slider-block { margin-bottom: 28px; }
.slider-block:last-child { margin-bottom: 0; }
.slider-label {
  font-family: 'Rajdhani', sans-serif; font-size: 12px; letter-spacing: 2px;
  text-transform: uppercase; color: #9a9896; display: block; margin-bottom: 12px;
}
.slider-label .val { color: #f0ede8; }
input[type=range] { width: 100%; accent-color: #8b3f6c; cursor: pointer; height: 4px; }
.slider-ends { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11px; color: #9a9896; }
.pay-results { display: flex; flex-direction: column; gap: 14px; }
.pay-row {
  border-radius: 6px; padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.pay-row.accent { background: rgba(139, 63, 108, 0.15); border: 1px solid rgba(139, 63, 108, 0.6); }
.pay-row.normal { background: #3a3a3a; border: 1px solid #3a3a3a; }
.pay-row-label { font-family: 'Rajdhani', sans-serif; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: #9a9896; }
.pay-row-val { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 26px; }
.pay-row.accent .pay-row-val { color: #b05490; }
.pay-row.normal .pay-row-val { color: #f0ede8; }
.pay-disclaimer { font-size: 12px; color: #9a9896; line-height: 1.7; margin-top: 4px; }

/* ========== Contact ========== */
#contact { background: rgba(45, 45, 45, 0.4); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; }
.contact-info p { font-size: 15px; color: #9a9896; line-height: 1.9; margin-bottom: 28px; }
.contact-item { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.contact-dot { width: 8px; height: 8px; border-radius: 50%; background: #8b3f6c; flex-shrink: 0; }
.contact-item .lbl { font-family: 'Rajdhani', sans-serif; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #9a9896; margin-bottom: 2px; }
.contact-item .val { font-size: 14px; color: #f0ede8; }
.contact-form {
  background: #2d2d2d; border: 1px solid rgba(139, 63, 108, 0.25);
  border-radius: 8px; padding: 32px;
  display: flex; flex-direction: column; gap: 18px;
}
.form-field label {
  font-family: 'Rajdhani', sans-serif; font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; color: #9a9896; display: block; margin-bottom: 8px;
}
.form-field input, .form-field textarea, .form-field select {
  width: 100%; background: #3a3a3a; border: 1px solid #3a3a3a;
  border-radius: 4px; padding: 11px 14px; font-size: 14px; color: #f0ede8;
  outline: none; transition: border-color 0.2s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: #8b3f6c; }
.form-field textarea { resize: vertical; }
.form-field select option { background: #2d2d2d; }
.form-error {
  background: #5a1f1f; border: 1px solid #a32d2d; border-radius: 4px;
  padding: 10px 14px; font-size: 13px; color: #f7c1c1;
}
.success-state { text-align: center; padding: 24px 0; }
.success-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(139, 63, 108, 0.2); border: 2px solid #8b3f6c;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; color: #b05490; font-size: 24px; font-weight: 600;
}

/* ========== Footer ========== */
footer { background: #1e1e1e; border-top: 1px solid #3a3a3a; padding: 4px clamp(1.5rem, 5vw, 4rem); }
.footer-inner {
  max-width: 1140px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo img { border-radius: 50%; display: block; }
.footer-logo span { font-family: 'Rajdhani', sans-serif; font-weight: 600; font-size: 15px; letter-spacing: 2px; text-transform: uppercase; }
.footer-copy { font-size: 12px; color: #9a9896; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 12px; color: #9a9896; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }

/* ========== Theme toggle button ========== */
.theme-toggle {
  background: none; border: 1px solid rgba(154,152,150,0.4); border-radius: 6px;
  color: #9a9896; cursor: pointer; padding: 6px 8px; display: flex; align-items: center;
  transition: color 0.2s, border-color 0.2s;
}
.theme-toggle:hover { color: #fff; border-color: #fff; }

/* ========== Logo — swap between dark/light variants ========== */
img.logo-light-mode, image.logo-light-mode { display: none !important; }
body.light img.logo-dark-mode, body.light image.logo-dark-mode { display: none !important; }
body.light img.logo-light-mode, body.light image.logo-light-mode { display: block !important; }

/* ========== Light mode ========== */
body.light {
  background: #f5f3f0;
  color: #1e1e1e;
}
body.light ::-webkit-scrollbar-track { background: #f5f3f0; }
body.light ::selection { background: #8b3f6c; color: #fff; }

body.light nav.app-nav {
  background: #f5f3f0;
}
body.light .nav-links a { color: #5a5856; }
body.light .nav-links a:hover { color: #1e1e1e; }
body.light .theme-toggle { color: #5a5856; border-color: rgba(90,88,86,0.4); }
body.light .theme-toggle:hover { color: #1e1e1e; border-color: #1e1e1e; }

body.light .hero-glow {
  background: radial-gradient(ellipse 65% 55% at 65% 50%, rgba(139,63,108,0.08) 0%, transparent 70%);
}
body.light .grid-bg { opacity: 0.06; }
body.light .grid-bg path { stroke: #1e1e1e; }
body.light .hero-sub { color: #5a5856; }
body.light .hero-badge { background: rgba(139,63,108,0.1); border-color: rgba(139,63,108,0.35); }
body.light .btn-outline { color: #5a5856; border-color: rgba(90,88,86,0.5); }
body.light .btn-outline:hover { border-color: #1e1e1e; color: #1e1e1e; }

body.light .hero-text-slide {
  background: radial-gradient(ellipse at center, rgba(139,63,108,0.07) 0%, transparent 70%);
  border-color: rgba(139,63,108,0.25);
}
body.light .hero-slide-top { color: #1e1e1e; }

body.light .section-label { color: #8b3f6c; }
body.light .muted { color: #5a5856; }

body.light .svc-card {
  background: rgba(255,255,255,0.85);
  border-color: #dedad6;
}
body.light .svc-card:hover { background: #fff; border-color: rgba(139,63,108,0.5); }
body.light .svc-card h3 { color: #1e1e1e; }
body.light .svc-card p { color: #5a5856; }

body.light #why { background: rgba(220,216,210,0.5); }
body.light .why-text p { color: #5a5856; }
body.light .stat-card { background: #fff; border-color: rgba(139,63,108,0.2); }
body.light .stat-label { color: #1e1e1e; }
body.light .stat-desc { color: #5a5856; }

body.light .pay-controls { background: #fff; border-color: rgba(139,63,108,0.3); }
body.light .slider-label { color: #5a5856; }
body.light .slider-label .val { color: #1e1e1e; }
body.light .slider-ends { color: #5a5856; }
body.light .pay-row.normal { background: #ede9e4; border-color: #ede9e4; }
body.light .pay-row.normal .pay-row-val { color: #1e1e1e; }
body.light .pay-row-label { color: #5a5856; }
body.light .pay-disclaimer { color: #5a5856; }

body.light #contact { background: rgba(220,216,210,0.5); }
body.light .contact-info p { color: #5a5856; }
body.light .contact-item .lbl { color: #5a5856; }
body.light .contact-item .val { color: #1e1e1e; }
body.light .contact-form { background: #fff; border-color: rgba(139,63,108,0.2); }
body.light .form-field label { color: #5a5856; }
body.light .form-field input,
body.light .form-field textarea,
body.light .form-field select {
  background: #f5f3f0; border-color: #dedad6; color: #1e1e1e;
}
body.light .form-field input:focus,
body.light .form-field textarea:focus,
body.light .form-field select:focus { border-color: #8b3f6c; }
body.light .form-field select option { background: #fff; }
body.light .form-error { background: #fde8e8; border-color: #e08080; color: #8b1a1a; }
body.light .success-icon { background: rgba(139,63,108,0.1); }

body.light footer { background: #ede9e4; border-top-color: #dedad6; }
body.light .footer-copy { color: #5a5856; }
body.light .footer-links a { color: #5a5856; }
body.light .footer-links a:hover { color: #1e1e1e; }

/* ========== Responsive ========== */
@media (max-width: 800px) {
  .hero-grid, .why-grid, .pay-grid, .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
  .services-grid { grid-template-columns: 1fr !important; }
  .nav-links { gap: 1rem; }
  .nav-links a:not(.btn-nav) { display: none; }
  section { padding: 60px clamp(1.25rem, 5vw, 3rem); }
  h1 { font-size: 2.6rem !important; }
}
@media (max-width: 1100px) and (min-width: 801px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
