/* ============================================
   eDigits Consulting - Shared Styles
   Matches Figma Design System
   ============================================ */

/* Font Faces - Lufga */
@font-face {
  font-family: 'Lufga';
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: local('Lufga Light'), local('Lufga-Light');
}
@font-face {
  font-family: 'Lufga';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: local('Lufga Regular'), local('Lufga-Regular');
}
@font-face {
  font-family: 'Lufga';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: local('Lufga Medium'), local('Lufga-Medium');
}

/* ============================================
   Design Tokens (from Figma Variables)
   ============================================ */
:root {
  /* Purple Palette (e-digits) */
  --ed-25: #f8f2ff;
  --ed-50: #f2e6ff;
  --ed-100: #e4ccff;
  --ed-500: #7901ff;
  --ed-600: #6501d5;
  --ed-800: #3d0180;
  --ed-900: #280055;
  --ed-accent: #af67ff;

  /* Neutral Palette (e-black) */
  --eb-25: #f4f5f7;
  --eb-100: #d4d7e1;
  --eb-300: #7d88a4;
  --eb-400: #526185;
  --eb-500: #273967;

  /* Typography */
  --font: 'Lufga', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --h3-size: 56px;
  --h3-lh: 67.2px;
  --h4-size: 44px;
  --h4-lh: 52.8px;
  --h6-size: 24px;
  --h6-lh: 28.8px;
  --body-lg: 20px;
  --body-lg-lh: 24px;
  --body-md: 16px;
  --body-md-lh: 19.2px;
  --body-sm: 12px;
  --body-sm-lh: 14.4px;

  /* Spacing */
  --page-width: 1440px;
  --content-padding: 88px;
  --section-radius: 30px;
  --btn-radius: 48px;
  --badge-radius: 40px;
  --card-radius: 16px;
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-weight: 400;
  font-size: var(--body-md);
  line-height: var(--body-md-lh);
  color: var(--eb-500);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul, ol {
  list-style: none;
}

/* ============================================
   Typography
   ============================================ */
.h3, h1 {
  font-family: var(--font);
  font-weight: 400;
  font-size: var(--h3-size);
  line-height: var(--h3-lh);
  letter-spacing: 0;
}

.h4, h2 {
  font-family: var(--font);
  font-weight: 500;
  font-size: var(--h4-size);
  line-height: var(--h4-lh);
  letter-spacing: 0;
}

.h6, h3 {
  font-family: var(--font);
  font-weight: 500;
  font-size: var(--h6-size);
  line-height: var(--h6-lh);
}

h4 {
  font-family: var(--font);
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
}

p {
  font-weight: 300;
  font-size: var(--body-lg);
  line-height: var(--body-lg-lh);
  color: var(--eb-300);
}

/* ============================================
   Layout
   ============================================ */
.container {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 var(--content-padding);
}

.section {
  padding: 100px 0;
}

.section-sm {
  padding: 80px 0;
}

/* ============================================
   Header
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 0;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--eb-100);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 32px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  font-size: var(--body-sm);
  line-height: var(--body-sm-lh);
  font-weight: 400;
  color: var(--ed-25);
}

.nav-links a:hover {
  color: #ffffff;
}

.header.scrolled .nav-links a {
  color: var(--eb-400);
}

.header.scrolled .nav-links a:hover {
  color: var(--ed-500);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 400;
  font-size: var(--body-md);
  line-height: var(--body-md-lh);
  padding: 12px 20px;
  border-radius: var(--btn-radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-nav-outline {
  background: transparent;
  color: var(--ed-25);
  border-color: var(--eb-400);
}

.btn-nav-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--ed-100);
}

.btn-nav-filled {
  background: var(--ed-500);
  color: var(--ed-25);
  border-color: var(--ed-600);
}

.btn-nav-filled:hover {
  background: var(--ed-600);
  transform: translateY(-1px);
}

.btn-nav img {
  width: 20px;
  height: 20px;
}

.header.scrolled .btn-nav-outline {
  color: var(--eb-500);
  border-color: var(--eb-100);
}

.header.scrolled .btn-nav-outline img {
  filter: brightness(0) saturate(100%) invert(18%) sepia(26%) saturate(1662%) hue-rotate(193deg) brightness(95%) contrast(93%);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 400;
  font-size: var(--body-md);
  padding: 12px 20px;
  border-radius: var(--btn-radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--ed-500);
  color: var(--ed-25);
  border-color: var(--ed-600);
}

.btn-primary:hover {
  background: var(--ed-600);
  color: var(--ed-100);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(121, 1, 255, 0.3);
}

.btn-outline-light {
  background: transparent;
  color: var(--ed-100);
  border-color: var(--ed-100);
}

.btn-outline-light:hover {
  background: rgba(228, 204, 255, 0.1);
  color: #ffffff;
}

.btn-outline-dark {
  background: transparent;
  color: var(--eb-500);
  border-color: var(--eb-100);
}

.btn-outline-dark:hover {
  border-color: var(--ed-500);
  color: var(--ed-accent);
}

.btn-dark {
  background: var(--ed-900);
  color: var(--ed-50);
  border-color: var(--ed-800);
}

.btn-dark:hover {
  background: var(--ed-800);
  transform: translateY(-2px);
}

/* ============================================
   Elementor Button — add class "ed-btn" in Elementor CSS Classes field
   ============================================ */
.ed-btn .elementor-button {
  background: var(--ed-500) !important;
  color: var(--ed-25) !important;
  border-color: var(--ed-600) !important;
  font-family: var(--font) !important;
  font-weight: 400 !important;
  border-radius: var(--btn-radius) !important;
  padding: 12px 24px !important;
  transition: all 0.3s ease !important;
}

.ed-btn .elementor-button:hover {
  background: var(--ed-600) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(121, 1, 255, 0.3) !important;
  color: var(--ed-100) !important;
}

/* ============================================
   Hero Badge
   ============================================ */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(10px);
  background: rgba(248, 242, 255, 0.02);
  border: 1px solid var(--ed-100);
  color: var(--ed-100);
  font-size: var(--body-sm);
  font-weight: 400;
  padding: 10px 16px;
  border-radius: var(--badge-radius);
}

.hero-badge svg {
  width: 18px;
  height: 18px;
  stroke: var(--ed-100);
  fill: none;
  stroke-width: 2;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 895px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.webp') center/cover no-repeat;
}

.hero-bg-purple {
  position: absolute;
  inset: 0;
  background: var(--ed-500);
  mix-blend-mode: color;
  opacity: 0.6;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 50%);
}

.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 56px;
  max-width: 700px;
  padding: 127px 0 100px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero h1 {
  color: var(--ed-50);
}

.hero-tagline {
  font-size: var(--body-lg);
  line-height: var(--body-lg-lh);
  font-weight: 300;
  color: var(--ed-100);
  max-width: 579px;
}

.hero-buttons {
  display: flex;
  gap: 8px;
}

/* Hero Glass Card (right side) */
.hero-glass {
  backdrop-filter: blur(15px);
  background: rgba(255, 255, 255, 0.02);
  border-left: 0.5px solid var(--eb-400);
  border-top: 0.5px solid var(--eb-400);
  border-radius: var(--section-radius) var(--section-radius) 0 0;
  padding: 32px 32px 44px;
  width: 421px;
  min-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-self: flex-end;
  margin-bottom: -1px;
}

.hero-glass-title {
  font-size: var(--body-lg);
  line-height: var(--body-lg-lh);
  font-weight: 500;
  color: var(--ed-50);
}

.hero-glass-desc {
  font-size: var(--body-sm);
  line-height: var(--body-sm-lh);
  font-weight: 300;
  color: var(--ed-100);
}

/* ============================================
   Page Hero (Clean/Minimal Hero - Light BG)
   Layout: badge → heading → row(desc + btn) → image
   ============================================ */
.page-hero {
  background: var(--eb-25);
  padding: 140px 0 80px;
}

.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--eb-100);
  border-radius: var(--badge-radius);
  font-size: var(--body-sm);
  line-height: var(--body-sm-lh);
  font-weight: 400;
  color: var(--eb-400);
  margin-bottom: 32px;
  background: #ffffff;
}

.page-hero h1 {
  color: var(--eb-500);
  max-width: 900px;
  margin-bottom: 32px;
}

.page-hero-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 64px;
}

.page-hero-desc {
  max-width: 550px;
  font-size: var(--body-lg);
  line-height: var(--body-lg-lh);
  font-weight: 300;
  color: var(--eb-300);
}

.page-hero-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--ed-600);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--ed-500);
  fill: none;
  stroke-width: 2;
}

.btn-icon:hover {
  background: var(--ed-500);
}

.btn-icon:hover svg {
  stroke: white;
}

.page-hero-image {
  border-radius: var(--section-radius);
  overflow: hidden;
  max-height: 560px;
}

.page-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================
   Section Header
   ============================================ */
.section-header {
  margin-bottom: 56px;
}

.section-header.center {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 56px;
}

.section-header h2 {
  color: var(--eb-500);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--eb-300);
}

.section-header.light h2 {
  color: var(--ed-50);
}

.section-header.light p {
  color: var(--ed-100);
}

/* Accent color in headings */
.text-accent {
  color: var(--ed-accent);
}

/* ============================================
   Overview Section (White, 2-column)
   ============================================ */
.overview-section {
  background: #ffffff;
}

.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.overview-text h2 {
  margin-bottom: 24px;
  color: var(--eb-500);
}

.overview-text p {
  margin-bottom: 16px;
  color: var(--eb-300);
}

.overview-text .btn {
  margin-top: 16px;
}

.overview-visual {
  background: #ffffff;
  border-radius: var(--section-radius);
  border: 1px solid var(--eb-100);
  padding: 32px;
}

.overview-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  background: var(--ed-25);
  padding: 28px 20px;
  border-radius: var(--card-radius);
  text-align: center;
  border: 1px solid var(--ed-50);
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: var(--ed-500);
  transform: translateY(-2px);
}

.stat-number {
  font-size: 28px;
  font-weight: 500;
  color: var(--ed-500);
  display: block;
  margin-bottom: 4px;
}

.stat-label {
  font-size: var(--body-sm);
  color: var(--eb-300);
  font-weight: 400;
}

/* Overview Accordion (right column variant) */
.overview-accordion {
  display: flex;
  flex-direction: column;
}

.accordion-item {
  border-bottom: 1px solid var(--eb-100);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 24px 16px;
  margin: 0 -16px;
  width: calc(100% + 32px);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  border-radius: 10px;
  transition: background 0.2s ease;
}

.accordion-header:hover {
  background: rgba(121, 1, 255, 0.06);
}

.accordion-header:active,
.accordion-header:focus {
  background: rgba(121, 1, 255, 0.06) !important;
  outline: none !important;
  box-shadow: none !important;
}

.accordion-header:focus-visible {
  outline: 2px solid rgba(121, 1, 255, 0.35) !important;
  outline-offset: 2px !important;
  background: rgba(121, 1, 255, 0.06) !important;
  box-shadow: none !important;
}

.accordion-header h4 {
  color: var(--ed-500);
  font-size: var(--h6-size);
  line-height: var(--h6-lh);
  font-weight: 400;
}

.accordion-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.accordion-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--eb-300);
  fill: none;
  stroke-width: 1.5;
  transition: transform 0.3s ease;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-content p {
  padding-bottom: 24px;
  font-size: var(--body-md);
  line-height: var(--body-md-lh);
  color: var(--eb-300);
}

.accordion-item.active .accordion-header,
.accordion-item.active .accordion-header:focus,
.accordion-item.active .accordion-header:active {
  background: rgba(121, 1, 255, 0.06) !important;
  outline: none !important;
  box-shadow: none !important;
}

.accordion-item.active .accordion-content {
  max-height: 200px;
}

.accordion-item.active .accordion-icon .icon-plus {
  display: none;
}

.accordion-item .accordion-icon .icon-minus {
  display: none;
}

.accordion-item.active .accordion-icon .icon-minus {
  display: block;
}

/* ============================================
   Dark Rounded Section (Purple Wave BG)
   Used for: Capabilities, Features
   ============================================ */
.dark-section {
  position: relative;
  overflow: hidden;
  border-radius: var(--section-radius);
  margin: 0 20px;
}

.dark-section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.dark-section-bg-image {
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.webp') center/cover no-repeat;
}

.dark-section-bg-purple {
  position: absolute;
  inset: 0;
  background: var(--ed-500);
  mix-blend-mode: color;
}

.dark-section-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.9) 100%);
}

.dark-section .container {
  position: relative;
  z-index: 2;
}

.dark-section .section-header h2 {
  color: var(--ed-50);
}

.dark-section .section-header p {
  color: var(--ed-100);
}

/* Glass Cards (for dark sections) */
.glass-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.glass-card {
  backdrop-filter: blur(15px);
  background: rgba(255, 255, 255, 0.02);
  border-left: 0.5px solid var(--eb-400);
  border-top: 0.5px solid var(--eb-400);
  border-radius: var(--card-radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
  transition: all 0.3s ease;
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--ed-accent);
}

.glass-card-icon {
  width: 24px;
  height: 24px;
  margin-bottom: 16px;
}

.glass-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--ed-100);
  fill: none;
  stroke-width: 1.5;
}

.glass-card h4 {
  font-size: var(--body-lg);
  font-weight: 500;
  color: var(--ed-50);
  margin-bottom: 8px;
}

.glass-card p {
  font-size: var(--body-sm);
  line-height: var(--body-sm-lh);
  font-weight: 300;
  color: var(--ed-100);
}

.glass-card .card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 12px;
}

.glass-tag {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 50px;
  background: rgba(121, 1, 255, 0.2);
  color: var(--ed-100);
  border: 1px solid rgba(175, 103, 255, 0.3);
}

/* ============================================
   Bento Grid Section (Light bg, mixed cards)
   ============================================ */
.bento-section {
  background: var(--eb-25);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-areas:
    "intro  cap1   accent"
    "intro  photo  accent"
    "cap2   photo  cap3"
    "cap4   photo  cap5"
    "cap6   cap7   cap8";
  gap: 16px;
}

.bento-card {
  border-radius: var(--card-radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--eb-100);
  transition: all 0.3s ease;
}

.bento-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(121, 1, 255, 0.06);
}

.bento-card-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: var(--ed-25);
  border: 1px solid var(--ed-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.bento-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--ed-500);
  fill: none;
  stroke-width: 1.5;
}

.bento-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
}

.bento-tag {
  font-size: 11px;
  padding: 4px 10px;
  background: var(--ed-25);
  border-radius: 50px;
  color: var(--ed-800);
  font-weight: 400;
  border: 1px solid var(--ed-50);
}

.bento-card h4 {
  color: var(--eb-500);
  font-size: 20px;
  line-height: 24px;
  margin-bottom: 12px;
}

.bento-card p {
  font-size: var(--body-md);
  line-height: var(--body-md-lh);
  color: var(--eb-300);
}

/* Dark intro card */
.bento-dark {
  grid-area: intro;
  background: var(--ed-900);
  border-color: var(--ed-800);
  justify-content: space-between;
}

.bento-dark h3 {
  font-size: 32px;
  line-height: 38px;
  color: var(--ed-50);
  font-weight: 400;
}

.bento-dark p {
  color: var(--ed-100);
  margin-top: 16px;
}

.bento-dark .bento-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ed-100);
  font-size: var(--body-md);
  font-weight: 400;
  margin-top: 24px;
  padding: 12px 20px;
  border: 1px solid var(--ed-800);
  border-radius: var(--btn-radius);
  transition: all 0.3s ease;
  align-self: flex-start;
}

.bento-dark .bento-cta svg {
  width: 18px;
  height: 18px;
  stroke: var(--ed-100);
  fill: none;
  stroke-width: 2;
}

.bento-dark .bento-cta:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--ed-accent);
  color: #ffffff;
}

.bento-dark .bento-cta:hover svg {
  stroke: #ffffff;
}

.bento-dark:hover {
  transform: none;
  box-shadow: none;
}

/* Accent card */
.bento-accent {
  grid-area: accent;
  background: var(--ed-50);
  border-color: var(--ed-100);
  justify-content: space-between;
}

.bento-accent .bento-card-icon {
  background: rgba(121, 1, 255, 0.1);
  border-color: rgba(121, 1, 255, 0.15);
}

.bento-accent .bento-card-icon svg {
  stroke: var(--ed-500);
}

.bento-accent h4 {
  color: var(--ed-900);
}

.bento-accent p {
  color: var(--ed-800);
}

.bento-accent .bento-tag {
  background: rgba(121, 1, 255, 0.08);
  border-color: rgba(121, 1, 255, 0.15);
  color: var(--ed-600);
}

.bento-stats {
  display: flex;
  gap: 24px;
  margin-top: auto;
  padding-top: 24px;
}

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

.bento-stat-number {
  font-size: 28px;
  font-weight: 500;
  color: var(--ed-500);
  display: block;
  margin-bottom: 4px;
}

.bento-stat-label {
  font-size: var(--body-sm);
  color: var(--ed-800);
  font-weight: 400;
}

/* Image card */
.bento-image {
  grid-area: photo;
  padding: 0;
  overflow: hidden;
  border: none;
}

.bento-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bento-image:hover {
  transform: none;
  box-shadow: none;
}

/* Grid area assignments */
.bento-cap1 { grid-area: cap1; }
.bento-cap2 { grid-area: cap2; }
.bento-cap3 { grid-area: cap3; }
.bento-cap4 { grid-area: cap4; }
.bento-cap5 { grid-area: cap5; }
.bento-cap6 { grid-area: cap6; }
.bento-cap7 { grid-area: cap7; }
.bento-cap8 { grid-area: cap8; }

/* ============================================
   Solution Cards (Product-style w/ image)
   ============================================ */
.solution-cards-section {
  background: #ffffff;
}

.solution-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.solution-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--section-radius);
  overflow: hidden;
  min-height: 420px;
}

.solution-card-content {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--eb-25);
}

.solution-card-content h3 {
  font-size: var(--h6-size);
  line-height: var(--h6-lh);
  font-weight: 500;
  color: var(--ed-500);
  margin-bottom: 20px;
}

.solution-card-content p {
  font-size: var(--body-md);
  line-height: 1.7;
  color: var(--eb-300);
  margin-bottom: 32px;
}

.solution-card-content .btn {
  align-self: flex-start;
}

.solution-card-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 40px;
  overflow: hidden;
}

.solution-card-visual img {
  width: 115%;
  max-width: none;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
  position: relative;
  right: -20px;
}

.solution-card.card-green .solution-card-visual {
  background: linear-gradient(145deg, #c8deb0 0%, #8ec278 50%, #6aaf5c 100%);
}

.solution-card.card-blue .solution-card-visual {
  background: linear-gradient(145deg, #b4c6dc 0%, #7f9bbe 50%, #6884a8 100%);
}

.solution-card.card-purple .solution-card-visual {
  background: linear-gradient(145deg, #d4bfee 0%, #a97ee0 50%, #8b5ed0 100%);
}

/* ============================================
   Feature Details Section (numbered cards)
   ============================================ */
.feature-details-section {
  background: var(--eb-25);
}

.feature-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-card {
  background: #ffffff;
  border-radius: var(--card-radius);
  padding: 36px;
  border: 1px solid var(--eb-100);
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(121, 1, 255, 0.07);
}

.feature-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.feature-num {
  flex-shrink: 0;
  height: 28px;
  padding: 0 10px;
  border-radius: 7px;
  background: var(--ed-50);
  color: var(--ed-500);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--ed-25);
  border: 1px solid var(--ed-100);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--ed-500);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  font-size: 17px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--eb-500);
}

.feature-bullets {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.feature-bullets li {
  position: relative;
  padding-left: 14px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--eb-500);
  font-weight: 400;
}

.feature-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ed-500);
  opacity: 0.5;
}

.feature-check {
  flex-shrink: 0;
  margin-top: 3px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--ed-50);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-check svg {
  width: 9px;
  height: 9px;
  stroke: var(--ed-500);
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Dark accent variant */
.feature-card--accent {
  background: var(--ed-900);
  border-color: transparent;
}

.feature-card--accent .feature-num {
  background: rgba(255, 255, 255, 0.1);
  color: var(--ed-accent);
}

.feature-card--accent .feature-card-icon {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.feature-card--accent .feature-card-icon svg {
  stroke: var(--ed-accent);
}

.feature-card--accent h3 {
  color: #ffffff;
}

.feature-card--accent .feature-bullets li {
  color: rgba(255, 255, 255, 0.75);
}

.feature-card--accent .feature-bullets li::before {
  background: var(--ed-accent);
  opacity: 0.6;
}

/* ============================================
   Capabilities Section (Light bg, card grid)
   ============================================ */
.capabilities-section {
  background: var(--eb-25);
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.capability-card {
  background: #ffffff;
  border-radius: var(--card-radius);
  padding: 32px;
  border: 1px solid var(--eb-100);
  transition: all 0.3s ease;
}

.capability-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(121, 1, 255, 0.08);
  border-color: var(--ed-500);
}

.capability-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--ed-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.capability-icon svg {
  width: 24px;
  height: 24px;
  stroke: white;
  fill: none;
  stroke-width: 2;
}

.capability-card h4 {
  margin-bottom: 10px;
  color: var(--eb-500);
}

.capability-card p {
  font-size: var(--body-md);
  line-height: var(--body-md-lh);
  color: var(--eb-300);
  margin-bottom: 16px;
}

.capability-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.capability-tag {
  font-size: 11px;
  padding: 4px 10px;
  background: var(--ed-25);
  border-radius: 50px;
  color: var(--ed-800);
  font-weight: 400;
  border: 1px solid var(--ed-50);
}

/* ============================================
   Features Section (Dark, numbered steps)
   ============================================ */
.features-section {
  position: relative;
  overflow: hidden;
  border-radius: var(--section-radius);
  margin: 0 20px;
}

.features-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.features-bg-image {
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.webp') center/cover no-repeat;
}

.features-bg-purple {
  position: absolute;
  inset: 0;
  background: var(--ed-500);
  mix-blend-mode: color;
}

.features-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.85) 100%);
}

.features-section .container {
  position: relative;
  z-index: 2;
}

.features-section .section-header h2 {
  color: var(--ed-50);
}

.features-section .section-header p {
  color: var(--ed-100);
}

.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.feature-item {
  backdrop-filter: blur(15px);
  background: rgba(255, 255, 255, 0.02);
  border-left: 0.5px solid var(--eb-400);
  border-top: 0.5px solid var(--eb-400);
  border-radius: var(--card-radius);
  padding: 32px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--ed-accent);
}

.feature-item.full-width {
  grid-column: 1 / -1;
}

.feature-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.feature-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: var(--ed-500);
  font-size: 16px;
  font-weight: 500;
  color: white;
}

.feature-header h3 {
  color: var(--ed-50);
  font-size: 20px;
  line-height: 24px;
}

.features-section .feature-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 56px;
}

.features-section .feature-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 300;
  color: var(--ed-100);
  line-height: 1.6;
}

.features-section .feature-bullets li::before {
  content: '';
  width: 5px;
  height: 5px;
  min-width: 5px;
  border-radius: 50%;
  background: var(--ed-accent);
  margin-top: 7px;
}

/* ============================================
   Benefits Section
   ============================================ */
.benefits-section {
  background: #ffffff;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.benefit-card {
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--card-radius);
  background: var(--ed-25);
  border: 1px solid var(--ed-50);
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(121, 1, 255, 0.08);
  border-color: var(--ed-500);
}

.benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ed-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.benefit-icon svg {
  width: 28px;
  height: 28px;
  stroke: white;
  fill: none;
  stroke-width: 2;
}

.benefit-card h4 {
  margin-bottom: 10px;
  font-size: 18px;
  color: var(--eb-500);
}

.benefit-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--eb-300);
}

/* ============================================
   Localization Section
   ============================================ */
.localization-section {
  background: var(--ed-25);
}

.localization-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.localization-text h2 {
  margin-bottom: 16px;
  color: var(--eb-500);
}

.localization-text > p {
  margin-bottom: 28px;
}

.localization-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.localization-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--eb-400);
  line-height: 1.6;
  font-weight: 300;
}

.check-icon {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background: var(--ed-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.check-icon svg {
  width: 12px;
  height: 12px;
  stroke: white;
  fill: none;
  stroke-width: 3;
}

.localization-visual {
  background: #ffffff;
  border-radius: var(--card-radius);
  padding: 40px;
  border: 1px solid var(--eb-100);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.locale-flag {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--ed-25);
  border-radius: 12px;
  font-weight: 400;
  font-size: 15px;
  color: var(--eb-500);
  border: 1px solid var(--ed-50);
}

.locale-flag .flag {
  font-size: 24px;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-bg-image {
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.webp') center/cover no-repeat;
  transform: scaleY(-1);
}

.cta-bg-purple {
  position: absolute;
  inset: 0;
  background: var(--ed-500);
  mix-blend-mode: color;
}

.cta-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(245deg, rgba(255,255,255,0.8) 59%, rgba(255,255,255,0) 99%);
  transform: scaleY(-1);
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.cta-content h2 {
  color: var(--ed-900);
  margin-bottom: 16px;
}

.cta-content p {
  color: var(--eb-400);
  font-size: var(--body-lg);
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  gap: 8px;
}

/* ============================================
   CTA Banner (card-style)
   ============================================ */
.cta-contact-section {
  background: #ffffff;
}

.cta-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--section-radius);
  padding: 80px 64px;
  margin-bottom: 24px;
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-banner-bg .cta-bg-image {
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.webp') center/cover no-repeat;
}

.cta-banner-bg .cta-bg-purple {
  position: absolute;
  inset: 0;
  background: var(--ed-500);
  mix-blend-mode: color;
}

.cta-banner-bg .cta-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.65) 45%, rgba(255,255,255,0) 75%);
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
}

.cta-banner-content h2 {
  color: var(--ed-900);
  margin-bottom: 16px;
}

.cta-banner-content p {
  color: var(--eb-400);
  font-size: var(--body-lg);
  line-height: 1.7;
  margin-bottom: 32px;
}

.cta-banner-content .cta-buttons {
  display: flex;
  gap: 8px;
}

/* ============================================
   Contact Card (form + image)
   ============================================ */
.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--section-radius);
  overflow: hidden;
  border: 1px solid var(--eb-100);
  background: #ffffff;
}

.contact-form-side {
  padding: 56px 48px;
}

.contact-form-side h3 {
  font-size: 28px;
  line-height: 34px;
  font-weight: 500;
  color: var(--ed-500);
  margin-bottom: 8px;
}

.contact-form-side > p {
  font-size: var(--body-md);
  color: var(--eb-300);
  margin-bottom: 32px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--eb-500);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--eb-100);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 300;
  color: var(--eb-500);
  background: #ffffff;
  transition: border-color 0.2s ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--eb-100);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--ed-500);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn {
  align-self: flex-start;
  margin-top: 4px;
}

.contact-image {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, var(--ed-50) 0%, var(--ed-100) 100%);
  min-height: 400px;
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ============================================
   Integrations Grid
   ============================================ */
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.integration-card {
  background: #ffffff;
  border: 1px solid var(--eb-100);
  border-radius: var(--card-radius);
  padding: 32px;
  transition: all 0.3s ease;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.integration-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(121, 1, 255, 0.08);
  border-color: var(--ed-500);
}

.integration-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 12px;
  background: var(--ed-25);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ed-50);
}

.integration-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--ed-500);
  fill: none;
  stroke-width: 1.5;
}

.integration-card h4 {
  margin-bottom: 8px;
  color: var(--eb-500);
}

.integration-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--eb-300);
}

/* ============================================
   Arabic Translator Features
   ============================================ */
.translator-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.translator-feature {
  text-align: center;
  padding: 40px 28px;
  background: #ffffff;
  border-radius: var(--card-radius);
  border: 1px solid var(--eb-100);
  transition: all 0.3s ease;
}

.translator-feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(121, 1, 255, 0.08);
  border-color: var(--ed-500);
}

.translator-feature .feature-emoji {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
}

.translator-feature h3 {
  margin-bottom: 12px;
  font-size: 20px;
  color: var(--eb-500);
}

.translator-feature p {
  font-size: 15px;
  color: var(--eb-300);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: #ffffff;
  padding: 80px 0 48px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}

.footer-logo img {
  height: 32px;
  width: auto;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  max-width: 918px;
}

.footer-links a {
  flex: 1;
  text-align: center;
  font-size: var(--body-sm);
  line-height: var(--body-sm-lh);
  font-weight: 400;
  color: var(--eb-500);
}

.footer-links a:hover {
  color: var(--ed-500);
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.footer-social svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--eb-300);
  stroke-width: 2;
  transition: stroke 0.3s ease;
}

.footer-social a:hover svg {
  stroke: var(--ed-500);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid var(--eb-100);
}

.footer-bottom p {
  font-size: var(--body-sm);
  line-height: var(--body-sm-lh);
  font-weight: 400;
  color: var(--eb-300);
}

/* ============================================
   Utility
   ============================================ */
.bg-light-purple {
  background: var(--ed-25);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ed-100);
  transition: all 0.3s ease;
}

.header.scrolled .mobile-toggle span {
  background: var(--eb-500);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1200px) {
  .glass-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  :root {
    --content-padding: 40px;
  }

  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-list {
    grid-template-columns: 1fr;
  }

  .features-section,
  .dark-section {
    margin: 0;
    border-radius: 0;
  }

  .glass-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-glass {
    display: none;
  }

  .page-hero-row {
    gap: 24px;
  }

  .bento-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "intro  accent"
      "intro  accent"
      "cap1   cap2"
      "photo  cap3"
      "photo  cap4"
      "cap5   cap6"
      "cap7   cap8";
  }

  .bento-dark h3 {
    font-size: 28px;
    line-height: 34px;
  }

  .solution-card {
    min-height: auto;
  }

  .solution-card-content {
    padding: 40px 36px;
  }

  .solution-card-visual {
    padding: 32px;
  }

  .cta-banner {
    padding: 60px 48px;
  }

  .contact-form-side {
    padding: 40px 36px;
  }

  .feature-details-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --h3-size: 36px;
    --h3-lh: 43px;
    --h4-size: 28px;
    --h4-lh: 34px;
    --content-padding: 24px;
  }

  .section { padding: 60px 0; }

  .nav-menu { display: none; }
  .mobile-toggle { display: flex; }

  .hero {
    min-height: 600px;
  }

  .hero-content {
    gap: 32px;
    padding: 100px 0 60px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .overview-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .accordion-header h4 {
    font-size: 20px;
    line-height: 24px;
  }

  .capabilities-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .glass-grid {
    grid-template-columns: 1fr;
  }

  .localization-content {
    grid-template-columns: 1fr;
  }

  .integrations-grid {
    grid-template-columns: 1fr;
  }

  .translator-features {
    grid-template-columns: 1fr;
  }

  .feature-bullets {
    padding-left: 0;
  }

  .page-hero {
    padding: 120px 0 48px;
  }

  .page-hero-row {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
  }

  .page-hero-image {
    max-height: 360px;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "cap1"
      "accent"
      "photo"
      "cap2"
      "cap3"
      "cap4"
      "cap5"
      "cap6"
      "cap7"
      "cap8";
  }

  .bento-dark h3 {
    font-size: 24px;
    line-height: 30px;
  }

  .solution-card {
    grid-template-columns: 1fr;
  }

  .solution-card-visual {
    min-height: 280px;
    order: -1;
    justify-content: center;
    padding: 32px 24px;
  }

  .solution-card-visual img {
    width: 100%;
    right: 0;
  }

  .solution-card-content {
    padding: 32px 24px;
  }

  .cta-banner {
    padding: 48px 24px;
  }

  .cta-banner-content .cta-buttons {
    flex-direction: column;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .contact-image {
    min-height: 300px;
    order: -1;
  }

  .contact-form-side {
    padding: 32px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .bento-image {
    min-height: 240px;
  }

  .bento-stats {
    gap: 16px;
  }

  .bento-stat-number {
    font-size: 22px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 16px;
  }

  .footer-links a {
    flex: none;
  }

  .footer-inner {
    gap: 40px;
  }
}


/* ================================================================
   Solution Features — Tab Layout
   ================================================================ */

.sol-features-section { background: #fff; }

.sol-features-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 24px;
  align-items: start;
}

/* ---- Left nav ---- */
.sol-features-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #f8f8fa;
  border: 1px solid #ebebef;
  border-radius: 16px;
  padding: 10px;
}

.sol-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 14px 14px 10px;
  border-radius: 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  width: 100%;
  position: relative;
  transition: background 0.18s;
  border-left: 3px solid transparent;
}

.sol-feat-item:hover {
  background: #fff;
}

.sol-feat-item.active {
  background: #fff;
  border-left-color: var(--ed-500, #7901ff);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.sol-feat-item-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f0f0f5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
}

.sol-feat-item-icon svg {
  width: 18px;
  height: 18px;
  stroke: #666;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.18s;
}

.sol-feat-item.active .sol-feat-item-icon {
  background: var(--ed-50, #f2e6ff);
}

.sol-feat-item.active .sol-feat-item-icon svg {
  stroke: var(--ed-500, #7901ff);
}

.sol-feat-num-fallback {
  font-size: 11px;
  font-weight: 700;
  color: #888;
}

.sol-feat-item-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.sol-feat-num {
  font-size: 10px;
  font-weight: 700;
  color: var(--ed-400, #9b33ff);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sol-feat-title {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a2e;
  line-height: 1.35;
  display: block;
}

.sol-feat-item.active .sol-feat-title {
  color: var(--ed-700, #5500b8);
}

.sol-feat-preview {
  font-size: 12px;
  color: #888;
  line-height: 1.4;
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ---- Right panels ---- */
.sol-features-panels {
  position: relative;
  min-height: 300px;
}

.sol-feat-pane {
  display: none;
  background: #fff;
  border: 1px solid #ebebef;
  border-radius: 16px;
  padding: 36px;
  animation: sfPaneFadeIn 0.22s ease;
}

.sol-feat-pane.active {
  display: block;
}

@keyframes sfPaneFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sol-feat-pane-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f5;
}

.sol-feat-pane-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--ed-50, #f2e6ff);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sol-feat-pane-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--ed-500, #7901ff);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sol-feat-pane-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--ed-400, #9b33ff);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.sol-feat-pane h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0;
  line-height: 1.3;
}

.sol-feat-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sol-feat-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #444;
  line-height: 1.6;
}

.sol-feat-bullets li::before {
  content: '';
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ed-500, #7901ff);
  margin-top: 8px;
  opacity: 0.7;
}

/* ---- Responsive — accordion on mobile ---- */
@media (max-width: 900px) {
  .sol-features-section {
    overflow-x: hidden;
  }

  .sol-features-layout {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 100%;
    overflow-x: hidden;
  }

  /* Right panel column is hidden — panels get moved inline by JS */
  .sol-features-panels {
    display: none;
  }

  /* Nav becomes a vertical stack */
  .sol-features-nav {
    flex-direction: column;
    overflow: hidden;
    flex-wrap: nowrap;
    gap: 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    width: 100%;
    max-width: 100%;
  }

  /* Each tab item is a card */
  .sol-feat-item {
    width: 100%;
    border-left: 3px solid transparent;
    border-radius: 12px;
    border: 1px solid #ebebef;
    margin-bottom: 8px;
    background: #fff;
    padding: 14px 16px;
    transition: border-color 0.18s, box-shadow 0.18s;
  }

  .sol-feat-item:hover {
    background: #fff;
    border-color: #d8caff;
  }

  .sol-feat-item.active {
    border-color: var(--ed-400, #9b33ff);
    border-left-color: var(--ed-500, #7901ff);
    border-left-width: 3px;
    box-shadow: 0 2px 14px rgba(121,1,255,0.09);
    border-radius: 12px;
    /* keep bottom corners straight when content is open */
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin-bottom: 0;
  }

  /* Accordion arrow indicator */
  .sol-feat-item::after {
    content: '';
    display: block;
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-right: 2px solid #aaa;
    border-bottom: 2px solid #aaa;
    transform: rotate(45deg);
    transition: transform 0.2s, border-color 0.2s;
    margin-left: auto;
    align-self: center;
  }

  .sol-feat-item.active::after {
    transform: rotate(-135deg);
    border-color: var(--ed-500, #7901ff);
  }

  /* Panel shown inline below the active tab */
  .sol-feat-pane {
    display: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border-radius: 0 0 12px 12px;
    border: 1px solid var(--ed-400, #9b33ff);
    border-top: none;
    padding: 20px;
    margin-bottom: 8px;
    animation: sfPaneFadeIn 0.2s ease;
  }

  .sol-feat-pane.active {
    display: block;
  }

  .sol-feat-pane-header {
    display: none;
  }

  .sol-feat-pane h3 {
    font-size: 17px;
  }

  .sol-feat-preview {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    opacity: 0.6;
  }

  .sol-feat-item.active .sol-feat-preview {
    display: none;
  }
}
