/* ===== SMART KITCHEN OS - Premium Presentation CSS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Tajawal:wght@300;400;500;700;800&display=swap');

/* ===== CSS Variables ===== */
:root {
  --navy: #0f172a;
  --navy-light: #1e293b;
  --navy-lighter: #334155;
  --emerald: #10b981;
  --emerald-dark: #059669;
  --emerald-light: #34d399;
  --orange: #f59e0b;
  --orange-light: #fbbf24;
  --white: #ffffff;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gradient-emerald: linear-gradient(135deg, #10b981, #059669);
  --gradient-orange: linear-gradient(135deg, #f59e0b, #f97316);
  --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  --glass-bg: rgba(255,255,255,0.05);
  --glass-border: rgba(255,255,255,0.1);
  --glass-shadow: 0 8px 32px rgba(0,0,0,0.3);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --font-en: 'Inter', sans-serif;
  --font-ar: 'Tajawal', sans-serif;
}

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

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

body {
  font-family: var(--font-en);
  background: var(--navy);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body[dir="rtl"] {
  font-family: var(--font-ar);
  direction: rtl;
  text-align: right;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Particle Canvas ===== */
#particles-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  backdrop-filter: blur(0px);
}

.navbar.scrolled {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 10px 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.4rem;
}

.nav-logo .logo-icon {
  width: 42px; height: 42px;
  background: var(--gradient-emerald);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 0 20px rgba(16,185,129,0.3);
}

.nav-logo span { color: var(--emerald); }

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

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--gray-300);
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--emerald);
  transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

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

/* Language Toggle */
.lang-toggle {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  padding: 6px;
  display: flex;
  cursor: pointer;
  overflow: hidden;
}

.lang-toggle button {
  background: none;
  border: none;
  color: var(--gray-400);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.lang-toggle button.active {
  background: var(--emerald);
  color: var(--white);
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: 0.5s;
}

.btn:hover::before { left: 100%; }

.btn-primary {
  background: var(--gradient-emerald);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(16,185,129,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(16,185,129,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--glass-border);
}

.btn-outline:hover {
  border-color: var(--emerald);
  background: rgba(16,185,129,0.1);
  transform: translateY(-2px);
}

.btn-orange {
  background: var(--gradient-orange);
  color: var(--navy);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(245,158,11,0.3);
}

.btn-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245,158,11,0.4);
}

/* ===== Section Styles ===== */
section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 50px;
  color: var(--emerald);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-title .highlight {
  background: var(--gradient-emerald);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title .highlight-orange {
  background: var(--gradient-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--gray-400);
  max-width: 640px;
  line-height: 1.8;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ===== Glass Card ===== */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.glass-card:hover {
  border-color: rgba(16,185,129,0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

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

.hero::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(ellipse at 30% 50%, rgba(16,185,129,0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 50%, rgba(245,158,11,0.05) 0%, transparent 50%);
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(-2%, -2%) rotate(3deg); }
}

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

.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: 50px;
  color: var(--orange);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease;
}

.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.2rem;
  color: var(--gray-400);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.8;
}

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

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--glass-border);
}

.hero-stat h3 {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-emerald);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat p {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-bottom: 0;
}

/* Hero 3D Area */
.hero-visual {
  position: relative;
  z-index: 2;
  height: 500px;
}

#hero-3d-canvas {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
}

/* ===== Floating Dashboard Mockup ===== */
.dashboard-mockup {
  position: relative;
  width: 100%;
  height: 100%;
  perspective: 1200px;
}

.mockup-screen {
  position: absolute;
  background: rgba(15,23,42,0.8);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 20px;
  backdrop-filter: blur(10px);
  box-shadow: var(--glass-shadow);
  animation: float 6s ease-in-out infinite;
}

.mockup-main {
  width: 85%;
  height: 70%;
  top: 15%;
  left: 7%;
  transform: rotateY(-5deg) rotateX(5deg);
  z-index: 2;
}

.mockup-side {
  width: 45%;
  height: 40%;
  top: 5%;
  right: -5%;
  transform: rotateY(-15deg) rotateX(8deg);
  z-index: 3;
  animation-delay: -2s;
}

.mockup-bottom {
  width: 50%;
  height: 30%;
  bottom: 2%;
  left: 0%;
  transform: rotateY(5deg) rotateX(-5deg);
  z-index: 1;
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotateY(-5deg) rotateX(5deg); }
  50% { transform: translateY(-15px) rotateY(-3deg) rotateX(3deg); }
}

.mockup-side { animation: float2 6s ease-in-out infinite; }
@keyframes float2 {
  0%, 100% { transform: translateY(0) rotateY(-15deg) rotateX(8deg); }
  50% { transform: translateY(-10px) rotateY(-12deg) rotateX(6deg); }
}

.mockup-bottom { animation: float3 6s ease-in-out infinite; }
@keyframes float3 {
  0%, 100% { transform: translateY(0) rotateY(5deg) rotateX(-5deg); }
  50% { transform: translateY(-8px) rotateY(3deg) rotateX(-3deg); }
}

/* Mockup Inner Elements */
.mockup-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.mockup-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}

.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #f59e0b; }
.mockup-dot.green { background: #10b981; }

.mockup-bar {
  height: 8px;
  border-radius: 4px;
  margin-bottom: 8px;
  animation: barGrow 2s ease-out forwards;
}

@keyframes barGrow {
  from { width: 0; }
}

.mockup-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
  margin-top: 12px;
}

.chart-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  animation: chartBarGrow 1.5s ease-out forwards;
  animation-delay: var(--delay, 0s);
  transform-origin: bottom;
}

@keyframes chartBarGrow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

.mockup-metric {
  text-align: center;
  padding: 8px;
}

.mockup-metric .value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--emerald);
}

.mockup-metric .label {
  font-size: 0.75rem;
  color: var(--gray-400);
}

/* ===== Problem Section ===== */
.problem-section {
  background: linear-gradient(180deg, var(--navy) 0%, rgba(15,23,42,0.95) 100%);
}

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

.problem-card {
  text-align: center;
  padding: 40px 24px;
}

.problem-icon {
  width: 80px; height: 80px;
  margin: 0 auto 20px;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.problem-card h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ef4444;
  margin-bottom: 8px;
}

.problem-card p {
  color: var(--gray-400);
  font-size: 1rem;
}

/* ===== Features Section ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.feature-card {
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--gradient-emerald);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 60px; height: 60px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--gray-400);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.feature-metric {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(16,185,129,0.1);
  border-radius: 20px;
  color: var(--emerald);
  font-weight: 600;
  font-size: 0.85rem;
}

/* ===== How It Works ===== */
.steps-section { padding: 100px 0; }

.steps-container {
  display: flex;
  gap: 0;
  margin-top: 60px;
  position: relative;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 40px;
  right: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--emerald), var(--orange));
  z-index: 0;
}

.step-item {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 16px;
}

.step-number {
  width: 80px; height: 80px;
  margin: 0 auto 20px;
  background: var(--navy);
  border: 2px solid var(--emerald);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--emerald);
  transition: var(--transition);
}

.step-item:hover .step-number {
  background: var(--emerald);
  color: var(--white);
  box-shadow: 0 0 30px rgba(16,185,129,0.4);
}

.step-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-item p {
  font-size: 0.85rem;
  color: var(--gray-400);
}

/* ===== ROI Section ===== */
.roi-section {
  background: linear-gradient(135deg, rgba(16,185,129,0.05) 0%, rgba(245,158,11,0.05) 100%);
}

.roi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 60px;
}

.roi-visual {
  position: relative;
}

.roi-circle {
  width: 300px; height: 300px;
  margin: 0 auto;
  border-radius: 50%;
  background: conic-gradient(var(--emerald) 0deg 300deg, rgba(255,255,255,0.05) 300deg 360deg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: rotateROI 20s linear infinite;
}

@keyframes rotateROI {
  from { filter: hue-rotate(0deg); }
  to { filter: hue-rotate(360deg); }
}

.roi-circle-inner {
  width: 220px; height: 220px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: rotateROI 20s linear infinite reverse;
}

.roi-circle-inner .big-number {
  font-size: 3.5rem;
  font-weight: 900;
  background: var(--gradient-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.roi-details { display: flex; flex-direction: column; gap: 20px; }

.roi-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
}

.roi-item-icon {
  width: 50px; height: 50px;
  background: rgba(16,185,129,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.roi-item h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--emerald);
}

.roi-item p {
  font-size: 0.9rem;
  color: var(--gray-400);
}

/* ===== CTA Section ===== */
.cta-section {
  text-align: center;
  padding: 80px 0;
}

.cta-box {
  max-width: 700px;
  margin: 0 auto;
  padding: 60px 40px;
  background: linear-gradient(135deg, rgba(16,185,129,0.1), rgba(245,158,11,0.1));
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(16,185,129,0.05) 0%, transparent 60%);
  animation: ctaPulse 4s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 1; }
}

.cta-box h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
}

.cta-box p {
  color: var(--gray-400);
  margin-bottom: 32px;
  font-size: 1.1rem;
  position: relative;
}

.cta-box .btn { position: relative; }

/* ===== Footer ===== */
.footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--glass-border);
  position: relative;
  z-index: 1;
}

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

.footer-brand p {
  color: var(--gray-400);
  margin-top: 16px;
  font-size: 0.9rem;
  max-width: 300px;
}

.footer h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--gray-200);
}

.footer ul li { margin-bottom: 10px; }

.footer ul li a {
  color: var(--gray-400);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer ul li a:hover { color: var(--emerald); }

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

/* ===== Pricing Cards ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.pricing-card {
  padding: 40px 32px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.pricing-card.featured {
  border-color: var(--emerald);
  transform: scale(1.05);
  background: rgba(16,185,129,0.05);
}

.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: -1px; left: 20%; right: 20%;
  height: 3px;
  background: var(--gradient-emerald);
  border-radius: 0 0 4px 4px;
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-emerald);
  color: var(--white);
  padding: 4px 20px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

.pricing-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-card .price {
  font-size: 3rem;
  font-weight: 900;
  margin: 20px 0;
}

.pricing-card .price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--gray-400);
}

.pricing-card .price small {
  display: block;
  font-size: 0.85rem;
  color: var(--gray-400);
  font-weight: 400;
}

.pricing-features {
  text-align: left;
  margin: 24px 0;
}

body[dir="rtl"] .pricing-features { text-align: right; }

.pricing-features li {
  padding: 8px 0;
  color: var(--gray-300);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--emerald);
  font-weight: 700;
}

/* ===== Financial Projections ===== */
.projections-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.projection-card {
  text-align: center;
  padding: 24px 16px;
}

.projection-card .year {
  color: var(--gray-400);
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.projection-card .revenue {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--emerald);
}

.projection-card .detail {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 4px;
}

/* ===== Market Size ===== */
.market-circles {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.market-circle {
  text-align: center;
}

.market-circle .circle {
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border: 2px solid;
  transition: var(--transition);
}

.market-circle .circle:hover {
  transform: scale(1.1);
}

.market-circle.tam .circle {
  width: 220px; height: 220px;
  border-color: rgba(16,185,129,0.3);
  background: rgba(16,185,129,0.05);
}

.market-circle.sam .circle {
  width: 170px; height: 170px;
  border-color: rgba(245,158,11,0.3);
  background: rgba(245,158,11,0.05);
}

.market-circle.som .circle {
  width: 130px; height: 130px;
  border-color: rgba(99,102,241,0.3);
  background: rgba(99,102,241,0.05);
}

.market-circle .value {
  font-size: 1.8rem;
  font-weight: 800;
}

.market-circle.tam .value { color: var(--emerald); }
.market-circle.sam .value { color: var(--orange); }
.market-circle.som .value { color: #6366f1; }

.market-circle .label {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-top: 4px;
}

.market-circle h4 {
  font-size: 1rem;
  font-weight: 600;
}

/* ===== About Page ===== */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(16,185,129,0.08), transparent 60%);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 60px;
}

.founder-card {
  text-align: center;
  padding: 48px 32px;
  max-width: 500px;
  margin: 60px auto 0;
}

.founder-avatar {
  width: 120px; height: 120px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--gradient-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 800;
  box-shadow: 0 0 40px rgba(16,185,129,0.3);
}

.founder-card h3 { font-size: 1.5rem; margin-bottom: 4px; }
.founder-card .role { color: var(--emerald); font-weight: 600; margin-bottom: 16px; }
.founder-card p { color: var(--gray-400); font-size: 0.95rem; }

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 60px auto 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--emerald), var(--orange));
}

.timeline-item {
  display: flex;
  margin-bottom: 40px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  justify-content: flex-start;
  padding-right: calc(50% + 30px);
  text-align: right;
}

body[dir="rtl"] .timeline-item:nth-child(odd) {
  text-align: left;
  padding-right: 0;
  padding-left: calc(50% + 30px);
}

.timeline-item:nth-child(even) {
  justify-content: flex-end;
  padding-left: calc(50% + 30px);
}

body[dir="rtl"] .timeline-item:nth-child(even) {
  padding-left: 0;
  padding-right: calc(50% + 30px);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px; height: 16px;
  background: var(--emerald);
  border-radius: 50%;
  border: 3px solid var(--navy);
  z-index: 1;
}

.timeline-content {
  padding: 20px 24px;
}

.timeline-content h4 {
  color: var(--emerald);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.timeline-content h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.timeline-content p {
  color: var(--gray-400);
  font-size: 0.9rem;
}

/* Vision 2030 */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.vision-card {
  text-align: center;
  padding: 32px 24px;
}

.vision-card .icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.vision-card h4 { margin-bottom: 8px; }
.vision-card p { color: var(--gray-400); font-size: 0.9rem; }

/* ===== Features Page ===== */
.feature-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.feature-detail:nth-child(even) .feature-detail-content { order: 2; }
.feature-detail:nth-child(even) .feature-detail-visual { order: 1; }

body[dir="rtl"] .feature-detail:nth-child(even) .feature-detail-content { order: 1; }
body[dir="rtl"] .feature-detail:nth-child(even) .feature-detail-visual { order: 2; }

.feature-detail-visual {
  height: 350px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-detail-content .feature-metric {
  margin-top: 16px;
}

.feature-detail-content ul {
  margin-top: 16px;
}

.feature-detail-content ul li {
  padding: 6px 0;
  color: var(--gray-300);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.feature-detail-content ul li::before {
  content: '→';
  color: var(--emerald);
  font-weight: 700;
}

/* Animated chart in feature visual */
.animated-chart {
  width: 80%;
  height: 70%;
  position: relative;
}

.animated-chart .line {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 100%;
}

.animated-chart .line svg {
  width: 100%;
  height: 100%;
}

.animated-chart .line svg path {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  animation: drawLine 2s ease forwards;
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

/* ===== Contact Page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 60px;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--gray-300);
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 18px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.1);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
}

.contact-info-icon {
  width: 50px; height: 50px;
  background: rgba(16,185,129,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-info-card p {
  color: var(--gray-400);
  font-size: 0.9rem;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.animate-fade-up { animation: fadeInUp 0.6s ease forwards; }

/* Counter animation */
.count-up {
  display: inline-block;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--navy-lighter); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--emerald); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin: 0 auto 36px; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { height: 350px; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .pricing-card.featured { transform: scale(1); }
  .roi-grid { grid-template-columns: 1fr; }
  .mission-grid { grid-template-columns: 1fr; }
  .feature-detail { grid-template-columns: 1fr; }
  .feature-detail:nth-child(even) .feature-detail-content { order: 1; }
  .feature-detail:nth-child(even) .feature-detail-visual { order: 2; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .projections-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(15,23,42,0.98);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--glass-border);
  }
  .hero h1 { font-size: 2.2rem; }
  .hero-stats { flex-direction: column; gap: 16px; align-items: center; }
  .problem-grid { grid-template-columns: 1fr; }
  .steps-container { flex-direction: column; gap: 24px; }
  .steps-container::before { display: none; }
  .market-circles { flex-direction: column; }
  .timeline::before { left: 20px; }
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    padding-left: 50px;
    padding-right: 0;
    text-align: left;
    justify-content: flex-start;
  }
  body[dir="rtl"] .timeline-item:nth-child(odd),
  body[dir="rtl"] .timeline-item:nth-child(even) {
    padding-right: 50px;
    padding-left: 0;
    text-align: right;
  }
  .timeline-dot { left: 20px; }
  .vision-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .projections-grid { grid-template-columns: repeat(2, 1fr); }
  section { padding: 60px 0; }
}
