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

/* ==========================================
   DESIGN SYSTEM & CUSTOM PROPERTIES
   ========================================== */
:root {
  --bg-dark: #07070d;
  --bg-card: rgba(18, 18, 35, 0.65);
  --bg-card-hover: rgba(26, 26, 50, 0.85);
  --primary: #8b5cf6;
  --primary-glow: rgba(139, 92, 246, 0.35);
  --secondary: #6366f1;
  --accent: #00f2fe;
  --accent-glow: rgba(0, 242, 254, 0.35);
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(139, 92, 246, 0.15);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  --font-head: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ==========================================
   RESETS & GLOBAL STYLES
   ========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  border: 2px solid var(--bg-dark);
  transition: var(--transition-fast);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Typography Selection */
::selection {
  background: var(--primary);
  color: #fff;
}

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

ul {
  list-style: none;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================
   BACKGROUND & EFFECTS
   ========================================== */
/* Dynamic background mesh/grid */
.bg-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  background-image: 
    radial-gradient(at 10% 10%, rgba(99, 102, 241, 0.12) 0px, transparent 50%),
    radial-gradient(at 90% 20%, rgba(139, 92, 246, 0.12) 0px, transparent 50%),
    radial-gradient(at 50% 80%, rgba(0, 242, 254, 0.08) 0px, transparent 50%);
  background-size: cover;
  pointer-events: none;
}

/* Grid overlay */
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  opacity: 0.7;
}

/* Glowing floating orbs */
.orb {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  animation: floatOrb 20s infinite alternate ease-in-out;
}
.orb-1 {
  background: var(--primary);
  top: 15%;
  left: -5%;
}
.orb-2 {
  background: var(--accent);
  bottom: 25%;
  right: -5%;
  animation-delay: -5s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, 80px) scale(1.2); }
  100% { transform: translate(-30px, -50px) scale(0.9); }
}

/* ==========================================
   CUSTOM CURSOR
   ========================================== */
.custom-cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s;
}
.custom-cursor-outline {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--primary);
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.08s ease-out, border-color 0.3s, background-color 0.3s, width 0.3s, height 0.3s;
}

/* Hover active states for custom cursor */
.custom-cursor-hover .custom-cursor-outline {
  width: 60px;
  height: 60px;
  border-color: var(--accent);
  background: rgba(0, 242, 254, 0.05);
}
.custom-cursor-hover .custom-cursor-dot {
  width: 4px;
  height: 4px;
}

@media (max-width: 768px) {
  .custom-cursor-dot, .custom-cursor-outline {
    display: none !important;
  }
}

/* ==========================================
   HEADER / NAVIGATION
   ========================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.25rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: var(--transition-normal);
  backdrop-filter: blur(0px);
  background: transparent;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  padding: 0.8rem 5%;
  background: rgba(7, 7, 13, 0.85);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #fff 30%, var(--primary) 70%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.logo span {
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.nav-links li {
  position: relative;
}
.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.5rem 0;
  position: relative;
  letter-spacing: 0.3px;
}
.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: var(--transition-normal);
  border-radius: 2px;
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Submenu dropdown */
.dropdown {
  position: relative;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0.8rem 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: var(--transition-normal);
  box-shadow: 0 15px 40px rgba(0,0,0,0.5), inset 0 0 20px rgba(255,255,255,0.02);
}
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu li a {
  display: block;
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.dropdown-menu li a:hover {
  color: #fff;
  background: rgba(139, 92, 246, 0.1);
  padding-left: 1.8rem;
}

.btn-header {
  padding: 0.7rem 1.5rem;
  border: 1.5px solid var(--border-color);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.03);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  z-index: -1;
  transition: var(--transition-normal);
}
.btn-header:hover {
  border-color: transparent;
  box-shadow: 0 0 15px var(--primary-glow);
}
.btn-header:hover::before {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-main);
  margin: 5px 0;
  transition: var(--transition-normal);
}

/* Mobile Drawer styles */
@media (max-width: 992px) {
  .nav-toggle {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(7, 7, 13, 0.98);
    backdrop-filter: blur(25px);
    border-left: 1px solid var(--border-color);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transition: var(--transition-normal);
    z-index: 999;
  }
  .nav-links.active {
    right: 0;
  }
  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: transparent;
    border: none;
    box-shadow: none;
    padding-left: 1.5rem;
    display: none;
  }
  .dropdown.active .dropdown-menu {
    display: block;
  }
  /* Burger Animation */
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

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

.gradient-text {
  background: linear-gradient(135deg, #ffffff 10%, var(--primary) 60%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 2.2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: var(--transition-normal);
  border: none;
}
.btn-primary {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.25);
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-25deg);
  transition: 0.75s;
  z-index: -1;
}
.btn-primary:hover {
  box-shadow: 0 6px 30px rgba(139, 92, 246, 0.45);
  transform: translateY(-2px);
}
.btn-primary:hover::after {
  left: 125%;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: #fff;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Glassmorphism card */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem;
  transition: var(--transition-normal);
  box-shadow: 0 10px 40px rgba(0,0,0,0.3), inset 0 0 20px rgba(255,255,255,0.01);
  position: relative;
  overflow: hidden;
}
.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
  pointer-events: none;
}
.glass-card:hover {
  border-color: rgba(139, 92, 246, 0.3);
  background: var(--bg-card-hover);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 25px var(--border-glow);
  transform: translateY(-5px);
}

/* Section styling */
section {
  padding: 100px 5%;
  position: relative;
}
.section-header {
  text-align: center;
  margin-bottom: 4.5rem;
}
.section-header h2 {
  font-size: 2.75rem;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}
.section-header .tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

/* Animations Trigger classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Reveal Delays */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* ==========================================
   LANDING PAGE (index.html)
   ========================================== */
/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 140px 5% 60px 5%;
  gap: 2rem;
  position: relative;
}
.hero-content {
  flex: 1.2;
  max-width: 680px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.hero-tag span {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.hero-content h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
}
.hero-content .subtitle {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  text-align: left;
}
.hero-ctas {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.hero-visual {
  flex: 0.8;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-orb {
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.15) 0%, transparent 70%);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-orb::before {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  border: 2.5px dashed rgba(0, 242, 254, 0.35);
  animation: rotateDashed 25s linear infinite;
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.15);
  pointer-events: none;
}
.hero-canvas-art {
  width: 320px;
  height: 320px;
  border: 2px solid rgba(255,255,255,0.05);
  border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(0, 242, 254, 0.2));
  animation: liquidShape 12s infinite alternate ease-in-out, floatHero 6s infinite ease-in-out;
  position: relative;
  box-shadow: 0 0 45px rgba(139,92,246,0.15);
  backdrop-filter: blur(10px);
  transition: transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}
@keyframes liquidShape {
  0% { border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%; }
  50% { border-radius: 57% 43% 49% 51% / 55% 35% 65% 45%; }
  100% { border-radius: 44% 56% 34% 66% / 48% 68% 32% 52%; }
}
@keyframes floatHero {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}
@keyframes rotateDashed {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hero-canvas-badge {
  position: absolute;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  padding: 1rem 1.5rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.hero-badge-1 {
  bottom: 10%;
  left: -20px;
}
.hero-badge-2 {
  top: 10%;
  right: -20px;
}
.hero-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(139, 92, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
}
.hero-badge-text h4 {
  font-size: 0.9rem;
}
.hero-badge-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 120px 5% 40px 5%;
  }
  .hero-content h1 {
    font-size: 3.25rem;
  }
  .hero-content .subtitle {
    text-align: center;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-visual {
    margin-top: 3rem;
  }
}

/* Services Preview */
.services-preview {
  background: linear-gradient(180deg, var(--bg-dark), rgba(18, 18, 35, 0.2));
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.2rem;
}
.service-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(0, 242, 254, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.75rem;
  margin-bottom: 1.8rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
}
.service-card p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 1.8rem;
}
.service-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.service-link svg {
  transition: transform var(--transition-fast);
}
.service-card:hover .service-link svg {
  transform: translateX(4px);
}

/* Stats Counter Section */
.stats {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: rgba(18, 18, 35, 0.15);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  text-align: center;
}
.stat-item h3 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #fff, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-item p {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Testimonials Section */
.testimonials-slider {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}
.testimonial-track {
  display: flex;
  overflow: hidden;
  position: relative;
}
.testimonial-card {
  min-width: 100%;
  padding: 3rem;
  box-sizing: border-box;
  display: none;
}
.testimonial-card.active {
  display: block;
  animation: fadeIn 0.6s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.testimonial-rating {
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: flex;
  gap: 0.25rem;
}
.testimonial-text {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-family: var(--font-head);
}
.testimonial-user {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  object-fit: cover;
}
.testimonial-info h4 {
  font-size: 1.05rem;
}
.testimonial-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.slider-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}
.slider-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}
.slider-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

/* Call To Action Banner */
.cta-banner {
  margin: 50px 5%;
  border-radius: 30px;
  padding: 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.05) 100%);
  border: 1px solid rgba(139, 92, 246, 0.2);
}
.cta-banner-content h2 {
  font-size: 3rem;
  margin-bottom: 1.25rem;
}
.cta-banner-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
}

/* Footer styling */
footer {
  background: #040408;
  border-top: 1px solid var(--border-color);
  padding: 80px 5% 40px 5%;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 4rem;
  margin-bottom: 50px;
}
.footer-brand {
  grid-column: span 2;
}
@media (max-width: 768px) {
  .footer-brand {
    grid-column: span 1;
  }
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 1.2rem 0 1.8rem 0;
  max-width: 350px;
}
.social-links {
  display: flex;
  gap: 1rem;
}
.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: rgba(255,255,255,0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}
.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 0 10px var(--primary-glow);
}
.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.8rem;
  position: relative;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}
.footer-links li {
  margin-bottom: 1rem;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}
.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-legal-links {
  display: flex;
  gap: 2rem;
}
.footer-legal-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-legal-links a:hover {
  color: var(--accent);
}

/* ==========================================
   SERVICES PAGE (services.html)
   ========================================== */
.services-header {
  padding-top: 160px;
}
.services-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}
.tab-btn:hover, .tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 0 15px var(--primary-glow);
}

.services-content-wrapper {
  position: relative;
}
.service-details-panel {
  display: none;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: start;
}
.service-details-panel.active {
  display: grid;
  animation: tabFadeReveal 0.6s var(--transition-slow);
}
@keyframes tabFadeReveal {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
  .service-details-panel {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.service-panel-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}
.service-panel-visual img {
  width: 100%;
  display: block;
}
.service-tech-stack {
  margin-top: 2rem;
}
.service-tech-stack h4 {
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 0.8rem;
}
.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.tech-badge {
  padding: 0.4rem 0.9rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}
.tech-badge:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.service-bullets {
  margin: 1.5rem 0 2rem 0;
}
.service-bullets li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
  color: var(--text-muted);
}
.service-bullets li svg {
  color: var(--accent);
}

/* ==========================================
   PRICING PAGE (pricing.html)
   ========================================== */
.pricing-header {
  padding-top: 160px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  align-items: stretch;
  margin-bottom: 6rem;
}
.pricing-card {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
}
.pricing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.15), rgba(18, 18, 35, 0.7));
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.1);
}
.pricing-card.featured::after {
  content: 'POPULAR';
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent);
  color: #000;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.pricing-plan-name {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--font-head);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: baseline;
}
.pricing-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}
.pricing-features {
  margin: 2.5rem 0;
  flex-grow: 1;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.pricing-features li.disabled {
  opacity: 0.4;
  text-decoration: line-through;
}
.pricing-features li svg {
  color: var(--accent);
}
.pricing-features li.disabled svg {
  color: var(--text-muted);
}

/* Pricing Estimator Tool */
.estimator-section {
  max-width: 800px;
  margin: 0 auto;
}
.estimator-slider-container {
  margin: 2.5rem 0;
}
.slider-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 1.1rem;
}
.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: var(--border-color);
  outline: none;
  transition: opacity .2s;
}
.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 0 10px var(--accent-glow);
  transition: transform 0.1s;
}
.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.estimator-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}
.checkbox-card {
  border: 1px solid var(--border-color);
  background: rgba(255,255,255,0.02);
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: var(--transition-fast);
}
.checkbox-card:hover {
  border-color: rgba(139, 92, 246, 0.3);
  background: rgba(139, 92, 246, 0.05);
}
.checkbox-card input[type="checkbox"] {
  accent-color: var(--accent);
  width: 20px;
  height: 20px;
}
.checkbox-card label {
  cursor: pointer;
  font-weight: 500;
  font-size: 0.95rem;
}

.estimator-result {
  text-align: center;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 16px;
  padding: 2.5rem;
}
.estimator-result h3 {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.estimator-price {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent);
  font-family: var(--font-head);
  margin-bottom: 1.5rem;
}

/* ==========================================
   ABOUT PAGE (about.html)
   ========================================== */
.about-header {
  padding-top: 160px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}
.about-details h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}
.about-details p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

/* Core Values Timeline */
.values-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}
.values-timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background: var(--border-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}
.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}
.timeline-item::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  right: -8px;
  background-color: var(--bg-dark);
  border: 3px solid var(--accent);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}
.timeline-left {
  left: 0;
}
.timeline-right {
  left: 50%;
}
.timeline-right::after {
  left: -8px;
}
.timeline-content {
  padding: 1.8rem;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  position: relative;
}
.timeline-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  color: var(--accent);
}
.timeline-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .values-timeline::after {
    left: 31px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  .timeline-item::after {
    left: 22px;
  }
  .timeline-right {
    left: 0%;
  }
}

/* Team Grid Showcase */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.2rem;
}
.team-member-card {
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-normal);
}
.team-avatar-wrapper {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1.5rem auto;
  position: relative;
  padding: 5px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}
.team-member-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-dark);
}
.team-member-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}
.team-member-card p {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.team-socials {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
}
.team-socials a {
  color: var(--text-muted);
  font-size: 1.1rem;
}
.team-socials a:hover {
  color: #fff;
}

/* ==========================================
   CONTACT PAGE (contact.html)
   ========================================== */
.contact-header {
  padding-top: 160px;
}
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.contact-info-panel h3 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
}
.contact-info-panel > p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}
.contact-method-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  background: rgba(255,255,255,0.01);
}
.contact-method-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.3rem;
}
.contact-method-details h4 {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}
.contact-method-details p {
  font-weight: 600;
  font-size: 1.05rem;
}

/* Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}
.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .form-group-row {
    grid-template-columns: 1fr;
  }
}
.form-group {
  display: flex;
  flex-direction: column;
  position: relative;
}
.form-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  transition: var(--transition-fast);
}
.form-control {
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}
.form-control:focus {
  border-color: var(--primary);
  background: rgba(139, 92, 246, 0.03);
  box-shadow: 0 0 15px var(--primary-glow);
}
textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

/* FAQ Accordion Accordion styles */
.faq-section {
  border-top: 1px solid var(--border-color);
  margin-top: 6rem;
}
.faq-list {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 16px;
  background: var(--bg-card);
  overflow: hidden;
  transition: var(--transition-fast);
}
.faq-item:hover {
  border-color: rgba(139, 92, 246, 0.25);
  background: var(--bg-card-hover);
}
.faq-trigger {
  padding: 1.8rem 2rem;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
}
.faq-icon {
  transition: transform var(--transition-normal);
  color: var(--accent);
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
  padding: 0 2rem;
}
.faq-item.active .faq-content {
  padding: 0 2rem 1.8rem 2rem;
}
.faq-content p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ==========================================
   LEGAL PAGES (privacy.html, terms.html, refund.html)
   ========================================== */
.legal-header {
  padding-top: 160px;
  text-align: center;
  margin-bottom: 4rem;
}
.legal-header h1 {
  font-size: 3rem;
  margin-bottom: 0.8rem;
}
.legal-header p {
  color: var(--text-muted);
}
.legal-body {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 80px;
}
.legal-body h2 {
  font-size: 1.75rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}
.legal-body p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}
.legal-body ul {
  list-style-type: disc;
  padding-left: 2rem;
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}
.legal-body li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* ==========================================
   CHECKOUT & PAYMENT STYLES
   ========================================== */
.checkout-wrapper {
  max-width: 750px;
  margin: 0 auto;
}
.checkout-details-card {
  padding: 3rem;
  border-radius: 24px;
}
.checkout-plan-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}
.checkout-plan-title h3 {
  font-size: 1.8rem;
  color: var(--text-main);
}
.checkout-price-highlight {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  font-family: var(--font-head);
}
.checkout-itemized-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2rem;
}
.checkout-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 1rem;
}
.checkout-item.total-item {
  border-top: 1.5px solid var(--border-color);
  padding-top: 1.5rem;
  color: var(--text-main);
  font-weight: 700;
  font-size: 1.25rem;
}
.checkout-item.total-item span:last-child {
  color: var(--accent);
  font-size: 1.6rem;
}

/* Payment Modal Spinner Overlay */
.payment-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(7, 7, 13, 0.95);
  backdrop-filter: blur(15px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}
.payment-overlay.active {
  opacity: 1;
  visibility: visible;
}
.payment-success-card {
  max-width: 480px;
  width: 90%;
  text-align: center;
  padding: 3.5rem 2.5rem;
  border-radius: 24px;
  background: var(--bg-card);
  border: 1px solid var(--primary);
  box-shadow: 0 25px 60px rgba(139, 92, 246, 0.25);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.payment-overlay.active .payment-success-card {
  transform: scale(1);
}
.payment-success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(0, 242, 254, 0.1);
  border: 2px solid var(--accent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem auto;
  box-shadow: 0 0 25px var(--accent-glow);
}
.payment-success-icon svg {
  width: 40px;
  height: 40px;
}
.payment-success-card h3 {
  font-size: 1.75rem;
  margin-bottom: 0.8rem;
  color: var(--text-main);
}
.payment-success-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Spinner anim */
.payment-spinner-container {
  text-align: center;
}
.payment-spinner {
  width: 65px;
  height: 65px;
  border: 4px solid var(--border-color);
  border-top: 4px solid var(--accent);
  border-radius: 50%;
  margin: 0 auto 1.5rem auto;
  animation: spinLoader 1s linear infinite;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
}
@keyframes spinLoader {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Step tracker */
.payment-step-bar {
  display: flex;
  justify-content: space-between;
  max-width: 400px;
  margin: 0 auto 3.5rem auto;
  position: relative;
}
.payment-step-bar::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--border-color);
  z-index: 1;
  transform: translateY(-50%);
}
.payment-step {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
  position: relative;
  z-index: 2;
  transition: var(--transition-fast);
}
.payment-step.active {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 15px var(--accent-glow);
}
.payment-step.completed {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 15px var(--primary-glow);
}
.payment-step span {
  position: absolute;
  top: 100%;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  white-space: nowrap;
  font-weight: 600;
  color: var(--text-muted);
}
.payment-step.active span {
  color: var(--accent);
}
.payment-step.completed span {
  color: var(--primary);
}

