/* ──────────────────────────────────────────────────────────────
   Vexio Solutions — Custom CSS
   (Complements Tailwind CDN with brand-specific styles)
   ────────────────────────────────────────────────────────────── */

:root {
  --vexio-blue:  #164E87;
  --vexio-cyan:  #00B4D8;
  --vexio-dark:  #0F172A;
  --vexio-light: #F8FAFC;
}

/* ── Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Montserrat:wght@700;800&display=swap');

body {
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
}

h1, h2, h3, .font-title {
  font-family: 'Montserrat', sans-serif;
}

/* ── Header sticky ── */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(22, 78, 135, 0.08);
  transition: box-shadow 0.3s;
}

header.scrolled {
  box-shadow: 0 2px 24px rgba(22, 78, 135, 0.10);
}

/* ── Logo SVG gradient ── */
.logo-gradient {
  fill: url(#logoGrad);
}

/* ── Hero section ── */
.hero-bg {
  background: var(--vexio-dark);
  position: relative;
  overflow: hidden;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(0, 180, 216, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* ── CTA Button ── */
.btn-primary {
  background: var(--vexio-cyan);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  display: inline-block;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0, 180, 216, 0.35);
}

.btn-primary:hover {
  background: #009bbf;
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(0, 180, 216, 0.45);
}

.btn-outline {
  border: 2px solid var(--vexio-cyan);
  color: var(--vexio-cyan);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  display: inline-block;
  transition: all 0.2s;
}

.btn-outline:hover {
  background: var(--vexio-cyan);
  color: #fff;
}

/* ── Solution cards ── */
.solution-card {
  background: #fff;
  border: 1px solid #E2EAF4;
  border-radius: 16px;
  padding: 2rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.solution-card:hover {
  border-color: var(--vexio-cyan);
  box-shadow: 0 8px 32px rgba(0, 180, 216, 0.12);
  transform: translateY(-3px);
}

.solution-card .icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(22, 78, 135, 0.08), rgba(0, 180, 216, 0.12));
  margin-bottom: 1.25rem;
}

/* ── Pricing cards ── */
.pricing-card {
  background: #fff;
  border: 1px solid #E2EAF4;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  transition: all 0.2s;
  position: relative;
}

.pricing-card.featured {
  border: 2px solid var(--vexio-cyan);
  box-shadow: 0 12px 48px rgba(0, 180, 216, 0.15);
  transform: scale(1.03);
}

.pricing-card:not(.featured):hover {
  box-shadow: 0 8px 32px rgba(22, 78, 135, 0.10);
  transform: translateY(-2px);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--vexio-cyan);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 100px;
}

/* ── Contact form ── */
.contact-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 0.875rem 1.125rem;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}

.contact-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.contact-input:focus {
  border-color: var(--vexio-cyan);
  background: rgba(255, 255, 255, 0.10);
}

/* ── Success banner ── */
.success-banner {
  background: linear-gradient(90deg, #059669, #10b981);
  color: #fff;
  text-align: center;
  padding: 0.75rem 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
}

/* ── Divider gradient ── */
.section-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--vexio-cyan), transparent);
  opacity: 0.3;
}

/* ── Nav links ── */
.nav-link {
  color: #334155;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--vexio-cyan);
  transition: width 0.2s;
}

.nav-link:hover {
  color: var(--vexio-blue);
}

.nav-link:hover::after {
  width: 100%;
}

/* ── Stat numbers ── */
.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--vexio-blue), var(--vexio-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Process steps ── */
.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--vexio-blue), var(--vexio-cyan));
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ── Responsive mobile nav ── */
#mobile-menu {
  display: none;
}

#mobile-menu.open {
  display: flex;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: var(--vexio-blue); border-radius: 3px; }

/* ── Portfolio ── */
.portfolio-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #fff;
  transition: box-shadow 0.3s, transform 0.3s;
}
.portfolio-card:hover {
  box-shadow: 0 20px 60px rgba(22,78,135,0.12);
  transform: translateY(-4px);
}
.portfolio-img-wrap {
  position: relative;
  overflow: hidden;
  background: #0f172a;
}
.portfolio-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.5s ease;
}
.portfolio-card:hover .portfolio-img {
  transform: scale(1.03);
}
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.75) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 14px 16px;
  opacity: 0;
  transition: opacity 0.3s;
}
.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}
.portfolio-tag {
  background: rgba(0,180,216,0.85);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 999px;
}
.portfolio-body {
  padding: 20px 22px 22px;
}
.portfolio-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: #0f172a;
  margin-bottom: 8px;
}
.portfolio-desc {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.6;
}

/* slider */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.slider-btn:hover { background: rgba(0,180,216,0.6); }
.slider-prev { left: 10px; }
.slider-next { right: 10px; }
.slider-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 10;
}
.slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transition: background 0.2s;
}
.slider-dot.active {
  background: var(--vexio-cyan);
}
