/* Pro Seven doo — custom styles on top of Tailwind CDN */

:root {
  --bg-white:   #ffffff;
  --bg-primary: #f5f5f7;
  --bg-card:    #ffffff;
  --text-pri:   #1d1d1f;
  --text-sec:   #6e6e73;
  --text-ter:   #86868b;
  --accent:     #6d28d9;
  --accent-lt:  #ede9fe;
  --accent-mid: #7c3aed;
  --border:     #e5e5ea;
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.10), 0 4px 8px rgba(0,0,0,0.04);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  overflow-x: hidden;
}

body {
  background: #ffffff;
  color: var(--text-pri);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

/* ── Grid background for hero ── */
.hero-grid {
  background-color: #ffffff;
  background-image: radial-gradient(rgba(109,40,217,0.04) 40%, transparent 70%);
  background-size: 100% 100%;
}

/* ── Subtle glow blobs (light theme) ── */
.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* ── Gradient text ── */
.gradient-text {
  background: linear-gradient(135deg, #6d28d9 0%, #7c3aed 50%, #4f46e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Card ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

/* ── Featured card ── */
.card-featured {
  background: var(--bg-card);
  border: 2px solid var(--accent-mid);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

/* ── Navbar ── */
nav.site-nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-link {
  color: var(--text-sec);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.15s;
  text-decoration: none;
}
.nav-link:hover { color: var(--text-pri); }
.nav-link.active { color: var(--accent); }

/* ── Buttons ── */
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-radius: 980px;
  padding: 12px 22px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
}
.btn-primary:hover {
  background: var(--accent-mid);
  transform: scale(1.01);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: 980px;
  padding: 11px 22px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover {
  background: var(--accent-lt);
}

.btn-ghost {
  background: transparent;
  color: var(--text-sec);
  padding: 0.625rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.15s, background 0.15s;
  border: none;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
}
.btn-ghost:hover { color: var(--text-pri); }

/* ── Section label chip ── */
.section-label {
  background: var(--accent-lt);
  color: var(--accent);
  border: 1px solid rgba(109,40,217,0.2);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 9999px;
  display: inline-block;
}

/* ── Flash messages ── */
.flash-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  border-radius: 8px;
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
}
.flash-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  border-radius: 8px;
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
}
.flash-info {
  background: var(--accent-lt);
  border: 1px solid rgba(109,40,217,0.25);
  color: var(--accent);
  border-radius: 8px;
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
}

/* ── Form inputs ── */
.form-input {
  width: 100%;
  background: #fff;
  border: 1.5px solid var(--border);
  color: var(--text-pri);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.9rem;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}
.form-input::placeholder { color: var(--text-ter); }
.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(109,40,217,0.08);
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-sec);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* ── Divider ── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 24px 0;
}

/* ── Prose (legal pages) ── */
.prose h2 { font-size: 1.25rem; font-weight: 700; color: var(--text-pri); margin: 2rem 0 0.75rem; }
.prose h3 { font-size: 1rem; font-weight: 600; color: var(--text-pri); margin: 1.5rem 0 0.5rem; }
.prose p  { color: var(--text-sec); line-height: 1.75; margin-bottom: 1rem; }
.prose ul { color: var(--text-sec); line-height: 1.75; padding-left: 1.5rem; list-style: disc; margin-bottom: 1rem; }
.prose a  { color: var(--accent); text-decoration: underline; }

/* ── Footer ── */
footer.site-footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  color: var(--text-sec);
}

/* ── Mobile menu ── */
#mobile-menu { display: none; }
#mobile-menu.open { display: block; }

#mobile-menu {
  background: #fff;
  border-top: 1px solid var(--border);
}

/* Hide hamburger and mobile menu on desktop (>=768px) */
@media (min-width: 768px) {
  #nav-toggle  { display: none !important; }
  #mobile-menu { display: none !important; }
}

/* ── Mobile touch targets ── */
@media (max-width: 767px) {
  .btn-primary, .btn-outline, .btn-ghost {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .nav-link { min-height: 44px; display: flex; align-items: center; }
  .hero-mobile-py { padding-top: 5rem; padding-bottom: 5rem; }
}

/* ── Process timeline ── */
.process-step {
  position: relative;
}
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 28px;
  right: -50%;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--border), transparent);
}
@media (max-width: 767px) {
  .process-step:not(:last-child)::after { display: none; }
}

/* ── Service icon wrapper ── */
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-lt);
  border: 1px solid rgba(109,40,217,0.18);
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.6s ease both; }
.delay-100  { animation-delay: 0.1s; }
.delay-200  { animation-delay: 0.2s; }
.delay-300  { animation-delay: 0.3s; }
.delay-400  { animation-delay: 0.4s; }

/* ── Badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.badge-purple { background: var(--accent-lt); color: var(--accent); border: 1px solid rgba(109,40,217,0.2); }
.badge-green  { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.badge-gray   { background: #f3f4f6; color: #6b7280; border: 1px solid #e5e7eb; }
.badge-yellow { background: #fefce8; color: #a16207; border: 1px solid #fef08a; }

/* ── File input ── */
input[type="file"]::file-selector-button {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
input[type="file"]::file-selector-button:hover {
  background: var(--accent-mid);
}
