/* ============================================
   LIGHTBULB TECH — MAIN STYLESHEET
   "Luminary" Light Premium Design System
   HTML/CSS/JS/jQuery Frontend
   Ready for ASP.NET Core 10 API integration
   ============================================ */

/* ========================
   1. Google Font Imports
======================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ========================
   2. :root Variables
======================== */
:root {
  --bg:              #FFFFFF;
  --bg-soft:         #F7F8FF;
  --bg-muted:        #EEF2FF;
  --primary:         #0D9488;
  --primary-dark:    #0F766E;
  --secondary:       #059669;
  --accent:          #06B6D4;
  --gradient-hero:   linear-gradient(135deg, #0D9488 0%, #059669 50%, #06B6D4 100%);
  --text:            #0F172A;
  --text-muted:      #475569;
  --text-faint:      #94A3B8;
  --border:          rgba(13,148,136,0.10);
  --border-hover:    rgba(13,148,136,0.30);
  --shadow:          0 1px 3px rgba(15,23,42,0.06), 0 8px 32px rgba(15,23,42,0.04);
  --shadow-md:       0 4px 24px rgba(15,23,42,0.08), 0 1px 3px rgba(15,23,42,0.04);
  --shadow-lg:       0 12px 48px rgba(13,148,136,0.15);
  --radius:          16px;
  --radius-sm:       10px;
  --radius-lg:       24px;
  --radius-full:     9999px;
  --font:            'Inter', system-ui, sans-serif;
  --font-display:    'Plus Jakarta Sans', system-ui, sans-serif;
  --transition:      all 0.28s cubic-bezier(0.4,0,0.2,1);
  --success:         #10B981;
  --warning:         #FBBF24;
  --danger:          #EF4444;
}

/* ========================
   3. Reset & Base
======================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ========================
   4. Scrollbar
======================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: rgba(13,148,136,0.25); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ========================
   5. Keyframe Animations
======================== */
@keyframes blob1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(40px, -30px) scale(1.08); }
  66%       { transform: translate(-20px, 20px) scale(0.95); }
}
@keyframes blob2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(-50px, 30px) scale(0.92); }
  66%       { transform: translate(30px, -20px) scale(1.05); }
}
@keyframes blob3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(25px, 35px) scale(1.1); }
}
@keyframes float-card {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50%       { transform: translateY(-14px) rotate(1deg); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
@keyframes count-up {
  from { opacity: 0; transform: translateY(20px) scale(0.9); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ========================
   6. Typography
======================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.9rem; }

p {
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 1rem;
}

.display-1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.0;
}
.display-2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.display-3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ========================
   7. Color Utilities
======================== */
.gradient-text {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-warm {
  background: linear-gradient(135deg, #0D9488, #059669);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-primary  { color: var(--primary) !important; }
.text-amber    { color: var(--primary) !important; }
.text-white    { color: #fff !important; }
.text-muted    { color: var(--text-muted) !important; }
.text-faint    { color: var(--text-faint) !important; }
.text-success  { color: #059669 !important; }
.text-danger   { color: #dc2626 !important; }
.text-warning  { color: #D97706 !important; }

/* ========================
   8. Scroll Reveal System
======================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1),
              transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal="left"]  { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="left"].revealed,
[data-reveal="right"].revealed { transform: translateX(0); }
[data-reveal="scale"] { transform: scale(0.92) translateY(20px); }
[data-reveal="scale"].revealed { transform: scale(1) translateY(0); }
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }
[data-reveal-delay="5"] { transition-delay: 0.5s; }

/* ========================
   9. Generic Cards / Glass
======================== */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
  box-shadow: var(--shadow);
}
.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.glass {
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* ========================
   10. Buttons
======================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.22,1,0.36,1);
  border: none;
  text-decoration: none;
  white-space: nowrap;
  font-family: inherit;
  padding: 12px 24px;
  line-height: 1;
}
.btn-primary {
  background: var(--gradient-hero);
  color: #fff;
  box-shadow: 0 4px 20px rgba(13,148,136,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(13,148,136,0.45);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(13,148,136,0.04);
}
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}
.btn-ghost:hover {
  color: var(--text);
  background: rgba(15,23,42,0.04);
}
.btn-white {
  background: #fff;
  color: var(--primary);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-white:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.btn-lg {
  padding: 14px 32px;
  font-size: 0.95rem;
  border-radius: var(--radius);
}
.btn-sm {
  padding: 8px 16px;
  font-size: 0.8rem;
}
.btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  justify-content: center;
  border-radius: var(--radius-sm);
}
.w-full {
  width: 100%;
  justify-content: center;
}

/* ========================
   11. Badges
======================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
}
.badge-primary { background: rgba(13,148,136,0.10);  color: var(--primary);  border: 1px solid rgba(13,148,136,0.20); }
.badge-purple  { background: rgba(5,150,105,0.10); color: #7C3AED;         border: 1px solid rgba(5,150,105,0.20); }
.badge-cyan    { background: rgba(6,182,212,0.10);  color: #0891B2;         border: 1px solid rgba(6,182,212,0.20); }
.badge-green   { background: rgba(16,185,129,0.10); color: #059669;         border: 1px solid rgba(16,185,129,0.20); }
.badge-amber   { background: rgba(245,158,11,0.10); color: #D97706;         border: 1px solid rgba(245,158,11,0.20); }
.badge-red     { background: rgba(239,68,68,0.10);  color: #DC2626;         border: 1px solid rgba(239,68,68,0.20); }

/* ========================
   12. Layout / Container / Section
======================== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.section {
  padding: 120px 0;
  position: relative;
  background: var(--bg);
}
.section-sm { padding: 64px 0; }
.alt-bg { background: var(--bg-soft) !important; }

/* ========================
   13. Section Head / Kicker
======================== */
.section-head {
  margin-bottom: 64px;
  position: relative;
  z-index: 1;
}
.section-head h2     { margin-bottom: 16px; color: var(--text); }
.section-head > p    { max-width: 520px; color: var(--text-muted); font-size: 1.05rem; line-height: 1.75; }
.section-head.centered { text-align: center; }
.section-head.centered > p { margin: 0 auto; }

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
  background: rgba(13,148,136,0.07);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(13,148,136,0.15);
}
.section-kicker::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--primary);
  flex-shrink: 0;
}

.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 20px;
}
.section-foot {
  text-align: center;
  margin-top: 56px;
  position: relative;
  z-index: 1;
}

/* Section big background number */
.section-numbered { position: relative; }
.section-numbered::before {
  content: attr(data-num);
  position: absolute;
  top: 40px;
  right: 60px;
  font-family: var(--font-display);
  font-size: 12rem;
  font-weight: 800;
  color: rgba(13,148,136,0.025);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* ========================
   14. Navbar
======================== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(13,148,136,0.08);
  z-index: 1000;
  transition: all 0.3s ease;
}
#navbar.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 4px 24px rgba(15,23,42,0.06);
  border-bottom-color: rgba(13,148,136,0.12);
}
.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  height: 70px;
  gap: 20px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-hero);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-logo-icon i { color: #fff; font-size: 16px; }
.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}
.nav-logo-text span {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 8px;
  transition: all 0.2s;
  text-decoration: none;
  position: relative;
}
.nav-links a::after { display: none; }
.nav-links a:hover {
  color: var(--primary);
  background: rgba(13,148,136,0.06);
}
.nav-links a.active {
  color: var(--primary);
  background: rgba(13,148,136,0.06);
  font-weight: 600;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  transition: all 0.2s;
}
.nav-hamburger:hover { background: rgba(13,148,136,0.06); border-color: var(--primary); }
.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px 24px;
  gap: 4px;
  animation: slideDown 0.25s ease;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 8px;
  transition: all 0.2s;
  display: block;
}
.nav-mobile a:hover {
  color: var(--primary);
  background: rgba(13,148,136,0.06);
}
.nav-mobile a.active {
  color: var(--primary);
  background: rgba(13,148,136,0.06);
  font-weight: 600;
}
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.lang-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(13,148,136,0.04);
}

/* ========================
   15. HERO — Centered Elegant
======================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 70px;
  padding-bottom: 80px;
  overflow: hidden;
  position: relative;
  background: #FFFFFF;
  text-align: center;
}

/* Top radial glow */
.hero::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 1000px; height: 700px;
  background: radial-gradient(ellipse at 50% 0%,
    rgba(13,148,136,0.09) 0%,
    rgba(5,150,105,0.05) 45%,
    transparent 70%);
  pointer-events: none; z-index: 0;
}

/* Dot grid — fades out from center */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(13,148,136,0.09) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, black 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, black 30%, transparent 100%);
  pointer-events: none; z-index: 0;
}

.hero-center {
  position: relative; z-index: 2;
  max-width: 880px;
  padding: 40px 32px;
  margin: 0 auto;
  animation: hero-enter 0.9s cubic-bezier(0.22,1,0.36,1) both;
}

@keyframes hero-enter {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Badge */
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(13,148,136,0.05);
  border: 1px solid rgba(13,148,136,0.18);
  color: var(--primary);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.80rem; font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 36px;
  animation: hero-enter 0.9s 0.1s cubic-bezier(0.22,1,0.36,1) both;
}
.hero-badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--primary);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

/* Title */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7.5vw, 6.8rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 28px;
  animation: hero-enter 0.9s 0.15s cubic-bezier(0.22,1,0.36,1) both;
}

/* Sub */
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.75;
  animation: hero-enter 0.9s 0.22s cubic-bezier(0.22,1,0.36,1) both;
}

/* CTAs */
.hero-actions {
  display: flex; align-items: center;
  justify-content: center;
  gap: 14px; flex-wrap: wrap;
  margin-bottom: 32px;
  animation: hero-enter 0.9s 0.30s cubic-bezier(0.22,1,0.36,1) both;
}

/* Trust row */
.hero-trust {
  display: flex; align-items: center;
  justify-content: center;
  gap: 20px; flex-wrap: wrap;
  color: var(--text-faint);
  font-size: 0.84rem;
  animation: hero-enter 0.9s 0.38s cubic-bezier(0.22,1,0.36,1) both;
}
.hero-trust span { display: flex; align-items: center; gap: 6px; }
.hero-trust-sep { color: var(--border); font-size: 1.2rem; line-height: 1; }

/* Stats row */
.hero-stats-row {
  display: flex; align-items: center;
  justify-content: center;
  margin-top: 64px;
  border-top: 1px solid var(--border);
  padding-top: 48px;
  animation: hero-enter 0.9s 0.45s cubic-bezier(0.22,1,0.36,1) both;
}
.hero-stat {
  flex: 1; text-align: center;
  padding: 0 32px;
  border-right: 1px solid var(--border);
}
.hero-stat:last-child { border-right: none; }
.hero-stat-val {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800; line-height: 1;
  background: var(--gradient-hero);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 6px;
}
.hero-stat-lbl { font-size: 0.84rem; color: var(--text-muted); font-weight: 500; }

/* Scroll indicator */
.hero-scroll {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  color: var(--text-faint);
  font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase; z-index: 2;
  animation: hero-enter 1s 0.6s cubic-bezier(0.22,1,0.36,1) both;
}
.hero-scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, transparent, var(--primary), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.15); }
}

/* Keep old chip for other pages */
.chip {
  font-size: 0.80rem; font-weight: 500; padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(15,23,42,0.04);
  color: var(--text-muted); border: 1px solid var(--border);
}
.chip-amber { background: rgba(13,148,136,0.07); color: var(--primary); border-color: rgba(13,148,136,0.20); }

/* Keep old hero-card for backward compat */
.hero-glow { display: none; }
.hero-card-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin-bottom: 4px;
}
.hero-card-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.hero-card-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Hero AR class */
.hero-ar { } /* Same as .hero — RTL handles overrides */

/* ========================
   16. Stats Strip
======================== */
.stats-strip {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 72px 0;
}
.stats-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stats-strip .stat-item {
  text-align: center;
  padding: 0 40px;
  border-right: 1px solid var(--border);
}
.stats-strip .stat-item:last-child { border-right: none; }
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ========================
   17. Partners Strip
======================== */
.partners-strip {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  overflow: hidden;
}
.partners-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 32px;
}
.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px 56px;
}
.partner-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-faint);
  font-size: 0.78rem;
  font-weight: 500;
  transition: all 0.3s;
  text-align: center;
  max-width: 120px;
}
.partner-logo:hover { color: var(--primary); transform: translateY(-2px); }
.partner-logo i { font-size: 2rem; opacity: 0.35; transition: opacity 0.3s; }
.partner-logo:hover i { opacity: 0.7; }

/* ========================
   18. Services (Bento Grid)
======================== */
.services-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
.service-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
  box-shadow: var(--shadow);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-hero);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.service-card:hover {
  border-color: rgba(13,148,136,0.25);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(13,148,136,0.12);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 24px;
  transition: transform 0.3s ease;
}
.service-card:hover .service-icon { transform: scale(1.1) rotate(-3deg); }
.service-card h3 { font-size: 1.2rem; color: var(--text); margin-bottom: 14px; line-height: 1.3; }
.service-card p  { font-size: 0.9rem; line-height: 1.75; color: var(--text-muted); margin-bottom: 20px; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: gap 0.2s;
}
.service-link:hover { gap: 10px; }

/* Service icon color variants */
.svc-blue   { background: #EFF6FF; color: #2563EB; }
.svc-purple { background: #F5F3FF; color: #7C3AED; }
.svc-cyan   { background: #ECFEFF; color: #0891B2; }
.svc-green  { background: #F0FDF4; color: #059669; }
.svc-orange { background: #FFF7ED; color: #EA580C; }
.svc-violet { background: #FAF5FF; color: #7C3AED; }

/* ========================
   19. Why Us Section
======================== */
.whyus-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.whyus-left h2     { margin-bottom: 16px; color: var(--text); }
.whyus-left > p    { color: var(--text-muted); margin-bottom: 0; }
.whyus-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.wnum {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  background: var(--bg-muted);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.wnum-val {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.wnum-lbl { font-size: 0.75rem; color: var(--text-muted); line-height: 1.4; }

.feature-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  transition: all 0.2s;
}
.feature-row:first-child { border-top: 1px solid var(--border); }
.feature-row:hover { padding-left: 8px; }
.feature-row-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--border);
  transition: all 0.2s;
  padding-top: 2px;
  line-height: 1.2;
}
.feature-row:hover .feature-row-num { color: var(--primary); }
.feature-row-body h4 { font-size: 1rem; color: var(--text); margin-bottom: 6px; font-weight: 600; }
.feature-row-body p  { font-size: 0.86rem; color: var(--text-muted); line-height: 1.65; }

/* ========================
   20. Portfolio
======================== */
.filter-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.filter-btn {
  padding: 9px 20px;
  font-size: 0.83rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-muted);
  transition: all 0.2s;
  cursor: pointer;
}
.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(13,148,136,0.04);
}
.filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(13,148,136,0.30);
}

/* Portfolio grid (homepage) */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  z-index: 1;
}
.portfolio-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--bg-muted);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all 0.35s cubic-bezier(0.22,1,0.36,1);
  box-shadow: var(--shadow);
}
.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(13,148,136,0.15);
  border-color: rgba(13,148,136,0.25);
}
.portfolio-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.portfolio-card:hover .portfolio-card-img { transform: scale(1.06); }
.portfolio-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.6) 0%, transparent 55%);
  z-index: 1;
  pointer-events: none;
}
.portfolio-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.92) 0%, rgba(15,23,42,0.3) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 2;
}
.portfolio-card:hover .portfolio-card-overlay { opacity: 1; }
.portfolio-card-cat {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #818CF8;
  margin-bottom: 6px;
}
.portfolio-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.portfolio-card-arrow {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  align-self: flex-start;
}

/* Portfolio page cards */
.portfolio-img {
  position: relative;
  overflow: hidden;
  height: 220px;
}
.portfolio-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.portfolio-overlay {
  position: absolute; inset: 0;
  background: rgba(13,148,136,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.portfolio-overlay a,
.port-store-btn {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  border: 1px solid rgba(255,255,255,0.3);
  transition: var(--transition);
}
.portfolio-overlay a:hover,
.port-store-btn:hover { background: rgba(255,255,255,0.30); }
.portfolio-card:hover .portfolio-overlay,
.card:hover .portfolio-overlay { opacity: 1; }
.portfolio-card:hover .portfolio-img img { transform: scale(1.06); }
.portfolio-body { padding: 28px; }
.portfolio-cat {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 10px;
}
.portfolio-body h3 { font-size: 1.1rem; color: var(--text); margin-bottom: 10px; }
.portfolio-body p  { font-size: 0.86rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 16px; }
.portfolio-body-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.btn-case-study {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.78rem; font-weight: 600; color: var(--primary);
  background: rgba(13,148,136,0.07); border: 1px solid rgba(13,148,136,0.20);
  padding: 6px 14px; border-radius: var(--radius-full);
  text-decoration: none; white-space: nowrap;
  transition: all 0.2s; flex-shrink: 0;
}
.btn-case-study:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.tech-tag {
  padding: 4px 12px;
  background: rgba(13,148,136,0.07);
  border: 1px solid rgba(13,148,136,0.15);
  border-radius: 6px;
  font-size: 0.72rem;
  color: var(--primary);
  font-weight: 500;
}

/* ========================
   21. Testimonials + Slider
======================== */
/* ========================
   TESTIMONIALS — Redesigned
   ======================== */
.testimonials-wrapper {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}
.testimonial-slider {
  overflow: hidden;
}
.testimonial-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.22,1,0.36,1);
  will-change: transform;
}
.testimonial-slide {
  flex: 0 0 86%;
  min-width: 0;
  padding: 0 12px;
}
.testimonial-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 44px 52px 40px;
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(15,23,42,0.06), 0 1px 4px rgba(15,23,42,0.04);
}
/* Decorative gradient blob */
.testimonial-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(13,148,136,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.testimonial-card::after {
  content: '\201C';
  position: absolute;
  top: 20px; right: 48px;
  font-size: 120px;
  font-family: Georgia, serif;
  line-height: 1;
  color: rgba(13,148,136,0.07);
  pointer-events: none;
}
.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
}
.stars i { color: #FBBF24; font-size: 15px; }
.testimonial-text {
  font-size: 1.15rem;
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 40px;
  font-style: italic;
  position: relative;
  z-index: 1;
}
.testimonial-divider {
  width: 48px; height: 2px;
  background: var(--gradient-hero);
  border-radius: 2px;
  margin-bottom: 24px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}
.author-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(13,148,136,0.25);
}
.author-avatar img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.author-name    { font-weight: 700; color: var(--text); font-size: 1rem; margin-bottom: 3px; }
.author-role    { font-size: 0.82rem; color: var(--text-muted); }
.author-country {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.75rem; color: var(--text-faint);
  margin-top: 3px;
}

/* Slider controls */
.slider-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  padding: 0 4px;
}
.slider-dots { display: flex; gap: 6px; align-items: center; }
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  padding: 0;
}
.slider-dot.active {
  background: var(--primary);
  width: 28px;
  border-radius: 4px;
}
.slider-arrows { display: flex; gap: 8px; }
.slider-arrow {
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
  font-size: 14px;
  box-shadow: 0 1px 4px rgba(15,23,42,0.06);
}
.slider-arrow:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(13,148,136,0.05);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13,148,136,0.12);
}
/* Auto-play progress bar */
.slider-progress {
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  margin-top: 20px;
  overflow: hidden;
}
.slider-progress-bar {
  height: 100%;
  background: var(--gradient-hero);
  border-radius: 2px;
  width: 0%;
  transition: width linear;
}

/* ========================
   22. Blog Grid
======================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  z-index: 1;
}
.blog-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
  box-shadow: var(--shadow);
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 56px rgba(13,148,136,0.12);
  border-color: rgba(13,148,136,0.20);
}
.blog-card-img {
  position: relative;
  overflow: hidden;
  height: 200px;
}
.blog-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 28px; }
.blog-category {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 10px;
}
.blog-card-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 12px; line-height: 1.4; }
.blog-card-body p  { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 16px; }
.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-faint);
}
.blog-meta-sep {
  width: 3px; height: 3px;
  background: var(--text-faint);
  border-radius: 50%;
}

/* Blog page extras */
.blog-hero-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.blog-hero-img { height: 420px; }
.blog-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-search {
  position: relative;
  margin-bottom: 32px;
}
.blog-search input {
  width: 100%;
  padding: 12px 16px 12px 46px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  background: var(--bg-soft);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.blog-search input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13,148,136,0.10);
}
.blog-search i {
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-faint);
  font-size: 14px;
}

/* ========================
   23. CTA Split
======================== */
.cta-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}
.cta-split-left {
  background: linear-gradient(135deg, #0D9488 0%, #059669 60%, #06B6D4 100%);
  padding: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-left-inner { max-width: 420px; }
.cta-left-inner h2 {
  color: #fff;
  margin-bottom: 24px;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.1;
}
.cta-left-inner > p {
  color: rgba(255,255,255,0.8);
  line-height: 1.75;
}
.cta-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}
.cta-benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.9);
  font-size: 0.92rem;
}
.cta-benefits li i {
  width: 22px; height: 22px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #fff;
  flex-shrink: 0;
}
.cta-split-right {
  background: #fff;
  padding: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-form {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ========================
   24. Forms
======================== */
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-row    { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-label  { font-size: 0.83rem; font-weight: 600; color: var(--text); }
.form-input,
.form-textarea,
.form-select {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--text);
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13,148,136,0.10);
  background: #fff;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-faint); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.form-success { text-align: center; padding: 48px; }
.form-success-icon {
  width: 64px; height: 64px;
  background: rgba(16,185,129,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #10b981;
  font-size: 24px;
}
.form-success h3 { color: var(--text); margin-bottom: 8px; }
.form-success p  { color: var(--text-muted); }

/* ========================
   25. Footer
======================== */
#footer {
  background: #080f1c;
  color: rgba(255,255,255,0.6);
  padding: 0;
  position: relative;
  overflow: hidden;
}

/* Top accent bar */
.footer-top-line {
  height: 3px;
  background: linear-gradient(90deg, #0D9488 0%, #06B6D4 50%, #7c3aed 100%);
}

/* Faded watermark text */
.footer-watermark {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(60px, 12vw, 130px);
  font-weight: 900;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.025);
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
  font-family: var(--font-display);
  z-index: 0;
}

#footer .container { position: relative; z-index: 1; }

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.4fr;
  gap: 56px;
  padding: 72px 0 56px;
}

/* Brand column */
.footer-brand { display: flex; flex-direction: column; gap: 0; }

.footer-brand .nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.45);
  max-width: 280px;
  margin-bottom: 24px;
}

/* Contact links in footer */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.footer-contact a,
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.845rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-contact a:hover { color: #0D9488; }
.footer-contact i {
  color: #0D9488;
  width: 16px;
  flex-shrink: 0;
  font-size: 13px;
}

/* Social icons */
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.social-link {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  text-decoration: none;
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  transition: all 0.22s cubic-bezier(0.4,0,0.2,1);
}
.social-link:hover {
  transform: translateY(-3px);
  color: #fff;
  border-color: transparent;
}
.social-link:nth-child(1):hover { background: #1877f2; }  /* Facebook */
.social-link:nth-child(2):hover { background: #0a66c2; }  /* LinkedIn */
.social-link:nth-child(3):hover { background: #000; }     /* X/Twitter */
.social-link:nth-child(4):hover { background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af); } /* Instagram */
.social-link:nth-child(5):hover { background: #25d366; }  /* WhatsApp */

/* Nav columns */
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 14px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 24px; height: 2px;
  background: #0D9488;
  border-radius: 2px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col ul li a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: all 0.2s;
}
.footer-col ul li a i {
  font-size: 9px;
  color: #0D9488;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.2s;
}
.footer-col ul li a:hover {
  color: rgba(255,255,255,0.9);
  padding-left: 4px;
}
.footer-col ul li a:hover i {
  opacity: 1;
  transform: translateX(0);
}

/* Newsletter */
.newsletter-form { display: flex; flex-direction: column; gap: 10px; }
.newsletter-input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 11px 16px;
  font-size: 0.87rem;
  color: #fff;
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.3); }
.newsletter-input:focus { border-color: #0D9488; }
.newsletter-form .btn {
  width: 100%;
  justify-content: center;
  font-size: 0.87rem;
  padding: 11px 20px;
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom-links a {
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.8rem;
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; padding: 60px 0 48px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 100%; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding: 48px 0 40px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
  .footer-watermark { font-size: 48px; }
}

/* ========================
   26. Page Hero (inner pages)
======================== */
.page-hero {
  padding: 160px 0 100px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(circle, rgba(13,148,136,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 { margin-bottom: 16px; color: var(--text); position: relative; z-index: 1; }
.page-hero p  {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 540px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-faint);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.page-hero .breadcrumb a { color: var(--primary); }
.page-hero .breadcrumb a:hover { text-decoration: underline; }
.dot-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(13,148,136,0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* ========================
   27. Chat Widget (v2)
======================== */
.cw { position:fixed; bottom:24px; right:24px; z-index:9999; }
[dir="rtl"] .cw { right:auto; left:24px; }

.cw-fab {
  width:60px; height:60px; border-radius:50%;
  background:linear-gradient(135deg,#0D9488,#0891B2);
  border:none; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 8px 32px rgba(13,148,136,.45);
  transition:all .3s cubic-bezier(.22,1,.36,1);
  color:#fff; font-size:22px; position:relative;
}
.cw-fab:hover { transform:scale(1.1); box-shadow:0 12px 40px rgba(13,148,136,.55); }

.cw-badge {
  position:absolute; top:-3px; right:-3px;
  width:20px; height:20px; background:#ef4444; border-radius:50%;
  display:none; align-items:center; justify-content:center;
  font-size:.6rem; font-weight:700; color:#fff; border:2px solid #fff;
}
.cw-badge.show { display:flex; }

.cw-panel {
  position:absolute; bottom:76px; right:0;
  width:380px; background:#fff; border-radius:20px;
  box-shadow:0 24px 80px rgba(15,23,42,.18),0 0 0 1px rgba(15,23,42,.06);
  display:none; flex-direction:column; max-height:580px; overflow:hidden;
  transform-origin:bottom right;
}
[dir="rtl"] .cw-panel { right:auto; left:0; transform-origin:bottom left; }
.cw-panel.active { display:flex; animation:cwUp .28s cubic-bezier(.22,1,.36,1); }
@keyframes cwUp { from{opacity:0;transform:scale(.92) translateY(16px)} to{opacity:1;transform:none} }

.cw-header {
  background:linear-gradient(135deg,#0f1724 0%,#0D9488 100%);
  padding:16px 20px; display:flex; align-items:center; gap:12px; flex-shrink:0;
}
.cw-header-avatar {
  width:42px; height:42px; background:rgba(255,255,255,.15); border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-size:18px; flex-shrink:0; border:2px solid rgba(255,255,255,.25);
}
.cw-header-info { flex:1; }
.cw-header-name { color:#fff; font-weight:600; font-size:.92rem; }
.cw-header-status { display:flex; align-items:center; gap:5px; font-size:.72rem; color:rgba(255,255,255,.75); margin-top:2px; }
.cw-dot { width:7px; height:7px; background:#4ade80; border-radius:50%; animation:cwPulse 2s infinite; }
@keyframes cwPulse { 0%,100%{opacity:1} 50%{opacity:.5} }
.cw-close {
  background:rgba(255,255,255,.15); border:none; border-radius:8px;
  width:32px; height:32px; display:flex; align-items:center; justify-content:center;
  cursor:pointer; color:#fff; font-size:14px; transition:background .2s; flex-shrink:0;
}
.cw-close:hover { background:rgba(255,255,255,.25); }

.cw-messages {
  flex:1; overflow-y:auto; padding:16px; display:flex; flex-direction:column;
  gap:10px; min-height:80px; scrollbar-width:thin; scrollbar-color:var(--border) transparent;
}
.cw-msg { display:flex; gap:8px; align-items:flex-end; }
.cw-msg.bot,.cw-msg.agent { align-self:flex-start; }
.cw-msg.user { align-self:flex-end; flex-direction:row-reverse; }
.cw-msg-avatar {
  width:28px; height:28px; border-radius:50%; flex-shrink:0;
  background:linear-gradient(135deg,#0D9488,#0891B2);
  display:flex; align-items:center; justify-content:center; color:#fff; font-size:11px;
}
.cw-msg.agent .cw-msg-avatar { background:linear-gradient(135deg,#7c3aed,#a855f7); }
.cw-bubble { max-width:78%; padding:10px 14px; font-size:.845rem; line-height:1.55; border-radius:16px; }
.cw-msg.bot .cw-bubble,.cw-msg.agent .cw-bubble {
  background:#f1f5f9; color:#1e293b; border-radius:4px 16px 16px 16px;
}
.cw-msg.user .cw-bubble {
  background:linear-gradient(135deg,#0D9488,#0891B2); color:#fff; border-radius:16px 16px 4px 16px;
}
.cw-system { text-align:center; font-size:.72rem; color:#94a3b8; padding:4px 0; }

.cw-typing { display:flex; gap:4px; align-items:center; padding:12px 14px; }
.cw-typing span { width:7px; height:7px; background:#94a3b8; border-radius:50%; animation:cwTyp 1.2s infinite; }
.cw-typing span:nth-child(2){animation-delay:.2s} .cw-typing span:nth-child(3){animation-delay:.4s}
@keyframes cwTyp { 0%,100%{transform:translateY(0);opacity:.5} 50%{transform:translateY(-4px);opacity:1} }

.cw-step { padding:14px 16px; border-top:1px solid #f1f5f9; flex-shrink:0; }
.cw-step-label { font-size:.78rem; color:#64748b; margin-bottom:10px; font-weight:500; }
.cw-phone-row { display:flex; gap:8px; margin-bottom:12px; }
.cw-country {
  padding:10px 8px; border:1.5px solid #e2e8f0; border-radius:10px;
  font-size:.82rem; background:#f8fafc; color:#1e293b; cursor:pointer; outline:none; min-width:96px;
}
.cw-country:focus { border-color:#0D9488; }
.cw-phone-input {
  flex:1; padding:10px 12px; border:1.5px solid #e2e8f0; border-radius:10px;
  font-size:.85rem; background:#f8fafc; color:#1e293b; outline:none; transition:border-color .2s;
}
.cw-phone-input:focus { border-color:#0D9488; }
.cw-step-btn {
  width:100%; padding:11px; background:linear-gradient(135deg,#0D9488,#0891B2);
  color:#fff; border:none; border-radius:10px; font-size:.9rem; font-weight:600;
  cursor:pointer; display:flex; align-items:center; justify-content:center; gap:8px; transition:opacity .2s;
}
.cw-step-btn:hover { opacity:.9; }

.cw-mode-btn {
  width:100%; display:flex; align-items:center; gap:14px; padding:13px 14px;
  border:1.5px solid #e2e8f0; border-radius:12px; background:#fff; cursor:pointer;
  margin-bottom:10px; text-align:left; transition:all .2s; color:#1e293b;
}
[dir="rtl"] .cw-mode-btn { text-align:right; }
.cw-mode-btn:last-child { margin-bottom:0; }
.cw-mode-btn:hover { border-color:#0D9488; background:#f0fdf9; transform:translateY(-1px); }
.cw-mode-btn > i {
  font-size:18px; color:#0D9488; flex-shrink:0;
  width:36px; height:36px; background:#f0fdf9; border-radius:10px;
  display:flex; align-items:center; justify-content:center;
}
.cw-mode-btn#cwModeLive > i { color:#7c3aed; background:#faf5ff; }
.cw-mode-btn#cwModeLive:hover { border-color:#7c3aed; background:#faf5ff; }
.cw-mode-btn div { display:flex; flex-direction:column; gap:2px; }
.cw-mode-btn strong { font-size:.87rem; font-weight:600; }
.cw-mode-btn small { font-size:.72rem; color:#94a3b8; }

.cw-input-wrap {
  padding:12px 16px; border-top:1px solid #f1f5f9;
  display:flex; gap:8px; align-items:center; flex-shrink:0;
}
.cw-input {
  flex:1; padding:10px 14px; border:1.5px solid #e2e8f0; border-radius:12px;
  font-size:.85rem; color:#1e293b; background:#f8fafc; outline:none; transition:border-color .2s;
}
.cw-input:focus { border-color:#0D9488; }
.cw-send {
  width:40px; height:40px; background:linear-gradient(135deg,#0D9488,#0891B2);
  border:none; border-radius:12px; color:#fff; font-size:14px; cursor:pointer;
  display:flex; align-items:center; justify-content:center; transition:opacity .2s; flex-shrink:0;
}
.cw-send:hover { opacity:.85; }

@media(max-width:480px){
  .cw-panel{width:calc(100vw - 32px); right:-8px;}
  [dir="rtl"] .cw-panel{right:auto;left:-8px;}
}

/* ========================
   28. Dashboard (Minimal)
======================== */
.dash-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
  background: var(--bg-soft);
}
.dash-sidebar {
  background: #fff;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  padding: 0;
}
.dash-sidebar-header {
  padding: 24px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.dash-sidebar-logo {
  width: 32px; height: 32px;
  background: var(--gradient-hero);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
}
.dash-sidebar-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}
.dash-nav { padding: 12px 12px; flex: 1; }
.dash-nav-section { margin-bottom: 20px; }
.dash-nav-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding: 0 8px;
  margin-bottom: 6px;
}
.dash-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s;
  margin-bottom: 2px;
}
.dash-nav a:hover {
  color: var(--primary);
  background: rgba(13,148,136,0.06);
}
.dash-nav a.active {
  color: var(--primary);
  background: rgba(13,148,136,0.08);
  font-weight: 600;
}
.dash-nav a i { width: 16px; text-align: center; font-size: 14px; }
.dash-main { display: flex; flex-direction: column; min-height: 100vh; }
.dash-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.dash-header h1 { font-size: 1.25rem; color: var(--text); }
.dash-header-actions { display: flex; align-items: center; gap: 12px; }
.dash-content { padding: 32px; flex: 1; }
.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.dash-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.dash-card-label { font-size: 0.78rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.dash-card-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}
.dash-card-sub { font-size: 0.78rem; color: var(--text-faint); }
.dash-card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 16px;
}
.dash-section { margin-bottom: 32px; }
.dash-section-title { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 16px; }
.dash-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dash-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* Data Tables */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.data-table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.data-table td {
  padding: 14px 16px;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(13,148,136,0.05);
  vertical-align: middle;
}
.data-table tbody tr:hover td { background: rgba(13,148,136,0.02); }
.data-table tbody tr:last-child td { border-bottom: none; }

/* Status badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
}
.status-badge::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.status-active   { background: rgba(16,185,129,0.1); color: #059669; }
.status-inactive { background: rgba(100,116,139,0.1); color: #64748B; }
.status-pending  { background: rgba(245,158,11,0.1); color: #D97706; }
.status-rejected { background: rgba(239,68,68,0.1); color: #DC2626; }

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 24px;
}
.page-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.83rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ========================
   Typewriter
======================== */
.typewriter-wrap { display: block; min-height: 1.2em; }
.typewriter { display: inline; }
.typewriter-cursor {
  display: inline-block;
  width: 3px; height: 0.85em;
  background: var(--primary);
  margin-left: 4px;
  vertical-align: middle;
  animation: blink 0.9s step-end infinite;
}

/* ========================
   Hero chips / trust extras
======================== */
.trust-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.trust-row-label { font-size: 0.78rem; color: var(--text-faint); font-weight: 500; }
.trust-avatars {
  display: flex;
  align-items: center;
}
.trust-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gradient-hero);
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  margin-left: -8px;
}
.trust-avatar:first-child { margin-left: 0; }

/* ========================
   Misc Utilities
======================== */
.divider { height: 1px; background: var(--border); margin: 40px 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.overflow-hidden { overflow: hidden; }
.position-relative { position: relative; }
.d-flex          { display: flex; }
.align-center    { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }
.mt-8   { margin-top: 8px; }
.mt-16  { margin-top: 16px; }
.mt-24  { margin-top: 24px; }
.mt-32  { margin-top: 32px; }
.mt-48  { margin-top: 48px; }
.mb-8   { margin-bottom: 8px; }
.mb-16  { margin-bottom: 16px; }
.mb-24  { margin-bottom: 24px; }
.mb-32  { margin-bottom: 32px; }
.mb-48  { margin-bottom: 48px; }

/* Pricing (if used) */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  z-index: 1;
}
.pricing-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
  box-shadow: var(--shadow);
}
.pricing-card.featured {
  border-color: rgba(13,148,136,0.35);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}
.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-hero);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.05em;
}
.pricing-price { margin: 24px 0 28px; }
.pricing-price-value {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.pricing-price-period { font-size: 0.9rem; color: var(--text-faint); }
.pricing-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.pricing-feature i { color: var(--primary); font-size: 13px; flex-shrink: 0; }
.pricing-feature.disabled { opacity: 0.4; }
.pricing-feature.disabled i { color: var(--text-faint); }

/* Team cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
  z-index: 1;
}
.team-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
  box-shadow: var(--shadow);
  text-align: center;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--border-hover); }
.team-img { position: relative; overflow: hidden; height: 220px; }
.team-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.team-card:hover .team-img img { transform: scale(1.05); }
.team-body { padding: 24px 20px; }
.team-body h4 { color: var(--text); margin-bottom: 4px; font-size: 1rem; }
.team-body .role { font-size: 0.82rem; color: var(--primary); font-weight: 600; margin-bottom: 12px; }
.team-social { display: flex; justify-content: center; gap: 8px; }
.team-social a {
  width: 32px; height: 32px;
  background: rgba(13,148,136,0.07);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 13px;
  transition: all 0.2s;
}
.team-social a:hover { background: var(--primary); color: #fff; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: rgba(13,148,136,0.25); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  cursor: pointer;
  transition: background 0.2s;
  gap: 16px;
}
.faq-question:hover { background: rgba(13,148,136,0.02); }
.faq-question h4 { font-size: 0.95rem; color: var(--text); font-weight: 600; flex: 1; line-height: 1.4; }
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(13,148,136,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 12px;
  flex-shrink: 0;
  transition: all 0.3s;
}
.faq-item.open .faq-icon { background: var(--primary); color: #fff; transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.22,1,0.36,1);
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer p { padding: 0 28px 24px; font-size: 0.9rem; color: var(--text-muted); line-height: 1.75; }

/* Process steps */
.process-steps { display: flex; flex-direction: column; gap: 0; }
.process-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.process-step:last-child { border-bottom: none; }
.process-step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  padding-top: 4px;
}
.process-step h4 { font-size: 1rem; color: var(--text); margin-bottom: 6px; font-weight: 600; }
.process-step p  { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

/* Timeline */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -39px; top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--border);
  transition: border-color 0.2s;
}
.timeline-item:hover::before { border-color: var(--primary); }
.timeline-date { font-size: 0.75rem; font-weight: 600; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.timeline-title { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.timeline-body  { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

/* ========================
   29. Responsive Breakpoints
======================== */

/* — 1024px — */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 80px;
  }
  .hero-right { display: none; }
  .hero-left  { padding: 100px 32px 60px; }
  .whyus-layout { grid-template-columns: 1fr; gap: 48px; }
  .services-bento { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta-split { grid-template-columns: 1fr; }
  .cta-split-left  { padding: 60px 40px; }
  .cta-split-right { padding: 60px 40px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .stats-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-layout { grid-template-columns: 220px 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .pricing-card.featured { transform: scale(1); }
}

/* — 768px — */
@media (max-width: 768px) {
  .nav-inner { padding: 0 20px; }
  .section { padding: 80px 0; }
  .page-hero { padding: 120px 0 64px; }
  .section-head { margin-bottom: 40px; }
  .cta-split-left  { padding: 48px 24px; }
  .cta-split-right { padding: 48px 24px; }
  .testimonial-card { padding: 40px 36px; }
  .dash-layout { grid-template-columns: 1fr; }
  .dash-sidebar { display: none; }
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
  .dash-content { padding: 20px; }
  .whyus-numbers { grid-template-columns: 1fr 1fr; }
  .section-numbered::before { font-size: 7rem; top: 20px; right: 20px; }
}

/* — 640px — */
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .container { padding: 0 20px; }
  .hero-left { padding: 90px 20px 60px; }
  .hero-title { font-size: clamp(2.4rem, 10vw, 3.5rem); }
  .services-bento { grid-template-columns: 1fr; }
  .portfolio-grid  { grid-template-columns: 1fr; }
  .blog-grid       { grid-template-columns: 1fr; }
  .stats-strip-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }
  .stats-strip .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 24px;
  }
  .stats-strip .stat-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .stats-strip .stat-item:nth-last-child(-n+2) { border-bottom: none; }
  .testimonial-card { padding: 32px 24px; }
  .testimonial-card::after { font-size: 80px; top: 12px; right: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .whyus-numbers { grid-template-columns: 1fr 1fr; }
  .cta-split-left  { padding: 48px 20px; }
  .cta-split-right { padding: 48px 20px; }
  .contact-form { max-width: 100%; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .dash-stats { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .slider-controls { padding: 0 4px; }
  .partners-logos { gap: 28px 36px; }
  .chat-panel { width: 300px; }
  .section-kicker { font-size: 0.68rem; }
}

/* ========================
   30. RTL Overrides
======================== */
[dir="rtl"] {
  font-family: 'Cairo', 'Almarai', system-ui, sans-serif;
}
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4 {
  font-family: 'Cairo', sans-serif;
  line-height: 1.4;
  letter-spacing: 0;
}
[dir="rtl"] .hero-left {
  padding: 80px 80px 80px 60px;
}
[dir="rtl"] .section-numbered::before {
  right: auto;
  left: 60px;
}
[dir="rtl"] .section-kicker::before { display: none; }
[dir="rtl"] .section-kicker::after {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--primary);
  flex-shrink: 0;
}
[dir="rtl"] .feature-row { padding-right: 0; }
[dir="rtl"] .feature-row:hover {
  padding-right: 8px;
  padding-left: 0;
}
[dir="rtl"] .hero-card-1 { right: auto; left: 6%; }
[dir="rtl"] .hero-card-2 { right: auto; left: 0%; }
[dir="rtl"] .hero-card-3 { right: auto; left: 8%; }
[dir="rtl"] .hero-tech-stack {
  left: auto;
  right: 50%;
  transform: translateX(50%);
}
[dir="rtl"] .nav-logo-text span { display: inline; }
[dir="rtl"] .service-card::before { transform-origin: right; }

/* Testimonials RTL */
[dir="rtl"] .testimonial-track    { direction: ltr; }
[dir="rtl"] .testimonial-slide    { direction: rtl; }
[dir="rtl"] .testimonial-card     { text-align: right; direction: rtl; }
[dir="rtl"] .testimonial-text     { font-family: 'Cairo', sans-serif; font-size: 1.0rem; line-height: 1.9; }
[dir="rtl"] .testimonial-author   { flex-direction: row-reverse; }
[dir="rtl"] .author-name          { font-family: 'Cairo', sans-serif; }
[dir="rtl"] .author-role          { font-family: 'Cairo', sans-serif; }
[dir="rtl"] .author-country       { font-family: 'Cairo', sans-serif; }
[dir="rtl"] .quote-icon           { right: auto; left: 40px; }
[dir="rtl"] .slider-controls      { flex-direction: row-reverse; }
[dir="rtl"] .slider-arrows        { flex-direction: row-reverse; }

/* RTL text overrides */
[dir="rtl"] .section-head h2         { font-family: 'Cairo', sans-serif; line-height: 1.4; }
[dir="rtl"] .section-head.centered h2 { font-family: 'Cairo', sans-serif; line-height: 1.4; }
[dir="rtl"] .section-head p           { font-family: 'Cairo', sans-serif; }
[dir="rtl"] .service-card h3          { font-family: 'Cairo', sans-serif; }
[dir="rtl"] .service-card p           { font-family: 'Cairo', sans-serif; }
[dir="rtl"] .feature-row-body h4      { font-family: 'Cairo', sans-serif; }
[dir="rtl"] .feature-row-body p       { font-family: 'Cairo', sans-serif; }
[dir="rtl"] .hero-sub                 { font-family: 'Cairo', sans-serif; }
[dir="rtl"] .hero-tag                 { font-family: 'Cairo', sans-serif; }
[dir="rtl"] .btn                      { font-family: 'Cairo', sans-serif; }
[dir="rtl"] .cta-benefits li          { font-family: 'Cairo', sans-serif; }
[dir="rtl"] .wnum-lbl                 { font-family: 'Cairo', sans-serif; }
[dir="rtl"] .stat-label               { font-family: 'Cairo', sans-serif; }
[dir="rtl"] .chip                     { font-family: 'Cairo', sans-serif; }
[dir="rtl"] .partner-logo span        { font-family: 'Cairo', sans-serif; }
[dir="rtl"] .portfolio-cat            { font-family: 'Cairo', sans-serif; }
[dir="rtl"] .portfolio-body h3        { font-family: 'Cairo', sans-serif; }
[dir="rtl"] .portfolio-body p         { font-family: 'Cairo', sans-serif; }
[dir="rtl"] .blog-category            { font-family: 'Cairo', sans-serif; }
[dir="rtl"] .blog-card-body h3        { font-family: 'Cairo', sans-serif; }
[dir="rtl"] .blog-card-body p         { font-family: 'Cairo', sans-serif; }
[dir="rtl"] .blog-meta                { font-family: 'Cairo', sans-serif; }
[dir="rtl"] .footer-col a             { font-family: 'Cairo', sans-serif; }
[dir="rtl"] .footer-col h4            { font-family: 'Cairo', sans-serif; }
[dir="rtl"] .footer-brand p           { font-family: 'Cairo', sans-serif; }
[dir="rtl"] .nav-links a              { font-family: 'Cairo', sans-serif; }
[dir="rtl"] .badge                    { font-family: 'Cairo', sans-serif; }
[dir="rtl"] .form-label               { font-family: 'Cairo', sans-serif; }
[dir="rtl"] .form-input,
[dir="rtl"] .form-textarea,
[dir="rtl"] .form-select              { font-family: 'Cairo', sans-serif; text-align: right; }
[dir="rtl"] .chat-bubble              { font-family: 'Cairo', sans-serif; }
[dir="rtl"] .faq-question h4          { font-family: 'Cairo', sans-serif; }
[dir="rtl"] .faq-answer p             { font-family: 'Cairo', sans-serif; }
[dir="rtl"] .data-table               { direction: rtl; }
[dir="rtl"] .data-table th,
[dir="rtl"] .data-table td            { text-align: right; }

/* RTL layout flips */
[dir="rtl"] .dash-layout              { grid-template-columns: 1fr 260px; }
[dir="rtl"] .dash-sidebar             { border-right: none; border-left: 1px solid var(--border); }
[dir="rtl"] .nav-inner                { direction: ltr; } /* keep nav items in LTR order for mixed content */
[dir="rtl"] .footer-grid              { direction: rtl; }
[dir="rtl"] .cta-split                { direction: rtl; }
/* Hero centered — RTL */
[dir="rtl"] .hero-center             { direction: rtl; }
[dir="rtl"] .hero-title              { font-family: 'Cairo', sans-serif; letter-spacing: 0; }
[dir="rtl"] .hero-sub                { font-family: 'Cairo', sans-serif; }
[dir="rtl"] .hero-badge              { font-family: 'Cairo', sans-serif; }
[dir="rtl"] .hero-trust              { font-family: 'Cairo', sans-serif; flex-direction: row-reverse; }
[dir="rtl"] .hero-stat-lbl           { font-family: 'Cairo', sans-serif; }
[dir="rtl"] .hero-scroll span        { font-family: 'Cairo', sans-serif; }
[dir="rtl"] .hero-scroll             { left: auto; right: 50%; transform: translateX(50%); }
[dir="rtl"] .trust-avatars            { direction: ltr; }

/* ============================================
   CASE STUDY MODAL
============================================ */
.proj-modal-backdrop {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(15,23,42,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 32px 20px 48px;
  overflow-y: auto;
  opacity: 0; transition: opacity 0.3s ease;
}
.proj-modal-backdrop.open { opacity: 1; }
.proj-modal-backdrop.open .cs-card { transform: translateY(0); opacity: 1; }

/* ── Card ── */
.cs-card {
  width: 900px; max-width: 100%;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.18);
  font-family: 'DM Sans','Inter',sans-serif;
  transform: translateY(24px); opacity: 0;
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), opacity 0.35s ease;
  flex-shrink: 0;
}

/* ── Top Band ── */
.cs-top-band {
  background: #111; padding: 16px 44px;
  display: flex; align-items: center; justify-content: space-between;
}
.cs-brand { display: flex; align-items: center; gap: 10px; }
.cs-brand-icon {
  width: 32px; height: 32px; background: var(--primary);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
}
.cs-brand-icon i { color: #fff; font-size: 13px; }
.cs-brand-name { font-size: 14px; font-weight: 500; color: #fff; letter-spacing: 0.02em; }
.cs-band-right { font-size: 11px; color: #666; font-weight: 300; letter-spacing: 0.1em; text-transform: uppercase; }
.cs-close {
  width: 30px; height: 30px; border-radius: 7px;
  background: rgba(255,255,255,0.08); border: none;
  color: #aaa; font-size: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.cs-close:hover { background: rgba(255,255,255,0.18); color: #fff; }

/* ── Hero ── */
.cs-hero {
  padding: 40px 44px 32px;
  display: grid; grid-template-columns: 1fr 160px;
  gap: 32px; align-items: start;
  border-bottom: 1px solid #F0EDE8;
}
.cs-cat-pill {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid #DDD; padding: 5px 14px;
  border-radius: 100px; margin-bottom: 18px;
}
.cs-cat-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--dot, #0D9488); }
.cs-cat-en  { font-size: 11px; font-weight: 500; color: #555; letter-spacing: 0.1em; text-transform: uppercase; }
.cs-cat-sep { color: #CCC; font-size: 11px; }
.cs-cat-ar  { font-family: 'Amiri','Cairo',serif; font-size: 13px; color: #555; }

.cs-title-en { font-family: 'Playfair Display',Georgia,serif; font-size: 30px; color: #111; line-height: 1.2; letter-spacing: -0.3px; margin-bottom: 5px; }
.cs-title-ar { font-family: 'Cairo','Amiri',sans-serif; font-size: 20px; color: #444; direction: rtl; text-align: right; line-height: 1.5; margin-bottom: 18px; }
.cs-desc-en { font-size: 13.5px; line-height: 1.8; color: #777; font-weight: 300; max-width: 500px; margin-bottom: 10px; }
.cs-desc-ar { font-family: 'Cairo','Amiri',sans-serif; font-size: 14px; line-height: 1.9; color: #888; direction: rtl; text-align: right; max-width: 500px; }

/* Meta sidebar */
.cs-hero-right { padding-top: 4px; }
.cs-meta-block { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid #F0EDE8; }
.cs-meta-block:last-child { margin: 0; padding: 0; border: none; }
.cs-meta-label { font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: #BBB; margin-bottom: 3px; }
.cs-meta-value { font-size: 13px; color: #222; line-height: 1.4; }
.cs-status-pill {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 500; color: #1A6B40;
  background: #E8F5EE; padding: 4px 10px; border-radius: 6px;
}
.cs-status-dot { width: 6px; height: 6px; border-radius: 50%; background: #2C7C4F; }

/* ── Links ── */
.cs-links-row {
  padding: 18px 44px; display: flex; gap: 10px; flex-wrap: wrap;
  background: #FAFAF8; border-bottom: 1px solid #F0EDE8;
}
.cs-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 8px; font-size: 13px; font-weight: 500;
  text-decoration: none; border: 1px solid #E4E1DC; background: #fff; color: #333;
  transition: all 0.2s;
}
.cs-link:hover { border-color: var(--primary); color: var(--primary); background: rgba(13,148,136,0.04); }
.cs-link i { font-size: 13px; }

/* ── Screenshots ── */
.cs-screenshots {
  padding: 32px 44px; display: grid; grid-template-columns: 1fr 1fr;
  gap: 18px; border-bottom: 1px solid #F0EDE8;
}
.cs-shot-wrap { display: flex; flex-direction: column; gap: 7px; }
.cs-shot-label { font-size: 10px; color: #BBB; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; }
.cs-browser-frame { border: 1px solid #E8E4DF; border-radius: 10px; overflow: hidden; box-shadow: 0 3px 16px rgba(0,0,0,0.05); }
.cs-browser-bar {
  background: #F7F5F2; border-bottom: 1px solid #EEEAE5;
  padding: 8px 12px; display: flex; align-items: center; gap: 9px;
}
.cs-b-dots { display: flex; gap: 4px; }
.cs-b-dots span { width: 8px; height: 8px; border-radius: 50%; }
.cs-b-dots span:nth-child(1) { background: #FF6159; }
.cs-b-dots span:nth-child(2) { background: #FEBC2E; }
.cs-b-dots span:nth-child(3) { background: #2AC840; }
.cs-b-url {
  flex: 1; background: #EEEAE5; border-radius: 4px;
  padding: 3px 9px; font-size: 11px; color: #999;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cs-shot-img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top; }
.cs-shot-placeholder {
  width: 100%; aspect-ratio: 16/10;
  background: linear-gradient(135deg,#F7F5F2,#EEF2F0);
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 8px; color: #AAA; font-size: 12px;
}
.cs-shot-placeholder i { font-size: 28px; opacity: 0.35; }
.cs-shot-placeholder--add {
  border: 2px dashed #D1E8E4;
  background: linear-gradient(135deg,#F0FAF8,#F7FFFE);
  color: #0D9488; opacity: 0.75;
}

/* ── Tech Stack ── */
.cs-tech-row {
  padding: 24px 44px; display: flex; align-items: center;
  gap: 14px; flex-wrap: wrap; border-bottom: 1px solid #F0EDE8;
}
.cs-tech-heading { font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: #CCC; flex-shrink: 0; }
.cs-tech-tags { display: flex; gap: 7px; flex-wrap: wrap; }
.cs-tech-tag { font-size: 12px; color: #444; background: #F5F3F0; border: 1px solid #ECEAE6; padding: 5px 13px; border-radius: 100px; }

/* ── Quote ── */
.cs-quote-block {
  padding: 28px 44px; border-bottom: 1px solid #F0EDE8;
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center;
}
.cs-quote-en {
  padding-left: 18px; border-left: 3px solid #DDD8D0;
  font-size: 13.5px; line-height: 1.8; color: #888; font-weight: 300; font-style: italic;
}
.cs-quote-ar {
  padding-right: 18px; border-right: 3px solid #DDD8D0;
  font-family: 'Cairo','Amiri',sans-serif; font-size: 15px;
  line-height: 2; color: #888; direction: rtl; text-align: right;
}

/* ── Footer ── */
.cs-footer {
  padding: 20px 44px; background: #FAFAF8;
  display: flex; align-items: center; justify-content: space-between;
}
.cs-footer-brand { display: flex; align-items: center; gap: 10px; }
.cs-footer-icon { width: 28px; height: 28px; background: var(--primary); border-radius: 7px; display: flex; align-items: center; justify-content: center; }
.cs-footer-icon i { color: #fff; font-size: 12px; }
.cs-footer-name { font-size: 13px; font-weight: 500; color: #222; }
.cs-footer-sub  { font-size: 10px; color: #BBB; margin-top: 1px; }
.cs-footer-url  { font-size: 12px; color: #AAA; text-decoration: none; display: flex; align-items: center; gap: 5px; transition: color 0.2s; }
.cs-footer-url:hover { color: var(--primary); }

/* ── RTL card ── */
.cs-card[dir="rtl"] .cs-hero         { grid-template-columns: 160px 1fr; }
.cs-card[dir="rtl"] .cs-hero-left    { order: 2; }
.cs-card[dir="rtl"] .cs-hero-right   { order: 1; }
.cs-card[dir="rtl"] .cs-cat-pill     { direction: rtl; }
.cs-card[dir="rtl"] .cs-desc-en      { direction: rtl; text-align: right; }
.cs-card[dir="rtl"] .cs-links-row    { direction: rtl; }
.cs-card[dir="rtl"] .cs-quote-en     { padding-left: 0; border-left: none; padding-right: 18px; border-right: 3px solid #DDD8D0; }
.cs-card[dir="rtl"] .cs-quote-ar     { padding-right: 0; border-right: none; padding-left: 18px; border-left: 3px solid #DDD8D0; }
.cs-card[dir="rtl"] .cs-tech-row     { direction: rtl; }
.cs-card[dir="rtl"] .cs-footer       { flex-direction: row-reverse; }

/* ── Responsive ── */
@media (max-width: 700px) {
  .proj-modal-backdrop { padding: 16px 12px 40px; }
  .cs-hero { grid-template-columns: 1fr; }
  .cs-hero-right { order: 3; border-top: 1px solid #F0EDE8; padding-top: 20px; }
  .cs-screenshots { grid-template-columns: 1fr; }
  .cs-quote-block { grid-template-columns: 1fr; }
  .cs-top-band, .cs-hero, .cs-links-row, .cs-screenshots,
  .cs-tech-row, .cs-quote-block, .cs-footer { padding-left: 20px; padding-right: 20px; }
}
