/* ===== BarafuCool — Ice Theme — OpenFloat Limited ===== */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:       #0ea5e9;
  --primary-dark:  #0284c7;
  --primary-light: #e0f2fe;
  --primary-dim:   rgba(14,165,233,0.12);
  --accent:        #f97316;
  --accent-light:  #fff7ed;
  --danger:        #ef4444;
  --success:       #22c55e;
  --warning:       #f59e0b;
  --purple:        #8b5cf6;
  --bg:            #f0f9ff;
  --bg-alt:        #e0f2fe;
  --surface:       #ffffff;
  --border:        #bae6fd;
  --border-dark:   #7dd3fc;
  --text:          #0f172a;
  --text-med:      #334155;
  --muted:         #64748b;
  --shadow:        0 2px 12px rgba(14,165,233,0.10);
  --shadow-md:     0 4px 20px rgba(14,165,233,0.14);
  --shadow-lg:     0 8px 40px rgba(14,165,233,0.18);
  --radius:        12px;
  --radius-lg:     18px;
  --radius-sm:     8px;
  --transition:    0.25s ease;
  --font-head:     'Space Grotesk', system-ui, sans-serif;
  --font-body:     'Inter', system-ui, sans-serif;
  --font-mono:     'JetBrains Mono', monospace;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp   { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:none; } }
@keyframes fadeInDown { from { opacity:0; transform:translateY(-20px); } to { opacity:1; transform:none; } }
@keyframes fadeInLeft { from { opacity:0; transform:translateX(-30px); } to { opacity:1; transform:none; } }
@keyframes fadeInRight{ from { opacity:0; transform:translateX(30px); } to { opacity:1; transform:none; } }
@keyframes float      { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }
@keyframes shimmer    { 0%{background-position:-400px 0} 100%{background-position:400px 0} }
@keyframes pulse-ring { 0%{transform:scale(.9);opacity:1} 100%{transform:scale(1.8);opacity:0} }
@keyframes marquee    { from{transform:translateX(0)} to{transform:translateX(-50%)} }
@keyframes blink      { 0%,100%{opacity:1} 50%{opacity:0} }
@keyframes gradient-shift { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }

.reveal         { opacity:0; transform:translateY(28px); transition:opacity .65s ease,transform .65s ease; }
.reveal.visible { opacity:1; transform:none; }
.reveal-left    { opacity:0; transform:translateX(-28px); transition:opacity .65s ease,transform .65s ease; }
.reveal-right   { opacity:0; transform:translateX(28px);  transition:opacity .65s ease,transform .65s ease; }
.reveal-left.visible, .reveal-right.visible { opacity:1; transform:none; }
.delay-1{transition-delay:.1s} .delay-2{transition-delay:.2s} .delay-3{transition-delay:.3s}
.delay-4{transition-delay:.4s} .delay-5{transition-delay:.5s} .delay-6{transition-delay:.6s}

/* ============================================================
   PRELOADER
   ============================================================ */
#preloader {
  position: fixed; inset: 0;
  background: #fff;
  z-index: 99999;
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 28px;
  transition: opacity .5s, visibility .5s;
}
#preloader.fade-out { opacity: 0; visibility: hidden; }
.preloader-logo img { height: 90px; width: auto; animation: float 2s ease-in-out infinite; }
.preloader-bar { width: 240px; height: 4px; background: var(--border); border-radius: 99px; overflow: hidden; }
.preloader-fill { height: 100%; background: linear-gradient(90deg,var(--primary),var(--accent)); border-radius:99px; animation: preload 2.4s ease forwards; }
@keyframes preload { 0%{width:0%} 60%{width:75%} 100%{width:100%} }
.preloader-text { font-family:var(--font-mono); font-size:12px; color:var(--primary); letter-spacing:3px; animation:blink 1s ease infinite; }

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  background: var(--primary-dark);
  color: #fff;
  font-size: 0.78rem;
  padding: 6px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar a { color: #bae6fd; transition: color var(--transition); }
.topbar a:hover { color: #fff; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar-item { display: flex; align-items: center; gap: 5px; }

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  background: var(--surface);
  border-bottom: 2px solid var(--border);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 7px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
  letter-spacing: -0.5px;
  display: flex; align-items: center; gap: 8px;
}
.brand img { height: 62px; width: auto; }
.brand span { color: var(--primary-dark); font-size: 1.1rem; font-weight: 800; }

.btn-icon {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: var(--radius-sm);
  font-size: 0.88rem; font-weight: 600;
  border: none; cursor: pointer; transition: all .2s; white-space: nowrap;
}
.btn-icon.ghost { background: transparent; color: var(--muted); }
.btn-icon.ghost:hover { background: var(--primary-light); color: var(--primary); }
.btn-icon.primary { background: var(--primary); color: #fff; }
.btn-icon.primary:hover { background: var(--primary-dark); }
.btn-icon.outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-icon.outline:hover { background: var(--primary); color: #fff; }

/* ============================================================
   SITE NAV
   ============================================================ */
.site-nav { background: var(--primary); }
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
}
.nav-inner::-webkit-scrollbar { display: none; }
.nav-inner a {
  color: #e0f2fe;
  padding: 9px 13px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all .2s;
  display: inline-block;
}
.nav-inner a:hover, .nav-inner a.active { color: #fff; border-bottom-color: #fff; }

/* hamburger — lives in the white header so must use primary colours */
.nav-mobile-toggle {
  display: none;
  background: var(--primary-light);
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  color: var(--primary);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  transition: background .2s, color .2s;
}
.nav-mobile-toggle:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 20px; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 600; border: none; cursor: pointer; transition: all .2s;
}
.btn-sm  { padding: 7px 14px; font-size: 0.82rem; }
.btn-lg  { padding: 13px 28px; font-size: 1rem; }
.btn-xl  { padding: 15px 36px; font-size: 1.05rem; border-radius: var(--radius); }
.btn-full{ width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.btn-primary   { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(14,165,233,0.35); }
.btn-outline   { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-1px); }
.btn-accent    { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #ea6a00; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(249,115,22,0.35); }
.btn-ghost     { background: transparent; color: var(--muted); }
.btn-ghost:hover { background: var(--primary-light); color: var(--primary); }
.btn-white     { background: #fff; color: var(--primary-dark); border: 2px solid var(--border); }
.btn-white:hover { border-color: var(--primary); color: var(--primary); }
.btn-danger    { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #dc2626; }
.btn-success   { background: var(--success); color: #fff; }
.btn-success:hover { background: #16a34a; }

/* ============================================================
   BADGES / STATUS
   ============================================================ */
.badge {
  display: inline-block; padding: 3px 11px; border-radius: 50px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.3px;
}
.badge-primary  { background: var(--primary-light); color: var(--primary-dark); }
.badge-accent   { background: var(--accent-light); color: #c2410c; }
.badge-success  { background: #dcfce7; color: #15803d; }
.badge-danger   { background: #fee2e2; color: #b91c1c; }
.badge-warning  { background: #fef9c3; color: #92400e; }
.badge-purple   { background: #ede9fe; color: #7c3aed; }
.badge-gray     { background: #f1f5f9; color: var(--muted); }

/* ============================================================
   ALERT FLASH MESSAGES
   ============================================================ */
.alert {
  padding: 12px 18px; border-radius: var(--radius-sm);
  font-weight: 500; font-size: 0.92rem;
  display: flex; align-items: center; gap: 8px;
}
.alert-success { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.alert-error   { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }
.alert-info    { background: var(--primary-light); color: var(--primary-dark); border: 1px solid var(--border); }
.alert-warning { background: #fef9c3; color: #92400e; border: 1px solid #fde68a; }

/* ============================================================
   SECTION LAYOUT
   ============================================================ */
main { flex: 1; }
.container { max-width: 1280px; margin: 0 auto; padding: 24px; }
section { position: relative; overflow: hidden; }
.section-py    { padding: 80px 0; }
.section-py-sm { padding: 56px 0; }
.bg-white   { background: var(--surface); }
.bg-alt     { background: var(--bg); }
.bg-primary { background: var(--primary); }
.bg-dark    { background: var(--primary-dark); }

.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 36px; gap: 16px; flex-wrap: wrap;
}
.section-header-center { text-align: center; flex-direction: column; align-items: center; }

.section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--primary); background: var(--primary-light);
  border: 1px solid var(--border); padding: 5px 14px; border-radius: 99px;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 800; line-height: 1.15; color: var(--text); margin-bottom: 14px;
  position: relative; padding-left: 16px;
}
.section-title::before {
  content: ''; position: absolute;
  left: 0; top: .1em; bottom: .1em;
  width: 4px; background: var(--primary); border-radius: 4px;
}
.section-title.centered { padding-left: 0; text-align: center; }
.section-title.centered::before { display: none; }
.section-subtitle {
  font-size: 1rem; color: var(--muted); max-width: 600px;
  line-height: 1.75; margin-bottom: 0;
}
.section-subtitle.centered { margin: 0 auto; text-align: center; }

.accent-text { color: var(--primary); }
.orange-text { color: var(--accent); }

/* ============================================================
   HERO BANNER
   ============================================================ */
#hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, #38bdf8 100%);
  color: #fff;
  padding: 90px 24px 70px;
  overflow: hidden;
  position: relative;
}
#hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 60px 60px;
}
#hero-canvas { position:absolute; inset:0; pointer-events:none; opacity:.3; }

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative; z-index: 2;
}
.hero-badge-wrap {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(6px);
  padding: 6px 16px; border-radius: 99px;
  font-size: 0.76rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 22px;
  animation: fadeInDown .7s ease both;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #a5f3fc;
  position: relative;
}
.hero-dot::after {
  content: ''; position: absolute; inset: -3px;
  border-radius: 50%; background: rgba(165,243,252,.3);
  animation: pulse-ring 1.6s ease infinite;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 800; line-height: 1.08; margin-bottom: 24px;
  animation: fadeInUp .8s .15s ease both;
}
.hero-title .line2 {
  background: linear-gradient(90deg, #a5f3fc, #fff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-typed-wrap { display: inline; }
#typed-text { color: #a5f3fc; }
.typed-cursor { display:inline-block; width:2px; height:.9em; background:#a5f3fc; margin-left:2px; vertical-align:middle; animation:blink .7s ease infinite; }
.hero-desc {
  font-size: 1.05rem; opacity: .88; line-height: 1.78; max-width: 520px;
  margin-bottom: 36px;
  animation: fadeInUp .8s .3s ease both;
}
.hero-actions {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-bottom: 52px;
  animation: fadeInUp .8s .45s ease both;
}
.hero-actions .btn-primary { background: #fff; color: var(--primary-dark); }
.hero-actions .btn-primary:hover { background: #f0f9ff; box-shadow: 0 6px 24px rgba(0,0,0,.15); }
.hero-actions .btn-outline  { border-color: rgba(255,255,255,.5); color: #fff; }
.hero-actions .btn-outline:hover { background: rgba(255,255,255,.15); border-color: #fff; }
.hero-actions .btn-white    { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.3); }
.hero-actions .btn-white:hover { background: rgba(255,255,255,.22); }

.hero-stats {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 14px;
  animation: fadeInUp .8s .6s ease both;
}
.hero-stat {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius-sm);
  padding: 14px 10px; text-align: center;
  backdrop-filter: blur(6px);
}
.hero-stat-num { font-family:var(--font-head); font-size: 1.5rem; font-weight: 800; color: #fff; }
.hero-stat-label { font-size: 0.75rem; opacity: .75; margin-top: 3px; }

/* Hero visual card */
.hero-visual { animation: fadeInRight .9s .2s ease both; position: relative; }
.hero-card {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(16px);
  animation: float 6s ease-in-out infinite;
  box-shadow: 0 20px 60px rgba(0,0,0,.15);
}
.hero-card-header {
  display: flex; align-items: center; gap: 7px; margin-bottom: 18px;
  padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.15);
}
.hc-dot { width: 10px; height: 10px; border-radius: 50%; }
.hero-card-title { font-size: 11px; font-family:var(--font-mono); opacity:.6; margin-left: auto; }
.hero-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.hero-metric {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm); padding: 12px;
}
.hm-label { font-size: 10px; opacity: .65; text-transform: uppercase; letter-spacing: 1px; }
.hm-val   { font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; margin: 3px 0; }
.hm-change{ font-size: 11px; color: #a5f3fc; }
.hm-bar   { height: 3px; background: rgba(255,255,255,.15); border-radius:99px; margin-top: 7px; overflow:hidden; }
.hm-fill  { height: 100%; background: linear-gradient(90deg,#a5f3fc,#7dd3fc); border-radius:99px; }
.hero-ai-row {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-sm); padding: 12px;
  display: flex; align-items: center; gap: 12px;
}
.hero-ai-row span:first-child { font-size: 1.4rem; }
.hero-float-card {
  position: absolute;
  background: rgba(255,255,255,.95);
  border-radius: var(--radius);
  padding: 10px 16px;
  box-shadow: var(--shadow-lg);
  font-size: 12px; font-weight: 700; color: var(--text);
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}
.hero-float-card.c1 { top: -16px; right: -24px; animation: float 5s ease-in-out infinite; }
.hero-float-card.c2 { bottom: 30px; left: -40px; animation: float 6.5s ease-in-out infinite; }
.hfc-dot { width: 8px; height: 8px; border-radius: 50%; }

/* ============================================================
   CLIENTS MARQUEE BAR
   ============================================================ */
.clients-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0; overflow: hidden;
}
.clients-track {
  display: flex; gap: 52px;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.clients-track:hover { animation-play-state: paused; }
.client-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap;
  transition: color var(--transition);
}
.client-item:hover { color: var(--primary); }
.client-item i { font-size: 18px; }

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section { background: var(--primary); padding: 56px 0; }
.stats-grid    { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat-card {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  padding: 32px 20px; text-align: center;
  backdrop-filter: blur(6px);
  transition: var(--transition);
}
.stat-card:hover { background: rgba(255,255,255,.2); transform: translateY(-4px); }
.stat-icon  { font-size: 2rem; margin-bottom: 10px; color: #e0f2fe; display: block; }
.stat-num   { font-family:var(--font-head); font-size: 2.6rem; font-weight: 800; color: #fff; line-height:1; margin-bottom: 6px; }
.stat-num span { color: #a5f3fc; }
.stat-label { font-size: 0.88rem; color: rgba(255,255,255,.75); font-weight: 500; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
#about { background: var(--surface); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background: var(--bg);
}
.about-img-main img { width:100%; height:100%; object-fit:cover; }
.about-img-overlay { position:absolute; inset:0; background:linear-gradient(to top, rgba(14,165,233,.15) 0%, transparent 50%); pointer-events:none; }
.about-stat-badge {
  position: absolute; bottom: 18px; left: 18px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  box-shadow: var(--shadow-md);
}
.about-stat-badge .asb-num { font-family:var(--font-head); font-size: 1.8rem; font-weight: 800; color: var(--primary); }
.about-stat-badge .asb-label { font-size: 11px; color: var(--muted); }
.about-float-card {
  position: absolute; top: 16px; right: -20px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 20px; text-align: center;
  box-shadow: var(--shadow-md);
  animation: float 6s ease-in-out infinite;
}
.about-float-card .afc-num { font-family:var(--font-head); font-size: 1.6rem; font-weight: 800; color: var(--primary); }
.about-float-card .afc-label { font-size: 11px; color: var(--muted); }

.about-text .section-title { padding-left: 0; }
.about-text .section-title::before { display: none; }
.about-text p { color: var(--muted); line-height: 1.8; margin-bottom: 14px; }

.value-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }
.value-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.88rem; font-weight: 600; color: var(--text-med);
  padding: 9px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.value-item i { color: var(--primary); flex-shrink: 0; }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.mv-card {
  padding: 18px;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  background: var(--bg);
  position: relative; overflow: hidden;
}
.mv-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.mv-card.mission::before { background: var(--primary); }
.mv-card.vision::before  { background: var(--accent); }
.mv-card h4 { font-size: 0.82rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; color: var(--text); }
.mv-card p  { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

/* ============================================================
   SERVICES SECTION
   ============================================================ */
#services { background: var(--bg); }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  transition: all .25s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), #38bdf8);
  transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon-wrap {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 20px; flex-shrink: 0;
}
.service-icon-wrap.blue   { background: var(--primary-light); color: var(--primary); }
.service-icon-wrap.teal   { background: #e0fdf4; color: #0d9488; }
.service-icon-wrap.purple { background: #ede9fe; color: #7c3aed; }
.service-icon-wrap.red    { background: #fee2e2; color: #dc2626; }
.service-icon-wrap.orange { background: var(--accent-light); color: var(--accent); }
.service-icon-wrap.green  { background: #dcfce7; color: #15803d; }
.service-card h3 { font-family:var(--font-head); font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.service-card p  { font-size: 0.88rem; color: var(--muted); line-height: 1.7; margin-bottom: 18px; }
.service-list    { display: flex; flex-direction: column; gap: 7px; }
.service-list li {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.84rem; color: var(--text-med);
}
.service-list li::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--primary); flex-shrink: 0;
}
.service-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.84rem; font-weight: 700; color: var(--primary);
  margin-top: 18px; transition: gap .25s;
}
.service-link:hover { gap: 10px; }

/* ============================================================
   PAYMENT INTEGRATION SECTION
   ============================================================ */
.payment-section { background: var(--surface); padding: 72px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.payment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.payment-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.payment-badge {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  background: var(--bg);
  font-size: 0.88rem; font-weight: 700;
  transition: var(--transition);
  cursor: default;
}
.payment-badge:hover { border-color: var(--primary); background: var(--primary-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.payment-badge .pb-icon { font-size: 20px; }
.payment-badge .pb-name { font-size: 14px; font-weight: 700; color: var(--text); }
.payment-badge .pb-sub  { font-size: 11px; color: var(--muted); }

.pf-list { display: flex; flex-direction: column; gap: 14px; }
.pf-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--bg);
  transition: var(--transition);
}
.pf-item:hover { border-color: var(--primary); background: var(--primary-light); transform: translateX(4px); }
.pf-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 10px; background: var(--primary-light);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--primary);
}
.pf-text h4 { font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.pf-text p  { font-size: 13px; color: var(--muted); }

/* ============================================================
   PRODUCTS SECTION
   ============================================================ */
#products { background: var(--bg); }
.products-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-preview {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--primary-light), #e0f2fe);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.product-mockup-screen {
  width: 80%; background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px; padding: 10px;
  box-shadow: var(--shadow);
  font-family: var(--font-mono); font-size: 10px;
}
.ps-dots { display:flex; gap:4px; margin-bottom:8px; }
.ps-d    { width:8px; height:8px; border-radius:50%; }
.ps-row  { height:6px; border-radius:3px; margin-bottom:4px; background:var(--border); }
.ps-row.accent { background: var(--primary); opacity:.5; }
.product-cat-tag {
  position: absolute; top: 10px; left: 10px;
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  background: var(--primary); color: #fff;
  padding: 4px 10px; border-radius: 99px;
}
.product-body { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; }
.product-card h3 { font-family:var(--font-head); font-size: 1.02rem; font-weight: 700; margin-bottom: 8px; }
.product-card p  { font-size: 0.84rem; color: var(--muted); line-height: 1.65; margin-bottom: 14px; flex: 1; }
.product-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.product-tag { font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 99px; background: var(--bg); border: 1px solid var(--border); color: var(--muted); }
.product-actions { display: flex; gap: 8px; }

/* ============================================================
   INDUSTRIES SECTION
   ============================================================ */
#industries { background: var(--surface); }
.industries-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.industry-card {
  padding: 24px 18px; text-align: center;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  background: var(--bg);
  transition: all .25s; cursor: default;
}
.industry-card:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.industry-icon { font-size: 2.4rem; margin-bottom: 12px; display: block; transition: transform .3s; }
.industry-card:hover .industry-icon { transform: scale(1.18); }
.industry-card h4 { font-size: 0.92rem; font-weight: 700; margin-bottom: 4px; }
.industry-card p  { font-size: 0.78rem; color: var(--muted); }

/* ============================================================
   TECHNOLOGIES SECTION
   ============================================================ */
#technologies { background: var(--bg); }
.tech-category { margin-bottom: 40px; }
.tech-cat-title {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 3px;
  text-transform: uppercase; color: var(--muted);
  padding-bottom: 12px; margin-bottom: 16px;
  border-bottom: 2px solid var(--border);
}
.tech-row { display: flex; flex-wrap: wrap; gap: 12px; }
.tech-item {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: var(--radius-sm);
  border: 2px solid var(--border); background: var(--surface);
  font-size: 0.88rem; font-weight: 600; color: var(--text);
  transition: all .2s; cursor: default;
}
.tech-item:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  color: var(--primary-dark);
}
.tech-item i { font-size: 1.2rem; }

/* ============================================================
   PORTFOLIO SECTION
   ============================================================ */
#portfolio { background: var(--surface); }
.portfolio-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-btn {
  padding: 7px 18px; border-radius: 99px; font-size: 0.85rem; font-weight: 600;
  border: 2px solid var(--border); background: var(--surface); color: var(--muted);
  transition: all .2s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--primary); border-color: var(--primary); color: #fff;
}
.portfolio-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.portfolio-card {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); background: var(--surface);
  box-shadow: var(--shadow); transition: all .25s; cursor: pointer;
}
.portfolio-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.portfolio-img { aspect-ratio: 16/10; position: relative; overflow: hidden; background: var(--bg); }
.portfolio-img img { width:100%; height:100%; object-fit:cover; transition: transform .55s; opacity:.85; }
.portfolio-card:hover .portfolio-img img { transform: scale(1.07); opacity: 1; }
.portfolio-overlay {
  position: absolute; inset: 0;
  background: rgba(14,165,233,.08);
  opacity: 0; transition: opacity .3s;
  display: flex; align-items: center; justify-content: center;
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-view-btn {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--primary); color: #fff; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transform: scale(0); transition: transform .35s .05s;
}
.portfolio-card:hover .portfolio-view-btn { transform: scale(1); }
.portfolio-body { padding: 18px 20px; }
.portfolio-cat  { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--primary); margin-bottom: 6px; }
.portfolio-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 5px; }
.portfolio-card p  { font-size: 0.82rem; color: var(--muted); }

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
#testimonials { background: var(--bg); }
.testimonials-slider { overflow: hidden; }
.testimonials-track { display: flex; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.testimonial-slide { min-width: 100%; padding: 0 32px; }
.testimonial-card {
  max-width: 760px; margin: 0 auto; text-align: center;
  padding: 48px 52px;
  background: var(--surface); border: 2px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  position: relative;
}
.testimonial-card::before {
  content: '\201C'; position: absolute; top: 16px; left: 32px;
  font-size: 100px; color: var(--primary-light);
  font-family: Georgia, serif; line-height: 1;
  opacity: .7;
}
.testimonial-stars { display: flex; justify-content: center; gap: 3px; color: var(--warning); font-size: 1rem; margin-bottom: 20px; }
.testimonial-text  { font-size: 1.05rem; color: var(--muted); line-height: 1.78; font-style: italic; margin-bottom: 28px; }
.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 14px; }
.testimonial-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  border: 2px solid var(--primary); background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 1.1rem; font-weight: 800; color: var(--primary);
}
.testimonial-name { font-weight: 800; font-size: 1rem; }
.testimonial-role { font-size: 0.82rem; color: var(--muted); }
.t-dots { display: flex; justify-content: center; gap: 7px; margin-top: 32px; }
.t-dot { width: 8px; height: 8px; border-radius: 99px; background: var(--border); transition: width .3s, background .3s; cursor: pointer; }
.t-dot.active { width: 22px; background: var(--primary); }

/* ============================================================
   BLOG SECTION
   ============================================================ */
#blog { background: var(--surface); }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.blog-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all .25s;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.blog-img { aspect-ratio: 16/9; overflow: hidden; background: var(--bg); position: relative; }
.blog-img img { width:100%; height:100%; object-fit:cover; transition: transform .55s; }
.blog-card:hover .blog-img img { transform: scale(1.06); }
.blog-cat-tag {
  position: absolute; top: 12px; left: 12px;
  font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  background: var(--primary); color: #fff; padding: 4px 12px; border-radius: 99px;
}
.blog-body { padding: 22px; }
.blog-meta { display: flex; align-items: center; gap: 10px; font-size: 0.78rem; color: var(--muted); margin-bottom: 10px; }
.blog-card h3 { font-family:var(--font-head); font-size: 1rem; font-weight: 700; margin-bottom: 8px; line-height: 1.35; }
.blog-card p  { font-size: 0.84rem; color: var(--muted); line-height: 1.65; margin-bottom: 16px; }
.blog-read-more { display: inline-flex; align-items: center; gap: 5px; font-size: 0.84rem; font-weight: 700; color: var(--primary); transition: gap .25s; }
.blog-card:hover .blog-read-more { gap: 9px; }

/* ============================================================
   FAQ SECTION
   ============================================================ */
#faq { background: var(--bg); }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { border: 2px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; transition: border-color .3s; }
.faq-item.active { border-color: var(--primary); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; font-size: 0.95rem; font-weight: 700;
  text-align: left; color: var(--text); background: var(--surface); transition: background .25s;
}
.faq-question:hover, .faq-item.active .faq-question { background: var(--primary-light); color: var(--primary-dark); }
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); flex-shrink: 0; font-size: 13px;
  transition: transform .4s, background .3s;
}
.faq-item.active .faq-icon { transform: rotate(45deg); background: var(--primary); color: #fff; border-color: var(--primary); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .3s; background: var(--primary-light); }
.faq-answer.open { max-height: 400px; padding: 0 22px 18px; }
.faq-answer p { font-size: 0.9rem; color: var(--text-med); line-height: 1.78; padding-top: 10px; }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
#contact { background: var(--surface); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; align-items: start; }
.contact-info h3 { font-family:var(--font-head); font-size: 1.6rem; font-weight: 800; margin-bottom: 12px; }
.contact-info > p { color: var(--muted); line-height: 1.75; margin-bottom: 28px; }
.contact-cards { display: flex; flex-direction: column; gap: 12px; }
.contact-card {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 18px; border-radius: var(--radius);
  border: 2px solid var(--border); background: var(--bg);
  transition: all .25s;
}
.contact-card:hover { border-color: var(--primary); background: var(--primary-light); transform: translateX(4px); }
.contact-card-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.cci-blue   { background: var(--primary-light); color: var(--primary); }
.cci-green  { background: #dcfce7; color: #15803d; }
.cci-purple { background: #ede9fe; color: #7c3aed; }
.cci-wa     { background: #dcfce7; color: #16a34a; }
.contact-card h4 { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 3px; }
.contact-card a, .contact-card p { font-size: 0.95rem; color: var(--text); }
.contact-card a:hover { color: var(--primary); }

.contact-social { display: flex; gap: 10px; margin-top: 24px; }
.social-btn {
  width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid var(--border); background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: var(--muted); transition: all .2s;
}
.social-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); transform: translateY(-2px); }

.contact-form-wrap {
  background: var(--bg); border: 2px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px;
  box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.contact-form-wrap::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.form-row    { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group  { margin-bottom: 14px; }
.form-group label {
  display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: .5px;
  text-transform: uppercase; color: var(--text-med); margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 15px;
  border: 2px solid var(--border); border-radius: var(--radius-sm);
  font-size: 0.92rem; color: var(--text); background: var(--surface);
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #94a3b8; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14,165,233,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer { background: var(--primary-dark); color: #bae6fd; margin-top: auto; }
.footer-main {
  max-width: 1280px; margin: 0 auto;
  padding: 56px 24px 28px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px;
}
.footer-brand { font-family:var(--font-head); font-size: 1.3rem; font-weight: 800; color: #fff; margin-bottom: 10px; display:flex; align-items:center; gap:10px; }
.footer-brand img { height: 55px; width: auto; filter: brightness(0) invert(1) opacity(.9); }
.footer-desc { font-size: 0.84rem; line-height: 1.65; margin-bottom: 20px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: #bae6fd; font-size: 14px; transition: all .2s;
}
.footer-social a:hover { background: rgba(255,255,255,.2); color: #fff; transform: translateY(-2px); }
.footer-col-title { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; color: #fff; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { color: #bae6fd; font-size: 0.88rem; transition: color .2s; display: flex; align-items: center; gap: 5px; }
.footer-links a::before { content: '›'; color: #38bdf8; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-newsletter { margin-top: 22px; }
.footer-newsletter h6 { font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 10px; }
.newsletter-form { display: flex; gap: 6px; }
.newsletter-form input {
  flex: 1; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-sm); padding: 9px 14px;
  color: #fff; font-size: 0.85rem; outline: none; transition: border-color .2s;
}
.newsletter-form input:focus { border-color: rgba(255,255,255,.5); }
.newsletter-form input::placeholder { color: rgba(255,255,255,.35); }
.newsletter-form button {
  background: var(--accent); color: #fff; border: none; border-radius: var(--radius-sm);
  padding: 9px 16px; font-size: 14px; transition: var(--transition);
}
.newsletter-form button:hover { background: #ea6a00; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  max-width: 1280px; margin: 0 auto; padding: 18px 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem; flex-wrap: wrap; gap: 8px;
}
.footer-bottom-links { display: flex; gap: 18px; }
.footer-bottom-links a { color: #bae6fd; transition: color .2s; }
.footer-bottom-links a:hover { color: #fff; }

/* ============================================================
   FLOATING BUTTONS
   ============================================================ */
.floating-btns {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  display: flex; flex-direction: column; gap: 10px; align-items: flex-end;
}
.fab {
  width: 50px; height: 50px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; box-shadow: var(--shadow-lg); transition: all .2s; position: relative;
}
.fab:hover { transform: scale(1.1); }
.fab-wa   { background: #25d366; color: #fff; }
.fab-wa:hover { box-shadow: 0 6px 28px rgba(37,211,102,.45); }
.fab-chat { background: var(--primary); color: #fff; }
.fab-chat:hover { background: var(--primary-dark); box-shadow: 0 6px 28px rgba(14,165,233,.45); }
.fab-top  { background: var(--surface); border: 2px solid var(--border); color: var(--primary); opacity:0; pointer-events:none; transition: opacity .3s, transform .3s; }
.fab-top.show { opacity:1; pointer-events:all; }
.fab-top:hover { background: var(--primary-light); }
.fab-tooltip {
  position: absolute; right: 58px;
  background: var(--text); color: #fff;
  padding: 5px 12px; border-radius: 99px;
  font-size: 11px; font-weight: 600; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.fab:hover .fab-tooltip { opacity: 1; }

/* Chatbot Panel */
.chatbot-panel {
  position: fixed; right: 82px; bottom: 22px; z-index: 901;
  width: 330px; max-height: 460px;
  background: var(--surface); border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; overflow: hidden;
  transform: translateY(16px) scale(.95);
  opacity: 0; pointer-events: none;
  transition: transform .35s ease, opacity .35s ease;
}
.chatbot-panel.open { transform: none; opacity: 1; pointer-events: all; }
.chat-header {
  padding: 14px 18px;
  background: var(--primary);
  display: flex; align-items: center; gap: 10px;
  color: #fff;
}
.chat-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.chat-header h4 { font-size: 14px; font-weight: 700; color: #fff; }
.chat-header span { font-size: 11px; color: #bae6fd; }
.chat-close { margin-left: auto; color: rgba(255,255,255,.75); font-size: 16px; cursor: pointer; transition: color .2s; }
.chat-close:hover { color: #fff; }
.chat-messages { flex:1; overflow-y:auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.chat-msg { max-width: 85%; padding: 9px 13px; border-radius: 12px; font-size: 13px; line-height: 1.55; }
.chat-msg.bot  { background: var(--primary-light); border: 1px solid var(--border); align-self: flex-start; color: var(--text); }
.chat-msg.user { background: var(--primary); color: #fff; align-self: flex-end; }
.chat-input-row { padding: 10px 14px; border-top: 1px solid var(--border); display: flex; gap: 8px; background: var(--bg); }
.chat-input {
  flex: 1; background: var(--surface); border: 2px solid var(--border);
  border-radius: 99px; padding: 7px 14px; font-size: 13px; color: var(--text); outline: none;
  transition: border-color .2s;
}
.chat-input:focus { border-color: var(--primary); }
.chat-send {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--primary); color: #fff; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.chat-send:hover { background: var(--primary-dark); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner       { grid-template-columns: 1fr; }
  .hero-visual      { display: none; }
  .about-grid       { grid-template-columns: 1fr; }
  .about-img-wrap   { display: none; }
  .services-grid    { grid-template-columns: repeat(2,1fr); }
  .products-grid    { grid-template-columns: repeat(2,1fr); }
  .industries-grid  { grid-template-columns: repeat(3,1fr); }
  .portfolio-grid   { grid-template-columns: repeat(2,1fr); }
  .blog-grid        { grid-template-columns: repeat(2,1fr); }
  .footer-main      { grid-template-columns: 1fr 1fr; }
  .contact-grid     { grid-template-columns: 1fr; }
  .stats-grid       { grid-template-columns: repeat(2,1fr); }
  .payment-grid     { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .topbar           { font-size: 0.72rem; }
  /* show hamburger, collapse nav bar */
  .nav-mobile-toggle{ display: flex; }
  .nav-inner {
    flex-direction: column; align-items: stretch;
    max-height: 0; overflow: hidden;
    transition: max-height .35s ease;
    padding: 0;
    gap: 0;
  }
  .nav-inner.open   { max-height: 700px; padding-bottom: 8px; }
  /* each link becomes a full-width row */
  .nav-inner > a {
    width: 100%; padding: 11px 20px;
    border-bottom: none; border-left: 3px solid transparent;
    font-size: 0.92rem;
  }
  .nav-inner > a:hover,
  .nav-inner > a.active { border-left-color: #fff; border-bottom-color: transparent; }
  /* page-level layout */
  .hero-stats       { grid-template-columns: repeat(2,1fr); }
  .hero-title       { font-size: 2rem; }
  .services-grid    { grid-template-columns: 1fr; }
  .products-grid    { grid-template-columns: 1fr; }
  .industries-grid  { grid-template-columns: repeat(2,1fr); }
  .portfolio-grid   { grid-template-columns: 1fr; }
  .blog-grid        { grid-template-columns: 1fr; }
  .footer-main      { grid-template-columns: 1fr; }
  .form-row         { grid-template-columns: 1fr; }
  .testimonial-card { padding: 28px 20px; }
  .mv-grid          { grid-template-columns: 1fr; }
  .hero-actions     { flex-direction: column; align-items: stretch; }
  .hero-actions .btn{ justify-content: center; }
  .chatbot-panel    { right: 12px; bottom: 80px; width: calc(100vw - 24px); }
  .floating-btns    { right: 14px; bottom: 14px; }
}
@media (max-width: 480px) {
  .industries-grid  { grid-template-columns: repeat(2,1fr); }
  .stats-grid       { grid-template-columns: repeat(2,1fr); }
  .tech-item        { font-size: 0.82rem; padding: 8px 12px; }
  #hero             { padding: 72px 20px 52px; }
}

/* ---- Products dropdown ---- */
.nav-item {
  position: relative;
  display: inline-flex;
  align-items: stretch;
}
.nav-item > a { padding: 9px 6px 9px 13px; }
.nav-drop-btn {
  background: none; border: none; color: #e0f2fe;
  padding: 9px 10px 9px 4px; cursor: pointer; font-size: 0.72rem;
  display: flex; align-items: center; transition: color .2s;
}
.nav-drop-btn:hover { color: #fff; }
.nav-drop-btn i { transition: transform .25s; }

/* Desktop: show on hover */
.nav-item:hover .nav-dropdown,
.nav-item.drop-open .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-item:hover .nav-drop-btn i { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute; top: 100%; left: 0;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  min-width: 210px; z-index: 300;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.nav-dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; color: var(--text); font-size: .83rem; font-weight: 500;
  border-bottom: 1px solid var(--border); width: 100%;
  transition: background .15s, color .15s;
}
.nav-dropdown a:last-child { border-bottom: none; }
.nav-dropdown a:hover { background: var(--bg); color: var(--primary); }
.nav-dropdown a i { width: 16px; color: var(--primary); flex-shrink: 0; font-size: .78rem; }

/* Products dropdown — mobile: inline expand */
@media (max-width: 768px) {
  .nav-item {
    display: flex; flex-direction: column; width: 100%;
    position: relative;
  }
  .nav-item > a {
    width: 100%; padding: 11px 20px; font-size: 0.92rem;
    border-bottom: none; border-left: 3px solid transparent;
  }
  .nav-item.is-current > a,
  .nav-item > a:hover { border-left-color: #fff; color: #fff; }
  .nav-drop-btn {
    position: absolute; right: 0; top: 0;
    padding: 11px 16px; font-size: 0.8rem;
  }
  .nav-dropdown {
    position: static;
    opacity: 1; visibility: hidden; transform: none;
    max-height: 0; overflow: hidden;
    transition: max-height .3s ease, visibility .3s;
    box-shadow: none; border: none; border-radius: 0;
    background: rgba(0,0,0,.12);
  }
  .nav-item.drop-open .nav-dropdown {
    visibility: visible; max-height: 400px;
  }
  .nav-dropdown a {
    color: #e0f2fe; border-bottom-color: rgba(255,255,255,.1);
    font-size: .85rem; padding: 10px 20px 10px 32px;
  }
  .nav-dropdown a:hover { background: rgba(255,255,255,.1); color: #fff; }
  .nav-dropdown a i { color: #bae6fd; }
}

/* ============================================================
   PAGE HERO (subpages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
  padding: 36px 0 28px;
  border-bottom: 3px solid rgba(255,255,255,.15);
}
.page-hero .breadcrumb {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.78rem; color: rgba(255,255,255,.7);
  margin-bottom: 10px; flex-wrap: wrap;
}
.page-hero .breadcrumb a { color: #bae6fd; }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .breadcrumb .sep { opacity: .5; }
.page-hero h1 { font-family: var(--font-head); font-size: clamp(1.8rem,3.5vw,2.8rem); font-weight: 800; margin-bottom: 8px; }
.page-hero p  { font-size: 1rem; opacity: .85; max-width: 560px; line-height: 1.6; }
.page-hero .ph-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.page-hero .btn-white-sm {
  background: rgba(255,255,255,.15); color: #fff;
  border: 1px solid rgba(255,255,255,.35); padding: 8px 20px;
  border-radius: 99px; font-size: 0.85rem; font-weight: 600;
  transition: background .2s;
}
.page-hero .btn-white-sm:hover { background: rgba(255,255,255,.25); }
.page-hero .btn-solid-sm {
  background: #fff; color: var(--primary-dark);
  padding: 8px 20px; border-radius: 99px;
  font-size: 0.85rem; font-weight: 700;
  transition: box-shadow .2s;
}
.page-hero .btn-solid-sm:hover { box-shadow: 0 4px 20px rgba(0,0,0,.15); }

/* ============================================================
   HOMEPAGE — Feature Cards (linking to subpages)
   ============================================================ */
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.feature-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  box-shadow: var(--shadow); transition: all .25s;
  display: flex; flex-direction: column;
  text-decoration: none; color: var(--text);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); color: var(--text); }
.feature-card:hover .fc-arrow { transform: translateX(4px); }
.fc-icon { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 18px; flex-shrink: 0; }
.fc-title { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.fc-desc  { font-size: 0.85rem; color: var(--muted); line-height: 1.65; flex: 1; margin-bottom: 16px; }
.fc-arrow { color: var(--primary); font-size: 0.85rem; font-weight: 700; transition: transform .25s; display: inline-flex; align-items: center; gap: 5px; }

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff; padding: 72px 0; text-align: center;
}
.cta-section h2 { font-family: var(--font-head); font-size: clamp(1.8rem,3vw,2.8rem); font-weight: 800; margin-bottom: 16px; }
.cta-section p  { font-size: 1.05rem; opacity: .88; margin-bottom: 32px; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-section .cta-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cta-section .btn-cta-white { background: #fff; color: var(--primary-dark); padding: 14px 32px; border-radius: var(--radius); font-size: 1rem; font-weight: 700; transition: all .2s; }
.cta-section .btn-cta-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.15); }
.cta-section .btn-cta-outline { border: 2px solid rgba(255,255,255,.5); color: #fff; padding: 14px 32px; border-radius: var(--radius); font-size: 1rem; font-weight: 700; transition: all .2s; }
.cta-section .btn-cta-outline:hover { background: rgba(255,255,255,.15); border-color: #fff; }

/* ============================================================
   SUBPAGE CONTENT HELPERS
   ============================================================ */
.page-content { padding: 60px 0; }
.page-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
}
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.detail-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.icon-box {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  padding: 20px; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--bg); transition: var(--transition);
  min-width: 0; overflow: hidden;
}
.icon-box:hover { border-color: var(--primary); background: var(--primary-light); }
.icon-box > div { min-width: 0; width: 100%; }
.ib-icon { width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.ib-icon.blue { background: var(--primary-light); color: var(--primary); }
.ib-icon.teal { background: #e0fdf4; color: #0d9488; }
.ib-icon.orange { background: var(--accent-light); color: var(--accent); }
.ib-icon.purple { background: #ede9fe; color: #7c3aed; }
.ib-icon.red { background: #fee2e2; color: #dc2626; }
.ib-icon.green { background: #dcfce7; color: #15803d; }
.ib-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.ib-desc  { font-size: 0.83rem; color: var(--muted); line-height: 1.6; }

.process-steps { display: flex; flex-direction: column; gap: 0; }
.process-step  { display: flex; gap: 20px; position: relative; padding-bottom: 32px; }
.process-step:last-child { padding-bottom: 0; }
.process-step::before {
  content: ''; position: absolute; left: 19px; top: 42px; bottom: 0;
  width: 2px; background: var(--border);
}
.process-step:last-child::before { display: none; }
.ps-num {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 0.9rem;
  position: relative; z-index: 1;
}
.ps-body h4 { font-size: 1rem; font-weight: 700; margin-bottom: 5px; }
.ps-body p  { font-size: 0.85rem; color: var(--muted); line-height: 1.65; }

@media (max-width: 768px) {
  .feature-grid   { grid-template-columns: 1fr; }
  .detail-grid    { grid-template-columns: 1fr; }
  .detail-grid-3  { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  .feature-grid   { grid-template-columns: repeat(2,1fr); }
  .detail-grid-3  { grid-template-columns: repeat(2,1fr); }
}

/* ===================================================
   PRODUCTS PAGE
   =================================================== */
.product-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.product-split.reverse { direction: rtl; }
.product-split.reverse > * { direction: ltr; }

.prod-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 28px;
}
.pf-check {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: var(--text-med); font-weight: 500;
}
.pf-check i { color: var(--success); flex-shrink: 0; }

.prod-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Mockup Screen */
.mockup-screen {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.ms-bar {
  background: var(--bg); padding: 10px 16px; display: flex; gap: 6px; align-items: center;
  border-bottom: 1px solid var(--border);
}
.ms-bar span {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--border-dark);
}
.ms-bar span:first-child  { background: #f87171; }
.ms-bar span:nth-child(2) { background: #fbbf24; }
.ms-bar span:nth-child(3) { background: #4ade80; }
.ms-body { padding: 20px; }
.ms-header {
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem;
  margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
}
.ms-badge {
  font-size: 0.72rem; padding: 2px 8px; border-radius: 20px;
  font-weight: 600;
}
.ms-badge.green  { background: #dcfce7; color: #16a34a; }
.ms-badge.blue   { background: #dbeafe; color: #2563eb; }
.ms-badge.teal   { background: #ccfbf1; color: #0d9488; }
.ms-badge.purple { background: #ede9fe; color: #7c3aed; }
.ms-badge.orange { background: #ffedd5; color: #ea580c; }
.ms-grid-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px;
}
.ms-card {
  background: var(--bg); border-radius: var(--radius-sm);
  padding: 12px; border: 1px solid var(--border);
}
.ms-val { font-family: var(--font-head); font-size: 1.2rem; font-weight: 800; }
.ms-lbl { font-size: 0.72rem; color: var(--muted); margin-top: 2px; }
.ms-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.ms-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 10px; background: var(--bg); border-radius: 6px;
  font-size: 0.82rem; border: 1px solid var(--border);
}
.ms-row .green  { color: var(--success); font-weight: 600; }
.ms-row .red    { color: var(--danger); font-weight: 600; }
.ms-row .blue   { color: var(--primary); font-weight: 600; }
.ms-row .orange { color: var(--accent); font-weight: 600; }
.ms-btn {
  background: var(--primary); color: #fff; text-align: center;
  padding: 10px; border-radius: var(--radius-sm); font-size: 0.85rem;
  font-weight: 600; cursor: pointer;
}
.ms-chat { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.ms-msg {
  max-width: 85%; padding: 8px 12px; border-radius: 12px;
  font-size: 0.82rem; line-height: 1.5;
}
.ms-msg.bot { background: var(--bg); border: 1px solid var(--border); align-self: flex-start; }
.ms-msg.user { background: var(--primary); color: #fff; align-self: flex-end; }

/* Pricing */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px;
}
.pricing-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 28px;
  text-align: center; position: relative; transition: all .25s;
}
.pricing-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.pricing-featured {
  border-color: var(--primary); box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; font-size: .72rem;
  font-weight: 700; padding: 4px 16px; border-radius: 20px;
}
.pc-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin: 0 auto 16px;
}
.pricing-card h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; }
.pc-desc { font-size: .85rem; color: var(--muted); margin-bottom: 20px; }
.pc-price { margin-bottom: 16px; }
.pc-prefix { font-size: 1rem; color: var(--muted); vertical-align: top; padding-top: 10px; display: inline-block; }
.pc-amount { font-family: var(--font-head); font-size: 2.2rem; font-weight: 900; color: var(--text); }
.pc-period { font-size: .8rem; color: var(--muted); }
.pc-features { font-size: .82rem; color: var(--muted); margin-bottom: 24px; line-height: 1.6; }

/* ===================================================
   INDUSTRIES PAGE
   =================================================== */
.industry-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 40px;
}
.industry-card {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 20px 12px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); text-align: center; transition: all .25s;
  text-decoration: none; color: var(--text);
}
.industry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.ind-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.ind-name { font-size: .82rem; font-weight: 700; }

.industry-detail {
  display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: start;
}
.industry-detail.reverse { grid-template-columns: 1fr auto; }
.industry-detail.reverse .ind-detail-icon { order: 2; }
.industry-detail.reverse .ind-detail-body { order: 1; }
.ind-detail-icon {
  width: 80px; height: 80px; border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; flex-shrink: 0; margin-top: 60px;
}
.ind-detail-body { flex: 1; }

/* ===================================================
   PORTFOLIO PAGE
   =================================================== */
.port-filter {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px;
  justify-content: center;
}
.pf-tab {
  padding: 7px 18px; border-radius: 20px; border: 1px solid var(--border);
  background: var(--surface); color: var(--muted); font-size: .83rem;
  font-weight: 600; cursor: pointer; transition: all .2s;
}
.pf-tab.active, .pf-tab:hover {
  background: var(--primary); color: #fff; border-color: var(--primary);
}

.port-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.port-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  transition: all .25s; display: flex; flex-direction: column;
}
.port-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--primary-dark); }
.port-card-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px;
}
.port-icon {
  width: 44px; height: 44px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.port-sector {
  font-size: .72rem; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: .04em;
}
.port-title { font-size: 1rem; font-weight: 800; margin-bottom: 10px; line-height: 1.4; }
.port-desc { font-size: .83rem; color: var(--muted); line-height: 1.6; margin-bottom: 14px; flex: 1; }
.port-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.port-tag {
  font-size: .72rem; padding: 3px 10px; border-radius: 20px;
  background: var(--primary-light); color: var(--primary-dark); font-weight: 600;
}
.port-stats { display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px; }
.port-stat { font-size: .78rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.port-stat i { color: var(--primary); width: 14px; }
.port-cta {
  font-size: .83rem; font-weight: 700; color: var(--primary);
  text-decoration: none; display: flex; align-items: center; gap: 6px;
  margin-top: auto;
}
.port-cta:hover { color: var(--primary-dark); }

/* ===================================================
   TECHNOLOGIES PAGE
   =================================================== */
.tech-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 32px;
}
.tech-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 18px;
  transition: all .25s; text-align: center;
}
.tech-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--primary); }
.tc-icon { font-size: 2.4rem; margin-bottom: 12px; }
.tc-name { font-family: var(--font-head); font-size: .95rem; font-weight: 800; margin-bottom: 6px; }
.tc-desc { font-size: .78rem; color: var(--muted); line-height: 1.55; }

/* ===================================================
   BLOG PAGE
   =================================================== */
.blog-featured-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 8px;
}
.blog-featured-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; transition: all .25s;
}
.blog-featured-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.bfc-img {
  height: 200px; background-size: cover; background-position: center;
  position: relative;
}
.bfc-cat {
  position: absolute; bottom: 12px; left: 14px;
  background: var(--primary); color: #fff;
  font-size: .72rem; font-weight: 700; padding: 4px 12px; border-radius: 20px;
}
.bfc-body { padding: 20px; }
.bfc-meta { display: flex; gap: 16px; margin-bottom: 10px; font-size: .78rem; color: var(--muted); }
.bfc-meta span { display: flex; align-items: center; gap: 5px; }
.bfc-body h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 10px; line-height: 1.4; }
.bfc-body p  { font-size: .83rem; color: var(--muted); line-height: 1.6; margin-bottom: 12px; }
.bfc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.bfc-tags span {
  font-size: .72rem; padding: 3px 10px; border-radius: 20px;
  background: var(--primary-light); color: var(--primary-dark); font-weight: 600;
}
.blog-read-more {
  font-size: .85rem; font-weight: 700; color: var(--primary);
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.blog-read-more:hover { color: var(--primary-dark); }

.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.blog-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; transition: all .25s;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--primary); }
.bc-cat-icon {
  width: 42px; height: 42px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; margin-bottom: 10px;
}
.bc-cat-label { font-size: .72rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.bc-title { font-size: .95rem; font-weight: 800; line-height: 1.4; margin-bottom: 8px; }
.bc-excerpt { font-size: .8rem; color: var(--muted); line-height: 1.55; margin-bottom: 10px; }
.bc-meta { display: flex; gap: 12px; font-size: .75rem; color: var(--muted); margin-bottom: 10px; }
.bc-meta span { display: flex; align-items: center; gap: 4px; }
.bc-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; }
.bc-tags span {
  font-size: .7rem; padding: 2px 8px; border-radius: 12px;
  background: var(--bg); color: var(--muted); border: 1px solid var(--border); font-weight: 600;
}

/* Newsletter section */
.newsletter-section {
  text-align: center; max-width: 560px; margin: 0 auto;
}
.nl-icon {
  width: 64px; height: 64px; background: var(--primary-light);
  border-radius: 16px; display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: var(--primary); margin: 0 auto 20px;
}
.newsletter-section h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 10px; }
.newsletter-section p  { color: var(--muted); margin-bottom: 24px; line-height: 1.7; }
.nl-form { display: flex; gap: 10px; max-width: 440px; margin: 0 auto; }
.nl-input {
  flex: 1; padding: 11px 16px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-size: .9rem; outline: none;
  background: var(--surface); transition: border-color .2s;
}
.nl-input:focus { border-color: var(--primary); }

/* ===================================================
   FAQ PAGE
   =================================================== */
.faq-cats {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px;
  padding-bottom: 20px; border-bottom: 1px solid var(--border);
}
.faq-cat-btn {
  padding: 7px 16px; border-radius: 20px; border: 1px solid var(--border);
  background: var(--surface); color: var(--muted); font-size: .82rem;
  font-weight: 600; text-decoration: none; transition: all .2s;
}
.faq-cat-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.faq-section { margin-bottom: 40px; }
.faq-cat-title {
  font-family: var(--font-head); font-size: 1.1rem; font-weight: 800;
  margin-bottom: 16px; display: flex; align-items: center; gap: 10px;
  color: var(--primary-dark);
}
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; background: none; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: .92rem; font-weight: 700;
  color: var(--text); text-align: left; gap: 12px;
}
.faq-q:hover { color: var(--primary); }
.faq-chevron { transition: transform .25s; flex-shrink: 0; color: var(--muted); }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .35s ease;
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p {
  padding: 0 20px 16px; font-size: .87rem; color: var(--muted);
  line-height: 1.75; border-top: 1px solid var(--border);
  padding-top: 14px;
}

.faq-contact-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px;
}
.faq-contact-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px 20px; text-align: center;
  transition: all .25s;
}
.faq-contact-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.fcc-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin: 0 auto 14px;
}
.faq-contact-card h4 { font-size: .95rem; font-weight: 800; margin-bottom: 8px; }
.faq-contact-card p  { font-size: .82rem; color: var(--muted); margin-bottom: 16px; line-height: 1.6; }

/* ===================================================
   CONTACT PAGE
   =================================================== */
.contact-cards-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 8px;
}
.contact-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px 20px; text-align: center;
  transition: all .25s; text-decoration: none; color: var(--text); display: block;
}
.contact-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--primary); }
.cc-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin: 0 auto 14px;
}
.contact-card h4 { font-size: 1rem; font-weight: 800; margin-bottom: 6px; }
.contact-card p  { font-size: .92rem; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.contact-card span { font-size: .78rem; color: var(--muted); }

.contact-main-grid {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start;
}

/* Contact Form */
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.cf-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-group { display: flex; flex-direction: column; gap: 6px; }
.cf-group label { font-size: .82rem; font-weight: 700; color: var(--text-med); }
.cf-group input,
.cf-group select,
.cf-group textarea {
  padding: 10px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-family: var(--font-body); font-size: .9rem;
  background: var(--surface); color: var(--text); outline: none;
  transition: border-color .2s;
}
.cf-group input:focus,
.cf-group select:focus,
.cf-group textarea:focus { border-color: var(--primary); }
.cf-group textarea { resize: vertical; }
.cf-check-group label { flex-direction: row; align-items: center; gap: 10px; cursor: pointer; }
.cf-checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: .82rem; color: var(--muted); cursor: pointer; }
.cf-checkbox input { margin-top: 2px; accent-color: var(--primary); }
.cf-submit { align-self: flex-start; }
.cf-result { padding: 12px 16px; border-radius: var(--radius-sm); font-size: .87rem; font-weight: 600; margin-top: 4px; }
.cf-result-success { background: #dcfce7; color: #15803d; border: 1px solid #86efac; }
.cf-result-error   { background: #fee2e2; color: #dc2626; border: 1px solid #fca5a5; }

/* Contact Info Panel */
.contact-info-panel { display: flex; flex-direction: column; gap: 28px; }
.cip-section { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.cip-section h4 {
  font-size: .9rem; font-weight: 800; margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px; color: var(--primary-dark);
}
.cip-list { display: flex; flex-direction: column; gap: 8px; }
.cip-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid var(--border); font-size: .83rem;
}
.cip-item:last-child { border-bottom: none; }
.cip-item strong { color: var(--primary); font-weight: 700; }
.cip-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.cip-badge {
  font-size: .75rem; padding: 4px 12px; border-radius: 20px;
  background: var(--primary-light); color: var(--primary-dark); font-weight: 600;
}

/* ===================================================
   COLOR UTILITY CLASSES (shared icon bg colors)
   =================================================== */
.ib-icon.blue   { background: #dbeafe; color: #2563eb; }
.ib-icon.teal   { background: #ccfbf1; color: #0d9488; }
.ib-icon.green  { background: #dcfce7; color: #16a34a; }
.ib-icon.orange { background: #ffedd5; color: #ea580c; }
.ib-icon.red    { background: #fee2e2; color: #dc2626; }
.ib-icon.purple { background: #ede9fe; color: #7c3aed; }

.pc-icon.blue   { background: #dbeafe; color: #2563eb; }
.pc-icon.teal   { background: #ccfbf1; color: #0d9488; }
.pc-icon.green  { background: #dcfce7; color: #16a34a; }
.pc-icon.orange { background: #ffedd5; color: #ea580c; }
.pc-icon.red    { background: #fee2e2; color: #dc2626; }
.pc-icon.purple { background: #ede9fe; color: #7c3aed; }

.ind-icon.blue   { background: #dbeafe; color: #2563eb; }
.ind-icon.teal   { background: #ccfbf1; color: #0d9488; }
.ind-icon.green  { background: #dcfce7; color: #16a34a; }
.ind-icon.orange { background: #ffedd5; color: #ea580c; }
.ind-icon.red    { background: #fee2e2; color: #dc2626; }
.ind-icon.purple { background: #ede9fe; color: #7c3aed; }

.ind-detail-icon.blue   { background: #dbeafe; color: #2563eb; }
.ind-detail-icon.teal   { background: #ccfbf1; color: #0d9488; }
.ind-detail-icon.green  { background: #dcfce7; color: #16a34a; }
.ind-detail-icon.orange { background: #ffedd5; color: #ea580c; }
.ind-detail-icon.red    { background: #fee2e2; color: #dc2626; }
.ind-detail-icon.purple { background: #ede9fe; color: #7c3aed; }

.port-icon.blue   { background: #dbeafe; color: #2563eb; }
.port-icon.teal   { background: #ccfbf1; color: #0d9488; }
.port-icon.green  { background: #dcfce7; color: #16a34a; }
.port-icon.orange { background: #ffedd5; color: #ea580c; }
.port-icon.red    { background: #fee2e2; color: #dc2626; }
.port-icon.purple { background: #ede9fe; color: #7c3aed; }

.bc-cat-icon.blue   { background: #dbeafe; color: #2563eb; }
.bc-cat-icon.teal   { background: #ccfbf1; color: #0d9488; }
.bc-cat-icon.green  { background: #dcfce7; color: #16a34a; }
.bc-cat-icon.orange { background: #ffedd5; color: #ea580c; }
.bc-cat-icon.red    { background: #fee2e2; color: #dc2626; }
.bc-cat-icon.purple { background: #ede9fe; color: #7c3aed; }

.cc-icon.blue   { background: #dbeafe; color: #2563eb; }
.cc-icon.teal   { background: #ccfbf1; color: #0d9488; }
.cc-icon.green  { background: #22c55e; color: #fff; }
.cc-icon.purple { background: #ede9fe; color: #7c3aed; }

.fcc-icon.blue   { background: #dbeafe; color: #2563eb; }
.fcc-icon.teal   { background: #ccfbf1; color: #0d9488; }
.fcc-icon.green  { background: #dcfce7; color: #16a34a; }
.fcc-icon.purple { background: #ede9fe; color: #7c3aed; }

/* ===================================================
   TESTIMONIALS — PORTFOLIO PAGE VARIANT
   =================================================== */
.testimonials-wrap { position: relative; overflow: hidden; }
.testimonials-track { display: flex; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.testi-slide { min-width: 100%; padding: 0 20px; }
.testi-card {
  max-width: 680px; margin: 0 auto; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 36px 40px; text-align: center;
}
.testi-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin: 0 auto 16px;
}
.testi-stars { color: #f59e0b; font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 16px; }
.testi-text  { font-size: 1rem; color: var(--muted); line-height: 1.75; font-style: italic; margin-bottom: 24px; }
.testi-author { display: flex; align-items: center; justify-content: center; gap: 14px; }
.ta-avatar {
  width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 1rem; font-weight: 800; color: #fff;
}
.ta-avatar.blue   { background: #2563eb; }
.ta-avatar.teal   { background: #0d9488; }
.ta-avatar.green  { background: #16a34a; }
.ta-avatar.orange { background: #ea580c; }
.ta-avatar.red    { background: #dc2626; }
.ta-avatar.purple { background: #7c3aed; }
.ta-name { font-weight: 800; font-size: .95rem; }
.ta-role { font-size: .78rem; color: var(--muted); }

.testi-dots { display: flex; justify-content: center; gap: 7px; margin-top: 24px; }
.testi-dot  {
  width: 8px; height: 8px; border-radius: 99px;
  background: var(--border); border: none; cursor: pointer;
  transition: width .3s, background .3s; padding: 0;
}
.testi-dot.active { width: 24px; background: var(--primary); }

.testi-icon.blue   { background: #dbeafe; color: #2563eb; }
.testi-icon.teal   { background: #ccfbf1; color: #0d9488; }
.testi-icon.green  { background: #dcfce7; color: #16a34a; }
.testi-icon.orange { background: #ffedd5; color: #ea580c; }
.testi-icon.red    { background: #fee2e2; color: #dc2626; }
.testi-icon.purple { background: #ede9fe; color: #7c3aed; }

/* ===================================================
   RESPONSIVE — NEW PAGES
   =================================================== */
@media (max-width: 1200px) {
  .tech-grid         { grid-template-columns: repeat(3, 1fr); }
  .industry-grid     { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1024px) {
  .product-split     { grid-template-columns: 1fr; gap: 32px; }
  .product-split.reverse { direction: ltr; }
  .pricing-grid      { grid-template-columns: repeat(2, 1fr); }
  .blog-featured-grid{ grid-template-columns: 1fr; }
  .blog-grid         { grid-template-columns: repeat(2, 1fr); }
  .port-grid         { grid-template-columns: repeat(2, 1fr); }
  .tech-grid         { grid-template-columns: repeat(2, 1fr); }
  .industry-grid     { grid-template-columns: repeat(3, 1fr); }
  .faq-contact-grid  { grid-template-columns: repeat(2, 1fr); }
  .contact-cards-grid{ grid-template-columns: repeat(2, 1fr); }
  .contact-main-grid { grid-template-columns: 1fr; }
  .industry-detail   { grid-template-columns: 1fr; }
  .industry-detail.reverse { grid-template-columns: 1fr; }
  .industry-detail .ind-detail-icon { display: none; }
}
@media (max-width: 768px) {
  .pricing-grid      { grid-template-columns: 1fr; }
  .blog-grid         { grid-template-columns: 1fr; }
  .port-grid         { grid-template-columns: 1fr; }
  .tech-grid         { grid-template-columns: repeat(2, 1fr); }
  .industry-grid     { grid-template-columns: repeat(3, 1fr); }
  .faq-contact-grid  { grid-template-columns: repeat(2, 1fr); }
  .contact-cards-grid{ grid-template-columns: repeat(2, 1fr); }
  .prod-features     { grid-template-columns: 1fr; }
  .cf-row-2          { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .industry-grid     { grid-template-columns: repeat(2, 1fr); }
  .faq-contact-grid  { grid-template-columns: 1fr; }
  .contact-cards-grid{ grid-template-columns: 1fr; }
  .tech-grid         { grid-template-columns: repeat(2, 1fr); }
  .blog-featured-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .industry-grid     { grid-template-columns: repeat(2, 1fr); }
  .tech-grid         { grid-template-columns: 1fr; }
}
