/* BiAiVision - slite.com inspired design system */

/* ========== CSS Variables ========== */
:root {
  --bg-primary: #FAF6F1;
  --bg-white: #ffffff;
  --bg-dark: #1a1a2e;
  --bg-card: #ffffff;
  --bg-card-hover: #fdfbf8;
  --text-primary: #191919;
  --text-secondary: #6b6459;
  --text-muted: #a39e95;
  --text-light: #ffffff;
  --border: #e8e0d5;
  --border-hover: #d4c9bb;
  --accent-start: #D4A27F;
  --accent-mid: #E8C4A0;
  --accent-end: #C17F59;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 42px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.08);
  --transition: 0.25s cubic-bezier(.215,.61,.355,1);
  --section-gap: 100px;
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', 'Heebo', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Anthropic-inspired warm gradient backgrounds */
.hero {
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(212, 162, 127, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 20% 60%, rgba(193, 127, 89, 0.1) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(232, 196, 160, 0.12) 0%, transparent 70%),
    var(--bg-primary);
}

#services {
  background:
    radial-gradient(ellipse 70% 50% at 30% 30%, rgba(212, 162, 127, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 70%, rgba(232, 196, 160, 0.1) 0%, transparent 70%),
    var(--bg-white) !important;
}

#ai-analyzer {
  background:
    radial-gradient(ellipse 60% 40% at 60% 20%, rgba(193, 127, 89, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 20% 80%, rgba(212, 162, 127, 0.06) 0%, transparent 70%),
    var(--bg-white) !important;
}

[dir="rtl"] body {
  font-family: 'Heebo', 'Inter', -apple-system, sans-serif;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ========== Container ========== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== Typography ========== */
h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}
.text-lg { font-size: 1.125rem; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

.subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 600px;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.gradient-text {
  background: linear-gradient(135deg, #C17F59, #D4A27F, #8B5E3C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 40px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #2D1B0E, #191919);
  color: var(--text-light);
}
.btn-primary:hover {
  box-shadow: 0 0 0 2px #2D1B0E, 0 4px 16px rgba(45, 27, 14, 0.2);
  transform: translateY(-1px);
}

.btn-outline {
  border: 1.5px solid var(--border);
  color: var(--text-primary);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--text-primary);
  background: var(--bg-white);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.85rem;
}

/* ========== Navigation ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 246, 241, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 700;
}
.nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(0,0,0,0.04);
}

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

.lang-toggle {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}
.lang-toggle:hover {
  background: rgba(0,0,0,0.04);
  color: var(--text-primary);
}

/* ========== Hero Graphics ========== */
.hero-graphics {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-svg {
  position: absolute;
  top: 0;
  height: 100%;
  width: 400px;
}
.hero-svg-left { left: 0; }
.hero-svg-right { right: 0; }

@media (max-width: 1024px) {
  .hero-svg { width: 250px; }
}
@media (max-width: 768px) {
  .hero-graphics { display: none; }
}

/* Section decoration */
.section-decoration {
  text-align: center;
  margin-bottom: 32px;
}

/* Section background graphics */
.section-decorated {
  position: relative;
  overflow: hidden;
}
.section-bg-graphic {
  position: absolute;
  top: 0;
  height: 100%;
  width: 300px;
  pointer-events: none;
}
.section-bg-left { left: 0; }
.section-bg-right { right: 0; }

@media (max-width: 768px) {
  .section-bg-graphic { display: none; }
}

/* ========== Hero ========== */
.hero {
  padding: calc(72px + 80px) 0 var(--section-gap);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero .subtitle {
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== Sections ========== */
.section {
  padding: var(--section-gap) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header h2 {
  margin-bottom: 16px;
}
.section-header .subtitle {
  margin: 0 auto;
}

/* ========== Product Cards ========== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.product-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.product-card h3 {
  margin-bottom: 10px;
}

.product-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.product-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--bg-primary);
  color: var(--text-secondary);
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.product-link:hover {
  gap: 10px;
  background: var(--text-primary);
  color: var(--text-light);
  border-color: var(--text-primary);
}

/* Card decorative circuit SVG */
.card-circuit {
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  pointer-events: none;
}
[dir="rtl"] .card-circuit {
  right: auto;
  left: 0;
  transform: scaleX(-1);
}

/* ========== Product Cards V2 (with screenshots) ========== */
.products-grid-v2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.product-card-v2 {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card-v2:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

.product-screenshot {
  height: 200px;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.product-screenshot iframe {
  width: 200%;
  height: 200%;
  border: none;
  transform: scale(0.5);
  transform-origin: top left;
  pointer-events: none;
}

.product-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-body h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.product-body > p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.product-features {
  list-style: none;
  margin-bottom: 16px;
  padding: 0;
}
.product-features li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
}
[dir="rtl"] .product-features li {
  padding-left: 0;
  padding-right: 20px;
}
.product-features li::before {
  content: '~';
  position: absolute;
  left: 0;
  color: var(--accent-start);
  font-weight: 700;
}
[dir="rtl"] .product-features li::before {
  left: auto;
  right: 0;
}

.product-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.tech-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-primary);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

@media (max-width: 768px) {
  .products-grid-v2 { grid-template-columns: 1fr; }
  .product-screenshot { height: 160px; }
}

/* ========== Founder Section ========== */
.founder-card {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
}
.founder-photo {
  width: 220px;
  height: 280px;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.founder-info {
  flex: 1;
}
.founder-info h3 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}
.founder-title {
  color: var(--accent-start);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 16px !important;
}
.founder-info > p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 12px;
}
.founder-stats {
  display: flex;
  gap: 32px;
  margin: 24px 0;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.founder-stat {
  text-align: center;
}
.founder-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
}
.founder-stat span {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.founder-links {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .founder-card { flex-direction: column; padding: 24px; gap: 24px; }
  .founder-photo { width: 100%; height: 250px; }
  .founder-stats { gap: 16px; }
}

/* Product icon colors - warm Anthropic palette */
.icon-blue { background: #E8DDD3; color: #8B5E3C; }
.icon-purple { background: #ede9fe; color: #7c3aed; }
.icon-emerald { background: #E0EDE5; color: #3D6B50; }
.icon-amber { background: #F5EBD9; color: #A67B4B; }
.icon-rose { background: #F0DDD8; color: #9E4A3A; }

/* ========== Services ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-item {
  text-align: center;
  padding: 40px 24px;
}

.service-item .service-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
}

.service-item h3 {
  margin-bottom: 10px;
}

.service-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ========== Why Us / Features ========== */
.features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.feature-item:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-sm);
}

.feature-item .feature-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.feature-item h3 {
  margin-bottom: 6px;
  font-size: 1.05rem;
}
.feature-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ========== CTA Banner ========== */
.cta-banner {
  background: linear-gradient(135deg, #2D1B0E 0%, #1a1a2e 40%, #3D2816 100%);
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  text-align: center;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 162, 127, 0.2) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(193, 127, 89, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  color: var(--text-light);
  margin-bottom: 16px;
}
.cta-banner p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  margin-bottom: 32px;
}
.cta-banner .btn-primary {
  background: var(--bg-white);
  color: var(--text-primary);
}
.cta-banner .btn-primary:hover {
  box-shadow: 0 0 0 2px var(--bg-white);
}
.cta-banner .btn-outline {
  border-color: rgba(255,255,255,0.3);
  color: var(--text-light);
}
.cta-banner .btn-outline:hover {
  border-color: var(--text-light);
  background: rgba(255,255,255,0.1);
}

/* ========== Footer ========== */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .subtitle {
  font-size: 0.9rem;
  margin-top: 12px;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  padding: 4px 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--text-primary); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ========== Course Cards ========== */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.course-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  transition: all var(--transition);
}
.course-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
}

.course-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.badge-technical { background: #dbeafe; color: #2563eb; }
.badge-business { background: #fef3c7; color: #d97706; }
.badge-new { background: #d1fae5; color: #059669; }

.course-card h3 { margin-bottom: 10px; }
.course-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.course-meta {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ========== AI Analyzer ========== */
.analyzer-card, .wizard-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
}

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

.analyzer-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.analyzer-field.full-width {
  grid-column: 1 / -1;
}

.analyzer-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.analyzer-field input,
.analyzer-field select,
.analyzer-field textarea {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--bg-primary);
  transition: all var(--transition);
}
.analyzer-field input:focus,
.analyzer-field select:focus,
.analyzer-field textarea:focus {
  outline: none;
  border-color: var(--text-primary);
  box-shadow: 0 0 0 3px rgba(26, 26, 46, 0.06);
}
.analyzer-field textarea {
  resize: vertical;
  min-height: 80px;
}

.analyzer-btn {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

/* Analyzer Result */
.analyzer-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.analyzer-result-body {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-primary);
}
.analyzer-result-body h4 {
  font-size: 1.05rem;
  margin: 20px 0 8px;
  color: var(--text-primary);
}
.analyzer-result-body ul {
  padding-left: 20px;
  margin-bottom: 12px;
}
[dir="rtl"] .analyzer-result-body ul {
  padding-left: 0;
  padding-right: 20px;
}
.analyzer-result-body li {
  margin-bottom: 6px;
  color: var(--text-secondary);
}
.analyzer-result-body strong {
  color: var(--text-primary);
}

.analyzer-result-cta {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.analyzer-result-cta p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Loading */
.analyzer-loading {
  text-align: center;
  padding: 48px 24px;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--text-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}

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

/* ========== Contact Wizard ========== */
.wizard-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 36px;
}

.wizard-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.wizard-step span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: all var(--transition);
}
.wizard-step.active span {
  background: var(--text-primary);
  border-color: var(--text-primary);
  color: white;
}
.wizard-step.completed span {
  background: #059669;
  border-color: #059669;
  color: white;
}
.wizard-step small {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.wizard-step.active small {
  color: var(--text-primary);
  font-weight: 600;
}

.wizard-step-line {
  width: 80px;
  height: 2px;
  background: var(--border);
  margin: 0 8px;
  margin-bottom: 22px;
}

.wizard-panel {
  display: none;
}
.wizard-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

.wizard-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 4px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.9rem;
  transition: all var(--transition);
}
.checkbox-item:hover {
  border-color: var(--border-hover);
  background: var(--bg-primary);
}
.checkbox-item input:checked + span {
  font-weight: 600;
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .analyzer-row { grid-template-columns: 1fr; }
  .analyzer-card, .wizard-card { padding: 24px; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .analyzer-result-cta { flex-direction: column; text-align: center; }
}

/* ========== WhatsApp FAB ========== */
.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all var(--transition);
}
[dir="rtl"] .whatsapp-fab { right: auto; left: 28px; }
.whatsapp-fab:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

.nav-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #25D366;
  transition: all var(--transition);
}
.nav-wa-btn:hover {
  background: rgba(37, 211, 102, 0.1);
}

/* ========== WhatsApp Banner ========== */
.wa-banner {
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: var(--radius-xl);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: white;
}
.wa-banner-content {
  display: flex;
  align-items: center;
  gap: 20px;
}
.wa-banner-icon {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wa-banner h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
  color: white;
}
.wa-banner p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}
.wa-join-btn {
  background: white;
  color: #128C7E;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}
.wa-join-btn:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .wa-banner { flex-direction: column; text-align: center; padding: 28px 24px; }
  .wa-banner-content { flex-direction: column; }
}

/* ========== Grid Pattern Background ========== */
.grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(193, 127, 89, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(193, 127, 89, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 70%);
}

/* ========== Floating Orbs ========== */
.floating-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
}
.orb-1 {
  width: 300px;
  height: 300px;
  background: rgba(212, 162, 127, 0.12);
  top: 10%;
  right: 5%;
  animation: floatOrb 12s ease-in-out infinite;
}
.orb-2 {
  width: 200px;
  height: 200px;
  background: rgba(193, 127, 89, 0.08);
  bottom: 15%;
  left: 8%;
  animation: floatOrb 16s ease-in-out infinite reverse;
}
.orb-3 {
  width: 150px;
  height: 150px;
  background: rgba(139, 94, 60, 0.06);
  top: 40%;
  left: 30%;
  animation: floatOrb 20s ease-in-out infinite;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(20px, -15px); }
  50% { transform: translate(-10px, 20px); }
  75% { transform: translate(15px, 10px); }
}

@media (max-width: 768px) {
  .floating-orb { display: none; }
  .grid-pattern { display: none; }
}

/* ========== Animations ========== */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== Mobile Menu ========== */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.mobile-menu-btn span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  :root { --section-gap: 60px; }

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

  .products-grid,
  .services-grid,
  .features-list,
  .courses-grid { grid-template-columns: 1fr; }

  .hero { padding-top: calc(72px + 40px); }
  .hero h1 { font-size: 2.2rem; }

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

  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
