@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

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

:root {
  --bg: #ffffff;
  --bg-card: #fafafa;
  --fg: #171717;
  --fg-muted: #636366;
  --border: #e5e5e5;
  --primary: hsl(217, 91%, 35%);
  --primary-light: hsl(217, 91%, 95%);
  --primary-fg: #ffffff;
  --radius: 0.5rem;
  --max-w: 1100px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  line-height: 1.4;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-fg);
  border-color: var(--primary);
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-outline {
  background: var(--bg);
  color: var(--fg);
  border-color: var(--border);
}

.btn-outline:hover {
  background: var(--bg-card);
}

.btn-ghost {
  background: transparent;
  color: var(--fg-muted);
  border-color: transparent;
  padding: 0.5rem 0.75rem;
}

.btn-ghost:hover {
  background: var(--bg-card);
  color: var(--fg);
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.8125rem;
}

.btn-full {
  width: 100%;
}

/* ====== NAVBAR ====== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  gap: 1rem;
}

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

.navbar-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.navbar-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg-muted);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  transition: all 0.15s ease;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--fg);
  background: var(--bg-card);
}

.navbar-cta {
  display: none;
}

.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  color: var(--fg);
}

.mobile-toggle:hover {
  background: var(--bg-card);
}

.mobile-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 1rem 1.5rem;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg-muted);
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius);
  transition: all 0.15s ease;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--fg);
  background: var(--bg-card);
}

.mobile-menu .mobile-cta {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
  .navbar-links {
    display: flex;
  }
  .navbar-cta {
    display: flex;
  }
  .mobile-toggle {
    display: none;
  }
}

/* ====== SECTIONS ====== */
.section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 640px) {
  .section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

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

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fg);
  line-height: 1.3;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 1.875rem;
  }
}

.page-title {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fg);
  line-height: 1.2;
}

@media (min-width: 640px) {
  .page-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .page-title.hero-title {
    font-size: 3rem;
  }
}

.subtitle {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-narrow {
  max-width: 44rem;
}

/* ====== HERO ====== */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.3);
}

.hero-content {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5rem 1.5rem;
}

@media (min-width: 640px) {
  .hero-content {
    padding: 8rem 2rem;
  }
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}

/* ====== GRID ====== */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.grid-2-lg {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

/* ====== CARDS ====== */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.card-compact {
  padding: 1rem;
}

.card-highlighted {
  ring: 2px solid var(--primary);
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}

/* ====== ICON BOX ====== */
.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  background: var(--primary-light);
  color: var(--primary);
  flex-shrink: 0;
}

.icon-box svg {
  width: 1.25rem;
  height: 1.25rem;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--primary-fg);
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

/* ====== TEXT UTILITIES ====== */
.text-sm {
  font-size: 0.875rem;
}

.text-xs {
  font-size: 0.75rem;
}

.text-muted {
  color: var(--fg-muted);
}

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

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.font-medium {
  font-weight: 500;
}

.leading-relaxed {
  line-height: 1.7;
}

.uppercase {
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.text-center {
  text-align: center;
}

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-6 { margin-bottom: 1.5rem; }
.pt-3 { padding-top: 0.75rem; }
.pt-6 { padding-top: 1.5rem; }

/* ====== FEATURE ITEM ====== */
.feature-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
}

.feature-item p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ====== AUDIENCE CARD ====== */
.audience-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.audience-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
}

.audience-card .examples {
  font-size: 0.875rem;
  color: var(--fg-muted);
}

.audience-card .outcome {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg);
  margin-top: auto;
}

/* ====== TESTIMONIAL ====== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial-card .quote-icon {
  color: rgba(21, 82, 163, 0.4);
}

.testimonial-card .quote-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.testimonial-card .quote {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.7;
  flex: 1;
}

.testimonial-card .author {
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.testimonial-card .author-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fg);
}

.testimonial-card .author-role {
  font-size: 0.75rem;
  color: var(--fg-muted);
}

/* ====== CTA SECTION ====== */
.cta-section {
  background: var(--primary);
  color: var(--primary-fg);
  text-align: center;
}

.cta-section .section-title {
  color: var(--primary-fg);
}

.cta-section .subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.cta-section .btn-outline {
  background: transparent;
  color: var(--primary-fg);
  border-color: rgba(255, 255, 255, 0.3);
}

.cta-section .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ====== SERVICE BLOCK ====== */
.service-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.service-block:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

@media (min-width: 1024px) {
  .service-block {
    grid-template-columns: 1fr 1fr;
  }
}

.service-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.service-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
}

.service-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fg-muted);
  margin-bottom: 0.25rem;
}

/* ====== PRICING CARD ====== */
.pricing-card {
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.popular {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}

.badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--primary-fg);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}

.price {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--fg);
}

.price-currency {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--fg-muted);
  margin-left: 0.25rem;
}

.package-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--fg-muted);
  margin-top: 1rem;
}

.package-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.package-meta svg {
  width: 0.875rem;
  height: 0.875rem;
}

.feature-list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  flex: 1;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--fg-muted);
}

.feature-list li svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
  margin-top: 0.125rem;
  flex-shrink: 0;
}

/* ====== FAQ / ACCORDION ====== */
.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg);
  text-align: left;
  gap: 1rem;
}

.faq-question:hover {
  color: var(--fg);
}

.faq-question svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  color: var(--fg-muted);
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ====== GUARANTEE CARD ====== */
.guarantee-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.guarantee-card svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.guarantee-card p {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg);
}

/* ====== CONTACT FORM ====== */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 0.875rem;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--fg);
  transition: border-color 0.15s ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9ca3af;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(21, 82, 163, 0.1);
}

.form-group textarea {
  resize: none;
  min-height: 6rem;
}

.form-error {
  font-size: 0.75rem;
  color: #dc2626;
  margin-top: 0.25rem;
  display: none;
}

.form-group.error input,
.form-group.error textarea {
  border-color: #dc2626;
}

.form-group.error .form-error {
  display: block;
}

/* ====== NEXT STEPS ====== */
.next-steps li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--fg-muted);
}

.next-steps li svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--fg-muted);
}

.trust-item svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
  flex-shrink: 0;
}

/* ====== FOOTER ====== */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-card);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

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

.footer h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.75rem;
}

.footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer ul a {
  font-size: 0.875rem;
  color: var(--fg-muted);
  transition: color 0.15s ease;
}

.footer ul a:hover {
  color: var(--fg);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.75rem;
  color: var(--fg-muted);
}

/* ====== LEGAL PAGES ====== */
.legal-section h2 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.legal-section p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

.legal-section a {
  color: var(--fg);
}

.legal-section a:hover {
  text-decoration: underline;
}

/* ====== TOAST NOTIFICATION ====== */
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--fg);
  color: var(--bg);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  z-index: 100;
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.3s ease;
  max-width: 24rem;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.error {
  background: #dc2626;
}

.toast-title {
  font-weight: 600;
}

.toast-desc {
  font-size: 0.8125rem;
  margin-top: 0.25rem;
  opacity: 0.85;
}

/* ====== SVG ICONS INLINE ====== */
.inline-icon {
  display: inline-flex;
  width: 1rem;
  height: 1rem;
  vertical-align: middle;
}

/* ====== CONTACT INFO ====== */
.contact-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--fg-muted);
  transition: color 0.15s ease;
}

.contact-link:hover {
  color: var(--fg);
}

.contact-link svg {
  width: 1rem;
  height: 1rem;
}

.border-t {
  border-top: 1px solid var(--border);
}

.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.space-y-12 > * + * { margin-top: 3rem; }

@media (max-width: 639px) {
  .grid-3 {
    gap: 1.25rem;
  }

  .grid-2-lg {
    gap: 2.5rem;
  }

  .card {
    padding: 1.25rem;
  }

  .service-block {
    padding-bottom: 2rem;
  }

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

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .pricing-card {
    padding: 1.25rem;
  }
}

/* Cookie Banner */

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 9999;
  display: block;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner__content {
  max-width: 720px;
  margin: 0 auto;
  background: #111;
  color: #fff;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.cookie-banner__content p {
  margin: 0 0 1rem 0;
  line-height: 1.5;
}

.cookie-banner__content a {
  color: #fff;
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cookie-banner__actions button {
  border: 0;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
}

#cookie-accept {
  background: #fff;
  color: #111;
}

#cookie-reject {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}
