/* ==========================================================================
   Inkspiire Tech (www.inkspiiretech.com)
   Luxury Editorial Light Theme — International Branding & Tech Agency Design
   ========================================================================== */

:root {
  --bg-white: #ffffff;
  --bg-pearl: #f8fafc;
  --bg-ivory: #f1f5f9;
  --text-navy: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --brand-blue: #1d4ed8;
  --brand-blue-light: #2563eb;
  --brand-orange: #f97316;
  --brand-orange-dark: #ea580c;
  --border-light: #e2e8f0;
  --shadow-sm: 0 4px 16px -2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 14px 34px -8px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 48px -12px rgba(29, 78, 216, 0.14);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  background-color: var(--bg-white);
  color: var(--text-navy);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-white);
  color: var(--text-body);
  overflow-x: hidden;
  line-height: 1.65;
}

h1, h2, h3, h4, .font-display {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  color: var(--text-navy);
  letter-spacing: -0.025em;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #2563eb;
}

/* Sticky Editorial Header */
.editorial-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.04);
}

/* Mega Menu Dropdown */
.mega-menu-parent:hover .mega-menu-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu-panel {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.16);
}

/* Brand Gradient Accent Text */
.text-brand-gradient {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 55%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Primary Buttons */
.btn-primary {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #ffffff;
  font-weight: 700;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 25px -6px rgba(37, 99, 235, 0.45);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -6px rgba(37, 99, 235, 0.55);
}

.btn-coral {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: #ffffff;
  font-weight: 700;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 25px -6px rgba(234, 88, 12, 0.4);
}

.btn-coral:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -6px rgba(234, 88, 12, 0.55);
}

/* Luxury Corporate Cards */
.corp-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
}

.corp-card:hover {
  transform: translateY(-6px);
  border-color: #93c5fd;
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   BRIGHT EDITORIAL HERO SLIDER
   ========================================================================== */
.hero-slide-item {
  display: none;
  animation: fadeSlideIn 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-slide-item.active {
  display: grid;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-img-frame {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.18);
  border: 4px solid #ffffff;
}

.hero-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: kenBurnsLight 7s ease-out forwards;
}

@keyframes kenBurnsLight {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

.slider-pill-tab {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  transition: all 0.25s ease;
}

.slider-pill-tab.active {
  border-color: #2563eb;
  background: #eff6ff;
  box-shadow: 0 8px 20px -6px rgba(37, 99, 235, 0.18);
}

.slider-pill-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #2563eb, #f97316);
}

.slider-pill-tab.active .slider-pill-progress {
  animation: tabProgress 6s linear forwards;
}

@keyframes tabProgress {
  from { width: 0%; }
  to { width: 100%; }
}

/* Infinite Brand Marquee */
.marquee-light {
  overflow: hidden;
  white-space: nowrap;
  background: #0f172a;
  color: #ffffff;
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  animation: scrollMarquee 32s linear infinite;
}

@keyframes scrollMarquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* Image Zoom inside Portfolio & Blog Cards */
.card-img-zoom {
  overflow: hidden;
  position: relative;
}

.card-img-zoom img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.corp-card:hover .card-img-zoom img {
  transform: scale(1.06);
}

/* AI Chatbot Widget */
.chatbot-window {
  box-shadow: 0 25px 65px -12px rgba(15, 23, 42, 0.28);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
