/* ==========================================================================
   Activation King - Theme Base Design System
   Comprehensive CSS foundation for the page builder block system.
   Variables are injected at runtime by ThemeService; defaults provided here.
   ========================================================================== */

/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ===== DEFAULTS (overridden by ThemeService :root injection) ===== */
:root {
  /* Core Brand */
  --color-primary: #7F56D9;
  --color-secondary: #6941C6;
  --color-accent: #F43F5E;
  --color-accent-light: #FF6B81;
  --color-accent-dark: #E11D48;

  /* Text & Background */
  --color-text: #101828;
  --color-text-light: #667085;
  --color-bg: #FFFFFF;
  --color-surface: #F9FAFB;
  --color-dark-bg: #050210;

  /* Semantic */
  --color-success: #059669;
  --color-success-light: #12B76A;
  --color-success-dark: #027A48;
  --color-warning: #D97706;
  --color-warning-light: #F59E0B;
  --color-warning-lighter: #FBBF24;
  --color-danger: #D92D20;
  --color-info: #0284C7;

  /* Typography */
  --font-heading: 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 12px;

  /* Computed RGB */
  --color-primary-rgb: 127, 86, 217;
  --color-secondary-rgb: 105, 65, 198;
  --color-accent-rgb: 244, 63, 94;
  --color-accent-light-rgb: 255, 107, 129;
  --color-success-rgb: 5, 150, 105;
  --color-warning-rgb: 217, 119, 6;
  --color-info-rgb: 2, 132, 199;

  /* Gray Scale */
  --gray-900: #101828;
  --gray-800: #1D2939;
  --gray-700: #344054;
  --gray-600: #475467;
  --gray-500: #667085;
  --gray-400: #98A2B3;
  --gray-300: #D0D5DD;
  --gray-200: #EAECF0;
  --gray-100: #F2F4F7;
  --gray-50: #F9FAFB;

  /* Tint Backgrounds */
  --color-primary-bg: #F5F0FF;
  --color-primary-border: #EDE5FF;
  --color-accent-bg: #FFF5F6;
  --color-accent-border: #FFE0E6;
  --color-success-bg: #ECFDF5;
  --color-success-border: #D1FAE5;
  --color-warning-bg: #FFFBEB;
  --color-warning-border: #FEF3C7;
  --color-info-bg: #EFF8FF;
  --color-info-border: #D1E9FF;

  /* Shadows */
  --shadow-rgb: 16, 24, 40;
  --shadow-sm: 0 1px 2px rgba(16,24,40,0.05);
  --shadow-md: 0 4px 12px rgba(16,24,40,0.08);
  --shadow-lg: 0 12px 32px rgba(16,24,40,0.12);

  /* Layout */
  --container-max: 1280px;
  --section-py: 80px;

  /* Typography Scale */
  --text-section-title: clamp(28px, 3.5vw, 42px);
  --text-card-title: 18px;
  --text-body: 15px;
  --text-small: 13px;
  --text-xs: 11px;
  --text-subtitle: clamp(15px, 1.3vw, 17px);
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:not([class]):hover {
  color: var(--color-accent-dark);
}

/* ===== TYPOGRAPHY SCALE ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
  margin-top: 0;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; line-height: 1.08; margin-bottom: 24px; }
h2 { font-size: clamp(1.875rem, 4vw, 2.75rem); font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; line-height: 1.2; margin-bottom: 16px; }
h4 { font-size: clamp(1.125rem, 2.5vw, 1.375rem); margin-bottom: 12px; }
h5 { font-size: 1.125rem; margin-bottom: 10px; }
h6 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }

p {
  margin-top: 0;
  margin-bottom: 16px;
  color: var(--color-text);
  line-height: 1.7;
}

small {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

strong {
  font-weight: 700;
}

/* ===== CONTAINER ===== */
.ak-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ===== SECTION WRAPPER ===== */
.ak-section {
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.ak-section--dark {
  background: var(--color-dark-bg);
  color: #fff;
}

.ak-section--dark h1,
.ak-section--dark h2,
.ak-section--dark h3,
.ak-section--dark h4,
.ak-section--dark p {
  color: #fff;
}

.ak-section--dark p {
  color: rgba(255,255,255,0.75);
}

.ak-section--surface {
  background: var(--color-surface);
}

.ak-section--gradient {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
}

.ak-section--gradient h1,
.ak-section--gradient h2,
.ak-section--gradient h3,
.ak-section--gradient h4 {
  color: #fff;
}

.ak-section--gradient p {
  color: rgba(255,255,255,0.85);
}

/* ===== SECTION HEADER ===== */
.ak-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.ak-section-header .ak-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius);
  background: rgba(var(--color-primary-rgb), 0.1);
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.ak-section--dark .ak-section-header .ak-badge,
.ak-section--gradient .ak-section-header .ak-badge {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.ak-section-header h2 {
  margin-bottom: 16px;
}

.ak-section-header p {
  color: var(--color-text-light);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.ak-section--dark .ak-section-header p,
.ak-section--gradient .ak-section-header p {
  color: rgba(255,255,255,0.75);
}

/* ===== BUTTONS ===== */
.ak-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  min-height: 48px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.12s cubic-bezier(.455,.03,.515,.955);
  font-family: var(--font-body);
  line-height: 1.4;
  white-space: nowrap;
}

.ak-btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.ak-btn--primary {
  background: var(--color-accent);
  color: #fff;
  border-color: rgba(255,255,255,0.15);
}

.ak-btn--primary:hover {
  background: #e11d48;
  border-color: rgba(255,255,255,0.15);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.ak-btn--purple {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.ak-btn--purple:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.ak-btn--accent {
  background: var(--color-accent);
  color: #fff;
  border-color: rgba(255,255,255,0.15);
}

.ak-btn--accent:hover {
  background: #e11d48;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.ak-btn--outline {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}

.ak-btn--outline:hover {
  background: rgba(var(--color-primary-rgb), 0.1);
  color: var(--color-primary);
}

.ak-btn--dark-outline {
  border-color: rgba(255,255,255,0.3);
  color: #fff;
  background: transparent;
}

.ak-btn--dark-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.ak-btn--white {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
}

.ak-btn--white:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: var(--color-primary);
}

.ak-btn--ghost {
  background: transparent;
  color: var(--color-text);
  border-color: transparent;
}

.ak-btn--ghost:hover {
  background: var(--color-surface);
}

.ak-btn--lg {
  padding: 16px 36px;
  font-size: 1.125rem;
}

.ak-btn--sm {
  padding: 8px 20px;
  font-size: 0.875rem;
}

/* ===== CARDS ===== */
.ak-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.ak-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.ak-card--featured {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary), var(--shadow-md);
  position: relative;
}

.ak-card--flat {
  box-shadow: none;
  border: 1px solid rgba(0,0,0,0.08);
}

.ak-card--flat:hover {
  box-shadow: var(--shadow-sm);
}

/* ===== GRID UTILITIES ===== */
.ak-grid {
  display: grid;
  gap: 24px;
}

.ak-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.ak-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.ak-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.ak-grid--gap-lg {
  gap: 32px;
}

.ak-grid--gap-xl {
  gap: 48px;
}

@media (max-width: 1024px) {
  .ak-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .ak-grid--2,
  .ak-grid--3,
  .ak-grid--4 {
    grid-template-columns: 1fr;
  }

  .ak-section {
    padding: 48px 0;
  }

  .ak-section-header {
    margin-bottom: 32px;
  }

  .ak-container {
    padding: 0 16px;
  }
}

/* ===== ICON CIRCLE ===== */
.ak-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--color-primary-rgb), 0.1);
  color: var(--color-primary);
  font-size: 1.5rem;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.ak-icon--lg {
  width: 72px;
  height: 72px;
  font-size: 2rem;
}

.ak-icon--round {
  border-radius: 50%;
}

/* ===== BADGE / TAG ===== */
.ak-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ak-tag--primary {
  background: var(--color-primary);
  color: #fff;
}

.ak-tag--accent {
  background: var(--color-accent);
  color: #fff;
}

.ak-tag--subtle {
  background: rgba(var(--color-primary-rgb), 0.1);
  color: var(--color-primary);
}

/* ===== PLATFORM BADGES ===== */
.ak-platforms {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.ak-platforms__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius);
  background: rgba(var(--color-primary-rgb), 0.08);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  transition: all 0.2s;
}

.ak-platforms__item:hover {
  background: rgba(var(--color-primary-rgb), 0.15);
  transform: translateY(-1px);
}

.ak-platforms__item svg,
.ak-platforms__item img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.ak-section--dark .ak-platforms__item {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* ===== SPLIT LAYOUT ===== */
.ak-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.ak-split--reverse .ak-split__media {
  order: -1;
}

.ak-split__content h2 {
  margin-bottom: 16px;
}

.ak-split__content p {
  color: var(--color-text-light);
  margin-bottom: 24px;
  font-size: 1.0625rem;
  line-height: 1.7;
}

.ak-split__content .ak-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius);
  background: rgba(var(--color-primary-rgb), 0.1);
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.ak-split__list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.ak-split__list li {
  padding: 8px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1rem;
  color: var(--color-text);
}

.ak-split__list li::before {
  content: "\2713";
  color: var(--color-primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.ak-split__media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
  .ak-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ak-split--reverse .ak-split__media {
    order: 0;
  }
}

/* ===== PRICING ===== */
.ak-pricing {
  text-align: center;
  position: relative;
}

.ak-pricing__price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1;
  margin-bottom: 8px;
}

.ak-pricing__price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text-light);
}

.ak-pricing__features {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  text-align: left;
}

.ak-pricing__features li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
}

.ak-pricing__features li::before {
  content: "\2713";
  color: var(--color-primary);
  font-weight: 700;
  flex-shrink: 0;
}

.ak-pricing__popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

/* ===== TESTIMONIALS ===== */
.ak-testimonial {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}

.ak-testimonial__stars {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.ak-testimonial__text {
  font-size: 1.0625rem;
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.7;
  color: var(--color-text);
  flex: 1;
}

.ak-testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.ak-testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--color-surface);
  flex-shrink: 0;
}

.ak-testimonial__info {
  display: flex;
  flex-direction: column;
}

.ak-testimonial__name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-text);
}

.ak-testimonial__role {
  font-size: 0.8125rem;
  color: var(--color-text-light);
}

/* ===== FAQ ACCORDION ===== */
.ak-faq {
  max-width: 720px;
  margin: 0 auto;
}

.ak-faq__item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.ak-faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  font-size: 1.0625rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  color: var(--color-text);
  font-family: var(--font-body);
  gap: 16px;
  line-height: 1.4;
}

.ak-faq__question:hover {
  color: var(--color-primary);
}

.ak-faq__icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
  color: var(--color-primary);
  flex-shrink: 0;
  line-height: 1;
}

.ak-faq__item.active .ak-faq__icon {
  transform: rotate(45deg);
}

.ak-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.ak-faq__item.active .ak-faq__answer {
  max-height: 600px;
}

.ak-faq__answer p {
  padding: 0 0 20px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin: 0;
}

/* ===== STATS ===== */
.ak-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.ak-stat {
  text-align: center;
  min-width: 120px;
}

.ak-stat__number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
}

.ak-section--dark .ak-stat__number,
.ak-section--gradient .ak-stat__number {
  color: #fff;
}

.ak-stat__label {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  margin-top: 4px;
}

.ak-section--dark .ak-stat__label,
.ak-section--gradient .ak-stat__label {
  color: rgba(255,255,255,0.7);
}

@media (max-width: 768px) {
  .ak-stats {
    gap: 32px;
  }

  .ak-stat__number {
    font-size: 2rem;
  }
}

/* ===== LOGO WALL ===== */
.ak-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.ak-logos:hover {
  opacity: 0.8;
}

.ak-logos img {
  height: 32px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.ak-logos img:hover {
  filter: none;
  opacity: 1;
}

.ak-section--dark .ak-logos img {
  filter: grayscale(100%) brightness(2);
}

.ak-section--dark .ak-logos img:hover {
  filter: brightness(1.5);
}

@media (max-width: 768px) {
  .ak-logos {
    gap: 24px;
  }

  .ak-logos img {
    height: 24px;
  }
}

/* ===== VIDEO CONTAINER ===== */
.ak-video {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 800px;
  margin: 0 auto;
}

.ak-video__placeholder {
  position: relative;
  cursor: pointer;
  aspect-ratio: 16 / 9;
  background: var(--color-dark-bg);
}

.ak-video__placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ak-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.ak-video__play:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.ak-video__embed {
  aspect-ratio: 16 / 9;
  width: 100%;
}

.ak-video__embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== COMPARISON TABLE ===== */
.ak-comparison {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.ak-comparison table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.ak-comparison th {
  padding: 16px;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid rgba(0,0,0,0.1);
  font-size: 0.9375rem;
  color: var(--color-text);
  white-space: nowrap;
}

.ak-comparison th:first-child {
  min-width: 200px;
}

.ak-comparison th.ak-comparison__highlight {
  color: var(--color-primary);
  background: rgba(var(--color-primary-rgb), 0.04);
}

.ak-comparison td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 0.9375rem;
}

.ak-comparison td.ak-comparison__highlight {
  background: rgba(var(--color-primary-rgb), 0.04);
}

.ak-comparison tr:hover td {
  background: var(--color-surface);
}

.ak-comparison tr:hover td.ak-comparison__highlight {
  background: rgba(var(--color-primary-rgb), 0.08);
}

.ak-comparison .check {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.125rem;
}

.ak-comparison .cross {
  color: #d1d5db;
  font-size: 1.125rem;
}

/* ===== SCREENSHOT GALLERY ===== */
.ak-gallery {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 16px;
  -webkit-overflow-scrolling: touch;
}

.ak-gallery::-webkit-scrollbar {
  height: 6px;
}

.ak-gallery::-webkit-scrollbar-track {
  background: var(--color-surface);
  border-radius: 3px;
}

.ak-gallery::-webkit-scrollbar-thumb {
  background: rgba(var(--color-primary-rgb), 0.3);
  border-radius: 3px;
}

.ak-gallery__item {
  flex: 0 0 auto;
  width: 320px;
  scroll-snap-align: start;
}

.ak-gallery__item img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.ak-gallery__item img:hover {
  transform: scale(1.02);
}

.ak-gallery__caption {
  text-align: center;
  margin-top: 10px;
  font-size: 0.875rem;
  color: var(--color-text-light);
  font-weight: 500;
}

@media (max-width: 768px) {
  .ak-gallery__item {
    width: 260px;
  }
}

/* ===== CTA BANNER ===== */
.ak-cta {
  text-align: center;
  padding: 64px 0;
}

.ak-cta h2 {
  color: #fff;
  margin-bottom: 16px;
}

.ak-cta p {
  color: rgba(255,255,255,0.8);
  font-size: 1.125rem;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.ak-cta__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== HERO ===== */
.ak-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ak-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ak-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ak-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.ak-hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.ak-hero__content h1 {
  margin-bottom: 20px;
}

.ak-hero__content p {
  font-size: 1.25rem;
  max-width: 600px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.ak-hero__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero alignment modifiers */
.ak-hero--center {
  text-align: center;
}

.ak-hero--center .ak-hero__content {
  margin: 0 auto;
}

.ak-hero--center .ak-hero__content p {
  margin-left: auto;
  margin-right: auto;
}

.ak-hero--center .ak-hero__buttons {
  justify-content: center;
}

/* Hero dark mode */
.ak-hero--dark {
  color: #fff;
}

.ak-hero--dark h1 {
  color: #fff;
}

.ak-hero--dark p {
  color: rgba(255,255,255,0.85);
}

/* Hero media (optional inline image below content) */
.ak-hero__media {
  position: relative;
  z-index: 2;
  margin-top: 48px;
}

.ak-hero__media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
  .ak-hero {
    min-height: 480px;
    padding: 48px 0;
  }

  .ak-hero__content p {
    font-size: 1.0625rem;
  }

  .ak-hero__buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .ak-hero--center .ak-hero__buttons {
    align-items: center;
  }
}

/* ===== DOWNLOAD CTA ===== */
.ak-download {
  text-align: center;
}

.ak-download__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.ak-download__meta {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-top: 8px;
}

.ak-section--dark .ak-download__meta,
.ak-section--gradient .ak-download__meta {
  color: rgba(255,255,255,0.6);
}

/* ===== UTILITY CLASSES ===== */
.ak-text-center { text-align: center; }
.ak-text-left { text-align: left; }
.ak-text-right { text-align: right; }
.ak-mx-auto { margin-left: auto; margin-right: auto; }
.ak-mb-0 { margin-bottom: 0; }
.ak-mb-16 { margin-bottom: 16px; }
.ak-mb-24 { margin-bottom: 24px; }
.ak-mb-32 { margin-bottom: 32px; }
.ak-mb-48 { margin-bottom: 48px; }
.ak-mt-32 { margin-top: 32px; }
.ak-mt-48 { margin-top: 48px; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.ak-animate {
  animation: fadeInUp 0.6s ease forwards;
}

.ak-animate--fade {
  animation: fadeIn 0.6s ease forwards;
}

.ak-animate--scale {
  animation: scaleIn 0.5s ease forwards;
}

.ak-animate--delay-1 { animation-delay: 0.1s; }
.ak-animate--delay-2 { animation-delay: 0.2s; }
.ak-animate--delay-3 { animation-delay: 0.3s; }
.ak-animate--delay-4 { animation-delay: 0.4s; }

/* ===== ACCESSIBILITY ===== */
.ak-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

@media (prefers-reduced-motion: reduce) {
  .ak-animate,
  .ak-animate--fade,
  .ak-animate--scale {
    animation: none;
    opacity: 1;
    transform: none;
  }

  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
