/* ============================================
   BTL Portfolio - Modern Web Dev Studio
   ============================================ */

:root {
  --primary: #6366f1;
  --primary-light: #818cf8;
  --primary-dark: #4f46e5;
  --accent: #22d3ee;
  --dark: #0a0a0f;
  --dark-light: #13131a;
  --dark-lighter: #1e1e2d;
  --gray: #6b7280;
  --gray-light: #9ca3af;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--white);
  background-color: var(--dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul { list-style: none; }

/* ---------- Cursor Glow ---------- */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}

body:hover .cursor-glow {
  opacity: 1;
}

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

/* ---------- Gradient Text ---------- */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-large {
  padding: 16px 32px;
  font-size: 16px;
  border-radius: 14px;
}

.btn-block { width: 100%; }

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.3);
}

.btn-white {
  background: var(--white);
  color: var(--dark);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(255,255,255,0.2);
}

.btn-ghost {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.2);
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.3s;
}

.header.scrolled {
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  transition: all 0.3s;
}

.logo:hover {
  transform: translateY(-2px);
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  position: relative;
}

.logo:hover .logo-icon {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.logo-icon svg {
  width: 28px;
  height: 28px;
}

.logo-text {
  letter-spacing: -0.5px;
}

.logo-dot {
  color: var(--primary);
  font-size: 28px;
  line-height: 1;
}

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

.nav a {
  font-size: 14px;
  color: var(--gray-light);
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--white);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 100%;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--dark-light);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 24px;
  z-index: 99;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-menu a {
  font-size: 16px;
  color: var(--gray-light);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mobile-menu.active { display: block; }

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

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(ellipse at 30% 20%, rgba(99, 102, 241, 0.2) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 80%, rgba(34, 211, 238, 0.1) 0%, transparent 50%);
}

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

.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
  filter: blur(80px);
  animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.8; transform: translateX(-50%) scale(1.1); }
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  font-size: 13px;
  color: var(--gray-light);
  margin-bottom: 32px;
}

.pulse {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--gray-light);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 32px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 13px;
  color: var(--gray);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gray);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  animation: scroll-down 2s ease-in-out infinite;
}

@keyframes scroll-down {
  0%, 100% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Sections ---------- */
.section {
  padding: 120px 0;
  position: relative;
}

.section-dark {
  background: var(--dark-light);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary-light);
  margin-bottom: 20px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--gray-light);
  line-height: 1.7;
}

/* ---------- Project Showcase ---------- */
.project-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 24px;
  padding: 32px;
  transition: all 0.4s;
}

.project-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-4px);
}

.project-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.project-placeholder {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--dark-lighter) 0%, var(--dark) 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.browser-dots {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}

.browser-dots span:first-child { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:nth-child(3) { background: #28c840; }

.placeholder-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gray);
}

.placeholder-content p {
  font-size: 24px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

.placeholder-content span {
  font-size: 12px;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.project-image:hover .project-overlay {
  opacity: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.project-tags span {
  padding: 6px 12px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 8px;
  font-size: 12px;
  color: var(--primary-light);
}

.project-info h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

.project-info > p {
  color: var(--gray-light);
  margin-bottom: 24px;
  line-height: 1.7;
}

.project-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-light);
}

.feature svg {
  width: 18px;
  height: 18px;
  color: #22c55e;
}

.more-projects {
  text-align: center;
  margin-top: 48px;
  padding: 40px;
  border: 1px dashed rgba(255,255,255,0.1);
  border-radius: 16px;
  color: var(--gray);
}

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

.service-card {
  padding: 40px 32px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 20px;
  transition: all 0.4s;
}

.service-card:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-8px);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--white);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-card > p {
  color: var(--gray-light);
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-card li {
  font-size: 14px;
  color: var(--gray);
  padding-left: 20px;
  position: relative;
}

.service-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  padding: 40px 32px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 24px;
  position: relative;
  transition: all 0.4s;
}

.pricing-card:hover {
  border-color: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}

.pricing-featured {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(34, 211, 238, 0.05) 100%);
  border-color: rgba(99, 102, 241, 0.3);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  background: var(--gradient);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

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

.pricing-header h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}

.pricing-header p {
  font-size: 14px;
  color: var(--gray);
}

.pricing-amount {
  margin-bottom: 8px;
}

.currency {
  font-size: 20px;
  color: var(--gray-light);
  vertical-align: top;
}

.price {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
}

.pricing-monthly {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 32px;
}

.pricing-features {
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 14px;
  color: var(--gray-light);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features svg {
  width: 18px;
  height: 18px;
  color: #22c55e;
  flex-shrink: 0;
}

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

.testimonial-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 24px;
  padding: 40px 32px;
  position: relative;
  transition: all 0.4s;
}

.testimonial-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-8px);
  background: rgba(255,255,255,0.03);
}

.testimonial-quote {
  position: relative;
  margin-bottom: 32px;
}

.quote-icon {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 48px;
  height: 48px;
  color: var(--primary);
  opacity: 0.3;
}

.testimonial-quote p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--gray-light);
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: white;
  flex-shrink: 0;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.author-info h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.author-info span {
  font-size: 13px;
  color: var(--gray);
}

.testimonial-rating {
  display: flex;
  gap: 4px;
}

.testimonial-rating svg {
  width: 18px;
  height: 18px;
  color: #fbbf24;
  fill: #fbbf24;
}

@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .testimonial-card {
    padding: 32px 24px;
  }
}

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

.team-card {
  text-align: center;
  padding: 32px 24px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 20px;
  transition: all 0.4s;
}

.team-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-8px);
}

.team-image {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  padding: 3px;
}

.team-placeholder {
  width: 100%;
  height: 100%;
  background: var(--dark-lighter);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-placeholder svg {
  width: 48px;
  height: 48px;
  color: var(--gray);
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.team-info h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.team-info span {
  font-size: 13px;
  color: var(--gray);
}

.team-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.team-links a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  color: var(--gray);
  transition: all 0.2s;
}

.team-links a:hover {
  background: var(--primary);
  color: var(--white);
}

.team-links svg {
  width: 18px;
  height: 18px;
}

/* ---------- Process ---------- */
.process-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  gap: 32px;
  margin-bottom: 48px;
  position: relative;
}

.process-step:last-child {
  margin-bottom: 0;
}

.step-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: rgba(99, 102, 241, 0.2);
  line-height: 1;
  flex-shrink: 0;
  width: 80px;
}

.step-content {
  flex: 1;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.4s;
}

.step-content:hover {
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateX(8px);
}

.step-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step-icon svg {
  width: 28px;
  height: 28px;
  color: white;
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
}

.step-content p {
  font-size: 15px;
  color: var(--gray-light);
  line-height: 1.7;
}

.step-line {
  position: absolute;
  left: 40px;
  top: 80px;
  bottom: -48px;
  width: 2px;
  background: linear-gradient(to bottom, rgba(99, 102, 241, 0.3), transparent);
}

.process-step:last-child .step-line {
  display: none;
}

@media (max-width: 768px) {
  .process-step {
    flex-direction: column;
    gap: 16px;
  }

  .step-number {
    font-size: 36px;
    width: auto;
  }

  .step-line {
    display: none;
  }

  .step-content {
    padding: 24px;
  }

  .step-content:hover {
    transform: translateY(-4px);
  }
}

/* ---------- FAQ ---------- */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
}

.faq-item:hover {
  border-color: rgba(99, 102, 241, 0.2);
}

.faq-item.active {
  border-color: rgba(99, 102, 241, 0.3);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.faq-question span {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--white);
}

.faq-question svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item.active .faq-question svg {
  transform: rotate(45deg);
}

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

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 24px 24px;
  font-size: 15px;
  color: var(--gray-light);
  line-height: 1.7;
}

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

.blog-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s;
}

.blog-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-8px);
}

.blog-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.blog-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(34, 211, 238, 0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-placeholder svg {
  width: 48px;
  height: 48px;
  color: var(--gray);
}

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

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

.blog-content {
  padding: 28px;
}

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

.blog-category {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  background: rgba(99, 102, 241, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
}

.blog-date {
  font-size: 13px;
  color: var(--gray);
}

.blog-content h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-content > p {
  font-size: 14px;
  color: var(--gray-light);
  line-height: 1.6;
  margin-bottom: 20px;
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  transition: gap 0.2s;
}

.blog-link:hover {
  gap: 12px;
}

.blog-link svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ---------- CTA Section ---------- */
.section-cta {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
}

.cta-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(34, 211, 238, 0.1) 100%);
}

.cta-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-content > p {
  font-size: 18px;
  color: var(--gray-light);
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.footer {
  padding: 80px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  max-width: 300px;
}

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

.footer-brand p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
}

.footer-links {
  display: flex;
  gap: 80px;
}

.footer-col h5 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--gray);
  padding: 6px 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 13px;
  color: var(--gray);
}

/* ---------- Animations ---------- */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .header .btn { display: none; }
  .mobile-menu-btn { display: flex; }

  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero-stats { flex-direction: column; gap: 24px; }
  .stat-divider { width: 60px; height: 1px; }
  .scroll-indicator { display: none; }

  .section { padding: 80px 0; }

  .services-grid,
  .pricing-grid,
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .project-features {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 40px;
  }

  .footer-links {
    flex-direction: column;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .hero h1 { font-size: 32px; }
  .section-header h2 { font-size: 28px; }

  .pricing-card,
  .service-card,
  .team-card {
    padding: 24px 20px;
  }

  .price { font-size: 36px; }
}
