/* ===== INTELLIZE IT TECHNOLOGIES — DESIGN SYSTEM ===== */

:root {
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-900: #1e3a8a;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --gray-950: #030712;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* FONTS */
.font-display, h1, h2, h3, h4 { font-family: 'Sora', sans-serif; }
.font-body, body { font-family: 'DM Sans', sans-serif; }
.font-600 { font-weight: 600; }
.font-700 { font-weight: 700; }

/* ===== NAVBAR ===== */
#navbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  border-bottom-color: var(--gray-100);
  box-shadow: 0 1px 40px rgba(0,0,0,0.06);
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-500);
  text-decoration: none;
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}
.nav-link:hover, .nav-link.active { color: var(--gray-900); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 2px;
  background: var(--blue-600);
  border-radius: 1px;
}

.dropdown-menu { z-index: 100; }
.dropdown-item {
  display: block;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  color: var(--gray-600);
  text-decoration: none;
  transition: all var(--transition);
  border-radius: 8px;
  margin: 0 0.5rem;
}
.dropdown-item:hover { background: var(--blue-50); color: var(--blue-700); }

.mobile-nav-link {
  display: block;
  padding: 0.75rem 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-700);
  text-decoration: none;
  border-bottom: 1px solid var(--gray-100);
  transition: color var(--transition);
}
.mobile-nav-link:hover { color: var(--blue-600); }

/* ===== LOGO ===== */
.logo-mark {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.logo-mark span {
  color: white;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 0.875rem;
  letter-spacing: -0.5px;
}
.logo-mark-dark {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.logo-mark-dark span {
  color: white;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 0.875rem;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-600);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.6rem 1.25rem;
  border-radius: 10px;
  text-decoration: none;
  transition: all var(--transition);
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--blue-700); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(37,99,235,0.3); }

.btn-primary-lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-600);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.875rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  transition: all var(--transition);
}
.btn-primary-lg:hover { background: var(--blue-700); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(37,99,235,0.35); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--blue-600);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.6rem 1.25rem;
  border-radius: 10px;
  text-decoration: none;
  border: 1.5px solid var(--blue-200);
  transition: all var(--transition);
}
.btn-outline:hover { background: var(--blue-50); border-color: var(--blue-400); transform: translateY(-1px); }

.btn-outline-lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--gray-700);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.875rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  border: 1.5px solid var(--gray-200);
  transition: all var(--transition);
}
.btn-outline-lg:hover { background: var(--gray-50); border-color: var(--gray-300); transform: translateY(-2px); }

.btn-white-lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--blue-700);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  transition: all var(--transition);
}
.btn-white-lg:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,0.2); }

.btn-ghost-lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.875rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.3);
  transition: all var(--transition);
}
.btn-ghost-lg:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }

/* ===== HERO ===== */
.hero-section { background: white; }

.hero-bg-pattern {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(219,234,254,0.5) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(239,246,255,0.6) 0%, transparent 60%);
}

.hero-grid-overlay {
  position: absolute; inset: 0; z-index: 0;
  background-image: 
    linear-gradient(rgba(59,130,246,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--blue-600) 0%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-visual { position: relative; }

.hero-badge {
  position: absolute;
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  padding: 0.875rem 1.125rem;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  animation: float 4s ease-in-out infinite;
}
.hero-badge-1 { bottom: 24px; left: -24px; }
.hero-badge-2 { top: 24px; right: -24px; animation-delay: -2s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
.scroll-dot {
  width: 4px; height: 28px;
  background: var(--gray-300);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.scroll-dot::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0; right: 0;
  height: 100%;
  background: var(--blue-500);
  border-radius: 4px;
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* ===== PARTNERS ===== */
.partner-logo {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--gray-300);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.partner-logo:hover { color: var(--gray-500); }

/* ===== SECTIONS ===== */
.section-padding { padding: 6rem 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue-600);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: var(--blue-600);
  border-radius: 1px;
}

.section-title {
  font-family: 'Sora', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
@media (min-width: 1024px) {
  .section-title { font-size: 2.75rem; }
}

/* ===== VALUE CARDS ===== */
.value-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  padding: 0.875rem 1rem;
  transition: all var(--transition);
}
.value-card:hover { background: var(--blue-50); border-color: var(--blue-100); transform: translateY(-2px); }
.value-icon { font-size: 1.25rem; }

/* ===== SERVICE CARDS ===== */
.service-card {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: 20px;
  padding: 1.75rem;
  text-decoration: none;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue-50) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  border-color: var(--blue-200);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(37,99,235,0.1);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover .service-arrow { color: var(--blue-600); transform: translateX(4px); }

.service-icon-wrap {
  width: 52px; height: 52px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all var(--transition);
  position: relative;
  z-index: 1;
}
.service-card:hover .service-icon-wrap {
  background: var(--blue-600);
  border-color: var(--blue-600);
}
.service-card:hover .service-icon-wrap svg { color: white !important; }

.service-card h3 { position: relative; z-index: 1; font-size: 1rem; margin-bottom: 0.5rem; }
.service-card p { position: relative; z-index: 1; flex: 1; }

.service-arrow {
  position: relative; z-index: 1;
  color: var(--gray-300);
  font-size: 1.25rem;
  margin-top: 1.25rem;
  transition: all var(--transition);
  align-self: flex-start;
}

.service-card-cta {
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-700) 100%);
  border: none;
  border-radius: 20px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-card-cta p { color: rgba(255,255,255,0.9); }
.service-card-cta p.font-600 { color: white; }
.service-card-cta .btn-primary { background: white; color: var(--blue-700); }
.service-card-cta .btn-primary:hover { background: var(--blue-50); }

/* ===== SOLUTIONS ===== */
.solution-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--gray-700);
  font-weight: 400;
}
.solution-dot {
  width: 8px; height: 8px;
  background: var(--blue-600);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===== INDUSTRY CARDS ===== */
.industry-card {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: all var(--transition);
  cursor: default;
}
.industry-card:hover {
  border-color: var(--blue-200);
  background: var(--blue-50);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(37,99,235,0.08);
}

/* ===== BLOG CARDS ===== */
.blog-card {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  transition: all var(--transition);
  display: block;
}
.blog-card:hover {
  border-color: var(--gray-200);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}
.blog-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.blog-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-image img { transform: scale(1.05); }
.blog-category {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--blue-600);
  color: white;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 6px;
}
.blog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 7rem 0;
  background: linear-gradient(135deg, var(--blue-600) 0%, #4f46e5 50%, var(--blue-900) 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.05) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 50%);
}
.cta-section > * { position: relative; }

/* ===== FOOTER ===== */
.footer-heading {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}
.footer-link {
  font-size: 0.875rem;
  color: var(--gray-500);
  text-decoration: none;
  transition: color var(--transition);
  display: inline-block;
}
.footer-link:hover { color: white; }
.social-icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-400);
  transition: all var(--transition);
  text-decoration: none;
}
.social-icon:hover { background: var(--blue-600); color: white; }

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-50  { transition-delay: 0.05s; }
.delay-100 { transition-delay: 0.1s; }
.delay-150 { transition-delay: 0.15s; }
.delay-200 { transition-delay: 0.2s; }
.delay-250 { transition-delay: 0.25s; }

/* ===== PAGE HERO (internal pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--blue-50) 100%);
  padding: 10rem 0 5rem;
  border-bottom: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.page-hero > * { position: relative; z-index: 1; }

/* ===== SERVICE PAGE SPECIFIC ===== */
.feature-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  gap: 14px;
  transition: all var(--transition);
}
.feature-card:hover {
  background: var(--blue-50);
  border-color: var(--blue-100);
  transform: translateX(4px);
}
.feature-icon {
  width: 44px; height: 44px;
  background: var(--blue-600);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: white;
}

/* ===== CONTACT ===== */
.contact-input {
  width: 100%;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: 12px;
  padding: 0.875rem 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  color: var(--gray-900);
  outline: none;
  transition: all var(--transition);
}
.contact-input:focus {
  background: white;
  border-color: var(--blue-400);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}
.contact-input::placeholder { color: var(--gray-400); }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--gray-400);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--gray-400); text-decoration: none; transition: color var(--transition); }
.breadcrumb a:hover { color: var(--blue-600); }
.breadcrumb span { color: var(--gray-300); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .section-padding { padding: 4rem 0; }
  .section-title { font-size: 1.875rem; }
  .hero-badge-1, .hero-badge-2 { display: none; }
  .hero-section { min-height: auto; padding-top: 5rem; }
}
