:root {
  --bg: #0a0b14;
  --bg-soft: #12131f;
  --card: #161827;
  --text: #eef0f7;
  --muted: #9aa0b5;
  --accent: #6c5ce7;
  --accent-2: #00d2d3;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 18px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand { font-family: 'Sora', sans-serif; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-2);
  margin-bottom: 0.75rem;
}

.accent {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 6vw;
  background: rgba(10, 11, 20, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.brand {
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text);
  text-decoration: none;
}
.dot { color: var(--accent-2); }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #fff !important;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  text-align: center;
  padding: 8rem 6vw 6rem;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.35), transparent 60%);
  filter: blur(40px);
  z-index: -1;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.lead {
  max-width: 620px;
  margin: 0 auto 2.2rem;
  color: var(--muted);
  font-size: 1.15rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 10px 30px rgba(108, 92, 231, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(108, 92, 231, 0.5); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--accent-2); }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: 'Sora'; font-size: 2rem; color: var(--text); }
.hero-stats span { color: var(--muted); font-size: 0.85rem; }

/* Section heads */
.section-head { text-align: center; max-width: 620px; margin: 0 auto 3.5rem; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 0.75rem; }
.section-sub { color: var(--muted); }

/* Services */
.services { padding: 6rem 6vw; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem;
  transition: transform 0.25s, border-color 0.25s;
}
.card:hover { transform: translateY(-6px); border-color: var(--accent); }
.card-featured {
  background: linear-gradient(160deg, rgba(108, 92, 231, 0.18), var(--card));
  border-color: rgba(108, 92, 231, 0.4);
}
.card-icon { font-size: 2rem; margin-bottom: 1rem; }
.card h3 { font-size: 1.3rem; margin-bottom: 0.75rem; }
.card p { color: var(--muted); margin-bottom: 1.2rem; }
.card ul { list-style: none; }
.card li {
  color: var(--text);
  padding: 0.4rem 0;
  padding-left: 1.4rem;
  position: relative;
  font-size: 0.92rem;
}
.card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-2);
  font-weight: 700;
}

/* Approach */
.approach { padding: 6rem 6vw; background: var(--bg-soft); }
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.steps li {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.step-num {
  font-family: 'Sora';
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.5;
}
.steps h4 { margin: 0.5rem 0; font-size: 1.2rem; }
.steps p { color: var(--muted); font-size: 0.95rem; }

/* About */
.about { padding: 6rem 6vw; }
.about-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.about h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 1.5rem; }
.about p { color: var(--muted); font-size: 1.1rem; margin-bottom: 1.2rem; }

/* Contact */
.contact { padding: 4rem 6vw 6rem; }
.contact-card {
  max-width: 640px;
  margin: 0 auto;
  background: linear-gradient(160deg, rgba(0, 210, 211, 0.08), var(--card));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
}
.contact-card h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 0.75rem; }
.contact-form { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; text-align: left; }
.field-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.field-row input { flex: 1; min-width: 160px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-2);
}
.contact-form .btn { margin-top: 0.5rem; }
.form-note { font-size: 0.9rem; color: var(--accent-2); text-align: center; min-height: 1.2rem; }

/* Footer */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 2.5rem 6vw;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}
.footer .brand { font-size: 1.1rem; }
.back-top { color: var(--muted); text-decoration: none; }
.back-top:hover { color: var(--text); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s, transform 0.6s; }
.reveal.visible { opacity: 1; transform: none; }

/* ===================== Blog ===================== */
.blog-hero {
  text-align: center;
  padding: 6rem 6vw 3rem;
}
.blog-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 0.75rem; }

/* Blog index — list of posts */
.post-list {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 6vw 6rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.post-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform 0.2s, border-color 0.2s;
}
.post-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.post-card .post-meta { color: var(--accent-2); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; }
.post-card h2 { font-size: 1.4rem; margin: 0.4rem 0 0.5rem; }
.post-card p { color: var(--muted); }
.post-card .read-more { color: var(--accent-2); font-weight: 600; margin-top: 0.8rem; display: inline-block; }

/* Single post — readable article column */
.article {
  max-width: 720px;
  margin: 0 auto;
  padding: 5rem 6vw 6rem;
}
.article .post-meta { color: var(--accent-2); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; }
.article h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0.5rem 0 1.5rem; line-height: 1.15; }
.article h2 { font-size: 1.6rem; margin: 2.5rem 0 0.8rem; }
.article h3 { font-size: 1.25rem; margin: 2rem 0 0.6rem; }
.article p { color: var(--muted); font-size: 1.1rem; margin-bottom: 1.3rem; }
.article ul, .article ol { color: var(--muted); font-size: 1.1rem; margin: 0 0 1.3rem 1.3rem; }
.article li { margin-bottom: 0.5rem; }
.article a { color: var(--accent-2); }
.article blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 1.2rem;
  margin: 1.5rem 0;
  color: var(--text);
  font-style: italic;
}
.back-link { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.back-link:hover { color: var(--text); }
.post-cta {
  margin-top: 3rem;
  padding: 2rem;
  text-align: center;
  background: linear-gradient(160deg, rgba(108, 92, 231, 0.18), var(--card));
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.post-cta h3 { margin-bottom: 1rem; }

/* Booking modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(5, 6, 12, 0.7);
  backdrop-filter: blur(6px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 4vh 4vw;
  overflow-y: auto;
}
.modal-overlay.open { display: flex; }

.modal {
  position: relative;
  width: 100%;
  max-width: 760px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  animation: pop 0.25s ease;
}
@keyframes pop {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}
.modal-close:hover { color: var(--text); }

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.booking-label { font-size: 0.95rem; margin-bottom: 0.75rem; color: var(--muted); }

.date-list { display: flex; flex-direction: column; gap: 0.5rem; max-height: 280px; overflow-y: auto; padding-right: 4px; }
.date-btn {
  text-align: left;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.7rem 1rem;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.92rem;
  transition: border-color 0.2s, background 0.2s;
}
.date-btn:hover { border-color: var(--accent-2); }
.date-btn.active { border-color: var(--accent); background: rgba(108, 92, 231, 0.15); }
.date-btn small { display: block; color: var(--muted); font-size: 0.78rem; }

.time-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 0.5rem; align-content: start; max-height: 280px; overflow-y: auto; }
.time-hint { color: var(--muted); font-size: 0.9rem; grid-column: 1 / -1; }
.time-btn {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.6rem 0;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color 0.2s, background 0.2s;
}
.time-btn:hover { border-color: var(--accent-2); }
.time-btn.active { border-color: var(--accent); background: rgba(108, 92, 231, 0.2); }
.time-btn.unavailable {
  text-decoration: line-through;
  opacity: 0.4;
  cursor: not-allowed;
  background: var(--bg);
}
.time-btn.unavailable:hover { border-color: var(--border); }

.booking-footer { margin-top: 1.5rem; border-top: 1px solid var(--border); padding-top: 1.5rem; }
.selection-summary { color: var(--accent-2); font-weight: 500; }

/* Name + email inputs inside the booking modal */
.booking-footer .field-row input {
  flex: 1;
  min-width: 160px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.95rem 1.1rem;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.booking-footer .field-row input::placeholder { color: var(--muted); }
.booking-footer .field-row input:focus {
  outline: none;
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(0, 210, 211, 0.15);
}

.done-check {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 2rem;
  display: grid;
  place-items: center;
}
#stepDone { text-align: center; }

.email-preview {
  text-align: left;
  margin: 1.5rem 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg);
}
.email-preview-head {
  padding: 0.75rem 1rem;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}
.email-subject {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  padding: 0.8rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
}
.email-body {
  width: 100%;
  border: none;
  background: transparent;
  color: var(--text);
  padding: 1rem;
  font-family: inherit;
  font-size: 0.92rem;
  resize: vertical;
  line-height: 1.7;
}
.email-subject:focus, .email-body:focus { outline: none; }

@media (max-width: 600px) {
  .booking-grid { grid-template-columns: 1fr; }
  .modal { padding: 1.8rem; }
}

/* Responsive */
@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    background: var(--bg-soft);
    padding: 1.5rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
}
