/* ===================================
   CSS Reset & Base Styles
   =================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #e4e4e7;
  background-color: #0a0a0f;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul, ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
}

/* ===================================
   Typography
   =================================== */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #ffffff;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

h5 {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
}

h6 {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
}

p {
  margin-bottom: 1rem;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: #d4d4d8;
}

.gradient-text {
  background: linear-gradient(135deg, #7c3aed 0%, #ec4899 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ===================================
   Layout & Container
   =================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.container-fluid {
  max-width: 100%;
  padding: 0 2rem;
}

section {
  padding: 5rem 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  margin-bottom: 0.5rem;
}

.section-title p {
  font-size: 1.1rem;
  color: #a1a1aa;
  max-width: 600px;
  margin: 0 auto;
}

/* ===================================
   Header & Navigation
   =================================== */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(124, 58, 237, 0.2);
  transition: all 0.3s ease;
}

header.scrolled {
  box-shadow: 0 4px 30px rgba(124, 58, 237, 0.3);
  border-bottom-color: rgba(124, 58, 237, 0.4);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 40px;
  width: auto;
}

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

.nav-menu a {
  color: #e4e4e7;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #7c3aed, #ec4899);
  transition: width 0.3s ease;
  pointer-events: none;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #7c3aed;
}

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 0.4rem;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: #ffffff;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* ===================================
   Hero Section
   =================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #0a0a0f 100%);
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
  animation: pulseGlow 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.5; }
  50% { transform: scale(1.1) rotate(180deg); opacity: 0.8; }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 2rem;
}

.hero h1 {
  margin-bottom: 1.5rem;
  text-shadow: 0 0 30px rgba(124, 58, 237, 0.5);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #d4d4d8;
}

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

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to top, #0a0a0f, transparent);
  pointer-events: none;
}

/* ===================================
   Buttons
   =================================== */

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  pointer-events: none;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(124, 58, 237, 0.6);
}

.btn-ghost {
  background: transparent;
  color: #7c3aed;
  border: 2px solid #7c3aed;
}

.btn-ghost:hover {
  background: rgba(124, 58, 237, 0.1);
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
}

.btn-secondary {
  background: linear-gradient(135deg, #06b6d4, #7c3aed);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
}

.btn-secondary:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(6, 182, 212, 0.6);
}

/* ===================================
   Cards
   =================================== */

.card {
  background: rgba(26, 26, 46, 0.6);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.1), transparent);
  transition: left 0.6s ease;
  pointer-events: none;
}

.card:hover::before {
  left: 100%;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 58, 237, 0.6);
  box-shadow: 0 10px 40px rgba(124, 58, 237, 0.3);
  background: rgba(26, 26, 46, 0.8);
}

.card-glow {
  position: relative;
}

.card-glow::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #7c3aed, #ec4899, #06b6d4);
  border-radius: 12px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.card-glow:hover::after {
  opacity: 0.6;
}

.card-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(236, 72, 153, 0.2));
  border-radius: 12px;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: #7c3aed;
  border: 1px solid rgba(124, 58, 237, 0.3);
}

.card h3 {
  margin-bottom: 1rem;
  color: #ffffff;
}

.card p {
  color: #d4d4d8;
  font-size: 0.95rem;
}

/* ===================================
   Stats Section
   =================================== */

.stats {
  background: linear-gradient(135deg, #1a1a2e 0%, #0a0a0f 100%);
  position: relative;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #7c3aed, transparent);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  background: rgba(26, 26, 46, 0.4);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #7c3aed, #ec4899, #06b6d4);
  pointer-events: none;
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  display: block;
}

.stat-label {
  font-size: 1.1rem;
  color: #d4d4d8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* ===================================
   Services Grid
   =================================== */

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

.service-card {
  background: rgba(26, 26, 46, 0.6);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

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

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 58, 237, 0.6);
  box-shadow: 0 10px 40px rgba(124, 58, 237, 0.3);
}

.service-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(236, 72, 153, 0.2));
  border-radius: 12px;
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
  color: #7c3aed;
  border: 1px solid rgba(124, 58, 237, 0.3);
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.5);
}

/* ===================================
   Team Grid
   =================================== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.team-member {
  text-align: center;
  background: rgba(26, 26, 46, 0.6);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.team-member::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(236, 72, 153, 0.1));
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.team-member:hover::before {
  opacity: 1;
}

.team-member:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 58, 237, 0.6);
  box-shadow: 0 10px 40px rgba(124, 58, 237, 0.3);
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  border: 3px solid rgba(124, 58, 237, 0.3);
  overflow: hidden;
  position: relative;
  transition: all 0.4s ease;
}

.team-member:hover .team-photo {
  border-color: #7c3aed;
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.6);
  transform: scale(1.05);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.team-role {
  color: #7c3aed;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.team-bio {
  color: #d4d4d8;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.team-social {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.team-social a {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 58, 237, 0.2);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 50%;
  color: #7c3aed;
  transition: all 0.3s ease;
}

.team-social a:hover {
  background: #7c3aed;
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(124, 58, 237, 0.6);
}

/* ===================================
   Testimonials & Carousel
   =================================== */

.testimonials {
  background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #0a0a0f 100%);
  position: relative;
}

.carousel {
  position: relative;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-item {
  min-width: 100%;
  padding: 2rem;
}

.testimonial-card {
  background: rgba(26, 26, 46, 0.8);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 4rem;
  color: rgba(124, 58, 237, 0.2);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  color: #e4e4e7;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-direction: column;
}

.testimonial-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid #7c3aed;
  overflow: hidden;
}

.testimonial-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-info h4 {
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.testimonial-info p {
  color: #a1a1aa;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.testimonial-rating {
  color: #fbbf24;
  font-size: 1.2rem;
  letter-spacing: 0.2rem;
}

.carousel-controls {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.carousel-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.2);
  border: 1px solid rgba(124, 58, 237, 0.4);
  color: #7c3aed;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.carousel-btn:hover {
  background: #7c3aed;
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.5);
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: #7c3aed;
  width: 30px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(124, 58, 237, 0.6);
}

/* ===================================
   Blog Grid & Article
   =================================== */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: rgba(26, 26, 46, 0.6);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 58, 237, 0.6);
  box-shadow: 0 10px 40px rgba(124, 58, 237, 0.3);
}

.blog-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.blog-content {
  padding: 1.5rem;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: #a1a1aa;
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.blog-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.blog-title a {
  transition: color 0.3s ease;
}

.blog-title a:hover {
  color: #7c3aed;
}

.blog-excerpt {
  color: #d4d4d8;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.blog-read-more {
  color: #7c3aed;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease;
}

.blog-read-more:hover {
  gap: 0.75rem;
}

.article-header {
  text-align: center;
  padding: 6rem 0 3rem;
  background: linear-gradient(135deg, #1a1a2e 0%, #0a0a0f 100%);
}

.article-header h1 {
  margin-bottom: 1rem;
}

.article-meta {
  display: flex;
  gap: 2rem;
  justify-content: center;
  color: #a1a1aa;
  font-size: 0.95rem;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.article-content img {
  width: 100%;
  border-radius: 12px;
  margin: 2rem 0;
  border: 1px solid rgba(124, 58, 237, 0.3);
}

.article-content h2,
.article-content h3 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.article-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.article-content ul,
.article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
  color: #d4d4d8;
  list-style: disc;
}

.article-content blockquote {
  border-left: 4px solid #7c3aed;
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #e4e4e7;
}

/* ===================================
   Contact Form
   =================================== */

.contact {
  background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 100%);
}

.contact-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #e4e4e7;
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 0.875rem 1.25rem;
  background: rgba(26, 26, 46, 0.6);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 8px;
  color: #ffffff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: #7c3aed;
  background: rgba(26, 26, 46, 0.8);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1), 0 0 20px rgba(124, 58, 237, 0.3);
}

.form-control::placeholder {
  color: #71717a;
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-group.error .form-control {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group.success .form-control {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-error {
  color: #ef4444;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  display: none;
}

.form-group.error .form-error {
  display: block;
}

.form-success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid #10b981;
  color: #10b981;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  display: none;
}

.form-success.show {
  display: block;
}

/* ===================================
   FAQ Accordion
   =================================== */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(26, 26, 46, 0.6);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(124, 58, 237, 0.5);
}

.faq-item details {
  cursor: pointer;
}

.faq-item summary {
  padding: 1.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: #7c3aed;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  pointer-events: none;
}

.faq-item details[open] summary::after {
  transform: rotate(45deg);
}

.faq-content {
  padding: 0 1.5rem 1.5rem;
  color: #d4d4d8;
  line-height: 1.7;
  border-top: 1px solid rgba(124, 58, 237, 0.2);
  margin-top: -0.5rem;
  padding-top: 1rem;
}

/* ===================================
   Footer
   =================================== */

footer {
  background: linear-gradient(135deg, #1a1a2e 0%, #0a0a0f 100%);
  border-top: 1px solid rgba(124, 58, 237, 0.3);
  padding: 4rem 0 2rem;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #7c3aed, transparent);
  pointer-events: none;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-section p {
  color: #a1a1aa;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #d4d4d8;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #7c3aed;
  transform: translateX(5px);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 58, 237, 0.2);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 8px;
  color: #7c3aed;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.footer-social a:hover {
  background: #7c3aed;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(124, 58, 237, 0.4);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(124, 58, 237, 0.2);
  color: #a1a1aa;
  font-size: 0.9rem;
}

/* ===================================
   Page Header
   =================================== */

.page-header {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #0a0a0f 100%);
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
  animation: pulseGlow 8s ease-in-out infinite;
  pointer-events: none;
}

.page-header-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 2rem;
}

.page-header h1 {
  margin-bottom: 1rem;
  text-shadow: 0 0 30px rgba(124, 58, 237, 0.5);
}

.page-header p {
  font-size: 1.2rem;
  color: #d4d4d8;
}

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #a1a1aa;
}

.breadcrumb a {
  color: #7c3aed;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: #ec4899;
}

.breadcrumb span {
  color: #52525b;
}

/* ===================================
   Animations
   =================================== */

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

.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.fade-in-up.visible {
  animation: fadeInUp 0.8s ease forwards;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
  }
  50% {
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.8);
  }
}

.glow-pulse {
  animation: glowPulse 2s ease-in-out infinite;
}

/* ===================================
   Utility Classes
   =================================== */

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

.text-gradient {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.hidden {
  display: none;
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 1024px) {
  section {
    padding: 4rem 0;
  }

  .services-grid,
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transition: left 0.3s ease;
    border-bottom: 1px solid rgba(124, 58, 237, 0.3);
    align-items: flex-start;
  }

  .nav-menu.active {
    left: 0;
  }

  .hero {
    min-height: 80vh;
    padding-top: 100px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  section {
    padding: 3rem 0;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .services-grid,
  .team-grid,
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .page-header {
    min-height: 40vh;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .container-fluid {
    padding: 0 1.5rem;
  }

  .article-content {
    padding: 2rem 1rem;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .carousel-item {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 70vh;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }

  .card,
  .service-card,
  .team-member {
    padding: 1.5rem;
  }

  .section-title h2 {
    font-size: 1.75rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================
   Print Styles
   =================================== */

@media print {
  header,
  footer,
  .carousel-controls,
  .carousel-dots,
  .btn {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .card,
  .service-card,
  .team-member {
    border: 1px solid #ccc;
    break-inside: avoid;
  }
}
