/* AspiringEdits LLC — Custom Site Stylesheet */

:root {
  --primary: #A33A8A;
  --secondary: #5E246B;
  --gradient: linear-gradient(135deg, #A33A8A 0%, #6F2D91 100%);
  --gradient-soft: linear-gradient(135deg, rgba(163, 58, 138, 0.08) 0%, rgba(111, 45, 145, 0.08) 100%);
  --text-dark: #1F2933;
  --text-mid: #4A5568;
  --text-light: #7B8794;
  --bg-light: #F7F7FA;
  --bg-card: #FFFFFF;
  --border: #E4D7E8;
  --shadow-sm: 0 2px 8px rgba(94, 36, 107, 0.06);
  --shadow-md: 0 8px 24px rgba(94, 36, 107, 0.10);
  --shadow-lg: 0 20px 60px rgba(94, 36, 107, 0.18);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  line-height: 1.15;
}

h1 { font-size: clamp(2rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.625rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); }

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--secondary); }

img { max-width: 100%; display: block; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 80px 0; }

@media (max-width: 640px) {
  section { padding: 56px 0; }
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient);
  display: grid;
  place-items: center;
  color: white;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-mid);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover { color: var(--primary); }

.nav-cta {
  background: var(--gradient);
  color: white !important;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.nav-cta:hover { color: white !important; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  margin: 5px 0;
  transition: 0.3s;
  border-radius: 2px;
}

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: 0.25s;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-toggle { display: block; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: 0.2s;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-ghost:hover {
  background: var(--primary);
  color: white;
}

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

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(163, 58, 138, 0.14), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(94, 36, 107, 0.10), transparent 50%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--gradient-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient);
  animation: pulse 2s ease-in-out infinite;
}

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

.hero h1 { margin-bottom: 20px; }

.hero h1 .accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 1.125rem;
  color: var(--text-mid);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--text-light);
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-meta strong { color: var(--text-dark); font-weight: 700; margin-right: 4px; }

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin-left: auto;
}

.hero-card {
  position: absolute;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero-card.raw {
  top: 8%; left: 0;
  width: 56%;
  aspect-ratio: 9 / 16;
  transform: rotate(-6deg);
}

.hero-card.edited {
  bottom: 4%; right: 0;
  width: 60%;
  aspect-ratio: 16 / 9;
  transform: rotate(4deg);
}

.hero-card.small {
  top: 38%; right: 6%;
  width: 38%;
  aspect-ratio: 1 / 1;
  transform: rotate(-3deg);
  z-index: 2;
}

.thumb {
  width: 100%; height: 100%;
  background: var(--gradient);
  position: relative;
  display: grid;
  place-items: center;
  color: white;
}

.thumb.raw-thumb { background: linear-gradient(135deg, #38264a, #5E246B); }
.thumb.edited-thumb { background: linear-gradient(135deg, #A33A8A, #6F2D91, #38264a); }
.thumb.small-thumb { background: linear-gradient(135deg, #ec84d3, #A33A8A); }

.thumb .label {
  position: absolute;
  top: 10px; left: 10px;
  background: rgba(0, 0, 0, 0.55);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.thumb .play {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: grid; place-items: center;
  color: var(--primary);
  font-size: 1.25rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.thumb .timecode {
  position: absolute;
  bottom: 10px; right: 10px;
  background: rgba(0, 0, 0, 0.55);
  color: white;
  font-size: 0.7rem;
  font-family: monospace;
  padding: 3px 7px;
  border-radius: 4px;
}

.hero-arrow {
  position: absolute;
  top: 45%;
  left: 48%;
  transform: translate(-50%, -50%);
  z-index: 3;
  background: white;
  border-radius: 50%;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  color: var(--primary);
  font-size: 1.4rem;
}

/* ---------- Logo strip ---------- */
.logos {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: white;
}

.logos-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.logos-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-light);
  font-weight: 600;
}

.logos-row {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  font-weight: 700;
  color: var(--text-light);
  font-size: 1rem;
  align-items: center;
}

.logos-row span { opacity: 0.7; }

/* ---------- Section headers ---------- */
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-head .eyebrow { margin-bottom: 16px; }

.section-head p {
  color: var(--text-mid);
  margin-top: 12px;
  font-size: 1.05rem;
}

/* ---------- Service cards ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: 0.25s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--gradient-soft);
  color: var(--primary);
  display: grid; place-items: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.service-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.service-card p { color: var(--text-mid); font-size: 0.95rem; }

/* ---------- How it works ---------- */
.workflow {
  background: white;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
}

@media (max-width: 900px) {
  .workflow-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 540px) {
  .workflow-grid { grid-template-columns: 1fr; }
}

.workflow-step {
  text-align: center;
  padding: 20px;
}

.workflow-number {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--gradient);
  color: white;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: var(--shadow-md);
}

.workflow-step h3 { font-size: 1rem; margin-bottom: 6px; }
.workflow-step p { color: var(--text-mid); font-size: 0.9rem; }

/* ---------- Pricing ---------- */
.pricing {
  background: var(--bg-light);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.price-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: 0.25s;
  position: relative;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.price-card.featured {
  background: var(--gradient);
  color: white;
  border: none;
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.price-card.featured h3,
.price-card.featured .price,
.price-card.featured .price-name { color: white; }

.price-card.featured ul li { color: rgba(255, 255, 255, 0.92); }

.price-card.featured ul li::before {
  background: white;
  color: var(--primary);
}

.featured-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: white;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: var(--shadow-md);
}

.price-name {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-light);
  font-weight: 700;
  margin-bottom: 8px;
}

.price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
  white-space: nowrap;
}

.price .per {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0;
}

.price-card.featured .price .per { color: rgba(255, 255, 255, 0.85); }

.price-card h3 { margin-bottom: 20px; font-size: 1.05rem; }

.price-card ul {
  list-style: none;
  margin: 20px 0 28px;
  flex: 1;
}

.price-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  font-size: 0.95rem;
  color: var(--text-mid);
}

.price-card ul li::before {
  content: '✓';
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--gradient-soft);
  color: var(--primary);
  display: grid; place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  margin-top: 1px;
}

.price-card .btn { width: 100%; justify-content: center; }

.price-card.featured .btn-primary {
  background: white;
  color: var(--primary);
}

/* ---------- Upsells ---------- */
.upsells {
  background: white;
}

.upsell-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.upsell {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: 0.2s;
  background: var(--bg-light);
}

.upsell:hover {
  border-color: var(--primary);
  background: white;
  box-shadow: var(--shadow-sm);
}

.upsell-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--gradient);
  color: white;
  display: grid; place-items: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.upsell h4 { font-size: 0.95rem; margin-bottom: 2px; }
.upsell p { font-size: 0.85rem; color: var(--text-mid); margin: 0; }

/* ---------- Portfolio ---------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  cursor: pointer;
  background: var(--gradient);
  transition: 0.3s;
}

.portfolio-item:hover { transform: scale(1.02); }

.portfolio-item .thumb {
  position: absolute;
  inset: 0;
}

.portfolio-item .label-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.portfolio-item .meta {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 18px 18px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.7));
  color: white;
}

.portfolio-item .meta h4 { color: white; font-size: 1rem; margin-bottom: 2px; }
.portfolio-item .meta p { color: rgba(255, 255, 255, 0.85); font-size: 0.85rem; }

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.portfolio-filters button {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: white;
  color: var(--text-mid);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.2s;
}

.portfolio-filters button.active,
.portfolio-filters button:hover {
  background: var(--gradient);
  color: white;
  border-color: transparent;
}

/* ---------- FAQ ---------- */
.faq {
  background: white;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-dark);
  cursor: pointer;
  font-family: inherit;
}

.faq-q .chev {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gradient-soft);
  color: var(--primary);
  display: grid; place-items: center;
  font-size: 0.85rem;
  transition: 0.2s;
  margin-left: 12px;
}

.faq-item.open .faq-q .chev { transform: rotate(180deg); background: var(--gradient); color: white; }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--text-mid);
}

.faq-a-inner { padding-bottom: 22px; padding-right: 40px; }

.faq-item.open .faq-a { max-height: 320px; }

/* ---------- Forms ---------- */
.form-wrap {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  max-width: 760px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .form-wrap { padding: 24px; }
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
}

.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}

.field input,
.field select,
.field textarea {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--bg-light);
  color: var(--text-dark);
  transition: 0.2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(163, 58, 138, 0.12);
}

.field textarea { resize: vertical; min-height: 100px; }

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-mid);
}

.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 28px;
  text-align: center;
  background: var(--bg-light);
  cursor: pointer;
  transition: 0.2s;
}

.upload-zone:hover { border-color: var(--primary); background: white; }

.upload-zone .icon {
  width: 44px; height: 44px;
  margin: 0 auto 12px;
  border-radius: 12px;
  background: var(--gradient);
  color: white;
  display: grid; place-items: center;
  font-size: 1.2rem;
}

.upload-zone p { color: var(--text-mid); font-size: 0.9rem; }
.upload-zone strong { color: var(--primary); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--gradient);
  color: white;
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@media (max-width: 640px) {
  .cta-banner { padding: 36px 24px; }
}

.cta-banner::before,
.cta-banner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}

.cta-banner::before {
  width: 280px; height: 280px;
  background: rgba(255, 255, 255, 0.08);
  top: -100px; right: -80px;
}

.cta-banner::after {
  width: 200px; height: 200px;
  background: rgba(255, 255, 255, 0.06);
  bottom: -80px; left: -40px;
}

.cta-banner h2 { color: white; margin-bottom: 12px; position: relative; }
.cta-banner p { color: rgba(255, 255, 255, 0.9); margin-bottom: 28px; position: relative; }
.cta-banner .btn-primary {
  background: white;
  color: var(--primary);
  position: relative;
}

/* ---------- Footer ---------- */
footer {
  background: #1F1525;
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 24px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

footer h4 {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

footer ul { list-style: none; }

footer ul li {
  padding: 5px 0;
  font-size: 0.9rem;
}

footer a { color: rgba(255, 255, 255, 0.7); }
footer a:hover { color: white; }

.footer-logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-desc { font-size: 0.9rem; line-height: 1.7; margin-bottom: 16px; max-width: 320px; }

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.social-row a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: grid; place-items: center;
  color: white;
  font-size: 0.85rem;
  transition: 0.2s;
}

.social-row a:hover {
  background: var(--gradient);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Chatbot ---------- */
.chatbot-toggle {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--gradient);
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  z-index: 90;
  font-size: 1.5rem;
  transition: 0.25s;
  display: grid; place-items: center;
}

.chatbot-toggle:hover { transform: scale(1.08); }

.chatbot-toggle .badge {
  position: absolute;
  top: 4px; right: 4px;
  background: #ff4d6d;
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 2px solid white;
}

.chatbot {
  position: fixed;
  bottom: 96px; right: 24px;
  width: 360px;
  max-width: calc(100vw - 48px);
  max-height: 540px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 95;
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
}

.chatbot.open { display: flex; animation: slideUp 0.25s ease; }

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.chatbot-head {
  background: var(--gradient);
  color: white;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.chatbot-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: grid; place-items: center;
  font-size: 1.1rem;
}

.chatbot-head h4 { color: white; font-size: 1rem; margin-bottom: 2px; }
.chatbot-head .status {
  font-size: 0.8rem;
  opacity: 0.85;
  display: flex; align-items: center; gap: 5px;
}

.chatbot-head .status::before {
  content: '';
  width: 8px; height: 8px;
  background: #4ade80;
  border-radius: 50%;
}

.chatbot-close {
  margin-left: auto;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 1.2rem;
  opacity: 0.8;
}

.chatbot-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  background: var(--bg-light);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.msg {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.45;
}

.msg.bot {
  background: white;
  color: var(--text-dark);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  box-shadow: var(--shadow-sm);
}

.msg.user {
  background: var(--gradient);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.quick-replies {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.quick-replies button {
  background: white;
  color: var(--primary);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s;
  font-family: inherit;
}

.quick-replies button:hover {
  background: var(--gradient);
  color: white;
  border-color: transparent;
}

.chatbot-input {
  display: flex;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid var(--border);
  background: white;
}

.chatbot-input input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.9rem;
  outline: none;
  font-family: inherit;
}

.chatbot-input input:focus { border-color: var(--primary); }

.chatbot-input button {
  background: var(--gradient);
  color: white;
  border: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
}

/* ---------- Legal pages ---------- */
.legal {
  max-width: 800px;
  margin: 64px auto;
  padding: 0 24px;
}

.legal h1 { margin-bottom: 16px; }
.legal .updated { color: var(--text-light); font-size: 0.9rem; margin-bottom: 32px; }

.legal h2 {
  font-size: 1.35rem;
  margin: 32px 0 12px;
  color: var(--secondary);
}

.legal p { color: var(--text-mid); margin-bottom: 12px; }
.legal ul { margin: 12px 0 12px 24px; color: var(--text-mid); }
.legal li { padding: 4px 0; }

/* ---------- Page hero (smaller, for sub-pages) ---------- */
.page-hero {
  padding: 64px 0 32px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(163, 58, 138, 0.10), transparent 50%);
}

.page-hero h1 { margin-bottom: 12px; }
.page-hero p { color: var(--text-mid); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-6 { margin-bottom: 24px; }

/* ---------- Animations on scroll ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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