/* ================================================================
   TechZone Enterprise — Premium Dark Theme Stylesheet
   ================================================================ */

/* ======================== VARIABLES ======================== */
:root {
  --bg-primary: #09090b;
  --bg-secondary: #0f0f13;
  --bg-tertiary: #16161d;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);

  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.1);

  --text-primary: #fafafa;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;

  --accent: #6366f1;
  --accent-light: #818cf8;
  --accent-glow: rgba(99, 102, 241, 0.15);
  --accent-glow-strong: rgba(99, 102, 241, 0.35);
  --cyan: #22d3ee;
  --cyan-glow: rgba(34, 211, 238, 0.15);

  --gradient-text: linear-gradient(135deg, #818cf8 0%, #22d3ee 50%, #818cf8 100%);
  --gradient-accent: linear-gradient(135deg, #6366f1, #8b5cf6, #22d3ee);
  --gradient-card: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(34, 211, 238, 0.04));

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --container: 1200px;
  --nav-height: 120px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul {
  list-style: none;
}

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

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

input,
textarea {
  font-family: inherit;
  border: none;
  outline: none;
}

/* ======================== UTILITIES ======================== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: var(--gradient-text);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease infinite;
}

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

/* ======================== SCROLL PROGRESS ======================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--gradient-accent);
  z-index: 10000;
  width: 0%;
  transition: width 0.1s linear;
}

/* ======================== CURSOR SPOTLIGHT ======================== */
.cursor-spotlight {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

/* ======================== NAVBAR ======================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border-subtle);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1001;
}

.nav-logo-img {
  height: 110px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px var(--accent-glow));
  transition: var(--transition);
}

.nav-logo:hover .nav-logo-img {
  filter: drop-shadow(0 0 12px var(--accent-glow-strong));
}

.nav-logo-text {
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.logo-accent {
  color: var(--text-secondary);
  font-weight: 400;
}

.footer-logo-img {
  height: 120px;
}

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

.nav-link {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-light);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

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

.nav-cta {
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--accent-light);
  box-shadow: 0 0 20px var(--accent-glow-strong);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
  padding: 4px;
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

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

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

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

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

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

.hero-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: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 70%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
}

.hero-glow--1 {
  width: 600px;
  height: 600px;
  background: var(--accent);
  top: -200px;
  right: -100px;
  animation: heroGlow1 8s ease-in-out infinite;
}

.hero-glow--2 {
  width: 400px;
  height: 400px;
  background: var(--cyan);
  bottom: -100px;
  left: -50px;
  animation: heroGlow2 10s ease-in-out infinite;
}

@keyframes heroGlow1 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
  50% { transform: translate(-40px, 30px) scale(1.1); opacity: 0.5; }
}

@keyframes heroGlow2 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.2; }
  50% { transform: translate(30px, -20px) scale(1.15); opacity: 0.35; }
}

.hero-particles {
  position: absolute;
  inset: 0;
}

.hero-particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--accent-light);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 8s ease-in-out infinite;
}

@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(0) scale(0); }
  20% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 0; transform: translateY(-200px) scale(0); }
}

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

.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-light);
  padding: 6px 16px;
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 100px;
  margin-bottom: 24px;
  background: rgba(99, 102, 241, 0.06);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 540px;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 10px;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 0 var(--accent-glow-strong);
}

.btn-primary:hover {
  background: var(--accent-light);
  box-shadow: 0 0 30px var(--accent-glow-strong);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  border-color: var(--accent-light);
  color: var(--accent-light);
  background: var(--accent-glow);
  transform: translateY(-2px);
}

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

/* Hero Visual — floating cards */
.hero-visual {
  position: relative;
  height: 440px;
}

.hero-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 16px 20px;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  animation: cardFloat 6s ease-in-out infinite;
}

.hero-card:hover {
  border-color: var(--accent);
  background: rgba(99, 102, 241, 0.06);
}

.hero-card-icon {
  font-size: 1.2rem;
}

.hero-card-status {
  margin-left: auto;
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

.hero-card-status.active {
  background: rgba(34, 197, 94, 0.1);
  color: #4ade80;
}

.hero-card--1 {
  top: 20px;
  left: 20px;
  animation-delay: 0s;
}

.hero-card--2 {
  top: 100px;
  right: 0;
  animation-delay: 1s;
}

.hero-card--3 {
  top: 200px;
  left: 40px;
  animation-delay: 2s;
}

.hero-card--4 {
  top: 300px;
  right: 20px;
  animation-delay: 3s;
}

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

.hero-visual-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--accent-glow-strong) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 1.5px solid var(--text-muted);
  border-bottom: 1.5px solid var(--text-muted);
  transform: rotate(45deg);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 1; }
  50% { transform: rotate(45deg) translateY(6px); opacity: 0.4; }
}

/* ======================== STATS ======================== */
.stats {
  padding: 60px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
}

.stats-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.stat-item {
  text-align: center;
  flex: 1;
  padding: 20px;
}

.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--gradient-text);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease infinite;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 400;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border-subtle);
}

/* ======================== SECTIONS SHARED ======================== */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ======================== SERVICES ======================== */
.services {
  padding: 120px 0;
  position: relative;
}

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

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

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

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--accent-glow);
  color: var(--accent-light);
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: rgba(99, 102, 241, 0.2);
  box-shadow: 0 0 20px var(--accent-glow);
}

.service-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ======================== WHY US ======================== */
.why-us {
  padding: 120px 0;
  background: var(--bg-secondary);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.why-card {
  padding: 36px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  transition: var(--transition);
  position: relative;
}

.why-card:hover {
  border-color: var(--border-light);
  background: var(--bg-card-hover);
}

.why-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-text);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease infinite;
  margin-bottom: 16px;
  opacity: 0.4;
  line-height: 1;
}

.why-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ======================== CAPABILITIES / WORKFLOW ======================== */
.capabilities {
  padding: 120px 0;
  position: relative;
}

.workflow {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 40px;
}

.workflow-line {
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-subtle);
}

.workflow-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--gradient-accent);
  transition: height 0.8s ease;
}

.workflow-step {
  position: relative;
  padding: 0 0 48px 32px;
}

.workflow-step:last-child {
  padding-bottom: 0;
}

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

.workflow-step.active .workflow-dot {
  border-color: var(--accent-light);
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow-strong);
}

.workflow-number {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-light);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.workflow-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.workflow-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 480px;
}

/* ======================== ABOUT ======================== */
.about {
  padding: 120px 0;
  background: var(--bg-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-content .section-tag {
  display: block;
  margin-bottom: 16px;
}

.about-content .section-title {
  text-align: left;
}

.about-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.about-highlights {
  display: flex;
  gap: 40px;
  margin-top: 36px;
}

.about-highlight {
  display: flex;
  flex-direction: column;
}

.highlight-number {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-text);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease infinite;
  line-height: 1.2;
}

.highlight-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Abstract visual */
.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-visual-card {
  width: 100%;
  max-width: 400px;
  height: 360px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  padding: 40px;
}

.about-visual-line {
  height: 8px;
  border-radius: 4px;
  background: var(--border-subtle);
  margin-bottom: 20px;
}

.about-visual-line:nth-child(1) { width: 80%; }
.about-visual-line:nth-child(2) { width: 60%; background: var(--accent-glow); }
.about-visual-line:nth-child(3) { width: 45%; }

.about-visual-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 3s ease infinite;
}

.about-visual-dot:nth-child(4) {
  bottom: 60px;
  right: 60px;
}

.about-visual-dot:nth-child(5) {
  bottom: 100px;
  right: 120px;
  animation-delay: 1.5s;
  background: var(--cyan);
}

.about-visual-circle {
  position: absolute;
  bottom: 40px;
  right: 40px;
  width: 120px;
  height: 120px;
  border: 2px solid var(--border-subtle);
  border-radius: 50%;
  animation: rotate 20s linear infinite;
}

.about-visual-circle::after {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--accent-light);
  border-radius: 50%;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

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

/* ======================== TESTIMONIALS ======================== */
.testimonials {
  padding: 120px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover {
  border-color: var(--border-light);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.testimonial-quote {
  font-size: 4rem;
  line-height: 1;
  background: var(--gradient-text);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease infinite;
  opacity: 0.5;
  margin-bottom: -20px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

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

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

.testimonial-name {
  font-size: 0.9rem;
  font-weight: 600;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ======================== CONTACT ======================== */
.contact {
  padding: 120px 0;
  background: var(--bg-secondary);
}

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

.contact-content .section-tag {
  display: block;
  margin-bottom: 16px;
}

.contact-content .section-title {
  text-align: left;
}

.contact-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

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

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.contact-item svg {
  color: var(--accent-light);
  flex-shrink: 0;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: var(--transition);
}

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

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: rgba(99, 102, 241, 0.04);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

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

/* ======================== FOOTER ======================== */
.footer {
  padding: 80px 0 0;
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 16px;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.social-link:hover {
  border-color: var(--accent-light);
  color: var(--accent-light);
  background: var(--accent-glow);
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.footer-links li {
  margin-bottom: 10px;
}

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

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

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

/* ======================== REVEAL ANIMATIONS ======================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.services-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.services-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.services-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.services-grid .reveal:nth-child(5) { transition-delay: 0.32s; }
.services-grid .reveal:nth-child(6) { transition-delay: 0.40s; }
.services-grid .reveal:nth-child(7) { transition-delay: 0.48s; }

.why-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.why-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.why-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.why-grid .reveal:nth-child(5) { transition-delay: 0.32s; }
.why-grid .reveal:nth-child(6) { transition-delay: 0.40s; }

.testimonials-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.testimonials-grid .reveal:nth-child(3) { transition-delay: 0.16s; }

/* ======================== RESPONSIVE ======================== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 60px 24px;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-visual {
    display: none;
  }

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

  .about-content .section-title {
    text-align: center;
  }

  .about-content .section-tag {
    text-align: center;
  }

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

  .about-highlights {
    justify-content: center;
  }

  .about-visual-card {
    max-width: 360px;
    height: 280px;
    margin: 0 auto;
  }

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

  .contact-content .section-title {
    text-align: center;
  }

  .contact-content .section-tag {
    text-align: center;
  }

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

  .contact-details {
    align-items: center;
  }

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

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 9, 11, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
  }

  .nav-links .nav-link {
    font-size: 1.3rem;
    font-weight: 500;
  }

  .nav-cta {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-title {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .hero-content {
    padding: 40px 24px;
  }

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

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

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

  .stats-grid {
    flex-wrap: wrap;
    gap: 8px;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    flex: 1 1 45%;
    min-width: 140px;
  }

  .about-highlights {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-tagline {
    max-width: 100%;
  }

  .workflow {
    padding-left: 32px;
  }

  .workflow-line {
    left: 7px;
  }

  .workflow-dot {
    left: -30px;
    width: 12px;
    height: 12px;
  }
}

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

  .hero-badge {
    font-size: 0.7rem;
  }

  .btn {
    padding: 12px 22px;
    font-size: 0.85rem;
  }

  .section-header {
    margin-bottom: 48px;
  }

  .services,
  .why-us,
  .capabilities,
  .about,
  .testimonials,
  .contact {
    padding: 80px 0;
  }

  .service-card,
  .why-card,
  .testimonial-card {
    padding: 28px 24px;
  }
}
