/**
 * Heyoni Offer Optimization Engine Frontend CSS
 * 
 * Preserves the original React app's design, spacing, typography,
 * and visual hierarchy while being safely scoped for WordPress.
 */

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

/* CSS Variables - Brand Colors */
:root {
  --brand-primary: #16404b;
  --brand-secondary: #f5eee9;
  --brand-accent: #e2ff5e;
  --brand-hover: #0e5a49;
  
  /* Semantic colors */
  --color-red: #ef4444;
  --color-green: #22c55e;
  --color-amber: #f59e0b;
  
  /* Typography */
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
}

/* Base styles */
.heyoni-offer-optimization-engine {
  font-family: var(--font-sans);
  background-color: var(--brand-secondary);
  color: var(--brand-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header */
.heyoni-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(22, 64, 75, 0.1);
}

.heyoni-header-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.heyoni-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}

.heyoni-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--brand-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-center;
  transition: background-color 0.3s ease;
}

.heyoni-logo:hover .heyoni-logo-icon {
  background: var(--brand-hover);
}

.heyoni-zap-icon {
  width: 20px;
  height: 20px;
  color: var(--brand-accent);
}

.heyoni-logo-text {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.025em;
  color: var(--brand-primary);
}

.heyoni-header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.heyoni-start-btn {
  background: var(--brand-primary);
  color: var(--brand-secondary);
  padding: 10px 20px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(22, 64, 75, 0.1);
  border: 1px solid rgba(22, 64, 75, 0.2);
}

.heyoni-start-btn:hover {
  background: var(--brand-hover);
  box-shadow: 0 4px 16px rgba(22, 64, 75, 0.2);
  transform: translateY(-2px);
}

.heyoni-start-btn:active {
  transform: translateY(0) scale(0.95);
}

/* Main Content */
.heyoni-main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 32px;
}

/* Hero Section */
.heyoni-hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}

@media (min-width: 1280px) {
  .heyoni-hero {
    flex-direction: row;
    align-items: center;
  }
}

.heyoni-hero-content {
  display: flex;
  flex: 1;
  gap: 24px;
}

.heyoni-hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 32px;
}

@media (min-width: 1280px) {
  .heyoni-hero-text {
    text-align: left;
    padding: 48px 64px 64px 32px;
  }
}

.heyoni-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 9999px;
  background: rgba(22, 64, 75, 0.05);
  border: 1px solid rgba(22, 64, 75, 0.1);
  color: var(--brand-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 32px;
  transition: transform 0.3s ease;
}

.heyoni-badge:hover {
  transform: scale(1.05);
}

.heyoni-sparkles-icon {
  width: 16px;
  height: 16px;
  color: var(--brand-primary);
}

.heyoni-hero-title {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .heyoni-hero-title {
    font-size: 60px;
  }
}

@media (min-width: 1024px) {
  .heyoni-hero-title {
    font-size: 88px;
  }
}

.heyoni-rotating-text {
  color: rgba(22, 64, 75, 0.4);
  display: block;
  margin-top: 8px;
  margin-bottom: 24px;
  height: 1em;
  position: relative;
}

.heyoni-rotating-word {
  position: absolute;
  left: 0;
  width: 100%;
  transition: opacity 0.5s ease;
}

.heyoni-hero-subtitle {
  font-size: 20px;
  color: rgba(22, 64, 75, 0.8);
  margin-bottom: 40px;
  font-weight: 600;
  max-width: 600px;
}

@media (min-width: 768px) {
  .heyoni-hero-subtitle {
    font-size: 24px;
  }
}

.heyoni-hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

@media (min-width: 640px) {
  .heyoni-hero-actions {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 1280px) {
  .heyoni-hero-actions {
    justify-content: flex-start;
  }
}

.heyoni-primary-btn {
  position: relative;
  background: var(--brand-accent);
  color: var(--brand-primary);
  padding: 20px 32px;
  border-radius: 9999px;
  font-weight: 900;
  font-size: 20px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  overflow: visible;
}

@media (min-width: 640px) {
  .heyoni-primary-btn {
    width: auto;
  }
}

.heyoni-primary-btn:hover {
  transform: scale(1.05);
}

.heyoni-primary-btn:active {
  transform: scale(0.95);
}

.heyoni-btn-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  background: var(--brand-primary);
  color: var(--brand-accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 8px;
  transform: rotate(12deg);
  transition: transform 0.3s ease;
  z-index: 20;
}

.heyoni-primary-btn:hover .heyoni-btn-badge {
  transform: rotate(24deg);
}

.heyoni-btn-content {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
}

.heyoni-arrow-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.heyoni-primary-btn:hover .heyoni-arrow-icon {
  transform: translateX(4px);
}

/* Hero Demo */
.heyoni-hero-demo {
  flex: 0.8;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(22, 64, 75, 0.3);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .heyoni-hero-demo {
    display: flex;
  }
}

.heyoni-demo-card {
  background: #16404b;
  color: white;
  border-radius: 32px;
  box-shadow: 0 40px 80px -20px rgba(22, 64, 75, 0.2);
  padding: 24px 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  max-width: 400px;
  width: 100%;
}

.heyoni-demo-status {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  background: var(--brand-accent);
  color: #16404b;
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  font-family: monospace;
  box-shadow: 0 4px 20px rgba(226, 255, 94, 0.4);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(226, 255, 94, 0.2);
}

.heyoni-demo-spinner {
  width: 16px;
  height: 16px;
  border: 3px solid #16404b;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1.5s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.heyoni-demo-score {
  position: absolute;
  top: -24px;
  right: -24px;
  background: var(--brand-accent);
  color: #16404b;
  padding: 16px 20px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transform: rotate(6deg);
  border: 4px solid #16404b;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 20;
  transition: transform 0.3s ease;
}

.heyoni-demo-score:hover {
  transform: rotate(12deg);
}

.heyoni-score-label {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0.8;
  margin-bottom: 4px;
}

.heyoni-score-value {
  font-size: 48px;
  font-weight: 900;
}

.heyoni-score-max {
  font-size: 16px;
  opacity: 0.6;
}

.heyoni-demo-content {
  margin-top: 16px;
  position: relative;
  transition: filter 1s ease, opacity 1s ease;
}

.heyoni-demo-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.heyoni-demo-dots {
  display: flex;
  gap: 6px;
}

.heyoni-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.heyoni-dot-red { background: #f87171; }
.heyoni-dot-yellow { background: #fbbf24; }
.heyoni-dot-green { background: #34d399; }

.heyoni-demo-title-bar {
  height: 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  width: 33%;
}

.heyoni-demo-product-title {
  font-weight: 800;
  font-size: 24px;
  color: white;
  margin-bottom: 8px;
}

.heyoni-demo-product-desc {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 24px;
}

.heyoni-demo-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.heyoni-demo-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  border: 2px dashed rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.5s ease;
}

.heyoni-demo-feature-success {
  background: rgba(226, 255, 94, 0.1);
  border-color: rgba(226, 255, 94, 0.3);
}

.heyoni-x-icon, .heyoni-check-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.heyoni-x-icon {
  color: rgba(255, 255, 255, 0.4);
}

.heyoni-check-icon {
  color: var(--brand-accent);
}

.heyoni-demo-feature span {
  font-size: 14px;
  font-weight: 700;
}

.heyoni-demo-footer {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.heyoni-demo-price {
  display: flex;
  flex-direction: column;
}

.heyoni-price-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.heyoni-price-value {
  font-size: 48px;
  font-weight: 900;
  color: white;
}

.heyoni-demo-buy-btn {
  background: rgba(22, 64, 75, 0.1);
  color: white;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.heyoni-demo-buy-btn:hover {
  background: var(--brand-accent);
  color: #16404b;
}

/* Tool Section */
.heyoni-tool-section {
  background: white;
  border-radius: 24px;
  border: 1px solid rgba(22, 64, 75, 0.1);
  padding: 48px 32px;
  margin-bottom: 48px;
  box-shadow: 0 4px 20px rgba(22, 64, 75, 0.04);
  overflow: hidden;
}

@media (min-width: 768px) {
  .heyoni-tool-section {
    padding: 64px 48px;
  }
}

.heyoni-tool-container {
  max-width: 1200px;
  margin: 0 auto;
}

.heyoni-tool-header {
  text-align: center;
  margin-bottom: 48px;
}

.heyoni-tool-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  color: var(--brand-primary);
}

@media (min-width: 768px) {
  .heyoni-tool-title {
    font-size: 48px;
  }
}

.heyoni-tool-subtitle {
  font-size: 20px;
  color: rgba(22, 64, 75, 0.6);
  font-weight: 600;
  max-width: 600px;
  margin: 0 auto;
}

.heyoni-tool-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 1024px) {
  .heyoni-tool-content {
    grid-template-columns: 1fr 1fr;
  }
}

/* Form Styles */
.heyoni-form-section {
  background: rgba(22, 64, 75, 0.02);
  padding: 32px;
  border-radius: 20px;
  border: 1px solid rgba(22, 64, 75, 0.05);
}

.heyoni-offer-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.heyoni-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.heyoni-form-label {
  font-weight: 600;
  font-size: 16px;
  color: var(--brand-primary);
}

.heyoni-form-input,
.heyoni-form-textarea {
  padding: 16px;
  border: 2px solid rgba(22, 64, 75, 0.1);
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s ease;
  background: white;
}

.heyoni-form-input:focus,
.heyoni-form-textarea:focus {
  outline: none;
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px rgba(226, 255, 94, 0.1);
}

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

.heyoni-submit-btn {
  background: var(--brand-primary);
  color: var(--brand-secondary);
  padding: 20px 32px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 18px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.heyoni-submit-btn:hover:not(:disabled) {
  background: var(--brand-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22, 64, 75, 0.2);
}

.heyoni-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.heyoni-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Results Section */
.heyoni-results-section {
  background: linear-gradient(135deg, var(--brand-accent) 0%, rgba(226, 255, 94, 0.8) 100%);
  padding: 48px;
  border-radius: 24px;
  border: 4px solid white;
  box-shadow: 0 20px 60px -10px rgba(226, 255, 94, 0.3);
}

.heyoni-results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.heyoni-results-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--brand-primary);
}

.heyoni-score-display {
  text-align: center;
}

.heyoni-score-number {
  font-size: 64px;
  font-weight: 900;
  color: var(--brand-primary);
  line-height: 1;
}

.heyoni-score-text {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-primary);
  opacity: 0.8;
}

.heyoni-results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

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

.heyoni-result-card {
  background: rgba(255, 255, 255, 0.9);
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(22, 64, 75, 0.1);
}

.heyoni-result-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.heyoni-optimized-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--brand-primary);
  margin-bottom: 8px;
}

.heyoni-positioning {
  font-size: 16px;
  color: rgba(22, 64, 75, 0.8);
  line-height: 1.6;
}

.heyoni-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.heyoni-benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.heyoni-check-icon {
  width: 20px;
  height: 20px;
  color: var(--brand-accent);
  flex-shrink: 0;
}

.heyoni-pricing-display {
  text-align: center;
}

.heyoni-price-amount {
  font-size: 48px;
  font-weight: 900;
  color: var(--brand-primary);
  display: block;
}

.heyoni-price-note {
  font-size: 14px;
  color: rgba(22, 64, 75, 0.6);
  margin-top: 8px;
}

.heyoni-copy-display,
.heyoni-urgency-display {
  background: rgba(22, 64, 75, 0.05);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(22, 64, 75, 0.1);
}

.heyoni-copy-text,
.heyoni-urgency-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--brand-primary);
  font-style: italic;
}

.heyoni-results-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.heyoni-copy-btn,
.heyoni-reset-btn {
  padding: 16px 24px;
  border-radius: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.heyoni-copy-btn {
  background: var(--brand-primary);
  color: white;
}

.heyoni-copy-btn:hover {
  background: var(--brand-hover);
  transform: translateY(-2px);
}

.heyoni-reset-btn {
  background: rgba(22, 64, 75, 0.1);
  color: var(--brand-primary);
}

.heyoni-reset-btn:hover {
  background: rgba(22, 64, 75, 0.2);
}

.heyoni-copy-icon {
  width: 20px;
  height: 20px;
}

/* Before/After Section */
.heyoni-before-after {
  background: #f5eee9;
  color: #16404b;
  border-radius: 24px;
  padding: 0;
  position: relative;
  overflow: hidden;
  margin-bottom: 48px;
}

.heyoni-before-after::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(245, 238, 233, 0.95);
  pointer-events: none;
  z-index: 0;
}

.heyoni-before-after-content {
  position: relative;
  z-index: 10;
  padding: 80px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 768px) {
  .heyoni-before-after-content {
    padding: 128px 48px;
  }
}

.heyoni-section-title {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 48px;
  text-align: center;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .heyoni-section-title {
    font-size: 64px;
  }
}

.heyoni-toggle-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 64px;
  background: rgba(22, 64, 75, 0.05);
  padding: 6px;
  border-radius: 9999px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(22, 64, 75, 0.1);
  position: relative;
  z-index: 20;
}

.heyoni-toggle-btn {
  padding: 16px 32px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.heyoni-toggle-weak {
  color: rgba(22, 64, 75, 0.6);
}

.heyoni-toggle-weak.active {
  background: #ef4444;
  color: white;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
  transform: scale(1.05);
}

.heyoni-toggle-strong {
  color: rgba(22, 64, 75, 0.6);
}

.heyoni-toggle-strong.active {
  background: var(--brand-accent);
  color: #16404b;
  box-shadow: 0 0 20px rgba(226, 255, 94, 0.4);
  transform: scale(1.05);
}

.heyoni-comparison-container {
  width: 100%;
  max-width: 1200px;
  position: relative;
  min-height: 460px;
}

.heyoni-comparison-card {
  background: white;
  color: #16404b;
  border-radius: 32px;
  padding: 32px 48px;
  border: 4px solid rgba(239, 68, 68, 0.5);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.heyoni-comparison-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 48px;
}

.heyoni-comparison-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-center;
}

.heyoni-weak-icon {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

.heyoni-comparison-title {
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.025em;
}

.heyoni-conversion-badge {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.heyoni-conversion-badge svg {
  width: 16px;
  height: 16px;
  transform: rotate(180deg);
}

.heyoni-comparison-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 1024px) {
  .heyoni-comparison-content {
    grid-template-columns: 1fr 1fr;
  }
}

.heyoni-comparison-example {
  background: rgba(245, 238, 233, 0.5);
  padding: 32px 40px;
  border-radius: 16px;
  border: 1px solid rgba(239, 68, 68, 0.1);
  position: relative;
  z-index: 10;
}

.heyoni-example-label {
  position: absolute;
  top: 0;
  left: 24px;
  transform: translateY(-50%);
  background: rgba(239, 68, 68, 0.05);
  color: #dc2626;
  padding: 4px 12px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid rgba(239, 68, 68, 0.1);
  border-radius: 8px;
}

.heyoni-example-text {
  font-size: 24px;
  font-family: Georgia, serif;
  color: rgba(22, 64, 75, 0.5);
  font-style: italic;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .heyoni-example-text {
    font-size: 32px;
  }
}

.heyoni-comparison-issues {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.heyoni-issues-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(239, 68, 68, 0.4);
  margin-bottom: 8px;
}

.heyoni-issue-item {
  display: flex;
  align-items: center;
  gap: 16px;
  group-hover: true;
}

.heyoni-issue-item:hover .heyoni-issue-icon {
  transform: scale(1.1);
}

.heyoni-issue-icon {
  width: 24px;
  height: 24px;
  color: rgba(239, 68, 68, 0.4);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.heyoni-issue-item span {
  font-weight: 600;
  font-size: 18px;
  color: rgba(22, 64, 75, 0.8);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.heyoni-issue-item:hover span {
  opacity: 1;
}

/* Features Section */
.heyoni-features {
  background: var(--brand-accent);
  color: var(--brand-primary);
  border-radius: 24px;
  padding: 48px 32px;
  margin-bottom: 48px;
  border: none;
  box-shadow: none;
}

@media (min-width: 768px) {
  .heyoni-features {
    padding: 64px 48px;
  }
}

.heyoni-features-content {
  max-width: 1200px;
  margin: 0 auto;
}

.heyoni-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 64px;
}

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

.heyoni-feature-card {
  background: rgba(255, 255, 255, 0.6);
  padding: 32px 40px;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.heyoni-feature-card:hover {
  background: white;
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.heyoni-feature-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.heyoni-feature-icon {
  background: white;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.heyoni-feature-card:hover .heyoni-feature-icon {
  transform: scale(1.1);
}

.heyoni-feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--brand-primary);
}

.heyoni-feature-badge {
  background: white;
  color: var(--brand-primary);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
}

.heyoni-feature-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.heyoni-feature-desc {
  font-size: 18px;
  color: rgba(22, 64, 75, 0.7);
  font-weight: 500;
  line-height: 1.6;
}

/* How It Works Section */
.heyoni-how-it-works {
  background: var(--brand-primary);
  color: white;
  border-radius: 24px;
  padding: 48px 32px;
  margin-bottom: 48px;
  border: 1px solid var(--brand-primary);
}

@media (min-width: 768px) {
  .heyoni-how-it-works {
    padding: 64px 48px;
  }
}

.heyoni-how-it-works-content {
  max-width: 1200px;
  margin: 0 auto;
}

.heyoni-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  position: relative;
  margin-top: 48px;
}

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

.heyoni-step {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  padding: 32px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  group-hover: true;
}

.heyoni-step:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

.heyoni-step-number {
  position: absolute;
  top: 32px;
  right: 32px;
  font-size: 64px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
  transition: color 0.5s ease;
}

.heyoni-step:hover .heyoni-step-number {
  color: rgba(226, 255, 94, 0.1);
}

.heyoni-step-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-center;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.heyoni-step:hover .heyoni-step-icon {
  background: var(--brand-accent);
}

.heyoni-step-icon svg {
  width: 32px;
  height: 32px;
  color: white;
  transition: color 0.3s ease;
}

.heyoni-step:hover .heyoni-step-icon svg {
  color: var(--brand-primary);
}

.heyoni-step-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.heyoni-step-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 500;
}

/* Final CTA Section */
.heyoni-final-cta {
  background: var(--brand-primary);
  color: white;
  text-align: center;
  padding: 80px 32px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .heyoni-final-cta {
    padding: 128px 48px;
  }
}

.heyoni-final-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 768px;
  aspect-ratio: 1;
  background: rgba(226, 255, 94, 0.1);
  filter: blur(120px);
  border-radius: 50%;
  pointer-events: none;
}

.heyoni-cta-content {
  max-width: 768px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.heyoni-cta-title {
  font-size: 64px;
  font-weight: 900;
  letter-spacing: -0.025em;
  margin-bottom: 32px;
  line-height: 1;
}

@media (min-width: 768px) {
  .heyoni-cta-title {
    font-size: 96px;
  }
}

.heyoni-cta-title span {
  color: var(--brand-accent);
}

.heyoni-cta-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 48px;
  font-weight: 500;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .heyoni-cta-subtitle {
    font-size: 24px;
  }
}

.heyoni-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.heyoni-cta-btn {
  position: relative;
  background: var(--brand-accent);
  color: var(--brand-primary);
  padding: 20px 40px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 20px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  width: 100%;
  max-width: 300px;
}

@media (min-width: 640px) {
  .heyoni-cta-btn {
    width: auto;
  }
}

.heyoni-cta-btn:hover {
  transform: scale(1.05);
}

.heyoni-cta-btn:active {
  transform: scale(0.95);
}

.heyoni-cta-btn span {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
}

.heyoni-cta-note {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 14px;
}

/* Utility Classes */
.heyoni-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Responsive Design */
@media (max-width: 640px) {
  .heyoni-header-content {
    padding: 0 16px;
  }
  
  .heyoni-main {
    padding: 16px;
  }
  
  .heyoni-hero-text {
    padding: 24px 16px;
  }
  
  .heyoni-tool-section,
  .heyoni-features,
  .heyoni-how-it-works {
    padding: 32px 24px;
  }
  
  .heyoni-before-after-content {
    padding: 48px 24px;
  }
  
  .heyoni-final-cta {
    padding: 64px 24px;
  }
}

/* Animation Classes */
.heyoni-fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.heyoni-slide-in {
  opacity: 0;
  transform: translateX(-20px) scale(0.95);
  animation: slideIn 0.3s ease forwards;
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* Focus Styles for Accessibility */
.heyoni-offer-optimization-engine *:focus-visible {
  outline: 2px solid var(--brand-accent);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .heyoni-offer-optimization-engine {
    background: white !important;
    color: black !important;
  }
  
  .heyoni-header,
  .heyoni-hero-actions,
  .heyoni-results-actions,
  .heyoni-toggle-buttons {
    display: none !important;
  }
}
