/* ===== CSS Variables ===== */
:root {
  --purple-50: #f5f3ff;
  --purple-100: #ede9fe;
  --purple-200: #ddd6fe;
  --purple-500: #7c6af0;
  --purple-600: #6d5ce8;
  --purple-700: #5b4bd1;
  --purple-800: #4a3cb8;
  --purple-900: #3b2f94;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.08), 0 8px 10px -6px rgb(0 0 0 / 0.05);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --max-width: 1120px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--slate-800);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--purple-600);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--purple-700);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--purple-700);
  border: 2px solid var(--purple-200);
}
.btn-outline:hover {
  border-color: var(--purple-600);
  background: var(--purple-50);
}
.btn-white {
  background: var(--white);
  color: var(--purple-700);
}
.btn-white:hover {
  background: var(--purple-50);
  transform: translateY(-1px);
}
.full-width { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-100);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--slate-900);
}
.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-800));
  color: white;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
}
.main-nav {
  display: flex;
  gap: 32px;
}
.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--slate-600);
  position: relative;
  padding: 4px 0;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--purple-700);
}
.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--purple-600);
  border-radius: 1px;
}
.header-cta { display: none; }
@media (min-width: 900px) {
  .header-cta { display: inline-flex; }
}

/* Mobile menu */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--slate-800);
  border-radius: 1px;
  transition: 0.2s;
}
@media (min-width: 768px) {
  .mobile-menu-btn { display: none; }
}
.main-nav.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: white;
  padding: 24px;
  border-bottom: 1px solid var(--slate-100);
  box-shadow: var(--shadow-lg);
  gap: 16px;
}
@media (max-width: 767px) {
  .main-nav { display: none; }
  .main-nav.open { display: flex; }
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(145deg, #5b4bd1 0%, #6d5ce8 45%, #7c6af0 100%);
  color: white;
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.12) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.08) 0%, transparent 35%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  max-width: 680px;
}
.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.125rem;
  opacity: 0.92;
  margin-bottom: 32px;
  max-width: 520px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero .btn-primary {
  background: white;
  color: var(--purple-700);
}
.hero .btn-primary:hover {
  background: var(--purple-50);
}
.hero .btn-outline {
  border-color: rgba(255,255,255,0.5);
  color: white;
}
.hero .btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: white;
}

/* ===== Sections ===== */
.section {
  padding: 80px 0;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--slate-900);
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--purple-600);
  margin: 12px auto 0;
  border-radius: 2px;
}
.section-sub {
  text-align: center;
  color: var(--slate-600);
  margin-bottom: 48px;
  font-size: 1.05rem;
}

/* Cards */
.cards-grid {
  display: grid;
  gap: 24px;
}
.three-col {
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .three-col { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--slate-100);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Feature cards */
.feature-card {
  text-align: center;
}
.icon-wrap {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  background: var(--purple-50);
  color: var(--purple-600);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--slate-900);
}
.feature-card p {
  font-size: 0.95rem;
  color: var(--slate-600);
  line-height: 1.55;
}

/* Process */
.process-section {
  background: var(--slate-50);
}
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 900px;
  margin: 48px auto 0;
}
@media (min-width: 768px) {
  .process-steps {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
  }
}
.process-step {
  flex: 1;
  text-align: center;
  padding: 0 16px;
}
.step-number {
  width: 48px;
  height: 48px;
  background: var(--purple-600);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0 auto 16px;
}
.process-step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--slate-900);
}
.process-step p {
  font-size: 0.95rem;
  color: var(--slate-600);
}
.process-connector {
  display: none;
}
@media (min-width: 768px) {
  .process-connector {
    display: block;
    width: 40px;
    height: 2px;
    background: var(--purple-200);
    margin-top: 24px;
    flex-shrink: 0;
  }
}

/* Pricing */
.pricing-teaser {
  background: var(--white);
}
.pricing-grid {
  display: grid;
  gap: 24px;
  margin-top: 48px;
}
@media (min-width: 900px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
}
.pricing-card.popular {
  border: 2px solid var(--purple-600);
  box-shadow: var(--shadow-lg);
}
.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--purple-600);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.pricing-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 4px;
}
.plan-desc {
  font-size: 0.9rem;
  color: var(--slate-500);
  margin-bottom: 20px;
}
.price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
}
.old-price {
  font-size: 1rem;
  color: var(--slate-400);
  text-decoration: line-through;
}
.current-price {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.02em;
}
.price-note {
  font-size: 0.85rem;
  color: var(--slate-500);
  margin-bottom: 24px;
}
.feature-list {
  flex: 1;
  margin-bottom: 28px;
}
.feature-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--slate-700);
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  background: var(--purple-100);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

/* CTA Band */
.cta-band {
  background: linear-gradient(135deg, var(--purple-700), var(--purple-600));
  color: white;
  text-align: center;
  padding: 64px 0;
}
.cta-band h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.cta-band p {
  opacity: 0.9;
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--slate-900);
  color: #f1f5f9;
  padding-top: 64px;
}
.footer-inner {
  display: grid;
  gap: 40px;
  padding-bottom: 48px;
}
@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr;
  }
}
.footer-brand .logo {
  color: white;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 320px;
}
.footer-links h4,
.footer-contact h4 {
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.footer-links a,
.footer-contact a {
  display: block;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: #e2e8f0;
  transition: color 0.15s;
}
.footer-links a:hover,
.footer-contact a:hover {
  color: white;
}
.footer-contact p {
  font-size: 0.95rem;
  color: #e2e8f0;
}
.footer-bottom {
  border-top: 1px solid var(--slate-700);
  padding: 20px 0;
  font-size: 0.875rem;
  color: #cbd5e1;
  text-align: center;
}

/* ===== Services Page ===== */
.page-hero {
  background: var(--slate-50);
  padding: 64px 0 48px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.page-hero p {
  color: var(--slate-600);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}
.services-grid {
  display: grid;
  gap: 24px;
  margin-top: 16px;
}
@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}
.service-card {
  padding: 28px;
}
.service-card .icon-wrap {
  margin: 0 0 16px;
}
.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--slate-900);
}
.service-card p {
  font-size: 0.95rem;
  color: var(--slate-600);
  line-height: 1.55;
}

/* ===== Contact Page ===== */
.contact-grid {
  display: grid;
  gap: 48px;
  margin-top: 16px;
}
@media (min-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }
}
.contact-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--slate-900);
}
.contact-info p {
  color: var(--slate-600);
  margin-bottom: 24px;
  line-height: 1.6;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.contact-item svg {
  flex-shrink: 0;
  color: var(--purple-600);
  margin-top: 2px;
}
.contact-form {
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  background: var(--white);
  color: var(--slate-800);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--purple-500);
  box-shadow: 0 0 0 3px var(--purple-100);
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}
.form-row {
  display: grid;
  gap: 16px;
}
@media (min-width: 500px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

/* ===== Simple Contact (no form) ===== */
.contact-simple {
  display: grid;
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .contact-simple {
    grid-template-columns: 1fr 1fr;
  }
}
.contact-card {
  text-align: center;
  padding: 40px 28px;
}
.contact-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--slate-900);
}

/* ===== Utility ===== */
.text-center { text-align: center; }
.mt-8 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }


/* ===== FAQ Accordion ===== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  margin-bottom: 12px;
  background: white;
  overflow: hidden;
}
.faq-item summary {
  padding: 18px 22px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--slate-900);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--slate-500);
  flex-shrink: 0;
}
.faq-item[open] summary::after {
  content: '−';
}
.faq-item .faq-answer {
  padding: 0 22px 20px;
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.6;
  border-top: 1px solid var(--slate-100);
  padding-top: 16px;
}


/* ===== About / Intro ===== */
.about-section {
  background: var(--white);
  padding: 72px 0;
}
.about-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.about-content h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.about-content p {
  font-size: 1.05rem;
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 16px;
}
.about-content p:last-child {
  margin-bottom: 0;
}

/* ===== Cookie Banner ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--slate-900);
  color: #e2e8f0;
  padding: 16px 24px;
  z-index: 1000;
  display: none;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}
.cookie-banner.show {
  display: block;
}
.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cookie-inner p {
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
  flex: 1;
  min-width: 220px;
}
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-actions .btn {
  padding: 10px 20px;
  font-size: 14px;
}
.cookie-actions .btn-outline {
  border-color: rgba(255,255,255,0.3);
  color: white;
}
.cookie-actions .btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}
