/* ============================================
   SoftwareBox - Modern Software Company
   Premium Design System
   ============================================ */

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

:root {
  /* Primary Palette - Deep purple to electric blue */
  --primary-900: #1a0a2e;
  --primary-800: #2d1b4e;
  --primary-700: #4a1c7a;
  --primary-600: #6b21a8;
  --primary-500: #8b5cf6;
  --primary-400: #a78bfa;
  --primary-300: #c4b5fd;

  /* Accent - Electric blue */
  --accent-600: #2563eb;
  --accent-500: #3b82f6;
  --accent-400: #60a5fa;
  --accent-300: #93c5fd;

  /* Neutrals */
  --dark-900: #0a0a0f;
  --dark-800: #111118;
  --dark-700: #1a1a24;
  --dark-600: #252532;
  --dark-500: #32324a;

  --light-100: #ffffff;
  --light-200: #f8f9fc;
  --light-300: #e8eaf0;
  --light-400: #c9cdd8;
  --light-500: #9ca3af;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-600) 0%, var(--accent-500) 100%);
  --gradient-dark: linear-gradient(180deg, var(--dark-800) 0%, var(--dark-900) 100%);
  --gradient-glow: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.15) 0%, transparent 70%);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 60px rgba(139, 92, 246, 0.3);

  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Spacing */
  --section-padding: 120px;
  --container-max: 1280px;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--dark-700);
  line-height: 1.6;
  background: var(--light-100);
  overflow-x: hidden;
}

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

/* ============================================
   Navigation
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--dark-800);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--light-100);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--gradient-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.logo-text .logo-company-name {
  display: flex;
  flex-direction: column;
  font-size: 0.75rem;
  text-wrap: nowrap;
}

.logo-cube {
  width: 14px;
  height: 14px;
  background: var(--light-100);
  border-radius: 3px;
  transform: rotate(45deg);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--light-400);
  text-decoration: none;
  transition: color 0.3s var(--ease-out-quart);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s var(--ease-out-expo);
}

.nav-links a:hover {
  color: var(--light-100);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 12px 24px;
  background: var(--gradient-primary);
  color: var(--light-100);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.3s var(--ease-out-expo);
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4);
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--light-100);
  border-radius: 2px;
  transition: 0.3s var(--ease-out-expo);
}

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

.hero {
  padding: 180px 0 100px;
  background: var(--dark-800);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-glow);
  pointer-events: none;
}

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

.hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 800;
  color: var(--light-100);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

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

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--light-500);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.7;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--light-100);
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(139, 92, 246, 0.45);
}

.btn-primary svg {
  transition: transform 0.3s var(--ease-out-expo);
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

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

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

.btn-full {
  width: 100%;
  justify-content: center;
}

/* Vortex Animation */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.vortex {
  position: relative;
  width: 420px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: vortexFloat 6s ease-in-out infinite;
}

@keyframes vortexFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(3deg);
  }
}

.vortex-ring {
  position: absolute;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--primary-500);
  border-right-color: var(--accent-500);
  animation: vortexSpin 3s linear infinite;
}

.vortex-ring:nth-child(1) {
  width: 100%;
  height: 100%;
  animation-duration: 8s;
  opacity: 0.9;
}

.vortex-ring:nth-child(2) {
  width: 85%;
  height: 85%;
  animation-duration: 7s;
  animation-direction: reverse;
  opacity: 0.85;
}

.vortex-ring:nth-child(3) {
  width: 70%;
  height: 70%;
  animation-duration: 6s;
  opacity: 0.8;
}

.vortex-ring:nth-child(4) {
  width: 55%;
  height: 55%;
  animation-duration: 5s;
  animation-direction: reverse;
  opacity: 0.75;
}

.vortex-ring:nth-child(5) {
  width: 40%;
  height: 40%;
  animation-duration: 4s;
  opacity: 0.7;
}

.vortex-ring:nth-child(6) {
  width: 28%;
  height: 28%;
  animation-duration: 3.5s;
  animation-direction: reverse;
  opacity: 0.65;
}

.vortex-ring:nth-child(7) {
  width: 18%;
  height: 18%;
  animation-duration: 3s;
  opacity: 0.6;
}

.vortex-ring:nth-child(8) {
  width: 10%;
  height: 10%;
  animation-duration: 2.5s;
  animation-direction: reverse;
  opacity: 0.55;
}

@keyframes vortexSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.vortex-core {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  box-shadow: var(--shadow-glow), inset 0 0 30px rgba(255, 255, 255, 0.2);
  animation: corePulse 2s ease-in-out infinite;
}

@keyframes corePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: var(--shadow-glow), inset 0 0 30px rgba(255, 255, 255, 0.2);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 80px rgba(139, 92, 246, 0.5), inset 0 0 40px rgba(255, 255, 255, 0.3);
  }
}

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

.stats-section {
  padding: 80px 0;
  background: var(--light-100);
  margin-top: -40px;
  position: relative;
  z-index: 10;
}

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

.stat-card {
  padding: 32px;
  background: var(--light-200);
  border-radius: 16px;
  border: 1px solid var(--light-300);
  transition: all 0.4s var(--ease-out-expo);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.stat-card.featured {
  background: var(--gradient-primary);
  border: none;
}

.stat-card.featured .stat-number,
.stat-card.featured .stat-label {
  color: var(--light-100);
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--dark-800);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--light-500);
  font-weight: 500;
}

/* ============================================
   Services Section - Design Develop Deploy
   ============================================ */

.services-section {
  padding: var(--section-padding) 0;
  background: var(--light-100);
}

.services-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.section-title {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.title-line {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  color: var(--dark-800);
  line-height: 1;
  letter-spacing: -0.03em;
}

.title-line.accent {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Ribbon Animation */
.services-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.ribbon-flow {
  position: relative;
  width: 100%;
  height: 300px;
}

.ribbon {
  position: absolute;
  height: 60px;
  border-radius: 30px;
  animation: ribbonWave 4s ease-in-out infinite;
}

.ribbon-1 {
  top: 20%;
  left: 10%;
  width: 80%;
  background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb);
  animation-delay: 0s;
}

.ribbon-2 {
  top: 40%;
  left: 5%;
  width: 90%;
  background: linear-gradient(90deg, #a55eea, #5f27cd, #341f97);
  animation-delay: 0.5s;
}

.ribbon-3 {
  top: 60%;
  left: 15%;
  width: 70%;
  background: linear-gradient(90deg, #00d2d3, #54a0ff, #5f27cd);
  animation-delay: 1s;
}

@keyframes ribbonWave {
  0%, 100% {
    transform: translateX(0) scaleX(1) rotate(-2deg);
    border-radius: 30px 60px 30px 60px;
  }
  25% {
    transform: translateX(10px) scaleX(1.05) rotate(1deg);
    border-radius: 60px 30px 60px 30px;
  }
  50% {
    transform: translateX(-5px) scaleX(0.95) rotate(-1deg);
    border-radius: 30px 60px 30px 60px;
  }
  75% {
    transform: translateX(5px) scaleX(1.02) rotate(2deg);
    border-radius: 60px 30px 60px 30px;
  }
}

.tagline {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid var(--light-300);
}

.tagline p {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--dark-700);
  line-height: 1.5;
}

.tagline strong {
  color: var(--dark-900);
}

/* ============================================
   About/Capabilities Section
   ============================================ */

.about-section {
  padding: var(--section-padding) 0;
  background: var(--light-200);
}

.about-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  padding: 8px 20px;
  background: var(--primary-300);
  color: var(--primary-700);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--dark-800);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--light-500);
  max-width: 600px;
  margin: 0 auto;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.capability-card {
  padding: 36px;
  background: var(--light-100);
  border-radius: 20px;
  border: 1px solid var(--light-300);
  transition: all 0.4s var(--ease-out-expo);
}

.capability-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-300);
}

.capability-icon {
  width: 52px;
  height: 52px;
  background: var(--gradient-primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.capability-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--light-100);
}

.capability-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-800);
  margin-bottom: 12px;
}

.capability-card p {
  font-size: 0.95rem;
  color: var(--light-500);
  line-height: 1.6;
}

/* ============================================
   Process Section
   ============================================ */

.process-section {
  padding: var(--section-padding) 0;
  background: var(--light-100);
  position: relative;
  overflow: hidden;
}

.process-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--accent-500) 100%);
  z-index: 0;
}

.process-header {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
  z-index: 1;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.process-card {
  padding: 36px;
  background: var(--light-100);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  transition: all 0.4s var(--ease-out-expo);
}

.process-card:hover {
  transform: translateY(-8px);
}

.process-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.process-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark-800);
  margin-bottom: 12px;
}

.process-card p {
  font-size: 0.95rem;
  color: var(--light-500);
  line-height: 1.6;
}

/* ============================================
   Testimonials Section
   ============================================ */

.testimonials-section {
  padding: var(--section-padding) 0;
  background: var(--light-200);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 64px;
}

.testimonials-header .section-heading .light {
  font-weight: 400;
  color: var(--light-500);
}

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

.testimonial-card {
  padding: 32px;
  background: var(--light-100);
  border-radius: 20px;
  border: 1px solid var(--light-300);
  transition: all 0.4s var(--ease-out-expo);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card.featured {
  background: var(--gradient-primary);
  border: none;
  transform: scale(1.02);
}

.testimonial-card.featured:hover {
  transform: scale(1.02) translateY(-4px);
}

.testimonial-card.featured .testimonial-content p,
.testimonial-card.featured .author-info strong,
.testimonial-card.featured .author-info span,
.testimonial-card.featured .testimonial-rating span {
  color: var(--light-100);
}

.testimonial-card.featured .author-avatar {
  background: rgba(255, 255, 255, 0.2);
  color: var(--light-100);
}

.testimonial-content p {
  font-size: 1rem;
  color: var(--dark-700);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

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

.author-avatar {
  width: 48px;
  height: 48px;
  background: var(--primary-300);
  color: var(--primary-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-info strong {
  font-size: 1rem;
  color: var(--dark-800);
}

.author-info span {
  font-size: 0.85rem;
  color: var(--light-500);
}

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

.testimonial-rating span {
  color: #fbbf24;
  font-size: 1.1rem;
}

/* ============================================
   Showcase/Dashboard Section
   ============================================ */

.showcase-section {
  padding: var(--section-padding) 0;
  background: var(--light-100);
}

.showcase-header {
  text-align: center;
  margin-bottom: 64px;
}

.showcase-header .section-desc {
  margin-top: 16px;
}

.dashboard-preview {
  display: flex;
  justify-content: center;
}

.dashboard-mockup {
  width: 100%;
  max-width: 1000px;
  background: var(--light-100);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  border: 1px solid var(--light-300);
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background: var(--dark-800);
  border-bottom: 1px solid var(--dark-600);
}

.mockup-dots {
  display: flex;
  gap: 8px;
}

.mockup-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.mockup-dots span:nth-child(1) {
  background: #ff5f57;
}

.mockup-dots span:nth-child(2) {
  background: #febc2e;
}

.mockup-dots span:nth-child(3) {
  background: #28c840;
}

.mockup-title {
  font-size: 0.9rem;
  color: var(--light-400);
  font-weight: 500;
}

.mockup-content {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 400px;
}

.mockup-sidebar {
  background: var(--dark-700);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-item {
  height: 40px;
  background: var(--dark-600);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.sidebar-item.active {
  background: var(--gradient-primary);
}

.mockup-main {
  padding: 24px;
  background: var(--light-200);
}

.chart-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.chart-card {
  background: var(--light-100);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--light-300);
}

.chart-card.large {
  min-height: 200px;
}

.chart-header {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark-700);
  margin-bottom: 16px;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 120px;
}

.bar {
  flex: 1;
  height: var(--height);
  background: var(--gradient-primary);
  border-radius: 6px 6px 0 0;
  animation: barGrow 1s var(--ease-out-expo) forwards;
  transform-origin: bottom;
}

@keyframes barGrow {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

.chart-donut {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: conic-gradient(
      var(--primary-500) 0deg 120deg,
      var(--accent-400) 120deg 200deg,
      var(--light-300) 200deg 360deg
  );
  margin: 20px auto;
  position: relative;
}

.chart-donut::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: var(--light-100);
  border-radius: 50%;
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.metric {
  background: var(--light-100);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid var(--light-300);
  text-align: center;
}

.metric-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark-800);
  margin-bottom: 4px;
}

.metric-label {
  font-size: 0.8rem;
  color: var(--light-500);
}

/* ============================================
   Contact Section
   ============================================ */

.contact-section {
  padding: var(--section-padding) 0;
  background: var(--dark-800);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--light-100);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.contact-desc {
  font-size: 1.1rem;
  color: var(--light-500);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--light-400);
}

.contact-item svg {
  width: 22px;
  height: 22px;
  stroke: var(--primary-400);
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 44px;
  height: 44px;
  background: var(--dark-600);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-400);
  transition: all 0.3s var(--ease-out-expo);
}

.social-link:hover {
  background: var(--gradient-primary);
  color: var(--light-100);
  transform: translateY(-3px);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 18px 20px;
  background: var(--dark-700);
  border: 1px solid var(--dark-500);
  border-radius: 14px;
  color: var(--light-100);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s var(--ease-out-quart);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--light-500);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15);
}

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

.contact-form .btn-primary {
  padding: 18px 28px;
}

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

.footer {
  background: var(--dark-900);
  padding: 64px 0 32px;
}

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

.footer-brand p {
  color: var(--light-500);
  margin-top: 16px;
  max-width: 300px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--light-100);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  color: var(--light-500);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--dark-700);
  text-align: center;
}

.footer-bottom p {
  color: var(--light-500);
  font-size: 0.9rem;
}

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

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text h1 {
    margin: 0 auto 24px;
  }

  .hero-subtitle {
    margin: 0 auto 40px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .vortex {
    width: 320px;
    height: 320px;
  }

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

  .services-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

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

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

  .testimonial-card.featured {
    transform: none;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

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

  .container {
    padding: 0 20px;
  }

  .navbar .container {
    height: 70px;
  }

  .nav-links, .nav-cta {
    display: none;
  }

  .nav-links.active {
    display: flex;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--dark-800);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--dark-600);
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 140px 0 80px;
  }

  .hero-visual {
    display: none;
  }

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

  .title-line {
    font-size: 2.5rem;
  }

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

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

  .process-bg {
    height: 70%;
  }

  .mockup-content {
    grid-template-columns: 1fr;
  }

  .mockup-sidebar {
    display: none;
  }

  .chart-row {
    grid-template-columns: 1fr;
  }

  .metrics-row {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ============================================
   Animations on Scroll
   ============================================ */

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animation delays */
.stagger-1 {
  transition-delay: 0.1s;
}

.stagger-2 {
  transition-delay: 0.2s;
}

.stagger-3 {
  transition-delay: 0.3s;
}

.stagger-4 {
  transition-delay: 0.4s;
}

.stagger-5 {
  transition-delay: 0.5s;
}

.stagger-6 {
  transition-delay: 0.6s;
}
