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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: #0a0a0a;
  line-height: 1.6;
  background: #ffffff;
  overflow-x: hidden;
}

/* ===== DESIGN TOKENS ===== */
:root {
  --brand: #564592;
  --brand-mid: #7c3aed;
  --brand-end: #2563eb;
  --violet-50: #f5f3ff;
  --violet-100: #ede9fe;
  --violet-200: #ddd6fe;
  --violet-700: #6d28d9;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-900: #111827;
  --border: #E2DED9;
  --radius-card: 16px;
  --nav-height: 64px;
}

/* ===== TYPOGRAPHY ===== */
h1 { font-size: clamp(2rem, 5vw, 3.75rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
p  { color: var(--gray-500); line-height: 1.7; }

/* ===== UTILITIES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-gradient {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-mid) 50%, var(--brand-end) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== ANIMATIONS ===== */
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-fade-in-up {
  animation: fade-in-up 0.7s ease-out both;
}
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-dark {
  background: var(--gray-900);
  color: #ffffff;
}
.btn-dark:hover {
  background: #1f2937;
  transform: translateY(-1px);
}

.btn-outline-violet {
  background: transparent;
  color: var(--violet-700);
  border: 1.5px solid var(--violet-200);
}
.btn-outline-violet:hover {
  background: var(--violet-50);
}

.btn-full {
  width: 100%;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

/* ===== NAVBAR ===== */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow 0.3s ease;
}

#site-header.scrolled {
  box-shadow: 0 1px 12px rgba(0,0,0,0.08);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gray-900);
  flex-shrink: 0;
}

#nav-links ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

#nav-links a {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.2s ease;
}
#nav-links a:hover { color: var(--violet-700); }

.nav-cta { flex-shrink: 0; }

/* Mobile toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gray-900);
  border-radius: 2px;
  transition: all 0.25s ease;
}
.mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu dropdown */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--gray-100);
  background: #ffffff;
}
.mobile-menu.open { display: flex; }
.mobile-menu .mobile-link {
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-600);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-100);
  transition: color 0.2s ease;
}
.mobile-menu .mobile-link:hover { color: var(--violet-700); }
.mobile-menu .mobile-cta {
  margin-top: 1rem;
  text-align: center;
}


/* ===== HERO ===== */
.hero {
  padding-top: calc(var(--nav-height) + 5rem);
  padding-bottom: 6rem;
  background-color: #faf5ff;
  background-image:
    radial-gradient(at 20% 20%, rgba(86, 69, 146, 0.12) 0px, transparent 50%),
    radial-gradient(at 80% 25%, rgba(37, 99, 235, 0.08) 0px, transparent 50%),
    radial-gradient(at 50% 85%, rgba(124, 58, 237, 0.07) 0px, transparent 50%);
}

.hero-container {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  background: var(--violet-100);
  color: var(--violet-700);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hero h1 {
  color: var(--gray-900);
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: var(--gray-500);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  justify-content: center;
}


/* ===== LOOKING FOR SECTION ===== */
.looking-section {
  padding: 5rem 0;
  background: #ffffff;
  border-bottom: 1px solid var(--gray-100);
}

.looking-heading {
  text-align: center;
  color: var(--gray-900);
  margin-bottom: 3rem;
}

.looking-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.875rem;
}

.looking-btn {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}
.looking-btn:hover {
  border-color: #c6c1b9;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.looking-label {
  flex: 1;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.3;
  padding-right: 0.75rem;
}

.looking-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chevron {
  color: var(--gray-400);
  flex-shrink: 0;
  margin-left: 0.5rem;
  transition: color 0.2s ease;
}
.looking-btn:hover .chevron { color: var(--gray-600); }


/* ===== FEATURES SECTION ===== */
.features-section {
  padding: 5rem 0 3rem;
  background: #ffffff;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}
.section-header h2 { color: var(--gray-900); }
.section-sub {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: var(--gray-400);
}
.section-sub.ghost {
  font-size: clamp(1.125rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: #d1d5db;
  letter-spacing: -0.01em;
}

/* Tab pills */
.feat-tabs {
  display: flex;
  justify-content: center;
  gap: 0.625rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.feat-tab {
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  border: none;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--gray-100);
  color: var(--gray-600);
}
.feat-tab:hover { background: var(--gray-200); }
.feat-tab.active {
  background: var(--gray-900);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Carousel wrapper */
.feat-carousel-wrap {
  overflow: hidden;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.feat-carousel {
  display: flex;
  gap: 2%;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  /* initial offset: (100 - 84) / 2 = 8% to center first panel */
  transform: translateX(8%);
}

/* Each panel: 84% wide */
.feat-panel {
  flex-shrink: 0;
  width: 84%;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.feat-panel:not(.active-panel) {
  opacity: 0.45;
  transform: scale(0.97);
  cursor: pointer;
}
.feat-panel.active-panel {
  opacity: 1;
  transform: scale(1);
}

/* Gradient panel inner */
.feat-panel-inner {
  border-radius: 24px;
  padding: 2.5rem 3rem;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
}

.grad-violet  { background: linear-gradient(135deg, #3d3566 0%, #5a4a8a 60%, #8b7bb8 100%); }
.grad-blue    { background: linear-gradient(135deg, #2a3f6f 0%, #3a5a9a 50%, #6a8fc0 100%); }
.grad-emerald { background: linear-gradient(135deg, #2a4a3e 0%, #3a6b5a 60%, #6a9e8a 100%); }

/* Decorative SVGs */
.feat-deco { position: absolute; inset: 0; pointer-events: none; }
.feat-deco-1 {
  position: absolute;
  top: -20px; right: 5%;
  width: clamp(100px, 18vw, 200px);
  height: clamp(100px, 18vw, 200px);
  opacity: 0.6;
}
.feat-deco-2 {
  position: absolute;
  bottom: -20px; right: 18%;
  width: clamp(80px, 14vw, 160px);
  height: clamp(80px, 14vw, 160px);
  opacity: 0.5;
}

/* Panel content layout */
.feat-panel-content {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 3rem;
  width: 100%;
  align-items: center;
}

.feat-cards {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Glass cards */
.feat-glass-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.feat-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feat-glass-card h3 {
  font-size: 1rem;
  color: #1a1a1a;
  margin-bottom: 0.25rem;
}
.feat-glass-card p {
  font-size: 0.875rem;
  color: #44423f;
  line-height: 1.6;
}

/* Right description column */
.feat-panel-desc {
  flex: 0 0 260px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: #ffffff;
}
.feat-panel-desc h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}
.feat-panel-desc p {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
}

.btn-white {
  background: #ffffff;
  color: var(--gray-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
  align-self: flex-start;
  border: none;
  font-family: inherit;
  cursor: pointer;
}
.btn-white:hover { background: rgba(255,255,255,0.9); transform: translateY(-1px); }

/* Dot indicators */
.feat-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.feat-dot {
  height: 8px;
  border-radius: 9999px;
  border: none;
  background: rgba(0,0,0,0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  width: 8px;
  padding: 0;
}
.feat-dot.active {
  background: var(--gray-900);
  width: 24px;
}


/* ===== ICON COLORS (looking-for section) ===== */
.icon-violet  { background: #ede9fe; color: #7c3aed; }
.icon-blue    { background: #dbeafe; color: #1d4ed8; }
.icon-emerald { background: #d1fae5; color: #059669; }
.icon-pink    { background: #fce7f3; color: #be185d; }
.icon-amber   { background: #fef3c7; color: #d97706; }
.icon-teal    { background: #ccfbf1; color: #0d9488; }


/* ===== PROCESS SECTION ===== */
.process-section {
  padding: 6rem 0;
  background: #ffffff;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.process-card {
  padding: 1.75rem;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.process-card:hover {
  box-shadow: 0 8px 32px rgba(86, 69, 146, 0.1);
  transform: translateY(-3px);
}

.process-card-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.step-badge {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  flex-shrink: 0;
}
.badge-violet  { background: #ede9fe; color: #7c3aed; }
.badge-blue    { background: #dbeafe; color: #1d4ed8; }
.badge-emerald { background: #d1fae5; color: #059669; }
.badge-amber   { background: #fef3c7; color: #d97706; }

.step-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
}

.process-card h3 {
  color: var(--gray-900);
  margin-bottom: 0.625rem;
}
.process-card p {
  font-size: 0.9375rem;
  color: var(--gray-500);
  flex: 1;
}


/* ===== FAQ SECTION ===== */
.faq-section {
  padding: 6rem 0;
  background: var(--gray-50);
}

.faq-list {
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.faq-item {
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #ffffff;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gray-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: inherit;
  transition: background 0.2s ease;
}
.faq-question:hover { background: var(--gray-50); }

.faq-icon {
  flex-shrink: 0;
  color: var(--violet-700);
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
}
.faq-item.active .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item.active .faq-answer { max-height: 400px; }

.faq-answer p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--gray-500);
  border-top: 1px solid var(--gray-100);
  padding-top: 1rem;
}


/* ===== CONTACT SECTION ===== */
.contact-section {
  padding: 6rem 0;
  background: var(--gray-50);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}

.contact-info h2 {
  color: var(--gray-900);
  margin-bottom: 0.875rem;
}

.contact-info > p {
  font-size: 1rem;
  color: var(--gray-500);
  margin-bottom: 2rem;
}

.trust-badges {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
}
.trust-badge svg { color: var(--violet-700); flex-shrink: 0; }

/* Contact form */
.contact-form {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 2rem;
}

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

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-700, #374151);
  margin-bottom: 0.5rem;
}

.optional {
  font-weight: 400;
  color: var(--gray-400);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  background: var(--gray-50);
  color: var(--gray-900);
  font-family: inherit;
  font-size: 0.9375rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-mid);
  background: #ffffff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

.form-group textarea { resize: vertical; }

.contact-form .btn-dark {
  margin-top: 0.25rem;
}


/* ===== FOOTER ===== */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--gray-100);
  padding: 3.5rem 0 2rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 2rem;
}

.footer-brand .logo {
  display: block;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--gray-400);
  max-width: 220px;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--gray-500);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--violet-700); }

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--gray-400);
  text-align: center;
}


/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  /* Features carousel: wider panels on tablet */
  .feat-panel { width: 88%; }
  .feat-carousel { transform: translateX(6%); }

  .feat-panel-inner {
    aspect-ratio: unset;
    padding: 2rem 1.75rem;
    align-items: flex-start;
  }
  .feat-panel-content { flex-direction: column; gap: 1.5rem; }
  .feat-panel-desc { flex: none; }
  .feat-panel-desc h3 { font-size: 1.375rem; }

  .looking-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  /* Nav */
  #nav-links, .nav-cta { display: none; }
  .mobile-menu-toggle { display: flex; }

  /* Features carousel mobile */
  .feat-panel-desc { align-items: center; text-align: center; }
  .feat-panel-desc .btn-white { align-self: center; }
  .feat-panel { width: 88%; }
  .feat-carousel { transform: translateX(6%); }
  .feat-panel-inner { padding: 1.25rem; }
  .feat-glass-card { padding: 1rem 1.125rem; }
  .feat-glass-card h3 { font-size: 0.9375rem; }
  .feat-glass-card p { font-size: 0.8125rem; }
  .feat-panel-desc h3 { font-size: 1.125rem; }
  .feat-panel-desc p { font-size: 0.875rem; }
  .feat-card-icon { width: 36px; height: 36px; }

  /* Looking for */
  .looking-grid { grid-template-columns: 1fr; }

  /* Features */
  .features-grid { grid-template-columns: 1fr; }

  /* Process */
  .process-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-top {
    flex-direction: column;
    gap: 2rem;
  }
  .footer-links { gap: 2rem; }
}

@media (max-width: 640px) {
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { text-align: center; }

  .form-row { grid-template-columns: 1fr; }

  .cta-buttons { flex-direction: column; align-items: stretch; }
  .cta-buttons .btn { text-align: center; }

  .contact-form { padding: 1.5rem; }
}
