/* ==========================================================================
   UBERANDO - Technology for the Future
   Premium IT Landing Page Styles
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --blue-500: #2563EB;
  --blue-600: #1D4ED8;
  --blue-700: #1E40AF;
  --blue-900: #0F172A;
  --blue-050: #EFF6FF;
  --blue-100: #DBEAFE;
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-400: #94A3B8;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-900: #0F172A;
  --white: #ffffff;

  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-2xl: 32px;

  --shadow-sm: 0 4px 12px -4px rgba(15, 23, 42, .08);
  --shadow-md: 0 12px 32px -12px rgba(15, 23, 42, .12);
  --shadow-lg: 0 20px 40px -20px rgba(37, 99, 235, .25);
  --shadow-xl: 0 30px 60px -30px rgba(37, 99, 235, .35);

  --grad-primary: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  --grad-hero: linear-gradient(135deg, #EFF6FF 0%, #ffffff 50%, #F8FAFC 100%);
  --grad-cta: linear-gradient(135deg, #1E40AF 0%, #2563EB 50%, #3B82F6 100%);

  --easing: cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--slate-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Scroll Progress Bar
   ========================================================================== */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--grad-primary);
  z-index: 100;
  transition: width .1s linear;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  padding: 14px 0 10px;
  transition: all .3s var(--easing);
  background: rgba(255, 255, 255, 0);
}
.navbar.scrolled {
  background: rgba(255, 255, 255, .8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 20px -8px rgba(15, 23, 42, .08);
  padding: 8px 0 6px;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  transition: transform .3s var(--easing);
  overflow: visible;
}
.nav-logo:hover { transform: scale(1.03); }
.nav-logo img {
  height: 48px;
  width: auto;
  margin: 0;
  filter: drop-shadow(0 4px 12px rgba(37, 99, 235, .22));
  transition: height .3s var(--easing);
}
.navbar.scrolled .nav-logo img {
  height: 40px;
  margin: 0;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-menu a {
  font-size: 15px;
  font-weight: 500;
  color: var(--slate-700);
  transition: color .2s var(--easing);
  position: relative;
}
.nav-menu a:hover { color: var(--blue-500); }
.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--grad-primary);
  transition: width .3s var(--easing);
}
.nav-menu a:hover::after { width: 100%; }
.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--slate-100);
  font-size: 13px;
  font-weight: 600;
}
.lang-toggle button {
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--slate-600);
  font-weight: 600;
  font-size: 12px;
  transition: all .2s var(--easing);
}
.lang-toggle button.active {
  background: var(--white);
  color: var(--blue-600);
  box-shadow: var(--shadow-sm);
}
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--slate-100);
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; stroke: var(--slate-900); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: all .3s var(--easing);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-primary);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}
.btn-ghost {
  background: rgba(255, 255, 255, .7);
  color: var(--blue-600);
  border: 1.5px solid var(--slate-200);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  border-color: var(--blue-500);
  color: var(--blue-700);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--blue-600);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .3);
}
.btn-white:hover { transform: translateY(-2px); }
.btn .arrow { transition: transform .3s var(--easing); }
.btn:hover .arrow { transform: translateX(4px); }

/* Ripple effect */
.btn::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .3);
  transform: translate(-50%, -50%);
  transition: width .6s var(--easing), height .6s var(--easing);
}
.btn:active::before { width: 300px; height: 300px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding: 160px 0 100px;
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, .12) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -20%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(29, 78, 216, .1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(37, 99, 235, .1);
  color: var(--blue-600);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(37, 99, 235, .18);
}

/* Hero brandmark strip */
.hero-brandmark {
  display: block;
  overflow: visible;
}
.hero-brandmark img {
  display: block;
  height: 64px;
  width: auto;
  max-width: 240px;
  margin: 0 0 12px 0;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(37, 99, 235, .28));
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--blue-500);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--slate-900);
  margin-bottom: 24px;
}
.hero-title .gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-subtitle {
  font-size: 17px;
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 540px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: var(--slate-600);
}
.hero-trust .avatars {
  display: flex;
}
.hero-trust .avatars span {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--grad-primary);
  border: 2px solid var(--white);
  margin-left: -10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 12px;
}
.hero-trust .avatars span:first-child { margin-left: 0; }

/* Hero illustration */
.hero-visual {
  position: relative;
  height: 500px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.dashboard-mock {
  position: absolute;
  inset: 0;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-200);
}
.dashboard-mock .mock-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--slate-100);
  margin-bottom: 20px;
}
.dashboard-mock .mock-header span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--slate-200);
}
.dashboard-mock .mock-header span:nth-child(1) { background: #EF4444; }
.dashboard-mock .mock-header span:nth-child(2) { background: #F59E0B; }
.dashboard-mock .mock-header span:nth-child(3) { background: #10B981; }
.mock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.mock-card {
  background: var(--slate-50);
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-100);
}
.mock-card .label {
  font-size: 11px;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.mock-card .value {
  font-size: 22px;
  font-weight: 800;
  color: var(--slate-900);
  margin-top: 4px;
}
.mock-card.accent {
  background: var(--grad-primary);
  border-color: transparent;
}
.mock-card.accent .label { color: rgba(255, 255, 255, .7); }
.mock-card.accent .value { color: var(--white); }
.mock-chart {
  height: 140px;
  background: linear-gradient(180deg, rgba(37, 99, 235, .1) 0%, transparent 100%);
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
}
.mock-chart svg {
  width: 100%; height: 100%;
}

/* Floating icons */
.float-icon {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-900);
  animation: float 6s ease-in-out infinite;
}
.float-icon svg { width: 22px; height: 22px; stroke: var(--blue-500); }
.float-icon.f1 { top: -20px; left: -30px; animation-delay: 0s; }
.float-icon.f2 { top: 30%; right: -40px; animation-delay: 1.5s; }
.float-icon.f3 { bottom: 40px; left: -20px; animation-delay: 3s; }

/* ==========================================================================
   Stats Strip
   ========================================================================== */
.stats {
  padding: 60px 0;
  background: var(--white);
  border-top: 1px solid var(--slate-100);
  border-bottom: 1px solid var(--slate-100);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-item {
  text-align: center;
  padding: 20px;
}
.stat-value {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  letter-spacing: -.02em;
}
.stat-label {
  margin-top: 10px;
  font-size: 14px;
  color: var(--slate-600);
  font-weight: 500;
}

/* ==========================================================================
   Sections shared
   ========================================================================== */
section {
  padding: 100px 0;
}
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.section-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--blue-050);
  color: var(--blue-600);
  font-weight: 600;
  font-size: 13px;
  border-radius: 999px;
  margin-bottom: 16px;
  letter-spacing: .02em;
}
.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 16px;
  color: var(--slate-600);
  line-height: 1.7;
}

/* ==========================================================================
   About
   ========================================================================== */
.about {
  background: var(--slate-50);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-bottom: 20px;
}
.about-desc {
  color: var(--slate-600);
  margin-bottom: 24px;
  line-height: 1.7;
}
.about-list {
  list-style: none;
  display: grid;
  gap: 12px;
}
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--slate-700);
  font-weight: 500;
}
.about-list .check {
  width: 24px; height: 24px;
  flex-shrink: 0;
  background: var(--grad-primary);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.about-list .check svg { width: 14px; height: 14px; }
.about-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-2xl);
  background: url('images/network.jpeg') center/cover no-repeat, var(--grad-primary);
  padding: 40px;
  overflow: hidden;
  box-shadow: 0 20px 60px -20px rgba(15, 23, 42, .35);
}

/* Centered logo showcase inside about-visual */
.about-logo-showcase {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px;
  z-index: 0;
}
.about-logo-showcase::before {
  content: '';
  position: absolute;
  width: 70%; aspect-ratio: 1/1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .35) 0%, transparent 65%);
  z-index: -1;
}
.about-vmark {
  width: 42%;
  max-width: 180px;
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, .35)) brightness(1.15);
  animation: float 6s ease-in-out infinite;
}
.about-wordmark {
  width: 78%;
  max-width: 260px;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .35)) brightness(1.4) contrast(1.15);
  margin-top: -8px;
}
.about-visual .glass-panel {
  position: absolute;
  background: rgba(255, 255, 255, .15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: var(--radius-md);
  padding: 16px;
  color: white;
}
.about-visual .glass-panel .num {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}
.about-visual .glass-panel .txt {
  font-size: 12px;
  opacity: .8;
  margin-top: 4px;
}
.about-visual .p1 { top: 30px; left: 30px; width: 55%; }
.about-visual .p2 { bottom: 30px; right: 30px; width: 55%; }
.about-visual .p3 { top: 45%; right: 20px; width: 40%; }

/* ==========================================================================
   Services
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--white);
  padding: 32px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  transition: all .35s var(--easing);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--easing);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: var(--blue-050);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-600);
  margin-bottom: 20px;
  transition: all .35s var(--easing);
}
.service-icon svg { width: 26px; height: 26px; }
.service-card:hover .service-icon {
  background: var(--grad-primary);
  color: white;
  transform: rotate(-6deg);
}
.service-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 10px;
}
.service-desc {
  font-size: 14px;
  color: var(--slate-600);
  line-height: 1.6;
}

/* ==========================================================================
   Why Us
   ========================================================================== */
.why {
  background: var(--slate-50);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.why-card {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius-lg);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  border: 1px solid var(--slate-200);
  transition: all .3s var(--easing);
}
.why-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-100);
}
.why-icon {
  width: 52px; height: 52px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--grad-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-icon svg { width: 24px; height: 24px; }
.why-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 6px;
}
.why-desc {
  font-size: 14px;
  color: var(--slate-600);
  line-height: 1.6;
}

/* ==========================================================================
   Portfolio
   ========================================================================== */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.filter-pill {
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  font-weight: 600;
  font-size: 14px;
  color: var(--slate-700);
  transition: all .3s var(--easing);
}
.filter-pill:hover { border-color: var(--blue-500); color: var(--blue-600); }
.filter-pill.active {
  background: var(--grad-primary);
  border-color: transparent;
  color: white;
  box-shadow: var(--shadow-lg);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.portfolio-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  transition: all .4s var(--easing);
}
.portfolio-item.hidden { display: none; }
.portfolio-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}
.portfolio-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--slate-100);
  position: relative;
}
.portfolio-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--easing);
}
.portfolio-item:hover .portfolio-image img { transform: scale(1.06); }
.portfolio-body {
  padding: 22px;
}
.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.portfolio-tags span {
  font-size: 11px;
  font-weight: 600;
  color: var(--blue-600);
  background: var(--blue-050);
  padding: 4px 10px;
  border-radius: 999px;
}
.portfolio-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 6px;
}
.portfolio-cat {
  font-size: 13px;
  color: var(--slate-600);
  margin-bottom: 14px;
}
.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  color: var(--blue-600);
  transition: gap .3s var(--easing);
}
.portfolio-link:hover { gap: 10px; }

/* ==========================================================================
   Process Timeline
   ========================================================================== */
.process {
  background: var(--slate-50);
}
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.process-timeline::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-600));
  z-index: 0;
  opacity: .3;
}
.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.process-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--slate-200);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-600);
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 20px;
  transition: all .3s var(--easing);
  position: relative;
}
.process-step:hover .process-num {
  background: var(--grad-primary);
  color: white;
  border-color: transparent;
  transform: scale(1.08);
  box-shadow: var(--shadow-lg);
}
.process-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 8px;
}
.process-desc {
  font-size: 14px;
  color: var(--slate-600);
  line-height: 1.6;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials {
  background: var(--white);
}
.testimonial-wrap {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
}
.testimonial-track {
  overflow: hidden;
  border-radius: var(--radius-xl);
}
.testimonial-slides {
  display: flex;
  transition: transform .6s var(--easing);
}
.testimonial-card {
  min-width: 100%;
  padding: 44px 40px;
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-xl);
  text-align: center;
}
.testimonial-stars {
  color: #F59E0B;
  font-size: 20px;
  margin-bottom: 20px;
  letter-spacing: 2px;
}
.testimonial-quote {
  font-size: 18px;
  color: var(--slate-700);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 28px;
}
.testimonial-author {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.testimonial-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 20px;
}
.testimonial-name {
  font-weight: 700;
  color: var(--slate-900);
  text-align: left;
}
.testimonial-role {
  font-size: 13px;
  color: var(--slate-600);
  text-align: left;
}
.testimonial-ctrl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.testimonial-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--slate-200);
  cursor: pointer;
  transition: all .3s var(--easing);
}
.testimonial-dot.active {
  background: var(--blue-500);
  width: 28px;
  border-radius: 999px;
}
.testimonial-nav {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-700);
  transition: all .3s var(--easing);
}
.testimonial-nav:hover {
  background: var(--grad-primary);
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Tech Stack
   ========================================================================== */
.tech {
  background: var(--slate-50);
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.tech-item {
  aspect-ratio: 1 / 1;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  gap: 10px;
  transition: all .3s var(--easing);
}
.tech-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-100);
}
.tech-item img {
  width: 44px; height: 44px;
  object-fit: contain;
}
.tech-item span {
  font-size: 12px;
  font-weight: 600;
  color: var(--slate-700);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all .3s var(--easing);
}
.faq-item.open {
  border-color: var(--blue-100);
  box-shadow: var(--shadow-md);
}
.faq-question {
  width: 100%;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  font-weight: 600;
  font-size: 16px;
  color: var(--slate-900);
}
.faq-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--blue-050);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-600);
  flex-shrink: 0;
  transition: all .3s var(--easing);
}
.faq-item.open .faq-icon {
  background: var(--grad-primary);
  color: white;
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--easing);
}
.faq-answer-inner {
  padding: 0 26px 22px;
  color: var(--slate-600);
  line-height: 1.7;
  font-size: 15px;
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */
.cta {
  padding: 80px 0;
  background: var(--grad-cta);
  background-size: 200% 200%;
  animation: gradientShift 12s ease infinite;
  position: relative;
  overflow: hidden;
}
.cta::before, .cta::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.15) 0%, transparent 70%);
}
.cta::before { width: 400px; height: 400px; top: -100px; left: -50px; }
.cta::after { width: 500px; height: 500px; bottom: -150px; right: -80px; }
.cta-watermark {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  max-width: 90%;
  opacity: .08;
  z-index: 0;
  pointer-events: none;
  filter: brightness(2);
}
.cta-mark {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .3)) brightness(1.15);
  animation: float 5s ease-in-out infinite;
}
.cta-content {
  text-align: center;
  color: white;
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}
.cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.cta-desc {
  font-size: 17px;
  opacity: .9;
  margin-bottom: 32px;
  line-height: 1.6;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-brand img {
  height: 64px;
  width: auto;
  margin: 0 0 12px 0;
  filter: drop-shadow(0 4px 14px rgba(37, 99, 235, .35));
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 320px;
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-400);
  transition: all .3s var(--easing);
}
.footer-social a:hover {
  background: var(--grad-primary);
  color: white;
  transform: translateY(-3px);
}
.footer-social svg { width: 18px; height: 18px; }
.footer h4 {
  color: white;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: .02em;
}
.footer-links {
  list-style: none;
  display: grid;
  gap: 12px;
}
.footer-links a {
  font-size: 14px;
  color: var(--slate-400);
  transition: color .2s var(--easing);
}
.footer-links a:hover { color: var(--blue-500); }
.footer-contact {
  list-style: none;
  display: grid;
  gap: 14px;
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
}
.footer-contact svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  stroke: var(--blue-500);
  margin-top: 2px;
}
.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  text-align: center;
  font-size: 13px;
  color: var(--slate-400);
}

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--easing), transform .8s var(--easing);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Keyframes
   ========================================================================== */
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: .5; }
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-14px) rotate(2deg); }
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes chartLine {
  from { stroke-dashoffset: 800; }
  to { stroke-dashoffset: 0; }
}

/* ==========================================================================
   Loading
   ========================================================================== */
#loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .5s var(--easing), visibility .5s var(--easing);
}
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-spin {
  width: 48px; height: 48px;
  border: 4px solid var(--slate-200);
  border-top-color: var(--blue-500);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Project Detail Modal
   ========================================================================== */
.project-modal {
  position: fixed; inset: 0;
  z-index: 200;
  background: rgba(15, 23, 42, .62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--easing), visibility .3s var(--easing);
}
.project-modal.open { opacity: 1; visibility: visible; }
.project-modal-container {
  position: relative;
  background: #fff;
  width: 100%;
  max-width: 780px;
  max-height: 88vh;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(15, 23, 42, .45);
  transform: translateY(20px) scale(.97);
  transition: transform .35s var(--easing);
}
.project-modal.open .project-modal-container { transform: translateY(0) scale(1); }
.project-modal-body {
  max-height: 88vh;
  overflow-y: auto;
  padding: 0 0 32px;
}
.project-modal-body::-webkit-scrollbar { width: 8px; }
.project-modal-body::-webkit-scrollbar-thumb { background: var(--slate-200); border-radius: 4px; }
.project-modal-close {
  position: absolute; top: 14px; right: 16px;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.95);
  color: var(--slate-700);
  font-size: 24px; line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px -4px rgba(15, 23, 42, .25);
  transition: all .2s var(--easing);
  z-index: 2;
}
.project-modal-close:hover { background: var(--blue-500); color: #fff; transform: rotate(90deg); }

.pm-hero {
  position: relative;
  height: 240px;
  background: var(--grad-primary);
  overflow: hidden;
}
.pm-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .95;
}
.pm-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0) 0%, rgba(15,23,42,.55) 100%);
}
.pm-hero-tags {
  position: absolute; left: 24px; bottom: 20px;
  display: flex; gap: 8px; flex-wrap: wrap;
  z-index: 1;
}
.pm-hero-tags span {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--blue-600);
  font-size: 12px; font-weight: 600;
}
.pm-content { padding: 26px 32px 8px; }
.pm-category {
  font-size: 13px; font-weight: 600;
  color: var(--blue-600);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 6px;
}
.pm-title {
  font-size: 28px; font-weight: 800;
  color: var(--slate-900);
  line-height: 1.2;
  margin-bottom: 12px;
}
.pm-lead {
  font-size: 15px; line-height: 1.65;
  color: var(--slate-600);
  margin-bottom: 22px;
}
.pm-section { margin-top: 22px; }
.pm-section h4 {
  font-size: 15px; font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.pm-section h4::before {
  content: '';
  width: 4px; height: 16px;
  border-radius: 2px;
  background: var(--grad-primary);
}
.pm-features {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 8px;
}
.pm-features li {
  padding-left: 24px;
  position: relative;
  font-size: 14px; line-height: 1.6;
  color: var(--slate-600);
}
.pm-features li::before {
  content: '\2713';
  position: absolute; left: 0; top: 0;
  color: var(--blue-500);
  font-weight: 700;
}
.pm-stack {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 10px;
}
.pm-stack span {
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--slate-100);
  color: var(--slate-700);
  font-size: 12px; font-weight: 600;
}
.pm-cta {
  margin-top: 26px;
  display: flex; gap: 10px; flex-wrap: wrap;
}
@media (max-width: 540px) {
  .project-modal { padding: 12px; }
  .project-modal-container { max-height: 92vh; border-radius: 16px; }
  .project-modal-body { max-height: 92vh; }
  .pm-hero { height: 180px; }
  .pm-content { padding: 22px 20px 8px; }
  .pm-title { font-size: 22px; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 400px; max-width: 500px; margin: 0 auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(4, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-grid { grid-template-columns: 1fr; }
  .process-timeline::before { display: none; }
}

@media (max-width: 768px) {
  section { padding: 70px 0; }
  .hero { padding: 130px 0 60px; }
  .nav-logo img { height: 40px; margin: 0; }
  .navbar.scrolled .nav-logo img { height: 34px; margin: 0; }
  .nav-menu { display: none; }
  .nav-toggle { display: inline-flex; }
  .navbar.mobile-open .nav-menu {
    display: flex;
    position: absolute;
    top: 100%;
    left: 16px; right: 16px;
    flex-direction: column;
    background: white;
    padding: 24px;
    gap: 18px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    align-items: flex-start;
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .why-grid { grid-template-columns: 1fr; }
  .process-timeline { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .section-header { margin-bottom: 40px; }
  /* Prevent hero dashboard overflow on tablet/phone */
  .hero-visual { max-width: 100%; height: 380px; }
  .float-icon.f1, .float-icon.f2, .float-icon.f3 {
    left: auto; right: 8px;
  }
  .float-icon.f1 { top: 8px; }
  .float-icon.f2 { top: 40%; }
  .float-icon.f3 { bottom: 8px; }
}

@media (max-width: 540px) {
  .container { padding: 0 18px; }
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .process-timeline { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .testimonial-card { padding: 32px 22px; }
  .float-icon { display: none; }
  .lang-toggle { padding: 4px 6px; }
  .btn { padding: 12px 22px; font-size: 14px; }
  .hero-brandmark { margin: 0 0 12px 0; }
  .hero-brandmark img { height: 52px; max-width: 200px; margin: 0 0 10px 0; }
  .cta-watermark { width: 380px; }
  .cta-mark { width: 56px; height: 56px; }
  /* Fit the hero dashboard within narrow viewports */
  .hero-visual { height: 340px; max-width: 100%; }
  .dashboard-mock { padding: 16px; }
  .mock-grid { gap: 8px; margin-bottom: 12px; }
  .mock-card { padding: 10px; }
  .mock-card .label { font-size: 10px; }
  .mock-card .value { font-size: 17px; }
  .mock-chart { height: 90px; }
}
