@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* ----- CORE DESIGN SYSTEM & VARIABLES ----- */
:root {
  --bg-primary: #030308;
  --bg-secondary: #080816;
  --bg-tertiary: #0e0e24;
  --bg-glass: rgba(10, 10, 25, 0.5);
  --bg-glass-hover: rgba(15, 15, 35, 0.7);
  
  --color-primary: #6366f1; /* Indigo */
  --color-primary-glow: rgba(99, 102, 241, 0.4);
  --color-secondary: #06b6d4; /* Cyan */
  --color-secondary-glow: rgba(6, 182, 212, 0.4);
  --color-accent: #d946ef; /* Magenta/Violet */
  --color-accent-glow: rgba(217, 70, 239, 0.4);
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-bright: #ffffff;
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(99, 102, 241, 0.2);
  --border-glow-cyan: rgba(6, 182, 212, 0.2);
  
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* ----- RESET & BASE STYLES ----- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary) var(--bg-primary);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

/* Custom Scrollbar */
body::-webkit-scrollbar {
  width: 8px;
}
body::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
body::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 10px;
}
body::-webkit-scrollbar-thumb:hover {
  background: var(--color-secondary);
}

/* ----- GRID BACKGROUND & CANVAS PARTICLES ----- */
.cyber-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(99, 102, 241, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center;
  z-index: -2;
  pointer-events: none;
}

.particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.ambient-light {
  position: fixed;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(140px);
  z-index: -2;
  opacity: 0.35;
  mix-blend-mode: screen;
  animation: floatLight 25s infinite alternate ease-in-out;
}

.light-1 {
  background: radial-gradient(circle, var(--color-primary-glow) 0%, transparent 70%);
  top: -10%;
  right: -10%;
}

.light-2 {
  background: radial-gradient(circle, var(--color-secondary-glow) 0%, transparent 70%);
  bottom: -15%;
  left: -10%;
  animation-delay: -5s;
}

.light-3 {
  background: radial-gradient(circle, var(--color-accent-glow) 0%, transparent 70%);
  top: 40%;
  left: 30%;
  width: 40vw;
  height: 40vw;
  animation-delay: -10s;
}

@keyframes floatLight {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(8%, 12%) scale(1.15); }
}

/* ----- TYPOGRAPHY UTILITIES ----- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-bright);
}

.gradient-text {
  background: linear-gradient(135deg, #a5b4fc 0%, #38bdf8 50%, #f472b6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gradient-text-cyan {
  background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 50%, #3b82f6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gradient-text-purple {
  background: linear-gradient(135deg, #c084fc 0%, #a855f7 50%, #6366f1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ----- UTILITIES & GLASSMORPHISM ----- */
.glass {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  box-shadow: 0 10px 40px -15px rgba(0, 0, 0, 0.7);
  transition: var(--transition-smooth);
}

.glass:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-glow);
  box-shadow: 0 15px 45px -10px rgba(99, 102, 241, 0.15);
}

.glass-cyan:hover {
  border-color: var(--border-glow-cyan);
  box-shadow: 0 15px 45px -10px rgba(6, 182, 212, 0.15);
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

section {
  padding: 100px 0;
  position: relative;
}

.section-tag {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-secondary);
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 16px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 50px;
}

.section-title {
  font-size: 2.75rem;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 50px;
}

/* ----- GLOWING BUTTONS ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--text-bright);
  border: none;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(99, 102, 241, 0.55), 0 0 15px rgba(6, 182, 212, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--text-bright);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  border-color: var(--color-secondary);
  background: rgba(6, 182, 212, 0.05);
  transform: translateY(-2px);
}

/* ----- FLOATING NAVIGATION ----- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  padding: 20px 0;
}

.header.scrolled {
  padding: 12px 0;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 24px;
  border-radius: 100px;
  background: rgba(3, 3, 8, 0.6);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: var(--transition-smooth);
}

.header.scrolled .nav-wrapper {
  background: rgba(3, 3, 8, 0.85);
  border-color: rgba(99, 102, 241, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  border-radius: 8px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px var(--color-primary-glow);
}

.logo-icon::after {
  content: '';
  width: 12px;
  height: 12px;
  background: var(--bg-primary);
  border-radius: 3px;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  background: linear-gradient(to right, #ffffff, #9ca3af);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text-bright);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transition: var(--transition-fast);
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  color: var(--text-bright);
  background: none;
  border: none;
  cursor: pointer;
}

/* ----- HERO SECTION ----- */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 100px;
  color: #c7d2fe;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  font-family: var(--font-display);
}

.hero-badge i {
  color: var(--color-secondary);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}

.hero-title {
  font-size: 4.25rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 24px;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 60px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--border-light);
  padding-top: 32px;
}

.stat-item h3 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-globe {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 2px dashed rgba(6, 182, 212, 0.15);
  position: relative;
  animation: spin 30s linear infinite;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-globe::before {
  content: '';
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 2px dotted rgba(99, 102, 241, 0.2);
  position: absolute;
  animation: spinReverse 20s linear infinite;
}

.visual-globe::after {
  content: '';
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  position: absolute;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spinReverse {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

.founder-avatar-container {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.4);
  z-index: 2;
  overflow: hidden;
}

.founder-avatar-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: var(--bg-secondary);
}

.tech-node {
  position: absolute;
  width: 50px;
  height: 50px;
  background: var(--bg-glass);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--color-secondary);
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
  animation: floatNode 6s infinite ease-in-out;
}

.node-1 { top: 10%; left: 10%; animation-delay: 0s; }
.node-2 { bottom: 15%; right: 10%; animation-delay: -2s; color: var(--color-accent); }
.node-3 { top: 50%; right: -5%; animation-delay: -4s; color: var(--color-primary); }

@keyframes floatNode {
  0% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-15px) scale(1.05); }
  100% { transform: translateY(0px) scale(1); }
}

/* ----- SERVICES SECTION ----- */
.services-tabs-nav {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 16px;
}

.tab-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  padding: 10px 20px;
  transition: var(--transition-fast);
  position: relative;
}

.tab-btn.active {
  color: var(--text-bright);
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -17px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--color-secondary);
  transition: var(--transition-fast);
}

.tab-btn.active::after {
  width: 100%;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.services-panel {
  display: none;
  animation: fadeIn 0.5s ease forwards;
}

.services-panel.active {
  display: block;
}

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

.service-card {
  padding: 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--color-primary);
  margin-bottom: 28px;
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
  background: var(--color-primary);
  color: var(--text-bright);
  box-shadow: 0 0 20px var(--color-primary-glow);
  transform: scale(1.05);
}

.service-card.cyan:hover .service-icon {
  background: var(--color-secondary);
  box-shadow: 0 0 20px var(--color-secondary-glow);
}

.service-card.cyan .service-icon {
  color: var(--color-secondary);
  background: rgba(6, 182, 212, 0.06);
  border-color: rgba(6, 182, 212, 0.2);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  margin-bottom: 28px;
}

.service-features li {
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-features li i {
  color: var(--color-secondary);
  font-size: 0.8rem;
}

.service-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-bright);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.service-learn-more i {
  transition: var(--transition-fast);
}

.service-learn-more:hover {
  color: var(--color-secondary);
}

.service-learn-more:hover i {
  transform: translateX(4px);
}

/* ----- CASE STUDIES (tilt items) ----- */
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.case-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--bg-secondary);
  height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  transform-style: preserve-3d;
  transform: perspective(1000px);
  transition: var(--transition-smooth);
}

.case-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  z-index: 1;
  transition: var(--transition-smooth);
}

.case-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(3, 3, 8, 0.95) 0%, rgba(3, 3, 8, 0.6) 50%, rgba(3, 3, 8, 0.2) 100%);
  z-index: 2;
}

.case-card-content {
  position: relative;
  z-index: 3;
  transform: translateZ(50px); /* Parallax impact */
}

.case-tag {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-secondary);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-block;
}

.case-card h3 {
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1.2;
}

.case-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  max-width: 90%;
}

.case-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.tech-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: 5px;
  color: var(--text-main);
}

.case-links {
  display: flex;
  gap: 16px;
}

.case-card:hover .case-card-bg {
  transform: scale(1.05);
  opacity: 0.55;
}

.case-card:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 20px 50px rgba(6, 182, 212, 0.15);
}

/* ----- PRICING PACKAGES ----- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
  
}

.pricing-card {
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
  border: 1px solid var(--color-accent);
  background: rgba(217, 70, 239, 0.03);
}

.pricing-card.popular {
  border: 1px solid var(--color-primary);
  background: rgba(99, 102, 241, 0.04);
  box-shadow: 0 15px 45px -10px rgba(99, 102, 241, 0.2);
}

.pricing-card.enterprise {
  border: 1px solid var(--color-accent);
  background: rgba(217, 70, 239, 0.03);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--text-bright);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  box-shadow: 0 4px 12px var(--color-primary-glow);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.pricing-header {
  margin-bottom: 28px;
}

.pricing-name {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.pricing-card.popular .pricing-name {
  color: var(--text-bright);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 10px;
}

.price-num {
  font-size: 2.75rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--text-bright);
  line-height: 1;
}

.price-term {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.pricing-divider {
  height: 1px;
  background: var(--border-light);
  margin-bottom: 28px;
}

.pricing-card.popular .pricing-divider {
  background: rgba(99, 102, 241, 0.2);
}

.pricing-deliverables {
  list-style: none;
  margin-bottom: 40px;
  flex-grow: 1;
}

.pricing-deliverables li {
  font-size: 0.88rem;
  margin-bottom: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.4;
  color: var(--text-main);
}

.pricing-deliverables li i {
  color: var(--color-secondary);
  margin-top: 3px;
  font-size: 0.9rem;
}

.pricing-card.popular .pricing-deliverables li i {
  color: var(--color-primary);
}

.pricing-card.enterprise .pricing-deliverables li i {
  color: var(--color-accent);
}

.pricing-deliverables li.excluded {
  color: var(--text-muted);
  text-decoration: line-through;
  opacity: 0.5;
}

.pricing-deliverables li.excluded i {
  color: var(--text-muted);
  opacity: 0.5;
}

.pricing-cta {
  width: 100%;
  font-size: 0.95rem;
  padding: 12px 20px;
  border-radius: 10px;
}

/* ----- TESTIMONIALS ----- */
.testimonials-slider-container {
  overflow: hidden;
  position: relative;
  padding: 20px 0 60px 0;
}

.testimonials-track {
  display: flex;
  gap: 32px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.testimonial-card {
  min-width: calc(50% - 16px);
  max-width: calc(50% - 16px);
  padding: 48px;
}

.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 0.9rem;
}

.testimonial-quote {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-bright);
  font-style: italic;
  margin-bottom: 32px;
}

.testimonial-client {
  display: flex;
  align-items: center;
  gap: 16px;
}

.client-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.client-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.client-info h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.client-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: var(--bg-glass);
  color: var(--text-bright);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.slider-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 0 15px var(--color-primary-glow);
}

/* ----- BLOG SECTION ----- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.blog-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--bg-secondary);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.blog-card-image {
  height: 220px;
  overflow: hidden;
  position: relative;
  background: var(--bg-tertiary);
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.blog-card-meta {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.blog-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  background: rgba(3, 3, 8, 0.85);
  border: 1px solid var(--border-light);
  border-radius: 5px;
  color: var(--color-secondary);
  backdrop-filter: blur(4px);
}

.blog-card-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.blog-card h3 {
  font-size: 1.35rem;
  line-height: 1.4;
  margin-bottom: 16px;
  transition: var(--transition-fast);
}

.blog-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
  flex-grow: 1;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-bright);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition-fast);
  border-bottom: 1px solid transparent;
  width: fit-content;
  padding-bottom: 2px;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.1);
}

.blog-card:hover h3 {
  color: var(--color-secondary);
}

.blog-card:hover .blog-read-more {
  color: var(--color-secondary);
  border-bottom-color: var(--color-secondary);
}

/* ----- CONTACT SECTION ----- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: flex-start;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-card {
  padding: 30px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.info-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--color-secondary);
}

.info-details h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.info-details p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.info-link {
  color: var(--color-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.info-link:hover {
  color: var(--text-bright);
}

.contact-form-wrapper {
  padding: 48px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 24px;
}

.form-row .form-group {
  margin-bottom: 0;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 8px;
  font-family: var(--font-display);
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 14px 18px;
  color: var(--text-bright);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-input:focus {
  border-color: var(--color-primary);
  background: rgba(99, 102, 241, 0.03);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.15);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

.contact-form-wrapper .btn-primary {
  width: 100%;
}

/* ----- FOOTER ----- */
.footer {
  border-top: 1px solid var(--border-light);
  background: var(--bg-secondary);
  padding: 80px 0 40px 0;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 20px 0 24px 0;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.social-icon:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--text-bright);
  box-shadow: 0 0 12px var(--color-primary-glow);
  transform: translateY(-2px);
}

.footer-links-col h4 {
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-secondary);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-light);
  padding-top: 32px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ----- INTERACTIVE AI CHATBOT WIDGET ----- */
.chatbot-trigger {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--text-bright);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 8px 32px rgba(6, 182, 212, 0.4), 0 0 10px rgba(99, 102, 241, 0.3);
  z-index: 999;
  transition: var(--transition-smooth);
}

.chatbot-trigger:hover {
  transform: scale(1.08) rotate(5deg);
  box-shadow: 0 12px 40px rgba(6, 182, 212, 0.6), 0 0 20px rgba(99, 102, 241, 0.5);
}

.chatbot-trigger i {
  transition: transform 0.4s ease;
}

.chatbot-trigger.active i {
  transform: rotate(90deg);
}

.chatbot-container {
  position: fixed;
  bottom: 105px;
  right: 30px;
  width: 400px;
  height: 550px;
  z-index: 998;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(99, 102, 241, 0.25);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(6, 182, 212, 0.05);
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.chatbot-container.active {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}

.chat-header {
  padding: 20px;
  background: linear-gradient(135deg, rgba(8, 8, 22, 0.8) 0%, rgba(14, 14, 36, 0.8) 100%);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-bot-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-bright);
  box-shadow: 0 0 10px var(--color-primary-glow);
}

.chat-bot-status h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.chat-bot-status p {
  font-size: 0.75rem;
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.chat-bot-status p::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  box-shadow: 0 0 6px #10b981;
}

.chat-header-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.chat-header-close:hover {
  color: var(--text-bright);
}

.chat-messages {
  flex-grow: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: rgba(3, 3, 8, 0.4);
  scrollbar-width: thin;
}

.chat-messages::-webkit-scrollbar {
  width: 4px;
}
.chat-messages::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.chat-message {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.88rem;
  line-height: 1.5;
  animation: messageSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.chat-message.bot {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}

.chat-message.user {
  background: linear-gradient(135deg, var(--color-primary) 0%, rgba(99, 102, 241, 0.7) 100%);
  color: var(--text-bright);
  border-bottom-right-radius: 4px;
  align-self: flex-end;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.15);
}

.chat-message.typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 14px 18px;
}

.chat-message.typing-indicator span {
  width: 6px;
  height: 6px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: typing 1.4s infinite ease-in-out;
}

.chat-message.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.chat-message.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

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

.chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(3, 3, 8, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.quick-reply-btn {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-secondary);
  background: rgba(6, 182, 212, 0.06);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 30px;
  padding: 6px 12px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.quick-reply-btn:hover {
  background: var(--color-secondary);
  color: var(--bg-primary);
  border-color: var(--color-secondary);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.2);
}

.chat-input-area {
  padding: 16px 20px;
  background: rgba(8, 8, 22, 0.9);
  border-top: 1px solid var(--border-light);
  display: flex;
  gap: 12px;
}

.chat-input-field {
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--text-bright);
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
  transition: var(--transition-fast);
}

.chat-input-field:focus {
  border-color: var(--color-primary);
}

.chat-send-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--color-primary);
  color: var(--text-bright);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.chat-send-btn:hover {
  background: var(--color-secondary);
  box-shadow: 0 0 10px var(--color-secondary-glow);
}

/* ----- RESPONSIVE LAYOUT BREAKPOINTS ----- */
@media (max-width: 1200px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-badge, .hero-actions {
    justify-content: center;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-description {
    margin: 0 auto 40px auto;
  }
  
  .hero-stats {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .case-studies-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 70px 0;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .nav-links {
    display: none; /* Mobile navigation toggle logic in app.js */
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .testimonial-card {
    min-width: 100%;
    max-width: 100%;
    padding: 30px;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .chatbot-container {
    width: calc(100% - 40px);
    right: 20px;
    left: 20px;
    height: 480px;
    bottom: 95px;
  }
  
  .chatbot-trigger {
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.75rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .form-row .form-group {
    margin-bottom: 24px;
  }
  
  .case-card {
    height: 460px;
    padding: 24px;
  }
  
  .case-card h3 {
    font-size: 1.6rem;
  }
}
