/* ============================================================
   ALGORAM – Precision in Algorithmic Trading
   Main Stylesheet
   ============================================================ */

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

/* ── CSS Variables ── */
:root {
  --neon-blue: #00A8FF;
  --neon-cyan: #00E5FF;
  --gold: #FFC107;
  --gold-light: #FFD54F;
  --navy: #050816;
  --navy-2: #080d24;
  --navy-3: #0a1535;
  --purple-glow: #7B2FFF;
  --green-profit: #00FF88;
  --orange: #FF6B35;
  --white: #FFFFFF;
  --white-70: rgba(255,255,255,0.7);
  --white-20: rgba(255,255,255,0.2);
  --white-10: rgba(255,255,255,0.1);
  --glass: rgba(255,255,255,0.05);
  --glass-border: rgba(0,168,255,0.25);
  --shadow-blue: 0 0 30px rgba(0,168,255,0.3);
  --shadow-gold: 0 0 30px rgba(255,193,7,0.3);
  --font-orb: 'Orbitron', monospace;
  --font-pop: 'Poppins', sans-serif;
  --font-int: 'Inter', sans-serif;
}

/* ── Reset & Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-pop);
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  cursor: none;
}

/* Custom Cursor */
.cursor {
  width: 12px; height: 12px;
  background: var(--neon-cyan);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  transition: transform 0.1s ease;
  box-shadow: 0 0 10px var(--neon-cyan), 0 0 20px var(--neon-cyan);
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(0,168,255,0.5);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: all 0.15s ease;
}
@media (hover: none) { .cursor, .cursor-ring { display: none; } body { cursor: auto; } }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--neon-blue); border-radius: 2px; }

/* ── Loading Screen ── */
#loader {
  position: fixed; inset: 0;
  background: var(--navy);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 99997;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-logo {
  font-family: var(--font-orb);
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: 4px;
  background: linear-gradient(135deg, var(--neon-blue), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 2rem;
  animation: pulse-glow 1s ease-in-out infinite alternate;
}
.loader-bar-wrap {
  width: 200px; height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px; overflow: hidden;
}
.loader-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--neon-blue), var(--gold));
  border-radius: 2px;
  animation: loadBar 1.8s ease forwards;
}
@keyframes loadBar { from { width: 0; } to { width: 100%; } }
@keyframes pulse-glow {
  from { text-shadow: 0 0 20px rgba(0,168,255,0.5); }
  to { text-shadow: 0 0 40px rgba(0,168,255,0.9), 0 0 60px rgba(255,193,7,0.4); }
}

/* ── Particles Canvas ── */
#particles-canvas {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* ── Navbar ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 2rem;
  height: 70px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(5,8,22,0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,168,255,0.15);
  transition: all 0.3s ease;
}
.navbar.scrolled {
  background: rgba(5,8,22,0.95);
  border-bottom-color: rgba(0,168,255,0.3);
  box-shadow: 0 4px 30px rgba(0,168,255,0.1);
}
.nav-logo {
  font-family: var(--font-orb);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 3px;
  background: linear-gradient(135deg, var(--neon-blue), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  white-space: nowrap;
}
.nav-logo span { color: var(--gold); -webkit-text-fill-color: var(--gold); }
.nav-links {
  display: flex; align-items: center; gap: 0.25rem;
  list-style: none;
}
.nav-links a {
  color: var(--white-70);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--neon-cyan);
  background: rgba(0,168,255,0.1);
}
.nav-cta {
  background: linear-gradient(135deg, var(--neon-blue), var(--purple-glow)) !important;
  color: var(--white) !important;
  padding: 0.45rem 1rem !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  box-shadow: 0 0 15px rgba(0,168,255,0.3);
}
.nav-cta:hover { box-shadow: 0 0 25px rgba(0,168,255,0.6) !important; transform: translateY(-1px); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--neon-blue);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-menu {
  display: none;
  position: fixed; top: 70px; left: 0; right: 0;
  background: rgba(5,8,22,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem;
  z-index: 999;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; }
.mobile-menu a {
  display: block;
  color: var(--white-70);
  text-decoration: none;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  border-radius: 8px;
  transition: all 0.2s;
}
.mobile-menu a:hover { color: var(--neon-cyan); background: var(--white-10); }

/* ── Hero Section ── */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 100px 2rem 4rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(0,168,255,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 30%, rgba(123,47,255,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 50% 80%, rgba(255,193,7,0.04) 0%, transparent 50%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,168,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,168,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 3rem;
}
.hero-text { animation: fadeInLeft 0.8s ease forwards; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(0,168,255,0.1);
  border: 1px solid rgba(0,168,255,0.3);
  padding: 0.4rem 1rem; border-radius: 50px;
  font-size: 0.75rem; font-weight: 600;
  color: var(--neon-cyan); letter-spacing: 1px;
  margin-bottom: 1.5rem;
  animation: float 3s ease-in-out infinite;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px;
  background: var(--green-profit);
  border-radius: 50%;
  animation: blink 1s ease-in-out infinite;
  box-shadow: 0 0 6px var(--green-profit);
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }
.hero-title-hindi {
  font-family: var(--font-orb);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  text-shadow: none;
  letter-spacing: 1px;
}
.hero-title-eng {
  font-family: var(--font-orb);
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  font-weight: 600;
  color: var(--white-70);
  margin-bottom: 1rem;
  letter-spacing: 1px;
}
.hero-subtitle {
  font-size: 1rem; color: var(--white-70);
  line-height: 1.6; margin-bottom: 2rem;
  max-width: 480px;
}
.hero-subtitle strong { color: var(--neon-cyan); }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 10px;
  font-weight: 600; font-size: 0.9rem;
  text-decoration: none; cursor: pointer;
  border: none; transition: all 0.3s ease;
  position: relative; overflow: hidden;
  letter-spacing: 0.5px;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0; transition: opacity 0.3s;
}
.btn:hover::before { opacity: 1; }
.btn-primary {
  background: linear-gradient(135deg, var(--neon-blue), var(--purple-glow));
  color: var(--white);
  box-shadow: 0 0 20px rgba(0,168,255,0.4), 0 4px 15px rgba(0,0,0,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 35px rgba(0,168,255,0.6), 0 8px 20px rgba(0,0,0,0.3); }
.btn-outline {
  background: transparent;
  color: var(--neon-cyan);
  border: 1.5px solid rgba(0,229,255,0.4);
}
.btn-outline:hover { background: rgba(0,229,255,0.08); border-color: var(--neon-cyan); box-shadow: 0 0 20px rgba(0,229,255,0.2); transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), #FF8C00);
  color: var(--navy);
  font-weight: 700;
  box-shadow: 0 0 20px rgba(255,193,7,0.4);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 0 35px rgba(255,193,7,0.6); }
.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--white);
}
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 0 25px rgba(37,211,102,0.4); }
.hero-stats {
  display: flex; gap: 2rem; flex-wrap: wrap;
}
.hero-stat {
  display: flex; flex-direction: column;
}
.stat-value {
  font-family: var(--font-orb);
  font-size: 1.6rem; font-weight: 800;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label { font-size: 0.72rem; color: var(--white-70); letter-spacing: 0.5px; }

/* Hero Visual Side */
.hero-visual {
  position: relative; z-index: 2;
  animation: fadeInRight 0.8s ease 0.2s both;
}
.hero-dashboard {
  background: rgba(8,13,36,0.9);
  border: 1px solid rgba(0,168,255,0.2);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-blue), inset 0 1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  position: relative;
}
.hero-dashboard::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: 17px;
  background: linear-gradient(135deg, rgba(0,168,255,0.3), transparent, rgba(255,193,7,0.2));
  z-index: -1;
}
.dash-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem;
}
.dash-title {
  font-family: var(--font-orb); font-size: 0.75rem;
  color: var(--neon-cyan); letter-spacing: 2px; font-weight: 600;
}
.dash-live {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.7rem; color: var(--green-profit); font-weight: 600;
}
.dash-live::before {
  content: ''; width: 6px; height: 6px;
  background: var(--green-profit); border-radius: 50%;
  box-shadow: 0 0 6px var(--green-profit);
  animation: blink 1s infinite;
}
.chart-container {
  width: 100%; height: 160px;
  position: relative; margin-bottom: 1rem;
}
#heroChart { width: 100%; height: 100%; }
.dash-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem;
}
.dash-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(0,168,255,0.15);
  border-radius: 10px; padding: 0.75rem;
  transition: all 0.3s;
}
.dash-card:hover {
  background: rgba(0,168,255,0.08);
  border-color: rgba(0,168,255,0.4);
  transform: translateY(-2px);
}
.dc-label { font-size: 0.65rem; color: var(--white-70); margin-bottom: 0.3rem; letter-spacing: 0.5px; }
.dc-value {
  font-family: var(--font-orb); font-size: 0.9rem; font-weight: 700;
}
.dc-value.green { color: var(--green-profit); text-shadow: 0 0 8px rgba(0,255,136,0.4); }
.dc-value.blue { color: var(--neon-cyan); }
.dc-value.gold { color: var(--gold); }

/* Ticker */
.ticker-bar {
  background: rgba(0,168,255,0.08);
  border-top: 1px solid rgba(0,168,255,0.15);
  border-bottom: 1px solid rgba(0,168,255,0.15);
  overflow: hidden; padding: 0.5rem 0;
  margin-top: 0; position: relative; z-index: 2;
}
.ticker-inner {
  display: flex; gap: 3rem; white-space: nowrap;
  animation: ticker 25s linear infinite;
}
.ticker-item {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-family: var(--font-orb); color: var(--white-70);
}
.ticker-item .up { color: var(--green-profit); }
.ticker-item .down { color: #FF4B4B; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Section Base ── */
section { position: relative; z-index: 1; }
.section-pad { padding: 6rem 2rem; }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 2px;
  color: var(--neon-cyan);
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.2);
  padding: 0.3rem 1rem; border-radius: 50px;
  margin-bottom: 1rem; text-transform: uppercase;
}
.section-title {
  font-family: var(--font-orb);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; line-height: 1.15;
  margin-bottom: 1rem;
}
.section-title span { 
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-title .gold-text {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-desc { font-size: 1rem; color: var(--white-70); max-width: 600px; margin: 0 auto; line-height: 1.7; }

/* ── Features Grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.4s ease;
  position: relative; overflow: hidden;
  cursor: default;
}
.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover {
  border-color: rgba(0,168,255,0.5);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,168,255,0.15), 0 0 0 1px rgba(0,168,255,0.1);
  background: rgba(0,168,255,0.06);
}
.feature-icon {
  width: 70px; height: 70px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.25rem;
  position: relative;
  background: rgba(0,168,255,0.1);
  border: 1px solid rgba(0,168,255,0.2);
  transition: all 0.4s;
}
.feature-card:hover .feature-icon {
  background: rgba(0,168,255,0.2);
  box-shadow: 0 0 25px rgba(0,168,255,0.3);
  transform: rotate(5deg) scale(1.05);
}
.feature-card h3 {
  font-family: var(--font-orb); font-size: 0.9rem; font-weight: 700;
  color: var(--white); margin-bottom: 0.5rem; letter-spacing: 0.5px;
}
.feature-card p { font-size: 0.82rem; color: var(--white-70); line-height: 1.6; }
.feature-badge {
  position: absolute; top: 1rem; right: 1rem;
  font-size: 0.6rem; font-weight: 700; letter-spacing: 1px;
  background: linear-gradient(135deg, var(--gold), #FF8C00);
  color: var(--navy); padding: 0.2rem 0.5rem; border-radius: 4px;
}

/* ── Smart Automation Section ── */
.automation-section { background: linear-gradient(180deg, transparent, rgba(0,168,255,0.03), transparent); }
.automation-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.automation-features { list-style: none; display: flex; flex-direction: column; gap: 1.25rem; }
.auto-feature-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.25rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  transition: all 0.3s;
}
.auto-feature-item:hover {
  background: rgba(0,168,255,0.07);
  border-color: rgba(0,168,255,0.4);
  transform: translateX(6px);
}
.auto-icon {
  width: 40px; height: 40px; min-width: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0,168,255,0.2), rgba(0,168,255,0.05));
  border: 1px solid rgba(0,168,255,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.auto-feature-item h4 { font-size: 0.88rem; font-weight: 600; color: var(--white); margin-bottom: 0.2rem; }
.auto-feature-item p { font-size: 0.78rem; color: var(--white-70); }

/* Phone Mockup */
.phone-mockup {
  width: 260px; margin: 0 auto;
  position: relative;
}
.phone-frame {
  background: rgba(8,13,36,0.95);
  border: 2px solid rgba(0,168,255,0.3);
  border-radius: 32px; padding: 1.5rem 1rem;
  box-shadow: 0 0 60px rgba(0,168,255,0.2), inset 0 0 30px rgba(0,168,255,0.03);
  position: relative; overflow: hidden;
}
.phone-frame::before {
  content: ''; position: absolute; inset: -1px;
  border-radius: 33px;
  background: linear-gradient(135deg, rgba(0,168,255,0.4), transparent, rgba(255,193,7,0.2));
  z-index: -1;
}
.phone-notch {
  width: 80px; height: 20px;
  background: rgba(0,0,0,0.8);
  border-radius: 0 0 12px 12px;
  margin: 0 auto 1rem;
}
.phone-status { display: flex; justify-content: space-between; margin-bottom: 1rem; font-size: 0.65rem; color: var(--white-70); }
.phone-app-header { text-align: center; margin-bottom: 1rem; }
.phone-app-header h4 { font-family: var(--font-orb); font-size: 0.7rem; color: var(--neon-cyan); letter-spacing: 2px; }
.phone-pnl {
  text-align: center; margin-bottom: 1rem;
}
.pnl-label { font-size: 0.6rem; color: var(--white-70); margin-bottom: 0.25rem; }
.pnl-value {
  font-family: var(--font-orb); font-size: 1.6rem; font-weight: 800;
  color: var(--green-profit);
  text-shadow: 0 0 20px rgba(0,255,136,0.5);
  animation: countUp 2s ease forwards;
}
.phone-mini-chart { height: 60px; margin-bottom: 1rem; }
#phoneChart { width: 100%; height: 100%; }
.phone-trades {
  display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1rem;
}
.phone-trade {
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(255,255,255,0.04); border-radius: 8px; padding: 0.5rem 0.75rem;
  font-size: 0.65rem;
}
.phone-trade .symbol { color: var(--white); font-weight: 600; font-family: var(--font-orb); }
.phone-trade .pnl-pos { color: var(--green-profit); }
.phone-trade .pnl-neg { color: #FF4B4B; }
.phone-btns { display: flex; gap: 0.5rem; }
.phone-btn {
  flex: 1; padding: 0.5rem;
  border-radius: 8px; border: none;
  font-family: var(--font-orb); font-size: 0.65rem;
  font-weight: 700; letter-spacing: 1px; cursor: pointer;
}
.phone-btn.start { background: linear-gradient(135deg, var(--green-profit), #00CC66); color: var(--navy); }
.phone-btn.stop { background: rgba(255,75,75,0.15); color: #FF4B4B; border: 1px solid rgba(255,75,75,0.3); }

/* ── Advanced Features ── */
.advanced-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.adv-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 14px; padding: 1.75rem;
  transition: all 0.3s; position: relative; overflow: hidden;
}
.adv-card::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--neon-blue), var(--purple-glow));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.adv-card:hover::after { transform: scaleX(1); }
.adv-card:hover {
  border-color: rgba(0,168,255,0.4);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0,168,255,0.12);
}
.adv-icon { font-size: 1.75rem; margin-bottom: 1rem; }
.adv-card h3 { font-family: var(--font-orb); font-size: 0.88rem; font-weight: 700; margin-bottom: 0.5rem; }
.adv-card p { font-size: 0.8rem; color: var(--white-70); line-height: 1.6; }

/* ── Comparison Table ── */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--glass-border);
}
.comparison-table th {
  padding: 1.25rem 1.5rem;
  font-family: var(--font-orb); font-size: 0.9rem; font-weight: 700;
  letter-spacing: 1px;
}
.comparison-table th:first-child { background: rgba(255,255,255,0.03); color: var(--white-70); text-align: left; }
.comparison-table th:nth-child(2) {
  background: linear-gradient(135deg, rgba(0,168,255,0.15), rgba(0,168,255,0.05));
  color: var(--neon-cyan);
  text-align: center;
}
.comparison-table th:last-child { background: rgba(255,255,255,0.02); color: var(--white-70); text-align: center; }
.comparison-table td {
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.85rem;
}
.comparison-table td:first-child { color: var(--white-70); }
.comparison-table td:nth-child(2) {
  background: rgba(0,168,255,0.04);
  text-align: center;
}
.comparison-table td:last-child { text-align: center; color: rgba(255,255,255,0.4); }
.check { color: var(--green-profit); font-size: 1.1rem; }
.cross { color: #FF4B4B; font-size: 1.1rem; }

/* ── Stats Counter ── */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px; padding: 2.5rem 2rem;
}
.stat-box { text-align: center; }
.stat-num {
  font-family: var(--font-orb); font-size: 2.2rem; font-weight: 900;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 0.4rem;
}
.stat-num.gold-grad {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-num.green-grad {
  background: linear-gradient(135deg, var(--green-profit), #00CC66);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-text { font-size: 0.78rem; color: var(--white-70); letter-spacing: 0.5px; }

/* ── Performance Section ── */
.perf-grid {
  display: grid; grid-template-columns: 2fr 1fr;
  gap: 2rem; align-items: start;
}
.perf-chart-box {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 16px; padding: 2rem;
}
.perf-chart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.perf-chart-title { font-family: var(--font-orb); font-size: 0.85rem; font-weight: 700; color: var(--neon-cyan); letter-spacing: 1px; }
.perf-chart-area { height: 200px; }
#perfChart { width: 100%; height: 100%; }
.perf-sidebar { display: flex; flex-direction: column; gap: 1rem; }
.perf-card {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 12px; padding: 1.25rem;
  transition: all 0.3s;
}
.perf-card:hover { border-color: rgba(0,168,255,0.4); transform: translateX(4px); }
.perf-card-label { font-size: 0.72rem; color: var(--white-70); margin-bottom: 0.4rem; }
.perf-card-value { font-family: var(--font-orb); font-size: 1.3rem; font-weight: 800; }
.progress-bar-wrap { height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; margin-top: 0.75rem; overflow: hidden; }
.progress-bar { height: 100%; border-radius: 2px; transition: width 1.5s ease; }

/* ── Testimonials ── */
.testimonials-slider {
  position: relative; overflow: hidden;
}
.testimonials-track {
  display: flex; transition: transform 0.5s ease;
}
.testimonial-card {
  min-width: 100%; padding: 0 1rem;
}
.testimonial-inner {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 20px; padding: 2.5rem;
  max-width: 700px; margin: 0 auto;
  position: relative;
}
.testimonial-inner::before {
  content: '"';
  font-size: 5rem; font-family: Georgia, serif;
  color: rgba(0,168,255,0.15);
  position: absolute; top: 1rem; left: 1.5rem;
  line-height: 1;
}
.stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-text { font-size: 1rem; color: var(--white-70); line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.author-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-blue), var(--purple-glow));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 700;
  border: 2px solid rgba(0,168,255,0.3);
}
.author-name { font-weight: 600; font-size: 0.9rem; }
.author-city { font-size: 0.75rem; color: var(--neon-cyan); }
.author-profit {
  margin-left: auto;
  background: rgba(0,255,136,0.1); border: 1px solid rgba(0,255,136,0.3);
  padding: 0.3rem 0.75rem; border-radius: 6px;
  font-family: var(--font-orb); font-size: 0.75rem; font-weight: 700; color: var(--green-profit);
}
.slider-dots {
  display: flex; justify-content: center; gap: 0.5rem; margin-top: 2rem;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.2); cursor: pointer;
  transition: all 0.3s;
}
.dot.active { background: var(--neon-blue); box-shadow: 0 0 8px var(--neon-blue); width: 24px; border-radius: 4px; }
.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(0,168,255,0.1); border: 1px solid rgba(0,168,255,0.3);
  color: var(--neon-cyan); font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.3s; z-index: 10;
}
.slider-btn:hover { background: rgba(0,168,255,0.2); }
.slider-prev { left: 0; }
.slider-next { right: 0; }

/* ── FAQ ── */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 12px; overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item.open { border-color: rgba(0,168,255,0.4); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: none; border: none; cursor: pointer;
  color: var(--white); font-size: 0.9rem; font-weight: 600;
  text-align: left; gap: 1rem;
  font-family: var(--font-pop);
  transition: color 0.3s;
}
.faq-item.open .faq-question { color: var(--neon-cyan); }
.faq-icon {
  min-width: 24px; height: 24px;
  border-radius: 50%; border: 1px solid rgba(0,168,255,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: var(--neon-blue);
  transition: all 0.3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: rgba(0,168,255,0.1); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  padding: 0 1.5rem;
  font-size: 0.88rem; color: var(--white-70); line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 200px; padding: 0 1.5rem 1.25rem; }

/* ── Final CTA ── */
.cta-section {
  background: radial-gradient(ellipse at 50% 50%, rgba(0,168,255,0.08), transparent 70%);
  text-align: center;
}
.cta-title {
  font-family: var(--font-orb);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}
.cta-sub { font-size: 1.1rem; color: var(--white-70); margin-bottom: 2.5rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Footer ── */
footer {
  background: var(--navy-2);
  border-top: 1px solid rgba(0,168,255,0.15);
  padding: 4rem 2rem 2rem;
  position: relative; z-index: 1;
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-logo {
  font-family: var(--font-orb); font-size: 1.6rem; font-weight: 900;
  background: linear-gradient(135deg, var(--neon-blue), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 1rem; display: block;
}
.footer-desc { font-size: 0.82rem; color: var(--white-70); line-height: 1.7; margin-bottom: 1.5rem; }
.social-links { display: flex; gap: 0.75rem; }
.social-link {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--glass); border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--white-70); text-decoration: none; font-size: 0.9rem;
  transition: all 0.3s;
}
.social-link:hover { background: rgba(0,168,255,0.1); border-color: rgba(0,168,255,0.4); color: var(--neon-cyan); }
.footer-col h4 {
  font-family: var(--font-orb); font-size: 0.8rem; font-weight: 700;
  color: var(--neon-cyan); letter-spacing: 1px; margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { color: var(--white-70); text-decoration: none; font-size: 0.82rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--neon-cyan); }
.contact-item { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.8rem; color: var(--white-70); margin-bottom: 0.75rem; }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.4); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: 0.75rem; color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: var(--neon-cyan); }
.disclaimer-text {
  max-width: 1200px; margin: 1.5rem auto 0;
  font-size: 0.7rem; color: rgba(255,255,255,0.3);
  line-height: 1.6; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.04);
}

/* ── Security Section ── */
.security-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.security-features { display: flex; flex-direction: column; gap: 1rem; }
.sec-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 12px; transition: all 0.3s;
}
.sec-item:hover { border-color: rgba(0,255,136,0.3); transform: translateX(6px); }
.sec-icon { font-size: 1.4rem; }
.sec-text h4 { font-size: 0.88rem; font-weight: 600; margin-bottom: 0.2rem; }
.sec-text p { font-size: 0.78rem; color: var(--white-70); }
.shield-visual {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2rem;
}
.shield-container {
  position: relative; width: 180px; height: 200px;
  display: flex; align-items: center; justify-content: center;
}
.shield-svg { width: 100%; height: 100%; position: absolute; }
.shield-inner {
  position: relative; text-align: center; z-index: 2;
}
.shield-pct {
  font-family: var(--font-orb); font-size: 2rem; font-weight: 900;
  color: var(--green-profit);
  text-shadow: 0 0 20px rgba(0,255,136,0.5);
}
.shield-label { font-size: 0.7rem; color: var(--white-70); }
.shield-stats { display: flex; gap: 2rem; text-align: center; }
.shield-stat-val { font-family: var(--font-orb); font-size: 1.2rem; font-weight: 700; color: var(--neon-cyan); }
.shield-stat-txt { font-size: 0.7rem; color: var(--white-70); }

/* ── Animations ── */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes scanline {
  from { transform: translateY(-100%); }
  to { transform: translateY(100vh); }
}

/* Reveal on scroll */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Section dividers */
.section-divider {
  width: 80px; height: 3px;
  background: linear-gradient(90deg, var(--neon-blue), var(--gold));
  border-radius: 2px; margin: 1.5rem auto 0;
}

/* Glow rings */
.glow-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(0,168,255,0.1);
  animation: rotateRing 15s linear infinite;
  pointer-events: none;
}

/* Page headers for sub-pages */
.page-header {
  padding: 140px 2rem 4rem;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,168,255,0.1), transparent 60%);
  border-bottom: 1px solid rgba(0,168,255,0.1);
}

/* Pricing Cards */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; max-width: 1000px; margin: 0 auto;
}
.pricing-card {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 20px; padding: 2.5rem 2rem;
  text-align: center; position: relative;
  transition: all 0.4s;
}
.pricing-card.popular {
  border-color: rgba(0,168,255,0.4);
  background: rgba(0,168,255,0.06);
  transform: scale(1.03);
}
.pricing-card:hover { transform: translateY(-6px); border-color: rgba(0,168,255,0.4); }
.pricing-card.popular:hover { transform: scale(1.03) translateY(-6px); }
.popular-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), #FF8C00);
  color: var(--navy); font-size: 0.68rem; font-weight: 800;
  padding: 0.3rem 1rem; border-radius: 50px; white-space: nowrap;
  letter-spacing: 1px;
}
.plan-name { font-family: var(--font-orb); font-size: 0.85rem; letter-spacing: 2px; color: var(--neon-cyan); margin-bottom: 1rem; }
.plan-price { margin-bottom: 1.5rem; }
.price-val {
  font-family: var(--font-orb); font-size: 2.8rem; font-weight: 900;
  background: linear-gradient(135deg, var(--white), var(--neon-cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.price-period { font-size: 0.8rem; color: var(--white-70); }
.plan-features { list-style: none; text-align: left; margin-bottom: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.plan-features li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; color: var(--white-70); }
.plan-features li::before { content: '✓'; color: var(--green-profit); font-weight: 700; }

/* Contact Form */
.contact-form {
  max-width: 600px; margin: 0 auto;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 20px; padding: 2.5rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--white-70); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.875rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(0,168,255,0.2);
  border-radius: 10px; color: var(--white);
  font-family: var(--font-pop); font-size: 0.88rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: rgba(0,168,255,0.5);
  box-shadow: 0 0 0 3px rgba(0,168,255,0.08);
}
.form-group textarea { height: 130px; resize: vertical; }
.form-group select option { background: var(--navy-3); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .perf-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .pricing-card.popular { transform: scale(1); }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .automation-grid { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .comparison-table { font-size: 0.8rem; }
  .comparison-table th, .comparison-table td { padding: 0.75rem 0.75rem; }
  .section-pad { padding: 4rem 1.25rem; }
  .hero { padding: 90px 1.25rem 3rem; }
}
@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .btn { justify-content: center; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 1rem; padding: 1.5rem 1rem; }
  .stat-num { font-size: 1.6rem; }
  .hero-stats { gap: 1.25rem; }
  .cta-btns { flex-direction: column; align-items: center; }
  .hero-title-hindi { font-size: 1.6rem; }
}

/* ============================================================
   ALGORAM – Language Switcher & i18n Styles
   ============================================================ */

/* ── Indic Font Support ── */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@300;400;500;600;700&family=Noto+Sans+Gujarati:wght@300;400;500;600;700&display=swap');

.lang-hi body,
.lang-hi p,
.lang-hi h1, .lang-hi h2, .lang-hi h3, .lang-hi h4,
.lang-hi li, .lang-hi span, .lang-hi div,
.lang-hi a, .lang-hi button {
  font-family: 'Noto Sans Devanagari', 'Poppins', sans-serif;
  line-height: 1.75;
}

.lang-gu body,
.lang-gu p,
.lang-gu h1, .lang-gu h2, .lang-gu h3, .lang-gu h4,
.lang-gu li, .lang-gu span, .lang-gu div,
.lang-gu a, .lang-gu button {
  font-family: 'Noto Sans Gujarati', 'Poppins', sans-serif;
  line-height: 1.8;
}

/* ── Transition Overlay ── */
#lang-transition {
  position: fixed; inset: 0;
  background: rgba(5, 8, 22, 0.7);
  backdrop-filter: blur(4px);
  z-index: 99996;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease;
}
#lang-transition.active { opacity: 1; pointer-events: all; }

/* ── Language Switcher Wrapper ── */
.lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* ── Trigger Button ── */
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  background: rgba(0, 168, 255, 0.07);
  border: 1px solid rgba(0, 168, 255, 0.3);
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
  color: var(--white);
  font-family: var(--font-orb);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.25s ease;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}
.lang-btn:hover {
  background: rgba(0, 168, 255, 0.15);
  border-color: var(--neon-blue);
  box-shadow: 0 0 16px rgba(0, 168, 255, 0.25);
}
.lang-switcher.open .lang-btn {
  background: rgba(0, 168, 255, 0.18);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}
.lang-current-flag { font-size: 1rem; line-height: 1; }
.lang-current-label { font-size: 0.68rem; letter-spacing: 1.5px; }
.lang-arrow {
  font-size: 0.65rem;
  transition: transform 0.25s ease;
  color: var(--neon-blue);
  display: inline-block;
}
.lang-switcher.open .lang-arrow { transform: rotate(180deg); }

/* ── Dropdown Panel ── */
.lang-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 160px;
  background: rgba(8, 13, 36, 0.96);
  border: 1px solid rgba(0, 168, 255, 0.25);
  border-radius: 12px;
  padding: 6px;
  list-style: none;
  z-index: 2000;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 168, 255, 0.12);
  /* Hidden state */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.97);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  pointer-events: none;
}
.lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

/* ── Each language option ── */
.lang-option {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.18s ease;
  font-size: 0.88rem;
  color: var(--white-70);
}
.lang-option:hover {
  background: rgba(0, 168, 255, 0.12);
  color: var(--white);
}
.lang-option.active {
  background: rgba(0, 168, 255, 0.18);
  color: var(--neon-cyan);
  font-weight: 600;
}
.lang-option.active::after {
  content: '✔';
  margin-left: auto;
  font-size: 0.72rem;
  color: var(--neon-cyan);
}
.lo-flag { font-size: 1.1rem; flex-shrink: 0; }
.lo-label { font-family: var(--font-pop); }

/* ── Mobile lang switcher in menu ── */
.mobile-lang-item {
  padding: 12px 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 8px;
}
.mobile-lang-item .lang-switcher { width: 100%; }
.mobile-lang-item .lang-btn { width: 100%; justify-content: center; padding: 10px 16px; font-size: 0.78rem; }
.mobile-lang-item .lang-dropdown {
  right: auto; left: 0;
  width: 100%;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .lang-switcher-li { display: none; } /* hide desktop switcher on mobile */
}
@media (min-width: 769px) {
  .mobile-lang-item { display: none; } /* hide mobile switcher on desktop */
}

/* ============================================================
   ALGORAM – Founders Section
   ============================================================ */

/* ── Section wrapper ── */
.founders-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(123,47,255,0.04) 0%, rgba(0,168,255,0.04) 50%, transparent 100%);
}

/* ── Canvas background ── */
.founders-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: 0.35;
  z-index: 0;
}

/* ── Two-column grid ── */
.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 3.5rem;
}

/* ── Founder Card ── */
.founder-card {
  position: relative;
  border-radius: 24px;
  padding: 2px; /* border trick */
  background: linear-gradient(135deg, rgba(0,168,255,0.4), rgba(0,229,255,0.1), rgba(0,168,255,0.05));
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.founder-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(0,168,255,0.2), 0 0 40px rgba(0,168,255,0.1);
}
.founder-card:nth-child(2) {
  background: linear-gradient(135deg, rgba(255,193,7,0.4), rgba(255,213,79,0.1), rgba(255,193,7,0.05));
}
.founder-card:nth-child(2):hover {
  box-shadow: 0 30px 80px rgba(255,193,7,0.2), 0 0 40px rgba(255,193,7,0.1);
}

.founder-card-inner {
  background: linear-gradient(135deg, rgba(8,13,36,0.98), rgba(5,8,22,0.96));
  border-radius: 22px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* ── Animated border glow (pseudo sweep) ── */
.founder-border-glow {
  position: absolute;
  inset: -2px;
  border-radius: 24px;
  background: conic-gradient(from 0deg, transparent 0%, var(--neon-blue) 20%, transparent 40%);
  animation: borderSweep 4s linear infinite;
  opacity: 0.4;
  z-index: -1;
}
.founder-border-gold {
  background: conic-gradient(from 0deg, transparent 0%, var(--gold) 20%, transparent 40%);
}
@keyframes borderSweep {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── Photo wrap & rings ── */
.founder-photo-wrap {
  position: relative;
  width: 160px; height: 160px;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}
.founder-photo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0,168,255,0.2);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
}
.founder-ring-1 {
  width: 160px; height: 160px;
  animation: ringPulse 3s ease-in-out infinite;
}
.founder-ring-2 {
  width: 190px; height: 190px;
  border-color: rgba(0,168,255,0.08);
  animation: ringPulse 3s ease-in-out infinite 1.5s;
}
.founder-ring-gold-1 {
  width: 160px; height: 160px;
  border-color: rgba(255,193,7,0.25);
  animation: ringPulse 3s ease-in-out infinite;
}
.founder-ring-gold-2 {
  width: 190px; height: 190px;
  border-color: rgba(255,193,7,0.1);
  animation: ringPulse 3s ease-in-out infinite 1.5s;
}
@keyframes ringPulse {
  0%, 100% { opacity: 0.4; transform: translate(-50%,-50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%,-50%) scale(1.06); }
}

/* ── Photo frame ── */
.founder-photo-frame {
  width: 140px; height: 140px;
  border-radius: 50%;
  border: 2px solid rgba(0,168,255,0.6);
  box-shadow: 0 0 20px rgba(0,168,255,0.35), 0 0 50px rgba(0,168,255,0.12), inset 0 0 20px rgba(0,168,255,0.08);
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  overflow: hidden;
  transition: box-shadow 0.4s ease;
}
.founder-card:hover .founder-photo-frame {
  box-shadow: 0 0 30px rgba(0,168,255,0.6), 0 0 60px rgba(0,168,255,0.2);
}
.founder-frame-gold {
  border-color: rgba(255,193,7,0.6);
  box-shadow: 0 0 20px rgba(255,193,7,0.35), 0 0 50px rgba(255,193,7,0.12), inset 0 0 20px rgba(255,193,7,0.08);
}
.founder-card:nth-child(2):hover .founder-photo-frame {
  box-shadow: 0 0 30px rgba(255,193,7,0.6), 0 0 60px rgba(255,193,7,0.2);
}

/* ── Avatar initials (replace with <img> tag when photos available) ── */
.founder-avatar {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-orb);
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: 2px;
}
.founder-avatar-1 {
  background: radial-gradient(135deg, rgba(0,168,255,0.2), rgba(0,229,255,0.05));
  color: var(--neon-cyan);
  text-shadow: 0 0 20px var(--neon-cyan);
}
.founder-avatar-2 {
  background: radial-gradient(135deg, rgba(255,193,7,0.2), rgba(255,213,79,0.05));
  color: var(--gold);
  text-shadow: 0 0 20px var(--gold);
}

/* ── Active badge ── */
.founder-badge-active {
  position: absolute;
  bottom: -4px; left: 50%;
  transform: translateX(-50%);
  background: rgba(0,255,136,0.12);
  border: 1px solid rgba(0,255,136,0.35);
  color: #00FF88;
  font-size: 0.65rem;
  font-family: var(--font-orb);
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

/* ── Info text ── */
.founder-info { width: 100%; }

.founder-role-tag {
  display: inline-block;
  font-family: var(--font-orb);
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: var(--neon-cyan);
  border: 1px solid rgba(0,229,255,0.3);
  border-radius: 20px;
  padding: 4px 14px;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}
.founder-name {
  font-family: var(--font-orb);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.3rem;
}
.founder-designation {
  font-size: 0.82rem;
  color: var(--white-70);
  letter-spacing: 1px;
  margin-bottom: 1rem;
}
.founder-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
  margin: 0.75rem auto 1rem;
  width: 80%;
}
.founder-desc {
  font-size: 0.88rem;
  color: var(--white-70);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.25rem;
  padding: 0 0.5rem;
}

/* ── Skill tags ── */
.founder-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.f-tag {
  font-size: 0.72rem;
  color: var(--neon-blue);
  border: 1px solid rgba(0,168,255,0.25);
  border-radius: 20px;
  padding: 4px 12px;
  background: rgba(0,168,255,0.06);
  transition: all 0.25s ease;
}
.f-tag:hover {
  background: rgba(0,168,255,0.15);
  border-color: var(--neon-blue);
}

/* ── Social buttons ── */
.founder-socials {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}
.founder-social-btn {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 18px;
  border-radius: 8px;
  border: 1px solid rgba(0,168,255,0.3);
  color: var(--neon-blue);
  font-size: 0.78rem;
  text-decoration: none;
  font-family: var(--font-int);
  transition: all 0.25s ease;
  background: rgba(0,168,255,0.05);
}
.founder-social-btn:hover {
  background: rgba(0,168,255,0.15);
  border-color: var(--neon-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,168,255,0.2);
}

/* ── Message from founders ── */
.founders-message {
  margin-top: 3.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.founders-msg-inner {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(0,168,255,0.2);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}
.founders-msg-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,168,255,0.04), rgba(255,193,7,0.04));
  pointer-events: none;
}
.founders-msg-icon {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 0.25rem;
}
.founders-msg-label {
  font-family: var(--font-orb);
  font-size: 0.65rem;
  letter-spacing: 3px;
  color: var(--neon-cyan);
  margin-bottom: 0.75rem;
}
.founders-quote {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--white-70);
  font-style: italic;
  margin-bottom: 1.25rem;
  border: none;
  padding: 0;
}
.founders-signatures {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.founder-sig { text-align: center; }
.sig-line {
  font-family: var(--font-orb);
  font-size: 0.85rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--neon-blue), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sig-role {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  margin-top: 2px;
  letter-spacing: 1px;
}
.sig-separator {
  color: var(--gold);
  font-size: 1.2rem;
  opacity: 0.5;
}

/* ── Founders stats bar ── */
.founders-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  padding: 2rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(0,168,255,0.12);
  border-radius: 20px;
}
.founder-stat-item {
  text-align: center;
  padding: 1rem 0;
  position: relative;
}
.founder-stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(0,168,255,0.3), transparent);
}
.fstat-value {
  font-family: var(--font-orb);
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.fstat-icon { font-size: 1.3rem; margin-bottom: 0.35rem; }
.fstat-label {
  font-size: 0.75rem;
  color: var(--white-70);
  letter-spacing: 1px;
  font-family: var(--font-int);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .founders-grid { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
  .founders-stats { grid-template-columns: repeat(2, 1fr); }
  .founder-stat-item:nth-child(2)::after { display: none; }
  .founders-msg-inner { flex-direction: column; align-items: center; text-align: center; }
  .founders-signatures { justify-content: center; }
}
@media (max-width: 480px) {
  .founders-stats { grid-template-columns: repeat(2, 1fr); gap: 1rem; padding: 1.25rem; }
  .fstat-value { font-size: 1.5rem; }
  .founder-card-inner { padding: 2rem 1.25rem; }
  .founder-name { font-size: 1.2rem; }
}

/* ── Core Web Vitals: Prevent CLS on images ── */
img { max-width: 100%; height: auto; }
img[width][height] { aspect-ratio: attr(width) / attr(height); }
.nav-logo-img { width: auto; height: 40px; }
.footer-logo-img { width: auto; height: 44px; }

/* ── GPU-accelerated animations ── */
.hero-dashboard,
.hero-visual,
.founder-card,
.feature-card,
.adv-card,
.mkt-card {
  will-change: transform;
  transform: translateZ(0);
}

/* ── Touch target minimum (mobile SEO) ── */
@media (max-width: 768px) {
  button, .btn, a.btn, .nav-cta {
    min-height: 44px;
    min-width: 44px;
  }
  .hamburger { min-height: 44px; min-width: 44px; }
}

/* ── Reduce motion for accessibility ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
