/* ===================================================================
   VioletStudios — Landing Page Styles
   Palette: Bloom design language — dark, violet-600 accent, angular
   Fonts: Inter (sans), JetBrains Mono
   =================================================================== */

/* --- Reset & Base ------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Bloom-matched palette */
  --bg:           #050508;
  --bg-card:      #0a0a0c;
  --bg-card-2:    #0f0f12;
  --bg-section:   #07070a;

  --fg:           #ffffff;
  --fg-muted:     #a1a1aa;   /* zinc-400 */
  --fg-dim:       #52525b;   /* zinc-600 */

  --violet:       #7c3aed;   /* violet-600 */
  --violet-500:   #8b5cf6;
  --violet-400:   #a78bfa;
  --violet-900:   #1e1b4b;

  --border:       rgba(255,255,255,0.08);
  --border-violet: rgba(124,58,237,0.3);

  --radius:       0px;       /* Angular — matches Bloom's 0rem */

  /* Typography */
  --font-sans:    'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* --- Utilities ---------------------------------------------------- */
.mono {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .container { padding: 0 40px; }
}

@media (min-width: 1280px) {
  .container { padding: 0 48px; }
}

/* --- Buttons ------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease, color 0.15s ease;
  white-space: nowrap;
  border: 1px solid transparent;
  padding: 12px 24px;
  line-height: 1;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--violet);
  color: #fff;
  border-color: rgba(139,92,246,0.3);
  box-shadow: 0 0 24px rgba(124,58,237,0.3);
}
.btn-primary:hover {
  background: var(--violet-500);
  box-shadow: 0 0 40px rgba(124,58,237,0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--fg-muted);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.05);
  color: var(--fg);
  border-color: rgba(255,255,255,0.15);
}

.btn-outline {
  background: transparent;
  color: var(--violet-400);
  border-color: var(--border-violet);
}
.btn-outline:hover {
  background: rgba(124,58,237,0.08);
  border-color: var(--violet);
}

.btn-sm { padding: 8px 18px; font-size: 0.75rem; }
.btn-lg { padding: 16px 32px; font-size: 0.9375rem; }

/* --- Navigation --------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid var(--border);
  background: rgba(10,10,12,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-inner {
  display: flex;
  height: 64px;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-icon {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.nav-logo:hover .nav-logo-icon { transform: scale(1.1); }

.nav-logo-img {
  height: 32px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: opacity 0.15s ease;
}
.nav-logo:hover .nav-logo-img { opacity: 0.85; }

.footer-logo-img {
  height: 24px;
  width: auto;
  display: block;
  object-fit: contain;
  opacity: 0.7;
}

.nav-logo-text {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fg);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
}

.nav-link {
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg-muted);
  border-radius: var(--radius);
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-link:hover {
  color: var(--fg);
  background: rgba(255,255,255,0.05);
}

.nav-link-cta {
  background: var(--violet);
  color: #fff !important;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.75rem;
  border: 1px solid rgba(139,92,246,0.3);
  box-shadow: 0 0 16px rgba(124,58,237,0.25);
}
.nav-link-cta:hover {
  background: var(--violet-500) !important;
  box-shadow: 0 0 24px rgba(124,58,237,0.4);
}

/* Hamburger */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
  padding: 8px 7px;
  transition: border-color 0.15s ease;
}
.nav-hamburger:hover { border-color: rgba(255,255,255,0.2); }
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--fg-muted);
  transition: background 0.15s ease;
}
.nav-hamburger:hover span { background: var(--fg); }

@media (min-width: 768px) {
  .nav-hamburger { display: none; }
}

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--border);
  padding: 8px 0 16px;
}
.mobile-nav.mobile-nav-open { display: flex; }

.mobile-nav-link {
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--fg-muted);
  transition: color 0.15s ease, background 0.15s ease;
}
.mobile-nav-link:hover {
  color: var(--fg);
  background: rgba(255,255,255,0.04);
}

/* --- Sections (common) -------------------------------------------- */
.section {
  padding: 96px 0;
}

@media (min-width: 768px) {
  .section { padding: 120px 0; }
}

.section-dark {
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-label {
  display: inline-block;
  color: var(--violet-400);
  margin-bottom: 16px;
}

.section-heading {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 20px;
}

.section-sub {
  max-width: 600px;
  color: var(--fg-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 56px;
}

/* --- Hero --------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 120px;
}

@media (min-width: 768px) {
  .hero { padding: 128px 0 160px; }
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(124,58,237,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 80%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Center layout on medium+ */
@media (min-width: 768px) {
  .hero-inner { align-items: center; text-align: center; }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-violet);
  background: rgba(124,58,237,0.08);
  padding: 6px 14px;
  color: var(--violet-400);
  margin-bottom: 32px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet);
  flex-shrink: 0;
  position: relative;
}
.badge-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--violet);
  opacity: 0.4;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.6); opacity: 0; }
}

.hero-heading {
  font-size: clamp(2.75rem, 8vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--fg);
  margin-bottom: 24px;
}

.br-md { display: none; }
@media (min-width: 768px) { .br-md { display: block; } }

.text-violet {
  color: var(--violet-400);
}

.hero-sub {
  max-width: 580px;
  color: var(--fg-muted);
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* --- Bloom Card --------------------------------------------------- */
.bloom-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
}

@media (min-width: 900px) {
  .bloom-card { grid-template-columns: 1fr 1fr; }
}

.bloom-card-content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 767px) {
  .bloom-card-content { padding: 32px 24px; }
}

.bloom-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bloom-card-icon {
  flex-shrink: 0;
}

.bloom-card-tag {
  color: var(--violet-400);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
}

.bloom-card-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--fg);
}

.bloom-card-desc {
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.bloom-feature-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bloom-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--fg-muted);
}

.feature-dot {
  width: 4px;
  height: 4px;
  background: var(--violet);
  flex-shrink: 0;
}

.bloom-card-footer {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 8px;
}

.bloom-status {
  color: var(--violet-400);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  opacity: 0.8;
}

.bloom-card-visual {
  border-left: 1px solid var(--border);
  background: var(--bg-card-2);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 48px 32px;
}

@media (max-width: 899px) {
  .bloom-card-visual {
    border-left: none;
    border-top: 1px solid var(--border);
    min-height: 160px;
    padding: 32px;
  }
}

.waveform-wrap {
  width: 100%;
  max-width: 300px;
}

.waveform {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 120px;
  width: 100%;
}

.bar {
  flex: 1;
  background: var(--violet);
  opacity: 0.7;
  min-height: 8px;
  height: var(--h);
  animation: eq 1.4s ease-in-out infinite;
  animation-delay: var(--delay);
}

@keyframes eq {
  0%, 100% { transform: scaleY(0.4); opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 0.9; }
}

/* --- Services Grid ------------------------------------------------ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 48px;
}

@media (min-width: 640px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
}

.service-card {
  background: var(--bg-card);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.2s ease;
}
.service-card:hover { background: var(--bg-card-2); }

.service-card-accent {
  border-top: 2px solid var(--violet);
}

@media (min-width: 1024px) {
  .service-card-accent { border-top: none; border-left: 2px solid var(--violet); }
}

.service-card-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.service-lane {
  color: var(--violet-400);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.service-price {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.price-unit {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: 0;
}

.service-title {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fg);
}

.service-desc {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.65;
  flex: 1;
}

.service-includes {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-includes li {
  font-size: 0.8125rem;
  color: var(--fg-dim);
  padding-left: 12px;
  position: relative;
}
.service-includes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 3px;
  background: var(--violet);
}

.service-note {
  color: var(--fg-dim);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  margin-top: 4px;
}

/* Services terms row */
.services-terms {
  border: 1px solid var(--border);
  background: var(--bg-card);
  padding: 24px 28px;
}

.terms-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 40px;
}

@media (min-width: 1024px) {
  .terms-row { grid-template-columns: repeat(4, 1fr); }
}

.term-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.term-label {
  color: var(--violet-400);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  display: block;
}

.term-value {
  font-size: 0.8125rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* --- CTA Section -------------------------------------------------- */
.section-cta {
  padding: 96px 0;
}

@media (min-width: 768px) {
  .section-cta { padding: 128px 0; }
}

.contact-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .contact-inner { align-items: center; text-align: center; }
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 32px;
}

.contact-referral {
  color: var(--fg-dim);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  max-width: 480px;
  line-height: 1.6;
}

/* --- Footer ------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-card);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-brand {
  color: var(--fg-muted);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
}

.footer-copy {
  color: var(--fg-dim);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}

/* --- Focus styles for accessibility ------------------------------- */
:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
}

/* --- Print -------------------------------------------------------- */
@media print {
  .nav, .hero-grid-overlay { display: none; }
  body { background: #fff; color: #000; }
}
