/* Reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  background-color: #05060a;
  color: #e5e7eb;
  line-height: 1.6;
}

a {
  color: inherit !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

a:hover {
  color: #a78bfa !important;
}

/* Force override browser default link styles */
a:link, a:visited, a:active {
  color: inherit !important;
  text-decoration: none !important;
}

.container {
  width: 92%;
  max-width: 1280px;
  margin: 0 auto;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  backdrop-filter: blur(8px);
  background: rgba(5, 6, 10, 0.6);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  font-weight: 700 !important;
  font-size: 1.25rem !important;
  letter-spacing: 0.02em !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-weight: 500 !important;
  font-size: 0.95rem !important;
  color: #e5e7eb !important;
  transition: color 0.2s ease;
  text-decoration: none !important;
}

.nav-links a:hover {
  color: #c084fc !important;
}

.nav-links .cta-link {
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  background: linear-gradient(90deg, #6d28d9 0%, #b5179e 100%);
  color: #ffffff;
  font-weight: 600;
}

.nav-links .cta-link:hover {
  background: linear-gradient(90deg, #7830f5 0%, #c01bb2 100%);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  width: 1.5rem;
  height: 1.5rem;
  border: none;
  background: none;
  cursor: pointer;
}

.nav-toggle .bar {
  width: 100%;
  height: 2px;
  background: #e5e7eb;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* transform bars into X when open */
.nav-toggle.open .bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle.open .bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open .bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hero section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #ffffff;
  padding: 120px 0 80px 0;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

/* Fallback background if image doesn't load */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at top left, rgba(109, 40, 217, 0.3) 0%, transparent 50%),
              radial-gradient(ellipse at bottom right, rgba(181, 23, 158, 0.3) 0%, transparent 50%),
              linear-gradient(135deg, #05060a 0%, #0a0d1a 100%);
  z-index: -3;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.3) 0%, rgba(5, 6, 10, 0.9) 70%);
  z-index: -1;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  padding: 0 1rem;
}

.hero-title {
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.gradient-text {
  background: linear-gradient(90deg, #6d28d9, #b5179e);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin-bottom: 2rem;
  color: #d1d5db;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(90deg, #6d28d9, #b5179e);
  color: #ffffff;
}

.btn-primary:hover {
  background: linear-gradient(90deg, #7830f5, #c01bb2);
}

.btn-secondary {
  border: 2px solid #6d28d9;
  color: #e0e7ff;
}

.btn-secondary:hover {
  background: rgba(109, 40, 217, 0.1);
}

/* Section base */
.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 4rem;
  height: 3px;
  margin: 0.75rem auto 0;
  background: linear-gradient(90deg, #6d28d9, #b5179e);
  border-radius: 2px;
}

/* Features section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: #0d1020;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 0.75rem;
  padding: 2rem 1.5rem;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.feature-number {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #6d28d9, #b5179e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
  font-size: 1rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: #ffffff;
}

.feature-card p {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.5;
}

/* Process section */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.process-step {
  background: #0d1020;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 0.75rem;
  padding: 2rem 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.step-number {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #6d28d9, #b5179e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
  font-size: 0.95rem;
}

.process-step h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.process-step p {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.5;
}

/* About section */
.about-section {
  background: #0a0d1a;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
}

.about-text p {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.6;
}

/* CTA section */
.cta-section {
  background: linear-gradient(180deg, #0a0d1a 0%, #05060a 100%);
  text-align: center;
}

.cta-content {
  max-width: 700px;
}

.cta-section p {
  font-size: 1rem;
  margin: 1rem 0 2rem;
  color: #cbd5e1;
}

/* Footer */
.footer {
  background: #05060a;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.footer p {
  font-size: 0.85rem;
  color: #8a8fa3;
}

/* Responsive behaviour */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(5, 6, 10, 0.95);
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 2rem;
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-toggle {
    display: flex;
  }
}

/* --- Splash cursor effect --- */
@media (hover: hover) and (pointer: fine) {
  .splash {
    position: fixed;
    left: 0; top: 0;
    width: 14rem; height: 14rem;
    border-radius: 50%;
    pointer-events: none;
    mix-blend-mode: screen;
    transform: translate(-50%,-50%) scale(.3);
    background: radial-gradient(circle at center,
      rgba(168,85,247,.55) 0%,
      rgba(59,130,246,.45) 45%,
      rgba(236,72,153,.35) 75%,
      transparent 76%);
    filter: blur(18px);
    opacity: .9;
    animation: splash-pop .6s ease-out forwards;
    z-index: 1; /* below navigation but above content */
  }
  @keyframes splash-pop {
    to { transform: translate(-50%,-50%) scale(1.35); opacity: 0; }
  }
}

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .splash { display: none !important; }
}

/* ===== SERVICES PAGE STYLES ===== */

/* Active navigation link */
.nav-links a.active {
  color: #c084fc !important;
  font-weight: 600 !important;
}

/* Services grid layout */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

/* Service cards */
.service-card {
  background: #0d1020;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 500px;
  justify-content: space-between;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(109, 40, 217, 0.3);
}

.service-card.featured {
  border: 2px solid rgba(109, 40, 217, 0.5);
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.1), rgba(181, 23, 158, 0.05));
}

.service-card.consultation {
  border: 2px solid rgba(34, 197, 94, 0.5);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(59, 130, 246, 0.05));
}

/* Service icons */
.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #6d28d9, #b5179e);
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 10px 30px rgba(109, 40, 217, 0.3);
  flex-shrink: 0;
}

.service-icon svg {
  width: 40px;
  height: 40px;
  display: block;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
}

.service-description {
  font-size: 1rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-align: left;
  flex-grow: 1;
}

/* Service features list */
.service-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  text-align: left;
  flex-grow: 1;
}

.service-features li {
  color: #e5e7eb;
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9rem;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: bold;
}

/* Service pricing */
.service-price {
  margin: 1.5rem 0;
  text-align: center;
  flex-shrink: 0;
}

.price-from {
  display: block;
  font-size: 0.9rem;
  color: #a6adbb;
  margin-bottom: 0.25rem;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(90deg, #6d28d9, #b5179e);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.consultation-price .price-amount {
  background: linear-gradient(90deg, #22c55e, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.consultation-note {
  display: block;
  font-size: 0.9rem;
  color: #22c55e;
  margin-top: 0.25rem;
  font-weight: 600;
}

/* CTA actions */
.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Service card CTA button */
.service-card .btn {
  margin-top: 1rem;
  flex-shrink: 0;
}

/* Fallback for older browsers */
@supports not (display: grid) {
  .services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .service-card {
    width: 300px;
    margin: 1rem;
  }
}

/* Responsive adjustments for services */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }
  
  .service-card {
    padding: 2rem 1.5rem;
    min-height: auto;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
  }
  
  .service-icon svg {
    width: 30px;
    height: 30px;
  }
  
  .price-amount {
    font-size: 2rem;
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-actions .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .services-grid {
    padding: 0 0.5rem;
  }
  
  .service-card {
    padding: 1.5rem 1rem;
  }
}