:root {
  --bg-dark: #2e0249;
  --bg-light: #f5f3ff;
  --accent-primary: #a78bfa;
  --accent-secondary: #4c1d95;
  --text-light: #f5f3ff;
  --text-dark: #1f2937;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  padding-top: 70px;
  line-height: 1.6;
}

.hero-section {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--accent-secondary) 100%);
  color: var(--text-light);
  padding: 8rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.section-alt {
  background-color: var(--bg-light);
  color: var(--text-dark);
  padding: 5rem 0;
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 5rem 0;
}

.section-accent {
  background-color: #a78bfa;
  color: #1f2937;
  padding: 5rem 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

/* Buttons */
.btn-primary {
  background-color: var(--accent-secondary);
  border-color: var(--accent-secondary);
  color: var(--text-light);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  transition: all 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--bg-dark);
  border-color: var(--bg-dark);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-outline-light {
  background-color: transparent;
  border-color: var(--text-light);
  color: var(--text-light);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  transition: all 0.2s ease;
}

.btn-outline-light:hover,
.btn-outline-light:focus,
.btn-outline-light:active {
  background-color: var(--text-light);
  color: var(--bg-dark);
  border-color: var(--text-light);
}

/* Cards */
.card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* Forms */
.form-control {
  border-radius: 8px;
  border: 1px solid #d1d5db;
  padding: 0.75rem;
}

.form-control:focus {
  border-color: var(--accent-secondary);
  box-shadow: 0 0 0 0.2rem rgba(76, 29, 149, 0.25);
}

/* Navigation */
.navbar {
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-link {
  font-weight: 500;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link:focus::after {
  width: 100%;
}

/* Cookie Banner */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #1f2937;
  color: #f5f3ff;
  padding: 1rem;
  z-index: 1050;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 2px solid var(--accent-primary);
}

#cookie-banner.hidden {
  display: none;
}

#cookie-banner p {
  margin: 0;
  flex: 1 1 300px;
}

#cookie-banner .btn-group {
  display: flex;
  gap: 0.5rem;
}

/* Accessibility & Utilities */
:focus-visible {
  outline: 3px solid var(--accent-primary);
  outline-offset: 2px;
}

.text-accent {
  color: var(--accent-primary) !important;
}

.bg-accent {
  background-color: var(--accent-primary) !important;
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Service Grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* Accordion Customization */
.accordion-button {
  font-weight: 600;
  background-color: #f5f3ff;
  color: var(--bg-dark);
}

.accordion-button:not(.collapsed) {
  background-color: var(--accent-primary);
  color: var(--bg-dark);
}

.accordion-item {
  border: 1px solid #e5e7eb;
}

/* Testimonial Carousel */
.carousel-item {
  padding: 3rem 1rem;
  text-align: center;
}

.carousel-item p {
  font-size: 1.25rem;
  font-style: italic;
}

.carousel-indicators button {
  background-color: var(--accent-secondary);
}

/* Image Placeholders */
img[data-ai-prompt] {
  width: 100%;
  height: auto;
  object-fit: cover;
  background-color: #e5e7eb;
  border-radius: 8px;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
}

/* Responsive Typography */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  .hero-section { padding: 6rem 0 4rem; }
}
.card img,
.bg-light img,
.container img {
  display: block;
  width: 100%;
  height: auto;
}
/* Font safety overrides */
:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}
body,
h1,
h2,
h3,
h4,
h5,
h6,
.navbar,
.btn,
input,
textarea,
select {
  font-family: var(--font-sans);
}
/* WP Generator feature helpers */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, #0ea5e9, #22c55e);
  z-index: 9999;
  transition: width 120ms ease-out;
}
.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;
  background: #111827;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 200ms ease, transform 200ms ease;
  z-index: 9998;
}
.scroll-top.is-visible {
  opacity: 0.95;
  transform: translateY(0);
}
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

