/* =============================================================================
   PRODUCTS.CSS — Feature / Product Sections (alternating left-right)
   Covers: Transactions, Receipt Scanner, Tax, Banks, Analytics, Fraud
   ============================================================================= */

/* ── Section Heading ── */
.features-heading {
  padding: 100px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.features-heading::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.04) 0%, rgba(139, 92, 246, 0.02) 40%, transparent 70%);
  pointer-events: none;
}

.features-heading .section-subtitle {
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ── Product Section Layout ── */
.product-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.product-section:nth-child(even) {
  background: var(--bg-section);
}

/* ── xMoney-style gradient orbs ── */
.product-section::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 1;
}

.product-section:nth-child(odd)::before {
  top: -200px;
  right: -200px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.10) 0%, transparent 70%);
}

.product-section:nth-child(even)::before {
  bottom: -200px;
  left: -200px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
}

.product-section::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.85;
}

.product-section:nth-child(odd)::after {
  bottom: -100px;
  left: -100px;
  background: radial-gradient(circle, rgba(15, 211, 172, 0.07) 0%, transparent 70%);
}

.product-section:nth-child(even)::after {
  top: -100px;
  right: -100px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.07) 0%, transparent 70%);
}

.product-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.product-inner.reversed       { direction: rtl; }
.product-inner.reversed > *   { direction: ltr; }

/* ── Content Column ── */
.product-content {
  max-width: 500px;
}

.product-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--purple);
  margin-bottom: 16px;
}

.product-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.product-content > p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}

/* ── Feature List ── */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.feature-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.07);
  transition: all 0.25s ease;
  cursor: default;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.12);
  transform: translateY(-2px);
}

.feature-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: var(--purple-glow);
}

.feature-item h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.feature-item p   { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; }

/* ── Visual / Mockup Column ── */
.product-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* ── SVG Product Images ── */
.product-img {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 24px 80px rgba(124, 58, 237, 0.18), 0 0 0 1px rgba(124, 58, 237, 0.08);
  border: 1px solid var(--border);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.product-img:hover {
  transform: translateY(-6px);
  box-shadow: 0 36px 100px rgba(124, 58, 237, 0.24), 0 0 0 1px rgba(124, 58, 237, 0.12);
}

.product-mockup {
  width: 100%;
  max-width: 480px;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 16px 64px rgba(124, 58, 237, 0.08);
}

.product-mockup-bar {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pm-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.4;
}

.pm-dot:nth-child(1) { background: var(--danger);  opacity: 0.8; }
.pm-dot:nth-child(2) { background: var(--gold);    opacity: 0.8; }
.pm-dot:nth-child(3) { background: var(--success);  opacity: 0.8; }

.product-mockup-body {
  padding: 24px;
  min-height: 300px;
}

/* =============================================================================
   AI OVERVIEW SECTION (Übersicht mit KI)
   ============================================================================= */
.ai-overview-section {
  padding: 80px 0;
  background: var(--bg-section);
  position: relative;
  overflow: hidden;
}

.ai-overview-section::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.05) 0%, transparent 65%);
  pointer-events: none;
}

.ai-overview-inner {
  position: relative;
  z-index: 1;
}

.ai-overview-header {
  text-align: center;
  margin-bottom: 48px;
}

.ai-overview-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 100px;
  background: var(--purple-glow);
  border: 1px solid rgba(124, 58, 237, 0.15);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--purple);
  margin-bottom: 20px;
}

.ai-overview-header .section-subtitle {
  margin: 0 auto;
}

.ai-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ai-card {
  padding: 28px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.ai-card:hover {
  border-color: rgba(124, 58, 237, 0.15);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.08);
  transform: translateY(-4px);
}

.ai-card-main {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.03), rgba(15, 211, 172, 0.02));
}

.ai-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--gradient-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.ai-card-icon.small {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--purple-glow);
  color: var(--purple);
}

.ai-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.ai-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.ai-card-main h3 {
  font-size: 1.3rem;
}

.ai-card-main p {
  max-width: 560px;
  font-size: 1rem;
}

.ai-stat-row {
  display: flex;
  gap: 40px;
  margin-top: 24px;
}

.ai-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ai-stat-val {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--purple);
}

.ai-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}
