/* ============================================
   DECA DIGITAL — Global Styles
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #6C63FF;
  --primary-glow: rgba(108, 99, 255, 0.3);
  --accent: #00D4AA;
  --accent-glow: rgba(0, 212, 170, 0.3);
  --bg: #0A0A0F;
  --surface: #14141F;
  --surface-hover: #1C1C2E;
  --border: #2A2A3E;
  --text: #EEEEF0;
  --text-muted: #8888A0;
  --gradient-1: linear-gradient(135deg, var(--primary), var(--accent));
  --gradient-2: linear-gradient(135deg, var(--accent), var(--primary));
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Space Grotesk', var(--font-body);
  --max-width: 1200px;
  --nav-height: 80px;
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #0A0A0F;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 120px 0;
  position: relative;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }

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

.text-muted { color: var(--text-muted); }

.section-label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-title {
  margin-bottom: 24px;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-1);
  color: #fff;
  box-shadow: 0 4px 24px var(--primary-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--primary-glow);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(108, 99, 255, 0.05);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--transition);
  backdrop-filter: blur(0px);
}

.nav.scrolled {
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.nav-logo svg { width: 32px; height: 32px; }

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

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-cta {
  padding: 10px 24px !important;
  font-size: 0.875rem !important;
  color: #fff !important;
}

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

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all var(--transition);
  border-radius: 2px;
}

/* --- Background Pattern --- */
.bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(108, 99, 255, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

/* --- Hero Video Background --- */
.hero-video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 15, 0.35);
  z-index: 1;
}

/* --- Gradient Mesh (Hero) --- */
.gradient-mesh {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.mesh-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}

.mesh-blob-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.18) 0%, transparent 70%);
  top: -15%;
  right: -10%;
  animation: meshDrift1 22s ease-in-out infinite;
}

.mesh-blob-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.12) 0%, transparent 70%);
  bottom: -10%;
  left: -5%;
  animation: meshDrift2 26s ease-in-out infinite;
}

.mesh-blob-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.1) 0%, rgba(0, 212, 170, 0.05) 50%, transparent 70%);
  top: 30%;
  left: 25%;
  animation: meshDrift3 30s ease-in-out infinite;
}

.mesh-blob-4 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.1) 0%, transparent 70%);
  top: -5%;
  left: 40%;
  animation: meshDrift4 24s ease-in-out infinite;
}

@keyframes meshDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(-40px, 30px) scale(1.05); }
  50% { transform: translate(-20px, 60px) scale(0.95); }
  75% { transform: translate(30px, 20px) scale(1.08); }
}

@keyframes meshDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(50px, -30px) scale(1.08); }
  50% { transform: translate(30px, -60px) scale(0.96); }
  75% { transform: translate(-20px, -40px) scale(1.04); }
}

@keyframes meshDrift3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -50px) scale(1.1); }
  66% { transform: translate(-30px, 30px) scale(0.92); }
}

@keyframes meshDrift4 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-60px, 40px) scale(1.06); }
  66% { transform: translate(40px, -30px) scale(0.94); }
}

/* --- Floating Shapes (scroll-driven) --- */
.floating-shape {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.shape-circle {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
}

.shape-ring {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--primary);
  background: transparent;
}

.shape-ring.accent { border-color: var(--accent); }

.shape-diamond {
  width: 18px;
  height: 18px;
  background: var(--accent);
  transform: rotate(45deg);
  border-radius: 3px;
}

.shape-line {
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
  border-radius: 1px;
}

.shape-plus {
  width: 20px;
  height: 20px;
  position: absolute;
}

.shape-plus::before,
.shape-plus::after {
  content: '';
  position: absolute;
  background: var(--primary);
  border-radius: 1px;
}

.shape-plus::before {
  width: 100%;
  height: 2px;
  top: 50%;
  transform: translateY(-50%);
}

.shape-plus::after {
  width: 2px;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
}

.shape-plus.accent::before,
.shape-plus.accent::after { background: var(--accent); }

@media (max-width: 768px) {
  .floating-shape { display: none; }
  .mesh-blob { opacity: 0.5; }
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

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

.hero h1 {
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  pointer-events: none;
}

.hero-glow-1 {
  background: var(--primary);
  top: -200px;
  right: -100px;
}

.hero-glow-2 {
  background: var(--accent);
  bottom: -200px;
  left: -100px;
  opacity: 0.1;
}

/* Hero Illustration */
.hero-illustration {
  position: relative;
  z-index: 2;
}

.hero-mockup {
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  filter: drop-shadow(0 20px 60px rgba(108, 99, 255, 0.2));
}

.hero-mockup .mockup-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.hero-mockup .mockup-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.hero-mockup .mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.hero-mockup .mockup-dot.red { background: #ff5f57; }
.hero-mockup .mockup-dot.yellow { background: #ffbd2e; }
.hero-mockup .mockup-dot.green { background: #28c840; }

.hero-mockup .mockup-url {
  flex: 1;
  background: var(--bg);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: 8px;
}

.hero-mockup .mockup-body {
  padding: 24px;
  min-height: 280px;
}

.mockup-chat {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mockup-msg {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.mockup-msg.user { flex-direction: row-reverse; }

.mockup-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}

.mockup-avatar.bot { background: var(--gradient-1); }
.mockup-avatar.human { background: var(--accent); }

.mockup-bubble {
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.8125rem;
  line-height: 1.5;
  max-width: 75%;
}

.mockup-msg.bot .mockup-bubble {
  background: var(--surface-hover);
  color: var(--text);
  border-bottom-left-radius: 4px;
}

.mockup-msg.user .mockup-bubble {
  background: linear-gradient(135deg, var(--primary), #8B7FFF);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.mockup-typing {
  display: flex;
  gap: 4px;
  padding: 12px 16px;
  align-items: center;
}

.mockup-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: typingPulse 1.4s ease-in-out infinite;
}

.mockup-typing span:nth-child(2) { animation-delay: 0.2s; }
.mockup-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingPulse {
  0%, 60%, 100% { opacity: 0.3; transform: scale(0.8); }
  30% { opacity: 1; transform: scale(1); }
}

/* Floating badges around hero */
.hero-badge {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  z-index: 3;
  animation: float 6s ease-in-out infinite;
}

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

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-badge-1 {
  top: 15%;
  right: -10px;
  animation-delay: 0s;
}

.hero-badge-2 {
  bottom: 20%;
  right: 10%;
  animation-delay: 2s;
}

.hero-badge-3 {
  bottom: 5%;
  left: 5%;
  animation-delay: 4s;
}

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

.cursor-glow.active { opacity: 1; }

@media (hover: none) {
  .cursor-glow { display: none; }
}

/* --- Trusted By / Client Logos --- */
.trusted-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}

.trusted-label {
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.trusted-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trusted-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-muted);
  opacity: 0.5;
  transition: opacity var(--transition);
  text-decoration: none;
}

.trusted-logo:hover { opacity: 0.8; color: var(--text-muted); }

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

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

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

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

.service-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(108, 99, 255, 0.1);
}

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

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(108, 99, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.5rem;
}

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

.service-card:nth-child(2) .service-icon {
  background: rgba(0, 212, 170, 0.1);
}

.service-card:nth-child(3) .service-icon {
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.1), rgba(0, 212, 170, 0.1));
}

.service-card h3 { margin-bottom: 12px; }

.service-card p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.9375rem;
}

.service-card .btn {
  margin-top: 24px;
  padding: 10px 20px;
  font-size: 0.875rem;
}

/* --- Stats --- */
.stats {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 0;
}

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

.stat-item h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 8px;
}

.stat-item h3 .text-gradient { display: inline; }

.stat-item p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* --- Testimonials --- */
.testimonials { overflow: hidden; }

.testimonials-track {
  display: flex;
  gap: 24px;
  padding: 40px 0;
}

.testimonial-card {
  min-width: 400px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  flex-shrink: 0;
}

.testimonial-card blockquote {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 24px;
  font-style: italic;
}

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

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

.testimonial-info strong {
  display: block;
  font-size: 0.9375rem;
}

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

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, var(--primary-glow) 0%, transparent 60%);
  opacity: 0.3;
  pointer-events: none;
}

.cta-box h2 { margin-bottom: 16px; position: relative; }
.cta-box p {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-box .btn { position: relative; }

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}

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

.footer-brand p {
  color: var(--text-muted);
  margin-top: 16px;
  font-size: 0.9375rem;
  max-width: 300px;
  line-height: 1.7;
}

.footer h4 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 20px;
}

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

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

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

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.8125rem;
}

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

.footer-socials a {
  color: var(--text-muted);
  font-size: 1.25rem;
  transition: color var(--transition);
}
.footer-socials a:hover { color: var(--text); }

/* --- Page Headers (inner pages) --- */
.page-header {
  padding: 160px 0 80px;
  text-align: center;
}

.page-header .section-label { margin-bottom: 16px; }
.page-header h1 { margin-bottom: 16px; }
.page-header p {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Service Detail (services page) --- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.service-detail:nth-child(even) { direction: rtl; }
.service-detail:nth-child(even) > * { direction: ltr; }

.service-detail-content h3 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.service-detail-content p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.feature-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.service-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
  padding: 24px;
}

.service-visual svg {
  width: 100%;
  height: 100%;
}

.service-visual::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(108, 99, 255, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

.service-visual::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(108,99,255,0.05), rgba(0,212,170,0.05));
  z-index: 0;
}

/* --- Process Timeline (about page) --- */
.process-section { padding: 120px 0; }

.timeline {
  position: relative;
  max-width: 700px;
  margin: 60px auto 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  padding-left: 72px;
  padding-bottom: 48px;
  position: relative;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: 14px;
  top: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--primary);
  z-index: 1;
}

.timeline-item h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.timeline-item p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Values Grid (about page) --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.value-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(108, 99, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.value-icon svg {
  width: 22px;
  height: 22px;
}

.value-card:nth-child(2) .value-icon { background: rgba(0, 212, 170, 0.1); }
.value-card:nth-child(3) .value-icon { background: linear-gradient(135deg, rgba(108, 99, 255, 0.1), rgba(0, 212, 170, 0.1)); }

.value-card h3 {
  margin-bottom: 8px;
  font-size: 1.125rem;
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 60px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}

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

.contact-info { display: flex; flex-direction: column; gap: 32px; }

.contact-info-item h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.contact-info-item p {
  color: var(--text-muted);
  line-height: 1.7;
}

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

.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(108, 99, 255, 0.1);
  color: var(--text);
}

.blog-card-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
  padding: 24px;
}

.blog-card-image svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.blog-card-image.ai { background: linear-gradient(135deg, rgba(108,99,255,0.15), rgba(108,99,255,0.05)); }
.blog-card-image.web { background: linear-gradient(135deg, rgba(0,212,170,0.15), rgba(0,212,170,0.05)); }
.blog-card-image.auto { background: linear-gradient(135deg, rgba(108,99,255,0.1), rgba(0,212,170,0.1)); }

.blog-card-body {
  padding: 28px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

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

.blog-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  background: rgba(108, 99, 255, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
}

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

.blog-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  line-height: 1.35;
}

.blog-card-body p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  flex: 1;
}

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

/* Blog Post (single article) */
.blog-post {
  max-width: 750px;
  margin: 0 auto;
  padding: 0 24px;
}

.blog-post-header {
  padding: 160px 0 40px;
  text-align: center;
}

.blog-post-header .blog-tag { display: inline-block; margin-bottom: 16px; }
.blog-post-header h1 { margin-bottom: 16px; font-size: clamp(2rem, 4vw, 2.75rem); }
.blog-post-header .blog-date { display: block; margin-bottom: 8px; }

.blog-post-content {
  padding-bottom: 80px;
}

.blog-post-content h2 {
  font-size: 1.5rem;
  margin: 48px 0 16px;
}

.blog-post-content h3 {
  font-size: 1.25rem;
  margin: 32px 0 12px;
}

.blog-post-content p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1.0625rem;
}

.blog-post-content ul,
.blog-post-content ol {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
  padding-left: 24px;
  font-size: 1.0625rem;
}

.blog-post-content li { margin-bottom: 8px; }

.blog-post-content blockquote {
  border-left: 3px solid var(--primary);
  padding: 16px 24px;
  margin: 32px 0;
  background: var(--surface);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text);
  font-size: 1.125rem;
  font-style: italic;
}

.blog-post-content strong { color: var(--text); }

.blog-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  margin-top: 40px;
}

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

/* --- FAQ --- */
.faq-section { padding: 120px 0 60px; }

.faq-list {
  max-width: 750px;
  margin: 60px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item[open] { border-color: var(--primary); }

.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1.0625rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color var(--transition);
}

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

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform var(--transition);
}

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

.faq-item summary:hover { color: var(--primary); }

.faq-item p {
  padding: 0 24px 20px;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.9375rem;
}

/* --- Animations (GSAP-driven, initial states) --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
}

/* --- Noscript fallback: show everything if JS is disabled --- */
noscript + style,
.no-js .reveal,
.no-js .reveal-left,
.no-js .reveal-right,
.no-js .reveal-scale {
  opacity: 1 !important;
  transform: none !important;
}

/* --- Responsive --- */
@media (max-width: 968px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-illustration { display: none; }
  .hero-content { max-width: 800px; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .service-detail { grid-template-columns: 1fr; gap: 32px; }
  .service-detail:nth-child(even) { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .trusted-logos { gap: 32px; }
}

@media (max-width: 768px) {
  section { padding: 80px 0; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
  }

  .nav-links.open { display: flex; }

  .nav-toggle { display: flex; }

  .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .hero-buttons { flex-direction: column; align-items: flex-start; }
  .hero-video-wrap { display: none; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }

  .testimonial-card { min-width: 300px; }

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

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