:root {
  --color-bg: #ffffff;
  --color-text: #1f2937;
  --color-muted: #6b7280;
  --color-accent: #2563eb;
  --color-accent-contrast: #ffffff;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --radius: 12px;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: saturate(180%) blur(6px);
  background: rgba(255,255,255,0.8);
  border-bottom: 1px solid #eee;
  z-index: 10;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  font-weight: 700;
  letter-spacing: 0.2px;
  font-size: 18px;
}

.contact {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.contact a {
  text-decoration: none;
  color: var(--color-text);
}

.contact a:hover { color: var(--color-accent); }

.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 32px;
}

.main-nav a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--color-accent);
}

.has-submenu {
  position: relative;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  padding: 0;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
}

.has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu li {
  margin: 0;
  display: block;
  width: 100%;
}

.submenu a {
  display: block;
  width: 100%;
  padding: 0px 16px;
  margin-bottom: 0;
  color: #374151;
  font-size: 14px;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.submenu a:hover {
  background: #f8fafc;
  color: var(--color-accent);
  padding-left: 20px;
  padding-top: 0px;
  padding-bottom: 3px;
}

.submenu li:last-child a {
  margin-bottom: 0;
}

.dot { color: #cbd5e1; }

.hero { padding: 72px 0 36px; }

.hero h1 {
  font-size: 38px;
  line-height: 1.2;
  margin: 0 0 14px;
}

.hero p {
  font-size: 18px;
  color: var(--color-muted);
  margin: 10px 0;
}

.lead {
  font-size: 20px;
  color: var(--color-text);
}

.hero-copy p { max-width: 65ch; }

.cta {
  margin-top: 18px;
  display: flex;
  gap: 12px;
}

/* Hero layout with portrait aside */
.hero-layout {
  display: grid;
  gap: 24px;
  align-items: start;
}



.portrait {
  margin: 0;
}

.portrait img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.portrait figcaption {
  margin-top: 12px;
  color: var(--color-muted);
  font-size: 14px;
  background: #f9fafb;
  border: 1px solid #eef2f7;
  border-radius: var(--radius);
  padding: 12px 14px;
}

.caption-name {
  margin: 0 0 6px;
  color: var(--color-text);
  font-weight: 700;
}

.button {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-accent-contrast);
  padding: 12px 16px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform .05s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.button--ghost {
  background: transparent;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
}

.section { padding: 34px 0; }

.section h2 {
  font-size: 28px;
  margin: 0 0 10px;
}

/* Highlights */
.highlights { padding-top: 6px; }

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

.highlight-card {
  position: relative;
  padding: 18px;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .06s ease, box-shadow .25s ease;
}

.highlight-card h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.highlight-card p {
  margin: 6px 0 0;
  color: var(--color-muted);
}

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

/* badge removed */

/* Soft background shapes per card to mimic reference */
.highlight-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -30% auto;
  width: 60%;
  height: 120%;
  background: radial-gradient(60% 60% at 40% 40%, rgba(37,99,235,0.18) 0%, rgba(37,99,235,0.0) 70%),
              radial-gradient(50% 50% at 80% 80%, rgba(37,99,235,0.12) 0%, rgba(37,99,235,0.0) 70%);
  filter: blur(6px);
}

.highlight-card.advice { background: linear-gradient(180deg,#fbf6ee 0%, #f8fafc 70%); }
.highlight-card.advice::after { background: radial-gradient(60% 60% at 60% 40%, rgba(230,150,80,.28) 0%, rgba(230,150,80,0) 70%); }

.highlight-card.hl-contact { background: linear-gradient(180deg,#f5f6ff 0%, #f8fafc 70%); }
.highlight-card.hl-contact::after { background: radial-gradient(60% 60% at 60% 40%, rgba(37,99,235,.22) 0%, rgba(37,99,235,0) 70%); }

.highlight-card.onsite { background: linear-gradient(180deg,#eef9f2 0%, #f8fafc 70%); }
.highlight-card.onsite::after { background: radial-gradient(60% 60% at 60% 40%, rgba(16,185,129,.22) 0%, rgba(16,185,129,0) 70%); }

.highlight-card.pricing { background: linear-gradient(180deg,#faf0ff 0%, #f8fafc 70%); }
.highlight-card.pricing::after { background: radial-gradient(60% 60% at 60% 40%, rgba(168,85,247,.22) 0%, rgba(168,85,247,0) 70%); }

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.service-list li {
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  border-radius: var(--radius);
}

.site-footer {
  background: #511781;
  color: #ffffff;
  margin-top: 0;
}

.site-footer .container {
  padding: 18px 20px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  text-align: center;
}

@media (min-width: 768px) {
  .hero { padding: 80px 0 34px; }
  .hero h1 { font-size: 48px; }
  .service-list { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .hero-layout {
    grid-template-columns: 1.2fr 0.8fr;
  }
  .hero-aside {
    justify-self: end;
  }
  .portrait img {
    max-width: 460px;
  }
}

@media (min-width: 1200px) {
  .service-list { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .main-nav ul {
    gap: 20px;
  }
  
  .main-nav a {
    font-size: 14px;
  }
}

@media (prefers-color-scheme: light) { :root { color-scheme: light; } }

/* --- Campaign page styles --- */
.campaign-hero {
  background:
    radial-gradient(1200px 400px at 20% 0%, rgba(37,99,235,.06) 0%, rgba(37,99,235,0) 60%),
    radial-gradient(900px 360px at 85% 20%, rgba(168,85,247,.07) 0%, rgba(168,85,247,0) 65%),
    linear-gradient(180deg,#f8fbff 0%, #ffffff 60%);
  padding: 56px 0 40px;
  position: relative;
}

.campaign-hero .hero-wrap {
  display: grid;
  gap: 26px;
  align-items: center;
}

.campaign-hero .hero-copy h1 {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.2;
}

.campaign-hero .lead { font-size: 20px; }

.hero-cta { display: flex; align-items: center; gap: 14px; margin-top: 10px; flex-wrap: wrap; }
.trust-inline { color: var(--color-muted); font-size: 14px; }

.trust-bar {
  display: flex;
  gap: 16px;
  padding: 0;
  margin: 14px 0 0;
  list-style: none;
  color: var(--color-muted);
  flex-wrap: wrap;
}

.hero-visual {
  display: none;
  align-self: end;
}
.hero-visual img {
  width: 100%;
  height: auto;
  max-width: 520px;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.08));
}

.campaign-split .split { display: grid; gap: 20px; }
.bullets { padding-left: 18px; margin: 10px 0 0; }

.process .steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 0;
  list-style: none;
}
.process .steps li {
  padding: 16px;
  border: 1px solid #eef2f7;
  border-radius: 14px;
  background: #f8fafc;
}
.process .steps li h3 { margin: 0 0 6px; }

.pricing-block .price-card {
  border: 1px solid #eef2f7;
  background: #f8fafc;
  border-radius: 16px;
  padding: 16px;
}
.pricing-block .price { font-size: 26px; font-weight: 800; }
.pricing-block .price span { font-size: 14px; font-weight: 500; color: var(--color-muted); }

.faq details { border: 1px solid #eef2f7; border-radius: 12px; padding: 12px 14px; background: #fbfdff; }
.faq details + details { margin-top: 8px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: 8px 0 0; color: var(--color-muted); }

.final-cta { text-align: center; }
.final-cta .muted { color: var(--color-muted); margin-top: 8px; }

@media (min-width: 900px) {
  .campaign-hero { padding: 80px 0 54px; }
  .campaign-hero .hero-wrap { grid-template-columns: 1.1fr .9fr; }
  .campaign-hero .hero-copy h1 { font-size: 44px; }
  .hero-visual { display: block; }
  .campaign-split .split { grid-template-columns: 1fr 1fr; }
  .process .steps { grid-template-columns: repeat(3, 1fr); }
}

/* dark theme variables removed for new_campaign page */

.dark-header { 
  background: rgba(255,255,255,0.8); 
  border-bottom-color: #eee; 
}

.dark-header .brand,
.dark-header .contact a {
  color: var(--color-text);
}

.dark-header .contact a:hover {
  color: var(--color-accent);
}

.dark-header .main-nav a {
  color: var(--color-text);
}

.dark-header .main-nav a:hover {
  color: var(--color-accent);
}

.dark-header .submenu {
  background: white;
  border-color: #e5e7eb;
}

.dark-header .submenu a {
  color: #374151;
}

.dark-header .submenu a:hover {
  background: #f8fafc;
  color: var(--color-accent);
}

.button--neon {
  background: #b4f116;
  color: #0b0f14;
  font-weight: 700;
}
.button--neon:hover { filter: brightness(1.05); }

.button--outline-hero {
  display: inline-block;
  padding: 16px 24px;
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
}
.button--outline-hero:hover { background: rgba(255,255,255,0.06); }

.button--promo {
  display: inline-block;
  padding: 14px 20px;
  background: linear-gradient(180deg,#ff6a4a,#ff4e3a);
  color: #ffffff;
  border: 0;
  border-radius: 16px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(255, 78, 58, 0.35);
  font-size: 22px;
}
.button--promo:hover { filter: brightness(1.03); }

/* --- New campaign (dark) --- */
.nc-hero {
  background:
    linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.45)),
    radial-gradient(80% 80% at 10% 0%, rgba(76,92,255,.22) 0%, rgba(76,92,255,0) 65%),
    radial-gradient(90% 100% at 90% 10%, rgba(0,255,170,.12) 0%, rgba(0,255,170,0) 70%),
    url('../assets/background_2.png'),
    #0b0f14;
  background-size: auto, auto, auto, cover, auto;
  background-position: center center, center, center, center, center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 96px 0 0;
  position: relative;
  overflow: hidden;
}
.nc-hero-bg::before {
  content: "";
  position: absolute; inset: -30% -10% auto -10%;
  background: radial-gradient(60% 60% at 60% 40%, rgba(255,255,255,.06) 0%, rgba(255,255,255,0) 70%);
}
.nc-hero-grid { display: grid; gap: 24px; align-items: center; }
.nc-hero-copy h1 { font-size: 50px; margin: 0 0 12px; line-height: 1.1; letter-spacing: -0.01em; font-weight: 800; }
.nc-hero-copy { position: relative; z-index: 1; max-width: 780px; }
.nc-highlight { color: #ffffff; }
.nc-hero .lead { color: #ffffff; font-size: 20px; }
.nc-underline { position: relative; }
.nc-underline::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 6px;
  background: rgba(255,255,255,0.85);
  border-radius: 6px;
}
.nc-link { color: #ffffff; text-decoration: underline; text-underline-offset: 3px; }
.nc-hero-visual { display: none; pointer-events: none; }
.nc-hero-visual img { width: 100%; height: auto; max-width: 520px; filter: drop-shadow(0 12px 30px rgba(0,0,0,.5)); }
.nc-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.nc-benefits { display:flex; flex-direction: column; align-items: flex-start; gap:8px; list-style:none; padding:0; margin:0; color:#ffffff; font-size: 17px; }
.nc-benefits li { display:flex; align-items:center; gap:8px; opacity:.95; }
.nc-benefits .icon { display:inline-flex; width:22px; height:22px; align-items:center; justify-content:center; color:#ffffff; }
.nc-sub { color: rgba(255,255,255,0.9); margin: 0; }
.nc-redeem { margin-top: 8px; color:#ffffff; font-size: 22px; line-height: 1.2; }
.nc-redeem strong { font-weight: 900; }
.nc-trust ul { display:flex; gap:16px; list-style:none; padding:0; margin: 14px 0 0; color:#a8b1c3; flex-wrap:wrap; }
.nc-panels { display:grid; gap:16px; margin-top: 26px; }
.nc-panel { background:#0f141b; border:1px solid #161e28; border-radius:16px; padding:16px; }
.nc-panel h2 { margin:0 0 8px; }
.nc-panel ul { margin:0; padding-left:18px; color:#a8b1c3; }
.nc-final { text-align:center; padding: 34px 0 48px; }

.nc-quote {
  position: absolute; right: 24%; bottom: 6%;
  color: #ffffff;
  text-align: right;
  font-size: 19px;
  font-style: italic;
  max-width: 420px;
}

.nc-quote .author {
  display: block;
  color: #e5e7eb;
  opacity: 0.9;
  margin-top: 4px;
  font-style: normal;
  font-size: 14px;
}
.nowrap { white-space: nowrap; }

/* ticker */
/* ticker removed */
@media (min-width: 900px) {
  .nc-hero-grid { grid-template-columns: 1fr; min-height: 680px; position: relative; }
  .nc-hero-visual { display: block; position: absolute; right: clamp(12px, 6%, 72px); bottom: -6px; z-index: 0; }
  .nc-hero-visual img { max-width: 620px; }
  .nc-panels { grid-template-columns: 1fr 1fr; }
}

/* --- Modal styles for new campaign --- */
.nc-modal[hidden] { display: none !important; }
.nc-modal { position: fixed; inset: 0; z-index: 40; }
.nc-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(2px); }
.nc-modal__dialog {
  position: relative;
  margin: 40px auto;
  max-width: 640px;
  background: #ffffff;
  border: 2px solid #511781;
  border-radius: 18px;
  color: var(--color-text);
  padding: 20px 20px 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  outline: none;
}
.nc-modal__close {
  position: absolute; top: 10px; right: 10px;
  background: transparent; border: 0; color: var(--color-muted); cursor: pointer;
  width: 36px; height: 36px; border-radius: 8px;
}
.nc-modal__close:hover { background: rgba(107,43,217,0.08); color: #6b2bd9; }
.nc-modal h2 { margin: 0 0 6px; font-size: 24px; letter-spacing: -0.01em; }
.nc-modal__sub { margin: 0 0 12px; color: var(--color-muted); }
.nc-form { display: grid; gap: 12px; }
.row--split { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; }
.nc-input {
  padding: 12px 12px;
  border-radius: 10px;
  border: 2px solid #511781;
  background: #ffffff;
  color: var(--color-text);
}
.nc-input::placeholder { color: #667085; }
.nc-input:focus {
  outline: none;
  border-color: #6b2bd9;
  box-shadow: 0 0 0 3px rgba(107,43,217,0.16);
}
.actions { margin-top: 6px; }

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

/* --- Testimonials section --- */
.nc-testimonials {
  background: #ffffff;
  color: var(--color-text);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.nc-testimonials::before {
  content: "★★★★★";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 200px;
  color: #511781;
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
  letter-spacing: 20px;
}

.nc-testimonials-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  position: relative;
  z-index: 1;
  justify-content: center;
  align-items: center;
}

.nc-testimonial-card {
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid #511781;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  backdrop-filter: blur(4px);
}

.nc-testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.nc-testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.nc-testimonial-info {
  flex: 1;
}

.nc-testimonial-name {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
}

.nc-testimonial-company {
  margin: 0;
  font-size: 14px;
  color: var(--color-muted);
  font-weight: 500;
  white-space: nowrap;
}

.nc-testimonial-rating {
  color: #FFD700;
  font-size: 16px;
  margin-left: 12px;
}

.nc-testimonial-quote {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text);
  font-style: italic;
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.nc-testimonial-quote::before {
  content: "\201C";
  color: #511781;
  font-size: 24px;
  position: absolute;
  left: -8px;
  top: -8px;
  font-family: serif;
}

@media (min-width: 768px) {
  .nc-testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .nc-testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-content: center;
  }
}

@media (min-width: 1400px) {
  .nc-testimonials-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    justify-content: center;
  }
}

/* --- Purple CTA section --- */
.nc-cta-section {
  background: #511781;
  color: #ffffff;
  padding: 60px 0;
  text-align: center;
  position: relative;
}

.nc-cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' fill='%23ffffff' fill-opacity='1'/%3E%3C/svg%3E") no-repeat center top;
  background-size: cover;
}

.nc-cta-content h2 {
  margin: 0 0 12px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.nc-cta-content p {
  margin: 0 0 24px;
  font-size: 18px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.nc-cta-nowrap {
  white-space: nowrap;
}

.nc-cta-content .button--promo {
  background: linear-gradient(180deg,#ff6a4a,#ff4e3a);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(255, 78, 58, 0.35);
}

.nc-cta-content .button--promo:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
}

/* Inline CTA section within hero */
.nc-cta-inline {
  margin-top: 32px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.nc-cta-inline h2 {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.nc-cta-inline p {
  margin: 0 0 20px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.nc-cta-inline .button--promo {
  background: linear-gradient(180deg,#ff6a4a,#ff4e3a);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(255, 78, 58, 0.35);
  font-size: 18px;
  padding: 16px 32px;
}

.nc-cta-inline .button--promo:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .nc-cta-inline {
    margin-top: 24px;
    padding: 24px;
  }
  
  .nc-cta-inline h2 {
    font-size: 20px;
  }
  
  .nc-cta-inline p {
    font-size: 14px;
  }
  
  .nc-cta-inline .button--promo {
    font-size: 16px;
    padding: 14px 28px;
  }
}

/* About page split layout */
.about-split-layout {
  display: flex;
  min-height: 100vh;
}

.about-section {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 60px 0;
}

.about-section--white {
  background: #ffffff;
}

.about-section--purple {
  background: #511781;
  position: relative;
}

.about-section--purple .container {
  position: relative;
}

.about-section--purple .about-content {
  color: #ffffff;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ensure strong white text inside purple section */
.about-section--purple .about-content p,
.about-section--purple .about-content h1,
.about-section--purple .about-content h2,
.about-section--purple .about-content h3,
.about-section--purple .about-content h4,
.about-section--purple .about-content h5,
.about-section--purple .about-content h6 {
  color: #ffffff !important;
}

/* About page content styling */
.about-content {
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
  color: #2d3748;
  padding: 0 20px;
}

/* Pricing page styles */
body.pricing-page {
  background: #511781;
}

body.pricing-page .site-header {
  background: #ffffff;
}

.pricing-section {
  padding: 80px 0;
  background: #511781;
}

.pricing-header {
  text-align: center;
  margin-bottom: 60px;
}

.pricing-header h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
}

.pricing-header .lead {
  font-size: 1.25rem;
  color: #e2e8f0;
  max-width: 600px;
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 0 4px 16px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 2px solid #a78bfa;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.8) 50%, transparent 100%);
  z-index: 1;
}

.pricing-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(0, 0, 0, 0.02) 100%);
  pointer-events: none;
  z-index: 1;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.15);
  border-color: #8b5cf6;
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
}

.pricing-card:hover::after {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 50%, rgba(0, 0, 0, 0.03) 100%);
}

.pricing-card--featured {
  border-color: #511781;
  transform: scale(1.05);
  box-shadow: 0 10px 36px rgba(81, 23, 129, 0.2), 0 5px 18px rgba(81, 23, 129, 0.15);
  background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
}

.pricing-card--featured::before {
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.9) 50%, transparent 100%);
}

.pricing-card--featured::after {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, transparent 50%, rgba(81, 23, 129, 0.02) 100%);
}

.pricing-card--featured:hover {
  transform: scale(1.05) translateY(-6px);
  box-shadow: 0 14px 44px rgba(81, 23, 129, 0.25), 0 7px 22px rgba(81, 23, 129, 0.2);
  background: linear-gradient(135deg, #ffffff 0%, #e6f0ff 100%);
}

.pricing-card--featured:hover::after {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, transparent 50%, rgba(81, 23, 129, 0.03) 100%);
}

.pricing-card-header {
  padding: 32px 32px 0;
  text-align: center;
  position: relative;
  z-index: 2;
}

.pricing-card-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a202c;
  margin: 0 0 16px 0;
}

.savings {
  background: linear-gradient(135deg, #511781, #6b2bd9);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(81, 23, 129, 0.3);
  position: relative;
  overflow: hidden;
}

.savings::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.savings:hover::before {
  left: 100%;
}

.savings--placeholder {
  background: transparent;
  color: transparent;
  box-shadow: none;
  visibility: hidden;
}

.pricing-card-body {
  padding: 0 32px 32px;
  text-align: center;
  position: relative;
  z-index: 2;
  flex: 1;
}

.price {
  margin-bottom: 32px;
}

.currency {
  font-size: 1.25rem;
  color: #4a5568;
  vertical-align: top;
}

.amount {
  font-size: 3.5rem;
  font-weight: 800;
  color: #1a202c;
  line-height: 1;
}

.period {
  font-size: 1rem;
  color: #4a5568;
  margin-left: 8px;
}

.features {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.features li {
  padding: 12px 0;
  color: #4a5568;
  position: relative;
  padding-left: 24px;
}

.features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #511781;
  font-weight: bold;
}

.pricing-card-footer {
  padding: 0 32px 32px;
  position: relative;
  z-index: 2;
  margin-top: auto;
}

.pricing-card-footer .button {
  width: 100%;
  text-align: center;
  padding: 16px 24px;
  font-size: 1.125rem;
  font-weight: 600;
}

.pricing-card-footer .button--outline {
  background: #ffffff;
  color: #511781;
  border: 2px solid #511781;
}

.pricing-card-footer .button--outline:hover {
  background: #511781;
  color: #ffffff;
  border-color: #511781;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .pricing-section {
    padding: 60px 0;
  }
  
  .pricing-header h1 {
    font-size: 2.5rem;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .pricing-card--featured {
    transform: none;
  }
  
  .pricing-card--featured:hover {
    transform: translateY(-4px);
  }
  
  .amount {
    font-size: 3rem;
  }
}

/* Ensure button size consistency on about page */
.about-content .button--promo {
  font-size: 22px;
  padding: 14px 20px;
}

.about-content--purple {
  color: #ffffff;
}

.about-content p {
  margin-bottom: 28px;
  font-size: 17px;
  color: #2d3748;
  font-weight: 400;
  text-align: left;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.about-content--purple p {
  color: #ffffff;
}

.about-content p:last-of-type {
  margin-bottom: 40px;
}

.about-content h3 {
  margin: 40px 0 16px 0;
  font-size: 24px;
  font-weight: 700;
  color: #511781;
  line-height: 1.3;
}

.about-content h3:first-of-type {
  margin-top: 32px;
}

.about-content--purple h3 {
  color: #ffffff;
}

/* Connecting line animation for headlines */
.about-content {
  position: relative;
}

.about-content h3 {
  position: relative;
}







.about-signature {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 3px solid #511781;
  text-align: center;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.about-signature--purple {
  border-top: 3px solid #ffffff;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.about-signature p {
  margin: 0;
  font-size: 20px;
  color: #511781;
  font-weight: 600;
  line-height: 1.4;
}

.about-signature--purple p {
  color: #ffffff;
}

.about-signature strong {
  color: #511781;
  font-weight: 700;
  font-size: 22px;
}

.about-signature--purple strong {
  color: #ffffff;
}

/* Simple signature styling */
.about-signature-simple {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid rgba(255, 255, 255, 0.3);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end; /* bottom-align photo and text */
  gap: 20px;
}

.signature-photo {
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
  align-self: flex-end; /* ensure photo sits on the same baseline */
}

.signature-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* align text block with bottom of photo */
  align-self: end; /* sit on the container baseline */
  transform: translateY(20px); /* push text down to align with image bottom */
}

.about-signature-simple p {
  /* Override generic about-content paragraph spacing within signature */
  margin: 0;
}

.signature-name {
  margin: 0 0 -8px 0;
  padding: 0;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.1;
}

.signature-title {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.1;
}

@media (max-width: 1024px) {
  .about-split-layout {
    flex-direction: column;
  }
  
  .about-section {
    padding: 40px 0;
  }
  
  .about-content {
    max-width: 700px;
  }
}

@media (max-width: 768px) {
  .about-content {
    line-height: 1.7;
    padding: 0 15px;
  }
  
  .about-content p {
    font-size: 16px;
    margin-bottom: 24px;
    text-align: left;
  }
  
  .about-content h3 {
    font-size: 20px;
    margin: 32px 0 12px 0;
    padding-left: 25px;
  }
  
  .about-content h3:first-of-type {
    margin-top: 24px;
  }
  
  .about-signature-simple {
    margin-top: 30px;
    padding-top: 20px;
    gap: 15px;
  }
  
  .signature-photo {
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255, 255, 255, 0.3);
  }
  
  .signature-text {
    min-height: 60px; /* match mobile photo size */
  }
  
  .signature-name {
    font-size: 16px;
  }
  
  .signature-title {
    font-size: 13px;
  }
  
  .about-content::before {
    left: -15px;
    width: 2px;
  }
  
  .about-content h3::before {
    left: -15px;
    width: 10px;
    height: 10px;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 2px #511781;
  }
  
  .about-content--purple h3::before {
    border: 2px solid #511781;
    box-shadow: 0 0 0 2px #ffffff;
  }
  
  .about-signature {
    margin-top: 40px;
    padding: 30px 20px;
  }
  
  .about-signature p {
    font-size: 18px;
  }
  
  .about-signature strong {
    font-size: 20px;
  }
}
