/* =============================================
   Egytel — Bootstrap 4 Theme
   Brand: primary #74be43 | accent #bc224a | dark #1a1a2e
   ============================================= */

:root {
  --primary:        #74be43;
  --primary-dark:   #5fa035;
  --accent:         #bc224a;
  --accent-dark:    #961b3b;
  --dark:           #1a1a2e;
  --dark-secondary: #2d2d44;
  --text:           #334155;
  --text-light:     #64748B;
  --text-lighter:   #94A3B8;
  --bg-light:       #F8FAFC;
  --bg-alt:         #F1F5F9;
  --border:         #E2E8F0;
  --transition:     all 0.3s cubic-bezier(0.4,0,0.2,1);
  --font:           'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── Base ──────────────────────────────────── */
html { overflow-x: hidden; }
body { font-family: var(--font); color: var(--text); }
a { color: inherit; transition: var(--transition); }
a:hover { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; }

/* ── Bootstrap overrides ─────────────────── */
.btn {
  font-weight: 600;
  border-radius: 50px;
  padding: .65rem 1.6rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-primary {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
  box-shadow: none;
}
.btn-outline-light {
  border: 2px solid rgba(255,255,255,.7);
  color: #fff;
  background: transparent;
}
.btn-outline-light:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
  color: #fff;
}
.btn-icon { width: 18px; height: 18px; }

/* ── Section label pill ──────────────────── */
.section-label {
  display: inline-block;
  background: rgba(116,190,67,.1);
  color: var(--primary);
  border: 1px solid rgba(116,190,67,.3);
  padding: .28rem .9rem;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.55rem,3vw,2.35rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.22;
  margin-bottom: 1rem;
}
.section-desc {
  color: var(--text-light);
  font-size: 1rem;
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* ── NAVBAR ──────────────────────────────── */
#mainNav {
  padding: .85rem 0;
  transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
  background: rgba(26,26,46,.72) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
#mainNav.scrolled {
  background: rgba(26,26,46,.97) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
  padding: .5rem 0;
}
#mainNav.nav-always-dark {
  background: rgba(26,26,46,.97) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.navbar-brand .logo-icon { height: 38px; width: auto; }
#mainNav .navbar-dark .navbar-nav .nav-link,
#mainNav .navbar-nav .nav-link {
  color: rgba(255,255,255,.82);
  font-weight: 500;
  padding: .45rem .85rem;
  font-size: .93rem;
}
#mainNav .navbar-nav .nav-link:hover { color: var(--primary); }
.nav-cta {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
  border-radius: 50px;
  font-size: .88rem;
  padding: .5rem 1.4rem;
}
.nav-cta:hover {
  background: var(--accent-dark) !important;
  border-color: var(--accent-dark) !important;
}

/* Language switcher button */
.btn-lang {
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  padding: .4rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-color: rgba(255,255,255,.35) !important;
  color: rgba(255,255,255,.9) !important;
  transition: var(--transition);
}
.btn-lang:hover {
  background: rgba(255,255,255,.12) !important;
  border-color: rgba(255,255,255,.6) !important;
  color: #fff !important;
}
.btn-lang .lang-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* ── HERO ────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg,#1a1a2e 0%,#16213e 50%,#0f3460 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 110px 0 80px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%; right: -15%;
  width: 600px; height: 600px;
  background: radial-gradient(circle,rgba(116,190,67,.1) 0%,transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
#particles-container {
  position: absolute; inset: 0;
  pointer-events: none; overflow: hidden;
}
.particle {
  position: absolute; border-radius: 50%;
  background: rgba(116,190,67,.35);
  animation: particleRise linear infinite;
}
@keyframes particleRise {
  0%   { transform: translateY(110vh) scale(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: .7; }
  100% { transform: translateY(-80px) scale(1); opacity: 0; }
}
.hero-title {
  font-size: clamp(2rem,4vw,3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}
.hero-title .highlight { color: var(--primary); }
.hero-desc {
  color: rgba(255,255,255,.72);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 2rem; }
.hero-stats { display: flex; gap: 2rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); }
.hero-stat-number { font-size: 1.55rem; font-weight: 800; color: var(--primary); line-height: 1; }
.hero-stat-label { font-size: .76rem; color: rgba(255,255,255,.55); margin-top: .2rem; }

/* Dashboard mock */
.hero-dashboard {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 1.4rem;
  backdrop-filter: blur(8px);
  margin-bottom: .9rem;
}
.dashboard-header { display: flex; align-items: center; gap: .65rem; margin-bottom: 1.1rem; }
.dashboard-dots { display: flex; gap: 5px; }
.dashboard-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.25); }
.dashboard-title { color: rgba(255,255,255,.6); font-size: .78rem; font-weight: 500; }
.dashboard-stats { display: flex; gap: .85rem; margin-bottom: 1.1rem; }
.dash-stat { flex: 1; background: rgba(255,255,255,.06); border-radius: 10px; padding: .65rem; text-align: center; }
.dash-stat-value { font-size: 1.25rem; font-weight: 700; color: var(--primary); }
.dash-stat-label { font-size: .68rem; color: rgba(255,255,255,.45); }
.dashboard-bar-chart { display: flex; align-items: flex-end; gap: 5px; height: 66px; padding: 0 3px; }
.dashboard-bar-chart .bar { flex: 1; background: linear-gradient(to top,var(--primary),var(--accent)); border-radius: 3px 3px 0 0; min-height: 12%; opacity: .75; }
.hero-cards { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.hero-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 11px;
  padding: .65rem .9rem;
  display: flex;
  align-items: center;
  gap: .65rem;
}
.hero-card-icon { width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero-card-icon.green  { background: rgba(116,190,67,.15); }
.hero-card-icon.blue   { background: rgba(59,130,246,.15); }
.hero-card-icon.purple { background: rgba(139,92,246,.15); }
.hero-card-icon.orange { background: rgba(251,146,60,.15); }
.hero-card-icon svg { width: 17px; height: 17px; }
.hero-card-text { font-size: .76rem; color: rgba(255,255,255,.65); display: flex; flex-direction: column; }
.hero-card-text strong { color: #fff; font-size: .8rem; }

/* ── Trusted strip ──────────────────────── */
.trusted {
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.4rem 0;
}
.trusted-label { color: var(--text-light); font-size: .84rem; font-weight: 500; }

/* ── Section padding ────────────────────── */
.solutions, .features, .ai-section, .stats-section,
.industries, .testimonials-section, .integrations, .cta-section {
  padding: 80px 0;
}

/* ── Solution cards ─────────────────────── */
.solution-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.7rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.solution-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg,var(--primary),var(--accent));
  transform: scaleX(0); transform-origin: left;
  transition: var(--transition);
}
.solution-card:hover { border-color: var(--primary); box-shadow: 0 20px 40px rgba(116,190,67,.11); transform: translateY(-4px); }
.solution-card:hover::before { transform: scaleX(1); }
.solution-icon {
  width: 50px; height: 50px;
  background: linear-gradient(135deg,rgba(116,190,67,.12),rgba(116,190,67,.05));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
}
.solution-icon svg { width: 25px; height: 25px; stroke: var(--primary); }
.solution-card h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: .55rem; color: var(--dark); }
.solution-card p { color: var(--text-light); font-size: .9rem; line-height: 1.6; margin-bottom: 1.2rem; }
.solution-link { display: inline-flex; align-items: center; gap: .38rem; color: var(--accent); font-weight: 600; font-size: .87rem; }
.solution-link svg { width: 15px; height: 15px; transition: transform .2s; }
.solution-link:hover { color: var(--accent-dark); }
.solution-link:hover svg { transform: translateX(3px); }

/* ── Features section ───────────────────── */
.features { background: var(--bg-light); }
.features-visual { position: relative; padding: 20px; }
.features-mockup {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0,0,0,.07);
}
.mockup-header { background: var(--bg-alt); padding: .65rem 1.2rem; display: flex; align-items: center; gap: 5px; border-bottom: 1px solid var(--border); }
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.mockup-body { padding: .5rem 0; }
.mockup-row { display: flex; align-items: center; gap: .7rem; padding: .6rem 1.1rem; border-bottom: 1px solid var(--bg-alt); transition: background .18s; }
.mockup-row:last-child { border-bottom: none; }
.mockup-row:hover { background: var(--bg-light); }
.mockup-avatar { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: .68rem; font-weight: 700; flex-shrink: 0; }
.mockup-info { flex: 1; min-width: 0; }
.mockup-name { font-size: .8rem; font-weight: 600; color: var(--dark); }
.mockup-msg  { font-size: .72rem; color: var(--text-light); }
.mockup-time { font-size: .7rem; color: var(--text-lighter); margin-left: auto; flex-shrink: 0; }
.mockup-status { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.mockup-status.active { background: var(--primary); }
.mockup-status.away   { background: #F59E0B; }
.mockup-status.busy   { background: var(--accent); }

.floating-card {
  position: absolute;
  background: #fff;
  border-radius: 12px;
  padding: .7rem 1rem;
  display: flex; align-items: center; gap: .7rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  border: 1px solid var(--border);
  animation: floatBounce 3s ease-in-out infinite;
  z-index: 2;
}
.floating-card.top-right  { top: -10px; right: -15px; animation-delay: 0s; }
.floating-card.bottom-left { bottom: 15px; left: -15px; animation-delay: 1.4s; }
.floating-card-icon { width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.floating-card-icon.green { background: rgba(116,190,67,.12); color: var(--primary); }
.floating-card-icon.blue  { background: rgba(59,130,246,.12); color: #3B82F6; }
.floating-card-text { font-weight: 700; font-size: .88rem; color: var(--dark); }
.floating-card-sub  { font-size: .7rem; color: var(--text-light); }
@keyframes floatBounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.feature-item { display: flex; gap: .95rem; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.feature-item:last-child { border-bottom: none; }
.feature-icon-wrap { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg,rgba(116,190,67,.12),rgba(116,190,67,.05)); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-icon-wrap svg { width: 20px; height: 20px; stroke: var(--primary); }
.feature-text h3 { font-size: .96rem; font-weight: 700; margin-bottom: .22rem; color: var(--dark); }
.feature-text p  { font-size: .86rem; color: var(--text-light); margin: 0; line-height: 1.5; }

/* ── AI section ─────────────────────────── */
.ai-section { background: linear-gradient(135deg,#0f172a 0%,#1e1b4b 50%,#1a1a2e 100%); }
.ai-label { background: rgba(116,190,67,.14); border-color: rgba(116,190,67,.4); }
.ai-section h2 { color: #fff; font-size: clamp(1.65rem,3vw,2.25rem); font-weight: 800; }
.ai-section h2 .highlight { color: var(--primary); }
.ai-desc { color: rgba(255,255,255,.68); font-size: 1rem; line-height: 1.7; margin-bottom: 1.8rem; }
.ai-feat { display: flex; gap: .95rem; margin-bottom: 1.4rem; }
.ai-feat-icon { width: 42px; height: 42px; border-radius: 10px; background: rgba(116,190,67,.14); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ai-feat-icon svg { width: 22px; height: 22px; stroke: var(--primary); }
.ai-feat-text h4 { color: #fff; font-size: .96rem; font-weight: 700; margin-bottom: .2rem; }
.ai-feat-text p  { color: rgba(255,255,255,.55); font-size: .86rem; margin: 0; line-height: 1.5; }

.ai-orb-container { position: relative; display: flex; align-items: center; justify-content: center; height: 320px; }
.ai-orb { width: 170px; height: 170px; border-radius: 50%; background: radial-gradient(circle at 35% 35%,var(--primary),var(--dark)); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 60px rgba(116,190,67,.3); animation: orbPulse 2.2s ease-in-out infinite; }
.ai-orb-center svg { width: 64px; height: 64px; stroke: rgba(255,255,255,.9); }
@keyframes orbPulse { 0%,100% { box-shadow: 0 0 60px rgba(116,190,67,.3); } 50% { box-shadow: 0 0 90px rgba(116,190,67,.55); } }
.ai-orb-label { position: absolute; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15); border-radius: 100px; padding: .38rem .85rem; font-size: .76rem; color: rgba(255,255,255,.8); display: flex; align-items: center; gap: .45rem; white-space: nowrap; }
.ai-orb-label svg { width: 13px; height: 13px; stroke: var(--primary); }
.ai-orb-label--tl { top: 12%; left: 2%; }
.ai-orb-label--tr { top: 12%; right: 2%; }
.ai-orb-label--bl { bottom: 12%; left: 2%; }
.ai-orb-label--br { bottom: 12%; right: 2%; }

/* ── Stats ──────────────────────────────── */
.stats-section { background: var(--dark); }
.stat-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 2rem 1.5rem; text-align: center; }
.stat-number { font-size: clamp(1.9rem,3vw,2.7rem); font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: .45rem; }
.stat-label { color: rgba(255,255,255,.55); font-size: .88rem; }

/* ── Industries ─────────────────────────── */
.industry-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 1.65rem 1.4rem; transition: var(--transition); }
.industry-card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(116,190,67,.1); }
.industry-icon { width: 50px; height: 50px; background: linear-gradient(135deg,rgba(116,190,67,.12),rgba(116,190,67,.05)); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: .95rem; }
.industry-icon svg { width: 25px; height: 25px; stroke: var(--primary); }
.industry-card h3 { font-size: .98rem; font-weight: 700; margin-bottom: .45rem; color: var(--dark); }
.industry-card p  { color: var(--text-light); font-size: .86rem; margin: 0; line-height: 1.5; }

/* ── Testimonials ───────────────────────── */
.testimonials-section { background: var(--bg-light); }
.testimonial-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 2rem; box-shadow: 0 4px 18px rgba(0,0,0,.05); max-width: 720px; }
.testimonial-text { font-size: 1rem; color: var(--text); line-height: 1.7; font-style: italic; margin-bottom: 1.5rem; position: relative; padding-left: 1rem; }
.testimonial-text::before { content: '"'; position: absolute; left: -.2rem; top: -.3rem; font-size: 4.5rem; color: var(--primary); opacity: .18; line-height: 1; font-style: normal; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg,var(--primary),var(--accent)); color: #fff; font-weight: 700; font-size: .84rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.testimonial-name { font-weight: 700; font-size: .93rem; color: var(--dark); margin-bottom: .1rem; }
.testimonial-role { font-size: .8rem; color: var(--text-light); }

/* Carousel customisation */
.carousel-control-prev,
.carousel-control-next {
  width: 42px; height: 42px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 50%;
  top: 50%; transform: translateY(-50%);
  opacity: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.carousel-control-prev { left: 0; }
.carousel-control-next { right: 0; }
.carousel-control-prev-icon,
.carousel-control-next-icon { filter: invert(1) sepia(1) saturate(0) brightness(.25); width: 16px; height: 16px; }
.carousel-indicators { bottom: -36px; }
.carousel-indicators li { width: 8px; height: 8px; border-radius: 50%; background-color: var(--border); border: none; margin: 0 4px; }
.carousel-indicators .active { background-color: var(--primary); }
#testimonialCarousel .carousel-inner { padding: 0 56px 44px; }
#testimonialCarousel { padding-bottom: 10px; }

/* ── Integrations ───────────────────────── */
.integrations-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.integration-item { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: .6rem 1.2rem; font-size: .83rem; font-weight: 600; color: var(--text); transition: var(--transition); }
.integration-item:hover { border-color: var(--primary); color: var(--primary); box-shadow: 0 4px 12px rgba(116,190,67,.1); }

/* ── CTA section ────────────────────────── */
.cta-section { background: linear-gradient(135deg,#1a1a2e,#16213e); }
.cta-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 24px; overflow: hidden; }
.cta-content h2 { font-size: clamp(1.55rem,2.5vw,2.1rem); font-weight: 800; color: #fff; line-height: 1.25; margin-bottom: .9rem; }
.cta-content h2 .highlight { color: var(--primary); }
.cta-desc { color: rgba(255,255,255,.62); font-size: .98rem; line-height: 1.6; margin-bottom: 1.4rem; }
.cta-benefits { display: flex; flex-direction: column; gap: .6rem; }
.cta-benefit { display: flex; align-items: center; gap: .55rem; color: rgba(255,255,255,.72); font-size: .88rem; }
.cta-benefit svg { width: 17px; height: 17px; stroke: var(--primary); flex-shrink: 0; }
.cta-form-wrap { background: #fff; border-radius: 16px; padding: 2rem; }
.cta-form-title { font-size: 1.18rem; font-weight: 700; color: var(--dark); margin-bottom: 1.3rem; }
.cta-form-wrap label { font-size: .8rem; font-weight: 600; color: var(--dark); margin-bottom: .28rem; }
.cta-form-wrap .form-control { border: 1px solid var(--border); border-radius: 8px; font-size: .88rem; color: var(--text); }
.cta-form-wrap .form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(116,190,67,.12); }

/* ── Footer ─────────────────────────────── */
.footer { background: var(--dark); padding: 60px 0 0; }
.footer .logo-icon { height: 36px; margin-bottom: .9rem; }
.footer-desc { color: rgba(255,255,255,.48); font-size: .86rem; line-height: 1.6; margin-bottom: 1.4rem; }
.footer-social { display: flex; gap: .65rem; }
.social-link { width: 35px; height: 35px; border-radius: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.55); transition: var(--transition); }
.social-link svg { width: 16px; height: 16px; }
.social-link:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.footer h4 { color: #fff; font-size: .85rem; font-weight: 700; margin-bottom: .95rem; letter-spacing: .06em; text-transform: uppercase; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-link { color: rgba(255,255,255,.48); font-size: .86rem; }
.footer-link:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.2rem 0; margin-top: 2rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; }
.footer-bottom p { color: rgba(255,255,255,.38); font-size: .8rem; margin: 0; }
.footer-bottom-links { display: flex; gap: 1.2rem; }
.footer-bottom-links a { color: rgba(255,255,255,.38); font-size: .8rem; }
.footer-bottom-links a:hover { color: rgba(255,255,255,.65); }

/* ── Scroll-to-top ──────────────────────── */
.scroll-top { position: fixed; bottom: 24px; right: 24px; width: 44px; height: 44px; background: var(--accent); border-radius: 50%; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #fff; opacity: 0; transform: translateY(20px); transition: var(--transition); z-index: 999; box-shadow: 0 4px 14px rgba(188,34,74,.3); }
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top svg { width: 20px; height: 20px; stroke: #fff; }

/* ── Reveal animation ───────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ─────────────────────────── */
@media (max-width: 991px) {
  .hero { padding: 95px 0 60px; }
  .ai-orb-container { height: 260px; }
  .ai-orb { width: 140px; height: 140px; }
  .floating-card.top-right  { right: 0; }
  .floating-card.bottom-left { left: 0; }
  #testimonialCarousel .carousel-inner { padding: 0 32px 44px; }

  /* Mobile nav collapse styling */
  .navbar-collapse {
    background: rgba(26,26,46,.97);
    border-radius: 12px;
    padding: .75rem 1rem;
    margin-top: .5rem;
  }
  #mainNav .navbar-nav .nav-link {
    padding: .55rem .5rem;
    font-size: .88rem;
  }
  .nav-cta {
    margin-top: .5rem;
    text-align: center;
    display: block;
    width: fit-content;
  }
}

@media (max-width: 767px) {
  .solutions,.features,.ai-section,.stats-section,
  .industries,.testimonials-section,.integrations,.cta-section { padding: 56px 0; }

  .hero { min-height: auto; padding: 85px 0 48px; }
  .hero-title { font-size: clamp(1.55rem, 5.5vw, 2.2rem); margin-bottom: .9rem; }
  .hero-desc { font-size: .93rem; margin-bottom: 1.3rem; line-height: 1.6; }
  .hero-btns { margin-bottom: 1.2rem; }
  .hero-btns .btn { font-size: .85rem; padding: .55rem 1.2rem; }

  .hero-stats { gap: 1.2rem; }
  .hero-stat-number { font-size: 1.3rem; }
  .hero-stat-label { font-size: .7rem; }

  .hero-dashboard { padding: 1rem; margin-bottom: .6rem; }
  .dashboard-stats { gap: .5rem; }
  .dash-stat { padding: .5rem .3rem; }
  .dash-stat-value { font-size: 1.05rem; }
  .dash-stat-label { font-size: .62rem; }
  .dashboard-bar-chart { height: 48px; }

  .hero-cards { gap: .5rem; }
  .hero-card { padding: .5rem .65rem; }
  .hero-card-icon { width: 28px; height: 28px; border-radius: 6px; }
  .hero-card-icon svg { width: 14px; height: 14px; }
  .hero-card-text { font-size: .7rem; }
  .hero-card-text strong { font-size: .74rem; }

  .floating-card { display: none; }
  .ai-orb-label { display: none; }

  .section-label { font-size: .72rem; padding: .22rem .7rem; margin-bottom: .75rem; }
  .section-title { font-size: clamp(1.3rem, 4.5vw, 1.85rem); margin-bottom: .75rem; }
  .section-desc { font-size: .9rem; margin-bottom: 1.8rem; }

  .solution-card { padding: 1.4rem 1.2rem; }
  .solution-card h3 { font-size: .98rem; }
  .solution-card p { font-size: .84rem; margin-bottom: .9rem; }
  .solution-icon { width: 42px; height: 42px; margin-bottom: .9rem; }
  .solution-icon svg { width: 21px; height: 21px; }

  .feature-item { gap: .7rem; padding: .75rem 0; }
  .feature-icon-wrap { width: 34px; height: 34px; }
  .feature-icon-wrap svg { width: 17px; height: 17px; }
  .feature-text h3 { font-size: .88rem; }
  .feature-text p { font-size: .82rem; }

  .ai-section h2 { font-size: clamp(1.35rem, 4.5vw, 1.85rem); }
  .ai-desc { font-size: .9rem; margin-bottom: 1.3rem; }
  .ai-feat { gap: .7rem; margin-bottom: 1rem; }
  .ai-feat-icon { width: 36px; height: 36px; }
  .ai-feat-icon svg { width: 18px; height: 18px; }
  .ai-feat-text h4 { font-size: .88rem; }
  .ai-feat-text p { font-size: .82rem; }
  .ai-orb-container { height: 200px; }
  .ai-orb { width: 110px; height: 110px; }
  .ai-orb-center svg { width: 44px; height: 44px; }

  .stat-card { padding: 1.4rem 1rem; }
  .stat-number { font-size: clamp(1.5rem, 5vw, 2rem); }
  .stat-label { font-size: .8rem; }

  .industry-card { padding: 1.2rem 1rem; }
  .industry-icon { width: 42px; height: 42px; margin-bottom: .7rem; }
  .industry-icon svg { width: 21px; height: 21px; }
  .industry-card h3 { font-size: .9rem; margin-bottom: .35rem; }
  .industry-card p { font-size: .8rem; }

  .testimonial-card { padding: 1.4rem; }
  .testimonial-text { font-size: .9rem; padding-left: .75rem; }
  .testimonial-text::before { font-size: 3rem; }

  #testimonialCarousel .carousel-inner { padding: 0 12px 44px; }
  .carousel-control-prev { left: -5px; }
  .carousel-control-next { right: -5px; }
  .carousel-control-prev,
  .carousel-control-next { width: 34px; height: 34px; }

  .integration-item { font-size: .78rem; padding: .5rem .9rem; }

  .cta-content h2 { font-size: clamp(1.3rem, 4.5vw, 1.75rem); }
  .cta-desc { font-size: .88rem; }
  .cta-benefit { font-size: .82rem; }
  .cta-form-wrap { padding: 1.4rem; }
  .cta-form-title { font-size: 1.05rem; }
  .cta-form-wrap label { font-size: .76rem; }
  .cta-form-wrap .form-control { font-size: .84rem; }

  .footer { padding: 44px 0 0; }
  .footer h4 { font-size: .8rem; margin-bottom: .7rem; }
  .footer-desc { font-size: .82rem; }
  .footer-link { font-size: .82rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; }
  .footer-bottom p { font-size: .75rem; }
  .footer-bottom-links a { font-size: .75rem; }

  .trusted-label { font-size: .78rem; }
  .trusted { padding: 1rem 0; }

  .scroll-top { width: 38px; height: 38px; bottom: 18px; right: 18px; }
  .scroll-top svg { width: 17px; height: 17px; }
}

@media (max-width: 480px) {
  .hero { padding: 78px 0 36px; }
  .hero-title { font-size: clamp(1.35rem, 6vw, 1.75rem); }
  .hero-desc { font-size: .86rem; }
  .hero-btns .btn { font-size: .82rem; padding: .5rem 1rem; }

  .hero-stats { gap: .8rem; flex-wrap: wrap; }
  .hero-stat-number { font-size: 1.15rem; }

  .hero-cards { grid-template-columns: 1fr; gap: .4rem; }

  .dashboard-stats { flex-wrap: wrap; }

  .solutions,.features,.ai-section,.stats-section,
  .industries,.testimonials-section,.integrations,.cta-section { padding: 40px 0; }

  .section-title { font-size: clamp(1.15rem, 5vw, 1.55rem); }
  .section-desc { font-size: .84rem; margin-bottom: 1.4rem; }

  .solution-card { padding: 1.2rem 1rem; }
  .industry-card { padding: 1rem .85rem; }

  .cta-card { border-radius: 16px; }
  .cta-form-wrap { padding: 1.1rem; }

  .footer { padding: 36px 0 0; }
}
