/* ===========================
   SAJILOMATICS - MAIN STYLES
   =========================== */

/* ===== VISUAL EFFECTS LAYER ===== */

/* Canvas layers */
#particleCanvas,
#rayCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

#particleCanvas { z-index: 1; }
#rayCanvas      { z-index: 2; mix-blend-mode: screen; }

#auroraCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

/* Hero layers order */
.hero { isolation: isolate; }
.hero .hero-bg   { z-index: 0; }
.hero .hero-grid { z-index: 1; }
.hero .orb       { z-index: 2; }
.hero-content    { z-index: 10; position: relative; }

/* ── MORPHING BLOBS ── */
.morph-blob {
  position: absolute;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  filter: blur(48px);
  pointer-events: none;
  will-change: border-radius;
  animation: blobFloat 12s ease-in-out infinite alternate;
}

@keyframes blobFloat {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(24px, -18px) scale(1.05); }
  66%  { transform: translate(-16px, 12px) scale(0.96); }
  100% { transform: translate(0, 0) scale(1); }
}


/* ── CARD 3D TILT & SHINE ── */
.card-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 5;
}

/* Cards need relative positioning for shine */
.card,
.team-card,
.dash-card,
.testimonial-card,
.blog-card,
.service-detail-card {
  transform-style: preserve-3d;
  will-change: transform;
}

/* ── FLOATING DECORATIVE ELEMENTS ── */
.floater {
  will-change: transform;
  display: inline-block;
}

/* ── AURORA SECTION BACKDROP ── */
.cta-section,
.stats-section {
  position: relative;
  overflow: hidden;
}

/* ── SECTION PARTICLE FLOATERS ── */
.section-floaters {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.section-floaters span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary-light);
  opacity: 0.3;
  animation: sfloat linear infinite;
}

@keyframes sfloat {
  0%   { transform: translateY(100%) scale(0); opacity: 0; }
  10%  { opacity: 0.3; transform: scale(1); }
  90%  { opacity: 0.3; }
  100% { transform: translateY(-120vh) scale(0.5); opacity: 0; }
}

/* ── SCAN LINE OVERLAY (subtle CRT-style) ── */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.03) 2px,
    rgba(0,0,0,0.03) 4px
  );
  pointer-events: none;
  z-index: 3;
}

/* ── LIGHT STREAK on hover for buttons ── */
.btn-primary {
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.35) 50%, transparent 60%);
  transform: skewX(-15deg);
  transition: left 0.5s ease;
}

.btn-primary:hover::after {
  left: 125%;
}

/* Make btn-primary position relative for ::after */
.btn-primary { position: relative; }

/* ── RIPPLE on click ── */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transform: scale(0);
  animation: ripple-anim 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-anim {
  to { transform: scale(4); opacity: 0; }
}

/* ── NEON BORDER PULSE on active cards ── */
@keyframes neonPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(108,60,225,0.4), 0 0 20px rgba(108,60,225,0.2); }
  50%      { box-shadow: 0 0 16px rgba(0,212,255,0.6), 0 0 40px rgba(0,212,255,0.3); }
}

.card:hover { animation: neonPulse 2s ease-in-out infinite; }

/* ── STAGGER REVEAL ── */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

:root {
  --primary: #D40000;
  --primary-dark: #8A0000;
  --primary-light: #FF3333;
  --accent: #FF0000;
  --accent2: #8A0000;
  --dark: #080808;
  --dark2: #0c0c0c;
  --dark3: #111111;
  --card-bg: #101010;
  --text: #F5F5F5;
  --text-muted: #888888;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #D40000 0%, #8A0000 100%);
  --gradient2: linear-gradient(135deg, #FF3333 0%, #D40000 100%);
  --border: rgba(212, 0, 0, 0.3);
  --shadow: 0 8px 32px rgba(212, 0, 0, 0.15);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p { color: var(--text-muted); line-height: 1.8; }

a { text-decoration: none; color: inherit; transition: var(--transition); }

/* ===== UTILITY ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(108, 60, 225, 0.15);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 8px 32px rgba(108, 60, 225, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(108, 60, 225, 0.6);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--border);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: var(--primary-light);
  background: rgba(108, 60, 225, 0.1);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, #00D4FF, #6C3CE1);
  color: white;
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.3);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 212, 255, 0.5);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 26, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
}

.nav-logo .logo-img {
  height: 105px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.35));
  transition: var(--transition);
}

.nav-logo:hover .logo-img {
  filter: drop-shadow(0 0 14px rgba(108, 60, 225, 0.7));
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(108, 60, 225, 0.15);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(108, 60, 225, 0.35) 0%, transparent 70%),
              radial-gradient(ellipse 50% 50% at 80% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 60%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(108, 60, 225, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 60, 225, 0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(108, 60, 225, 0.15);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.hero h1 {
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero p {
  font-size: 1.15rem;
  max-width: 620px;
  margin: 0 auto 40px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
  animation: fadeInUp 0.3s ease 0s both;
  flex-wrap: wrap;
}

.hero-stat h3 {
  font-size: 2.2rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat p {
  font-size: 0.85rem;
  margin-top: 4px;
}

/* Floating orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(108, 60, 225, 0.2);
  top: -100px;
  left: -100px;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(0, 212, 255, 0.12);
  bottom: 0;
  right: -50px;
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(20px, -20px); }
  66% { transform: translate(-10px, 10px); }
}

/* ===== CARDS ===== */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient);
  opacity: 0;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(108, 60, 225, 0.5);
  box-shadow: var(--shadow);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  background: rgba(108, 60, 225, 0.15);
  border: 1px solid var(--border);
}

/* ===== GRIDS ===== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ===== SERVICES PREVIEW ===== */
.services-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 24px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--gradient);
  color: white;
  border-color: transparent;
}

/* ===== WHY US ===== */
.why-us {
  background: var(--dark2);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-visual {
  position: relative;
}

.why-visual-inner {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.why-visual-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(108, 60, 225, 0.1), transparent 60%);
  animation: rotate 8s linear infinite;
}

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

.why-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-item-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: rgba(108, 60, 225, 0.15);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* ===== STATS ===== */
.stats-section {
  background: var(--dark3);
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item h2 {
  font-size: 3rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item p {
  margin-top: 8px;
  font-size: 0.95rem;
}

/* ===== TESTIMONIALS ===== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(108, 60, 225, 0.5);
  transform: translateY(-4px);
}

.stars {
  color: #FFC107;
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--text);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: white;
}

.author-info h5 {
  font-size: 0.95rem;
  color: var(--white);
}

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

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--dark2);
  padding: 100px 0;
}

.cta-box {
  background: var(--gradient);
  border-radius: 24px;
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.cta-box h2 {
  margin-bottom: 16px;
  font-size: 2.5rem;
}

.cta-box p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-box .btn {
  background: white;
  color: var(--primary);
  font-weight: 700;
}

.cta-box .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  padding: 72px 0 32px;
}

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

.footer-brand p {
  margin: 16px 0 24px;
  font-size: 0.9rem;
  max-width: 300px;
}

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

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(108, 60, 225, 0.15);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  color: var(--text-muted);
}

.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.85rem;
}

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(108, 60, 225, 0.3) 0%, transparent 70%);
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.breadcrumb a { color: var(--primary-light); }
.breadcrumb a:hover { color: var(--accent); }

/* ===== ABOUT PAGE ===== */
.about-story {
  background: var(--dark2);
}

.about-story .why-grid {
  gap: 60px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(108, 60, 225, 0.5);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 16px;
  border: 3px solid rgba(108, 60, 225, 0.3);
}

.team-card h4 { margin-bottom: 4px; font-size: 1rem; }
.team-card .role {
  font-size: 0.8rem;
  color: var(--primary-light);
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ===== SERVICES PAGE ===== */
.services-category {
  margin-bottom: 80px;
}

.services-category:last-child {
  margin-bottom: 0;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.category-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.service-detail-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}

.service-detail-card:hover {
  transform: translateY(-4px);
  border-color: rgba(108, 60, 225, 0.5);
  box-shadow: var(--shadow);
}

.service-detail-card h4 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  padding: 4px 12px;
  background: rgba(108, 60, 225, 0.15);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--primary-light);
  font-weight: 500;
}

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

.blog-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(108, 60, 225, 0.5);
  box-shadow: var(--shadow);
}

.blog-thumb {
  height: 200px;
  background: var(--gradient);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.blog-thumb-2 { background: linear-gradient(135deg, #FF6B6B, #6C3CE1); }
.blog-thumb-3 { background: linear-gradient(135deg, #00D4FF, #6C3CE1); }
.blog-thumb-4 { background: linear-gradient(135deg, #6C3CE1, #FF6B6B); }
.blog-thumb-5 { background: linear-gradient(135deg, #00D4FF, #FF6B6B); }
.blog-thumb-6 { background: linear-gradient(135deg, #8B5CF6, #00D4FF); }

.blog-content { padding: 24px; }

.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.blog-cat {
  padding: 3px 10px;
  background: rgba(108, 60, 225, 0.2);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-light);
}

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

.blog-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  transition: var(--transition);
}

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

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-light);
  transition: var(--transition);
}

.blog-read-more:hover { gap: 10px; }

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.contact-info-item:last-child { border-bottom: none; }

.contact-info-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: rgba(108, 60, 225, 0.15);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.footer-logo {
  display: block;
  margin-bottom: 16px;
}

.footer-logo .logo-img {
  height: 80px; /* appropriately sized for the footer */
  width: auto;
  filter: drop-shadow(0 0 4px rgba(212, 0, 0, 0.4));
  transition: var(--transition);
}

.footer-logo:hover .logo-img {
  filter: drop-shadow(0 0 12px rgba(212, 0, 0, 0.8));
  transform: scale(1.05);
}

.contact-info-item h5 {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 4px;
}

.contact-info-item p { color: var(--white); font-size: 0.95rem; }

.contact-form-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 0.925rem;
  font-family: inherit;
  transition: var(--transition);
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(108, 60, 225, 0.15);
}

.form-group textarea { height: 140px; resize: vertical; }

.form-group select option { background: var(--dark3); }

/* ===== MAP ===== */
.map-section {
  padding: 0 0 100px;
}

.map-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.map-placeholder {
  text-align: center;
}

.map-placeholder .map-pin {
  font-size: 3rem;
  margin-bottom: 16px;
  animation: bounce 2s infinite;
}

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

/* ===== PROCESS ===== */
.process-steps {
  display: flex;
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--gradient);
  z-index: 0;
}

.process-step {
  flex: 1;
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin: 0 auto 20px;
  border: 4px solid var(--dark);
}

.process-step h4 { margin-bottom: 8px; }

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 0.975rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
  font-family: inherit;
}

.faq-q:hover { color: var(--primary-light); }

.faq-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 6px;
  background: rgba(108, 60, 225, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}

.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--primary); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-a {
  max-height: 300px;
}

.faq-a p {
  padding: 0 24px 20px;
  font-size: 0.9rem;
}

/* ===== PARALLAX ===== */
.parallax-section {
  position: relative;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  inset: -20%;
  background-size: cover;
  background-position: center;
  will-change: transform;
  transition: transform 0.1s linear;
}

.parallax-layer {
  will-change: transform;
  transition: transform 0.05s linear;
}

/* ===== GROWTH DASHBOARD ===== */
.dashboard-section {
  background: var(--dark2);
  padding: 100px 0;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}

.dashboard-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.dash-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.dash-card:hover {
  border-color: rgba(108,60,225,0.5);
  transform: translateY(-4px);
}

.dash-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.dash-card:hover::after { transform: scaleX(1); }

.dash-card .dash-value {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.dash-card .dash-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.dash-card .dash-change {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 100px;
  margin-top: 10px;
}

.dash-change.up { background: rgba(16,185,129,0.15); color: #10B981; }
.dash-change.down { background: rgba(239,68,68,0.15); color: #EF4444; }

/* Chart Container */
.chart-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

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

.chart-legend {
  display: flex;
  gap: 16px;
}

.legend-dot {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.legend-dot::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
}

.legend-dot.accent::before { background: var(--accent); }

/* SVG Bar Chart */
.bar-chart {
  width: 100%;
  height: 220px;
}

/* Line Chart */
.line-chart-wrap {
  position: relative;
  height: 200px;
  margin-top: 8px;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 180px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

/* Grid lines */
.chart-bars::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: var(--border);
  box-shadow: 0 60px 0 var(--border), 0 120px 0 var(--border);
}

.bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  height: 100%;
  justify-content: flex-end;
}

.bar {
  width: 100%;
  border-radius: 6px 6px 0 0;
  background: var(--gradient);
  transition: height 1.2s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  cursor: pointer;
}

.bar.accent-bar {
  background: linear-gradient(180deg, #00D4FF, rgba(0,212,255,0.3));
}

.bar:hover::after {
  content: attr(data-val);
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
}

.bar-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  position: absolute;
  bottom: 6px;
}

.chart-x-labels {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.chart-x-labels span {
  flex: 1;
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== TECH STACK LOGOS ===== */
.tech-strip {
  padding: 60px 0;
  background: var(--dark2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.tech-track {
  display: flex;
  gap: 48px;
  align-items: center;
  animation: scroll 20s linear infinite;
  width: max-content;
}

.tech-item {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.tech-item span:first-child { font-size: 1.4rem; }

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .grid-4, .stats-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { gap: 48px; }
  .dashboard-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .section { padding: 60px 0; }
  .hero { padding: 120px 0 60px; min-height: auto; }
  
  .grid-3, .testimonial-grid, .blog-grid, .values-grid, .dashboard-cards { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; }
  .process-steps::before { display: none; }
  .hero-stats { flex-direction: column; text-align: center; gap: 24px; padding-top: 32px; margin-top: 40px; }
  
  .nav-links, .nav-cta .btn-outline {
    display: none;
  }

  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--dark);
    padding: 24px;
    border-bottom: 1px solid var(--border);
    gap: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .why-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .cta-box { padding: 40px 20px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-actions .btn { width: 100%; text-align: center; justify-content: center; }
}

@media (max-width: 480px) {
  .grid-4, .stats-grid, .team-grid { grid-template-columns: 1fr; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.8rem; }
  .hero-badge { font-size: 0.8rem; padding: 6px 14px; }
}
