/* =====================================================
   APEX INFOTECH — Light SaaS Design System
   Inspired by: StreamBolt / modern SaaS UI
   ===================================================== */


:root {
  /* Colors */
  --white: #ffffff;
  --bg: #f8f9ff;
  --bg2: #f0f2ff;
  --text: #0f172a;
  --text2: #475569;
  --text3: #94a3b8;
  --border: #e2e8f0;
  --border2: #cbd5e1;

  /* Brand */
  --blue: #4f6ef7;
  --blue-dark: #3b5bdb;
  --blue-light: #eff2ff;
  --purple: #7c3aed;
  --purple-light: #f5f3ff;
  --cyan: #06b6d4;
  --green: #10b981;
  --orange: #f59e0b;
  --red: #ef4444;

  /* Gradients */
  --grad: linear-gradient(135deg, #4f6ef7, #7c3aed);
  --grad2: linear-gradient(135deg, #06b6d4, #4f6ef7);
  --grad3: linear-gradient(135deg, #7c3aed, #ec4899);
  --grad-bg: linear-gradient(135deg, #f0f4ff 0%, #faf5ff 50%, #f0f9ff 100%);
  --soft-panel: linear-gradient(135deg, rgba(255,255,255,0.94) 0%, rgba(246,248,255,0.98) 100%);
  --service-blue: #6d83ff;
  --service-violet: #9276ff;
  --service-coral: #ff8aa5;
  --service-sky: #79c7ff;
  --service-gold: #f8b84e;
  --service-mint: #79d6b6;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 16px rgba(79,110,247,0.1), 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 32px rgba(79,110,247,0.15), 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 60px rgba(79,110,247,0.2), 0 8px 24px rgba(0,0,0,0.1);
  --shadow-card: 0 2px 12px rgba(15,23,42,0.06), 0 1px 4px rgba(15,23,42,0.04);

  /* Spacing & Shape */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --radius-full: 100px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);

  /* Fonts */
  --font: 'Inter', sans-serif;
  --font-display: 'Plus Jakarta Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 99px; }

/* Typography */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; color: var(--text); }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 800; }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 700; }
p { color: var(--text2); font-size: 1rem; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* Utilities */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

.text-grad {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-center { text-align: center; }

/* Badge / Tag */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--blue-light); color: var(--blue);
  border: 1px solid rgba(79,110,247,0.2);
  padding: 5px 14px; border-radius: var(--radius-full);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; margin-bottom: 16px;
}
.badge.purple { background: var(--purple-light); color: var(--purple); border-color: rgba(124,58,237,0.2); }
.badge.green { background: #ecfdf5; color: var(--green); border-color: rgba(16,185,129,0.2); }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulseBadge 2s infinite; }
@keyframes pulseBadge { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(1.6)} }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-full);
  font-family: var(--font); font-size: 0.95rem; font-weight: 600;
  cursor: pointer; border: none; transition: var(--transition);
  position: relative; white-space: nowrap;
}
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 4px 20px rgba(79,110,247,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(79,110,247,0.45); }
.btn-outline {
  background: var(--white); color: var(--text);
  border: 1.5px solid var(--border2);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-white {
  background: var(--white); color: var(--blue);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.15); }
.btn-sm { padding: 9px 20px; font-size: 0.87rem; }
.btn-lg { padding: 15px 36px; font-size: 1.05rem; }

/* Cards */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.card:hover {
  border-color: rgba(79,110,247,0.25);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.card-flat {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}
.card-flat:hover { background: var(--white); box-shadow: var(--shadow); transform: translateY(-3px); }

/* ============================
   NAVBAR
   ============================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226,232,240,0.8);
  padding: 0;
  transition: var(--transition);
}
.navbar.scrolled { background: rgba(255,255,255,0.98); box-shadow: 0 2px 20px rgba(15,23,42,0.08); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; color: var(--text);
}
.nav-logo .logo-box {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--grad); display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.85rem; font-weight: 900;
  box-shadow: 0 4px 12px rgba(79,110,247,0.3);
}
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  padding: 8px 15px; border-radius: 8px;
  color: var(--text2); font-size: 0.92rem; font-weight: 500;
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); background: var(--blue-light); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-signin {
  color: var(--text2); font-size: 0.92rem; font-weight: 500;
  padding: 8px 16px; border-radius: 8px; transition: var(--transition);
}
.nav-signin:hover { color: var(--blue); background: var(--blue-light); }
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }

/* Mobile Menu */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: var(--white); padding: 90px 24px 32px;
  flex-direction: column; gap: 6px;
  border-right: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 18px; border-radius: 12px;
  color: var(--text); font-size: 1.05rem; font-weight: 600;
  border: 1px solid var(--border); transition: var(--transition);
}
.mobile-menu a:hover { background: var(--blue-light); color: var(--blue); border-color: rgba(79,110,247,0.2); }
.mobile-menu .btn-primary { text-align: center; justify-content: center; margin-top: 8px; }

/* ============================
   HERO
   ============================ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 130px 0 80px;
  background: var(--grad-bg);
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(124,58,237,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute; bottom: -100px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(79,110,247,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-full); padding: 7px 16px;
  font-size: 0.82rem; font-weight: 600; color: var(--text2);
  box-shadow: var(--shadow-sm); margin-bottom: 24px;
}
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulseBadge 2s infinite; }
.hero h1 { margin-bottom: 20px; letter-spacing: -0.02em; }
.hero p { font-size: 1.15rem; max-width: 560px; margin-bottom: 36px; color: var(--text2); }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stat-num { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--text); }
.stat-label { font-size: 0.85rem; color: var(--text3); margin-top: 2px; }

/* Hero dashboard mockup */
.hero-visual {
  position: relative; z-index: 1;
}
.dashboard-mockup {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mockup-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 14px 20px;
  display: flex; align-items: center; gap: 8px;
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot.red { background: #ff5f57; }
.mockup-dot.yellow { background: #febc2e; }
.mockup-dot.green { background: #28c840; }
.mockup-title { margin-left: 8px; font-size: 0.85rem; font-weight: 600; color: var(--text2); }
.mockup-body { padding: 20px; }
.mockup-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 16px; }
.mockup-stat {
  background: var(--bg);
  border-radius: 10px; padding: 12px;
  text-align: center;
}
.mockup-stat .val { font-weight: 800; font-size: 1.1rem; color: var(--blue); }
.mockup-stat .lbl { font-size: 0.72rem; color: var(--text3); margin-top: 2px; }
.mockup-chart {
  background: var(--bg); border-radius: 10px; padding: 12px;
  height: 80px; display: flex; align-items: flex-end; gap: 6px;
}
.bar { border-radius: 4px 4px 0 0; flex: 1; }

/* ============================
   SECTION HEADERS
   ============================ */
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header.center p { margin: 12px auto 0; max-width: 560px; }
.section-header h2 { margin-top: 8px; margin-bottom: 12px; }
.section-header p { font-size: 1.05rem; color: var(--text2); }

/* ============================
   FEATURES / SERVICES
   ============================ */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad); transform: scaleX(0);
  transition: var(--transition); transform-origin: left;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); border-color: rgba(79,110,247,0.2); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--blue-light); display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 18px; border: 1px solid rgba(79,110,247,0.15);
}
.feature-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.feature-card p { font-size: 0.9rem; line-height: 1.65; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.feature-tag {
  background: var(--bg); border: 1px solid var(--border);
  color: var(--text2); font-size: 0.75rem; font-weight: 500;
  padding: 3px 10px; border-radius: var(--radius-full);
}
.feature-link {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--blue); font-size: 0.87rem; font-weight: 600;
  margin-top: 16px; transition: var(--transition);
}
.feature-link:hover { gap: 8px; }

/* ============================
   HOW IT WORKS / STEPS
   ============================ */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px; text-align: center;
  box-shadow: var(--shadow-card);
  transition: var(--transition); position: relative;
}
.step-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.step-num {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--grad); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; box-shadow: 0 4px 14px rgba(79,110,247,0.3);
}
.step-card h4 { font-size: 1rem; margin-bottom: 8px; }
.step-card p { font-size: 0.85rem; }

/* ============================
   PROJECTS
   ============================ */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.project-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.project-card:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); border-color: rgba(79,110,247,0.2); }
.project-thumb {
  height: 200px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem; position: relative; overflow: hidden;
}
.project-thumb .overlay {
  position: absolute; inset: 0; background: rgba(15,23,42,0.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition);
}
.project-card:hover .project-thumb .overlay { opacity: 1; }
.project-body { padding: 22px; }
.project-cat {
  display: inline-block;
  background: var(--blue-light); color: var(--blue);
  font-size: 0.75rem; font-weight: 600;
  padding: 3px 10px; border-radius: var(--radius-full); margin-bottom: 10px;
}
.project-body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.project-body p { font-size: 0.88rem; }

/* ============================
   REVIEWS
   ============================ */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.review-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.review-stars { color: var(--orange); font-size: 1rem; margin-bottom: 14px; }
.review-text { font-size: 0.92rem; color: var(--text); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--grad); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.review-name { font-weight: 700; font-size: 0.92rem; }
.review-role { color: var(--text3); font-size: 0.8rem; }

/* ============================
   TEAM
   ============================ */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px; text-align: center;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.team-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: #fff;
  border: 3px solid var(--white);
  box-shadow: 0 4px 16px rgba(79,110,247,0.25);
}
.team-role { color: var(--blue); font-size: 0.85rem; font-weight: 600; margin-bottom: 10px; }
.team-card p { font-size: 0.88rem; margin-bottom: 16px; }
.team-skills { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.team-skill {
  background: var(--bg); border: 1px solid var(--border);
  color: var(--text2); font-size: 0.75rem; padding: 3px 10px; border-radius: var(--radius-full);
}

/* ============================
   FORMS
   ============================ */
.form-group { margin-bottom: 18px; }
.form-label { display: block; margin-bottom: 6px; font-size: 0.87rem; font-weight: 600; color: var(--text); }
.form-control {
  width: 100%; padding: 12px 16px;
  background: var(--white); border: 1.5px solid var(--border2);
  border-radius: var(--radius-sm); color: var(--text);
  font-family: var(--font); font-size: 0.95rem;
  transition: var(--transition); outline: none;
}
.form-control::placeholder { color: var(--text3); }
.form-control:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(79,110,247,0.12); }
textarea.form-control { resize: vertical; min-height: 110px; }
select.form-control { cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-control[type="file"] { padding: 10px; cursor: pointer; }
.form-control[type="file"]::file-selector-button {
  background: var(--blue-light); border: 1px solid rgba(79,110,247,0.2);
  color: var(--blue); padding: 6px 14px; border-radius: 6px;
  font-family: var(--font); font-weight: 500; cursor: pointer; margin-right: 12px;
}

/* Alert */
.alert {
  padding: 12px 18px; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 500; display: none;
  margin-bottom: 18px;
}
.alert.show { display: block; }
.alert-success { background: #ecfdf5; border: 1px solid rgba(16,185,129,0.3); color: #065f46; }
.alert-error { background: #fef2f2; border: 1px solid rgba(239,68,68,0.3); color: #991b1b; }

/* ============================
   CLIENTS LOGOS
   ============================ */
.clients-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; }
.client-chip {
  background: var(--white); border: 1.5px solid var(--border);
  color: var(--text2); font-weight: 600; font-size: 0.9rem;
  padding: 10px 22px; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.client-chip:hover { border-color: var(--blue); color: var(--blue); box-shadow: var(--shadow); }

/* ============================
   CTA BANNER
   ============================ */
.cta-banner {
  background: var(--grad);
  border-radius: 24px; padding: 72px 60px; text-align: center;
  position: relative; overflow: hidden;
  box-shadow: 0 20px 60px rgba(79,110,247,0.3);
}
.cta-banner::before {
  content: ''; position: absolute;
  top: -80px; right: -80px; width: 300px; height: 300px;
  background: rgba(255,255,255,0.07); border-radius: 50%;
}
.cta-banner::after {
  content: ''; position: absolute;
  bottom: -60px; left: -60px; width: 200px; height: 200px;
  background: rgba(255,255,255,0.05); border-radius: 50%;
}
.cta-banner h2 { color: #fff; margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin-bottom: 32px; }

/* ============================
   FAQ ACCORDION
   ============================ */
.accordion-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 10px; overflow: hidden; background: var(--white); }
.accordion-header {
  padding: 18px 22px; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  background: var(--white); transition: var(--transition);
}
.accordion-header:hover { background: var(--bg); }
.accordion-header h4 { font-size: 0.95rem; font-weight: 600; }
.accordion-icon { color: var(--blue); font-size: 1.2rem; font-weight: 300; transition: transform 0.3s ease; }
.accordion-item.open .accordion-icon { transform: rotate(45deg); }
.accordion-body { display: none; padding: 16px 22px; border-top: 1px solid var(--border); background: var(--bg); }
.accordion-item.open .accordion-body { display: block; }
.accordion-body p { font-size: 0.9rem; }

/* ============================
   FOOTER
   ============================ */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 36px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer h4 { color: #fff; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 18px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo .logo-box { width: 34px; height: 34px; border-radius: 9px; background: var(--grad); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 0.8rem; font-weight: 900; }
.footer-logo span { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: #fff; }
.footer-desc { font-size: 0.87rem; line-height: 1.7; max-width: 260px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.88rem; transition: var(--transition); }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 9px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); font-size: 0.9rem;
  transition: var(--transition);
}
.social-btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
}
.footer-bottom p { font-size: 0.85rem; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: rgba(255,255,255,0.5); font-size: 0.85rem; transition: var(--transition); }
.footer-legal a:hover { color: #fff; }

/* ============================
   PAGE HERO (inner pages)
   ============================ */
.page-hero {
  padding: 150px 0 72px;
  background: var(--grad-bg);
  border-bottom: 1px solid var(--border);
}
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text3); margin-bottom: 14px; }
.breadcrumb a { color: var(--blue); }
.breadcrumb span::before { content: '/'; margin-right: 8px; }

/* ============================
   SERVICES PAGE
   ============================ */
.services-page {
  background:
    radial-gradient(circle at top left, rgba(146,118,255,0.12), transparent 24%),
    radial-gradient(circle at 85% 20%, rgba(121,199,255,0.16), transparent 20%),
    linear-gradient(180deg, #fbfbff 0%, #ffffff 100%);
}
.services-hero {
  padding: 138px 0 48px;
  position: relative;
  overflow: hidden;
}
.services-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 34px;
  align-items: center;
}
.services-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(109,131,255,0.16);
  box-shadow: var(--shadow-sm);
  color: var(--blue-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.services-kicker::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--service-coral);
  box-shadow: 0 0 0 6px rgba(255,138,165,0.14);
}
.services-hero-copy h1 {
  max-width: 11ch;
  margin: 18px 0;
  letter-spacing: -0.03em;
}
.services-hero-copy p {
  max-width: 630px;
  font-size: 1.05rem;
}
.services-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.services-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}
.services-trust-strip div {
  padding: 16px 18px;
  border: 1px solid rgba(109,131,255,0.12);
  border-radius: 18px;
  background: rgba(255,255,255,0.72);
  box-shadow: var(--shadow-sm);
}
.services-trust-strip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 2px;
}
.services-trust-strip span {
  color: var(--text2);
  font-size: 0.84rem;
}
.services-hero-visual {
  position: relative;
  min-height: 520px;
}
.services-showcase-card {
  position: relative;
  z-index: 1;
  padding: 18px;
  border-radius: 34px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow: 0 30px 80px rgba(100,115,190,0.18);
  backdrop-filter: blur(16px);
}
.services-showcase-top {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.services-showcase-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(109,131,255,0.25);
}
.services-showcase-body {
  display: grid;
  gap: 14px;
}
.services-showcase-panel,
.proof-card,
.service-band-card,
.service-band-copy,
.services-location-cloud,
.services-faq,
.services-showcase-panel-lg {
  background: var(--soft-panel);
}
.services-showcase-panel {
  border: 1px solid rgba(109,131,255,0.12);
  border-radius: 24px;
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.services-showcase-panel-lg {
  padding: 22px;
}
.services-panel-chip {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: rgba(146,118,255,0.12);
  color: #6d4dff;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.services-showcase-panel h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  margin-bottom: 10px;
}
.services-showcase-panel p {
  font-size: 0.95rem;
}
.services-showcase-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.mini-label {
  display: block;
  margin-bottom: 6px;
  color: var(--text3);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.services-floating-card {
  position: absolute;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid rgba(109,131,255,0.16);
  background: rgba(255,255,255,0.84);
  box-shadow: var(--shadow);
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--text);
}
.services-floating-card-a {
  left: -6px;
  bottom: 88px;
  animation: float 6.4s ease-in-out infinite;
}
.services-floating-card-b {
  right: 8px;
  top: 60px;
  animation: float 5.4s ease-in-out infinite;
}
.services-proof {
  padding: 18px 0;
}
.services-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.proof-card {
  padding: 22px;
  border: 1px solid rgba(109,131,255,0.12);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}
.proof-card h2 {
  font-size: 1.25rem;
  margin: 10px 0 8px;
}
.proof-label {
  display: inline-block;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.service-stack {
  display: grid;
  gap: 20px;
}
.service-band {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 20px;
  align-items: stretch;
}
.service-band.is-alt .service-band-copy {
  order: 2;
}
.service-band.is-alt .service-band-card {
  order: 1;
}
.service-band-copy,
.service-band-card {
  border: 1px solid rgba(109,131,255,0.12);
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.service-band-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--text3);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.service-band-copy h2 {
  margin-bottom: 10px;
  font-size: clamp(1.5rem, 2.3vw, 2.15rem);
}
.service-band-copy p {
  margin-bottom: 16px;
  font-size: 0.96rem;
}
.service-band-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--service-accent) 12%, #ffffff 88%);
  color: var(--text);
  border: 1px solid color-mix(in srgb, var(--service-accent) 24%, #ffffff 76%);
  font-size: 0.83rem;
  font-weight: 700;
}
.service-band-tags {
  margin-bottom: 18px;
}
.service-band-card {
  position: relative;
  overflow: hidden;
}
.service-band-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--service-accent), rgba(255,255,255,0.85));
}
.service-band-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.service-card-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(109,131,255,0.12);
  font-size: 0.77rem;
  font-weight: 700;
}
.service-card-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--service-accent) 45%, #ffffff 55%), transparent);
}
.service-deliverables {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.service-deliverable {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(109,131,255,0.08);
}
.service-deliverable span:last-child {
  font-size: 0.88rem;
  color: var(--text2);
  line-height: 1.55;
}
.service-deliverable-dot {
  width: 9px;
  height: 9px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--service-accent);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--service-accent) 16%, transparent);
  flex-shrink: 0;
}
.services-steps .step-card {
  padding: 24px 18px;
}
.services-local-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
  gap: 24px;
  align-items: center;
}
.services-location-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(109,131,255,0.12);
  box-shadow: var(--shadow-card);
}
.services-location-cloud span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 15px;
  background: rgba(255,255,255,0.78);
  border-radius: var(--radius-full);
  border: 1px solid rgba(109,131,255,0.12);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text2);
}
.services-tech-grid .tech-item {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.85);
}
.services-tech-grid .tech-item span {
  font-size: 0.86rem;
  font-weight: 700;
}
.services-faq {
  max-width: 920px;
  margin: 0 auto;
  padding: 22px;
  border: 1px solid rgba(109,131,255,0.12);
  border-radius: 30px;
  box-shadow: var(--shadow-card);
}
.services-faq .accordion-item {
  margin-bottom: 12px;
}
.services-faq .accordion-item:last-child {
  margin-bottom: 0;
}
.services-faq .accordion-header {
  width: 100%;
  border: 0;
}
.services-faq .accordion-header h3 {
  font-size: 0.96rem;
  text-align: left;
}
.services-cta {
  background: linear-gradient(135deg, #6d83ff 0%, #8e78ff 45%, #ff9eb2 100%);
}

/* ============================
   TABS
   ============================ */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 28px; }
.tab-btn {
  padding: 9px 20px; border-radius: var(--radius-full);
  background: var(--white); border: 1.5px solid var(--border);
  color: var(--text2); font-size: 0.87rem; font-weight: 500;
  cursor: pointer; transition: var(--transition); font-family: var(--font);
}
.tab-btn.active, .tab-btn:hover { background: var(--blue-light); border-color: rgba(79,110,247,0.3); color: var(--blue); }

/* ============================
   JOB CARDS
   ============================ */
.job-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.job-card:hover { box-shadow: var(--shadow-md); border-color: rgba(79,110,247,0.2); transform: translateX(4px); }
.job-title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-bottom: 6px; }
.job-meta { display: flex; gap: 16px; flex-wrap: wrap; }
.job-meta span { font-size: 0.82rem; color: var(--text2); display: flex; align-items: center; gap: 4px; }
.job-type { background: #ecfdf5; color: var(--green); border: 1px solid rgba(16,185,129,0.2); font-size: 0.78rem; font-weight: 600; padding: 3px 10px; border-radius: var(--radius-full); }

/* ============================
   CONTACT INFO
   ============================ */
.contact-items { display: flex; flex-direction: column; gap: 14px; }
.contact-item {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 18px;
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.contact-item:hover { border-color: rgba(79,110,247,0.2); box-shadow: var(--shadow); }
.contact-icon {
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--blue-light); border: 1px solid rgba(79,110,247,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); font-size: 1rem; flex-shrink: 0;
}
.contact-details h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 3px; }
.contact-details p, .contact-details a { font-size: 0.88rem; color: var(--text2); }
.contact-details a:hover { color: var(--blue); }

/* ============================
   ADMIN PANEL
   ============================ */
.admin-layout { display: flex; min-height: 100vh; background: #f8f9ff; }
.admin-sidebar {
  width: 248px; background: var(--white); border-right: 1px solid var(--border);
  padding: 24px 14px; display: flex; flex-direction: column; gap: 3px; flex-shrink: 0;
  box-shadow: 2px 0 8px rgba(15,23,42,0.04);
}
.admin-main { flex: 1; padding: 36px; overflow: auto; }
.admin-nav-link {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: 10px;
  color: var(--text2); font-size: 0.9rem; font-weight: 500;
  transition: var(--transition); cursor: pointer;
  text-decoration: none; border: none; background: none; width: 100%; font-family: var(--font);
}
.admin-nav-link:hover, .admin-nav-link.active { background: var(--blue-light); color: var(--blue); }
.admin-nav-link i { width: 18px; text-align: center; font-size: 0.95rem; }
.admin-stat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 16px; margin-bottom: 28px; }
.admin-stat {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 22px;
  box-shadow: var(--shadow-sm);
}
.admin-stat .num { font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; color: var(--blue); }
.admin-stat .lbl { color: var(--text3); font-size: 0.82rem; margin-top: 3px; }
.data-table-wrap { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); margin-bottom: 28px; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { background: var(--bg); padding: 12px 18px; text-align: left; font-size: 0.78rem; color: var(--text2); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.data-table td { padding: 13px 18px; border-top: 1px solid var(--border); font-size: 0.9rem; }
.data-table tr:hover td { background: var(--bg); }
.chip { padding: 3px 10px; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 600; }
.chip-new { background: var(--blue-light); color: var(--blue); }
.chip-read { background: var(--bg); color: var(--text3); border: 1px solid var(--border); }
.chip-active { background: #ecfdf5; color: var(--green); }
.chip-closed { background: #fef2f2; color: var(--red); }
.chip-hired { background: #ecfdf5; color: var(--green); }
.chip-reviewing { background: #fff7ed; color: var(--orange); }
.chip-shortlisted { background: var(--blue-light); color: var(--blue); }
.chip-rejected { background: #fef2f2; color: var(--red); }
.action-btn {
  width: 30px; height: 30px; border-radius: 7px;
  border: 1px solid var(--border); background: var(--white);
  color: var(--text2); cursor: pointer; transition: var(--transition);
  display: inline-flex; align-items: center; justify-content: center; font-size: 0.82rem;
}
.action-btn:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-light); }
.action-btn.danger:hover { border-color: var(--red); color: var(--red); background: #fef2f2; }

/* ============================
   ANIMATIONS
   ============================ */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in.d1 { transition-delay: 0.1s; }
.fade-in.d2 { transition-delay: 0.2s; }
.fade-in.d3 { transition-delay: 0.3s; }

@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }
.floating { animation: float 5s ease-in-out infinite; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-33.33%)} }
.marquee { animation: marquee 28s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; vertical-align: middle; margin-right: 6px; }
.loading-dark { border-color: rgba(79,110,247,0.2); border-top-color: var(--blue); }

/* ============================
   MISC
   ============================ */
.divider { height: 1px; background: var(--border); margin: 0; }
.back-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--grad); color: #fff; border: none; cursor: pointer;
  display: none; align-items: center; justify-content: center;
  font-size: 1rem; box-shadow: 0 4px 16px rgba(79,110,247,0.35);
  transition: var(--transition);
}
.back-top:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(79,110,247,0.45); }

/* Tech grid */
.tech-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px,1fr)); gap: 12px; }
.tech-item {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 16px 12px; text-align: center;
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.tech-item:hover { border-color: rgba(79,110,247,0.25); box-shadow: var(--shadow); transform: translateY(-2px); }
.tech-item .icon { font-size: 1.8rem; margin-bottom: 6px; }
.tech-item span { font-size: 0.78rem; color: var(--text2); font-weight: 500; }

/* Star rating */
.star-input i { cursor: pointer; font-size: 1.5rem; color: var(--border2); transition: color 0.15s; }
.star-input i:hover, .star-input i.active { color: var(--orange); }

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .services-hero-grid,
  .service-band,
  .services-local-grid,
  .services-proof-grid { grid-template-columns: 1fr; }
  .service-band.is-alt .service-band-copy,
  .service-band.is-alt .service-band-card { order: initial; }
  .services-hero-copy h1 { max-width: 14ch; }
  .services-hero-visual { min-height: auto; }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 110px 0 60px; }
  .hero-stats { gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-banner { padding: 48px 28px; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .job-card { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .admin-sidebar { display: none; }
  .admin-main { padding: 20px; }
  .services-hero { padding: 120px 0 28px; }
  .services-trust-strip,
  .services-showcase-mini-grid,
  .service-deliverables { grid-template-columns: 1fr; }
  .service-band-copy,
  .service-band-card,
  .proof-card,
  .services-faq,
  .services-location-cloud { padding: 20px; }
  .services-showcase-card { padding: 14px; border-radius: 24px; }
  .services-floating-card { position: static; display: inline-flex; margin-top: 10px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.7rem; }
  .features-grid, .projects-grid, .reviews-grid, .team-grid { grid-template-columns: 1fr; }
  .services-hero-actions .btn { width: 100%; justify-content: center; }
  .services-trust-strip div { padding: 14px; }
  .services-kicker { font-size: 0.72rem; }
  .service-band { gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .fade-in {
    opacity: 1;
    transform: none;
  }
}
