/* ============================================================
   NEO AI — STYLES.CSS
   Dark theme, cyan/purple gradient, glassmorphism aesthetic
   ============================================================ */

/* ---------- CSS VARIABLES ---------- */
:root {
  --color-bg: #05060f;
  --color-bg-2: #080a18;
  --color-surface: rgba(255, 255, 255, 0.04);
  --color-surface-hover: rgba(255, 255, 255, 0.07);
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-hover: rgba(0, 212, 255, 0.3);

  --color-cyan: #00d4ff;
  --color-cyan-dark: #00a8cc;
  --color-purple: #7c3aed;
  --color-purple-light: #a855f7;
  --color-red: #ef4444;
  --color-green: #10b981;

  --gradient-primary: linear-gradient(135deg, #00d4ff, #7c3aed);
  --gradient-subtle: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.15),
    rgba(124, 58, 237, 0.15)
  );
  --gradient-glow: radial-gradient(
    circle at 50% 50%,
    rgba(0, 212, 255, 0.15),
    transparent 70%
  );

  --color-text: #e2e8f0;
  --color-text-muted: #94a3b8;
  --color-text-dim: #64748b;

  --font-body: "Inter", sans-serif;
  --font-display: "Space Grotesk", sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.15);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-card-hover: 0 8px 40px rgba(0, 212, 255, 0.12);

  --transition-fast: 0.2s ease;
  --transition-med: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --nav-height: 72px;
  --container-max: 1200px;
  --section-pad: 120px;
}

/* ---------- RESET & BASE ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--color-purple) var(--color-bg);
}
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: 3px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
  max-width: 100%;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}
input,
select,
textarea {
  font-family: inherit;
}

/* ---------- CANVAS BACKGROUND ---------- */
#hero-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

/* ---------- CUSTOM CURSOR ---------- */
.cursor,
.cursor-follower {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}
.cursor {
  width: 10px;
  height: 10px;
  background: #fff;
  transition: transform 0.1s;
}
.cursor-follower {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(0, 212, 255, 0.6);
  transition:
    transform 0.18s ease,
    width 0.3s,
    height 0.3s;
}
@media (hover: none) {
  .cursor,
  .cursor-follower {
    display: none;
  }
}

/* ---------- LAYOUT ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

section {
  position: relative;
  z-index: 1;
}

/* ---------- TYPOGRAPHY ---------- */
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-cyan);
  text-transform: uppercase;
  margin-bottom: 16px;
  padding: 6px 14px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 100px;
}
.section-tag.tag-red {
  color: var(--color-red);
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.2);
}
.section-tag.tag-cyan {
  color: var(--color-cyan);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--color-text-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 56px;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-red {
  color: var(--color-red);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  border-radius: var(--radius-md);
  padding: 12px 24px;
  transition: var(--transition-med);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 24px rgba(0, 212, 255, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.4);
}
.btn-ghost {
  color: var(--color-text);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}
.btn-ghost:hover {
  border-color: var(--color-border-hover);
  background: var(--color-surface-hover);
  transform: translateY(-2px);
}
.btn-lg {
  padding: 16px 32px;
  font-size: 15px;
  border-radius: var(--radius-lg);
}
.btn-full {
  width: 100%;
  justify-content: center;
}
.btn-icon {
  transition: transform 0.2s;
}
.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: var(--transition-med);
}
.navbar.scrolled {
  background: rgba(5, 6, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.4);
}
.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
}
.logo-accent {
  color: var(--color-cyan);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin-left: auto;
}
.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: var(--transition-fast);
}
.nav-link:hover {
  color: var(--color-text);
  background: var(--color-surface);
}
.nav-cta {
  margin-left: 8px;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: var(--transition-fast);
  border-radius: 2px;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  padding: calc(var(--nav-height) + 60px) 24px 80px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 100px;
  font-size: 13px;
  color: var(--color-cyan);
  font-weight: 500;
  margin-bottom: 28px;
}
.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-green);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-subtitle {
  font-size: 18px;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 24px;
}
.hero-stat:first-child {
  padding-left: 0;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--color-text);
}
.hero-stat-suffix {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-cyan);
}
.hero-stat-label {
  font-size: 12px;
  color: var(--color-text-dim);
  font-weight: 500;
}
.hero-stat-divider {
  width: 1px;
  height: 48px;
  background: var(--color-border);
}

/* Hero Visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-card-orbit {
  position: relative;
  width: 420px;
  height: 420px;
}
.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(0, 212, 255, 0.2);
  border-radius: 50%;
  animation: orbit-spin linear infinite;
}
.orbit-ring-1 {
  width: 160px;
  height: 160px;
  animation-duration: 8s;
}
.orbit-ring-2 {
  width: 260px;
  height: 260px;
  animation-duration: 14s;
  animation-direction: reverse;
}
.orbit-ring-3 {
  width: 360px;
  height: 360px;
  animation-duration: 20s;
}
@keyframes orbit-spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.orbit-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-cyan);
  box-shadow: 0 0 12px var(--color-cyan);
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
}
.dot-2 {
  background: var(--color-purple);
  box-shadow: 0 0 12px var(--color-purple);
}
.dot-3 {
  background: var(--color-cyan);
  box-shadow: 0 0 16px var(--color-cyan);
}

.center-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
}
.core-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.2), transparent 70%);
  border-radius: 50%;
  animation: glow-pulse 3s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.4;
  }
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  animation: float-card 4s ease-in-out infinite;
}
.floating-card:hover {
  border-color: var(--color-border-hover);
}
.fc-icon {
  font-size: 16px;
}
.fc-1 {
  top: 10%;
  right: -20px;
  animation-delay: 0s;
}
.fc-2 {
  bottom: 20%;
  right: -30px;
  animation-delay: 1s;
}
.fc-3 {
  top: 30%;
  left: -30px;
  animation-delay: 2s;
}
.fc-4 {
  bottom: 10%;
  left: -10px;
  animation-delay: 1.5s;
}
@keyframes float-card {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--color-text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fade-in-up 1s 1.5s both;
  z-index: 1;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-cyan), transparent);
  animation: scroll-anim 2s ease-in-out infinite;
}
@keyframes scroll-anim {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ---------- TRUSTED BY ---------- */
.trusted-section {
  padding: 48px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
}
.trusted-label {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-text-dim);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.marquee-wrapper {
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
}
.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee 30s linear infinite;
  width: max-content;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.marquee-item {
  padding: 0 40px;
  border-right: 1px solid var(--color-border);
  display: flex;
  align-items: center;
}
.client-logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--color-text-dim);
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: color 0.3s;
}
.marquee-item:hover .client-logo {
  color: var(--color-text);
}

/* ---------- STATS ---------- */
.stats-section {
  padding: var(--section-pad) 0;
  text-align: center;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 64px;
}
.stat-card {
  padding: 40px 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: var(--transition-med);
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-subtle);
  opacity: 0;
  transition: opacity 0.3s;
}
.stat-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.stat-card:hover::before {
  opacity: 1;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 12px;
}
.stat-label {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 8px;
}
.stat-desc {
  font-size: 13px;
  color: var(--color-text-dim);
}

/* ---------- WHY CHOOSE US ---------- */
.why-section {
  padding: var(--section-pad) 0;
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(124, 58, 237, 0.08) 0%,
    transparent 60%
  );
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.why-card {
  padding: 36px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: var(--transition-med);
  position: relative;
  overflow: hidden;
}
.why-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.why-card-large {
  grid-column: span 1;
}
.why-card-cta {
  background: var(--gradient-subtle);
  border-color: rgba(0, 212, 255, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}
.why-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  color: var(--color-cyan);
}
.why-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}
.why-card p {
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.7;
}
.why-card-glow {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.1), transparent 70%);
  pointer-events: none;
}

/* ---------- PROBLEM/SOLUTION ---------- */
.problem-section {
  padding: var(--section-pad) 0;
}
.problem-solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.problem-list,
.solution-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}
.problem-item,
.solution-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  transition: var(--transition-fast);
}
.problem-item:hover,
.solution-item:hover {
  border-color: var(--color-border-hover);
}
.problem-icon {
  font-size: 24px;
  flex-shrink: 0;
}
.solution-check {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background: rgba(0, 212, 255, 0.15);
  border: 1px solid var(--color-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--color-cyan);
  font-weight: 700;
  margin-top: 2px;
}
.problem-item h4,
.solution-item h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}
.problem-item p,
.solution-item p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ---------- SERVICES ---------- */
.services-section {
  padding: var(--section-pad) 0;
  background: radial-gradient(
    ellipse at 100% 50%,
    rgba(0, 212, 255, 0.05) 0%,
    transparent 60%
  );
}
.services-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.service-item {
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  background: transparent;
  transition: var(--transition-med);
  cursor: pointer;
}
.service-item:hover {
  background: var(--color-surface);
  border-color: var(--color-border);
}
.service-item:hover .service-arrow {
  color: var(--color-cyan);
  transform: translateX(6px);
  opacity: 1;
}
.service-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-dim);
  letter-spacing: 0.05em;
}
.service-item:hover .service-num {
  color: var(--color-cyan);
}
.service-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}
.service-content p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}
.service-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.service-tags span {
  padding: 4px 10px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: 11px;
  color: var(--color-text-muted);
  font-weight: 500;
}
.service-arrow {
  color: var(--color-text-dim);
  font-size: 20px;
  transition: var(--transition-fast);
  opacity: 0.5;
}

/* ---------- FEATURES ---------- */
.features-section {
  padding: var(--section-pad) 0;
  background: radial-gradient(
    ellipse at 0% 50%,
    rgba(124, 58, 237, 0.08) 0%,
    transparent 60%
  );
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}
.feature-card {
  padding: 36px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: var(--transition-med);
}
.feature-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.feature-card-highlight {
  grid-column: span 1;
  grid-row: span 2;
  background: var(--gradient-subtle);
  border-color: rgba(0, 212, 255, 0.15);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.feature-visual {
  position: relative;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-visual-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(0, 212, 255, 0.15),
    transparent 70%
  );
  border-radius: var(--radius-md);
}
.feature-icon {
  font-size: 36px;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}
.feature-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ---------- PORTFOLIO ---------- */
.portfolio-section {
  padding: var(--section-pad) 0;
}
.portfolio-filter {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  transition: var(--transition-fast);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: var(--transition-med);
  cursor: pointer;
}
.portfolio-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}
.portfolio-card-wide {
  grid-column: span 2;
}
.portfolio-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.portfolio-card-wide .portfolio-img {
  aspect-ratio: 21/9;
}
.portfolio-placeholder {
  width: 100%;
  height: 100%;
  background: var(--grad, linear-gradient(135deg, #0f172a, #1e1b4b));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}
.portfolio-card:hover .portfolio-placeholder {
  transform: scale(1.04);
}
.pp-content {
  text-align: center;
}
.pp-icon {
  font-size: 40px;
  margin-bottom: 12px;
}
.pp-content span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}
.portfolio-info {
  padding: 24px;
}
.portfolio-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-cyan);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}
.portfolio-info h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}
.portfolio-info p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ---------- PROCESS ---------- */
.process-section {
  padding: var(--section-pad) 0;
  background: radial-gradient(
    ellipse at 50% 100%,
    rgba(0, 212, 255, 0.06) 0%,
    transparent 60%
  );
}
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 64px;
}
.process-step {
  position: relative;
  padding: 0 24px;
}
.step-number {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.6;
}
.step-connector {
  position: absolute;
  top: 32px;
  right: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, var(--color-cyan), var(--color-purple));
  opacity: 0.25;
  z-index: 0;
}
.process-step:last-child .step-connector {
  display: none;
}
.step-content {
  position: relative;
  z-index: 1;
}
.step-icon {
  font-size: 32px;
  margin-bottom: 12px;
}
.step-content h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}
.step-content p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.step-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.step-checklist li {
  font-size: 13px;
  color: var(--color-text-muted);
  padding-left: 20px;
  position: relative;
}
.step-checklist li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--color-cyan);
  font-size: 12px;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials-section {
  padding: var(--section-pad) 0;
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(124, 58, 237, 0.06) 0%,
    transparent 60%
  );
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.testimonial-card {
  padding: 36px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: var(--transition-med);
}
.testimonial-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.testimonial-rating {
  font-size: 16px;
  color: #f59e0b;
  margin-bottom: 20px;
  letter-spacing: 2px;
}
.testimonial-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.author-name {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 2px;
}
.author-role {
  font-size: 12px;
  color: var(--color-text-dim);
}

/* ---------- INTEGRATIONS ---------- */
.integrations-section {
  padding: var(--section-pad) 0;
  text-align: center;
}
.integrations-section .section-subtitle {
  margin: 0 auto 56px;
}
.integrations-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.integration-badge {
  padding: 12px 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  transition: var(--transition-fast);
  cursor: default;
}
.integration-badge:hover {
  border-color: var(--color-border-hover);
  color: var(--color-text);
  background: var(--color-surface-hover);
  transform: translateY(-2px);
}

/* ---------- FAQ ---------- */
.faq-section {
  padding: var(--section-pad) 0;
  background: radial-gradient(
    ellipse at 0% 50%,
    rgba(0, 212, 255, 0.05) 0%,
    transparent 60%
  );
}
.faq-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}
.faq-header .section-subtitle {
  display: none;
}
.faq-header p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-top: 16px;
}
.link-underline {
  color: var(--color-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item:hover {
  border-color: rgba(0, 212, 255, 0.3);
}
.faq-item.open {
  border-color: rgba(0, 212, 255, 0.3);
}
.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  text-align: left;
  background: rgba(255, 255, 255, 0.04);
  transition:
    background 0.2s,
    color 0.2s;
}
.faq-question:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
}
.faq-icon {
  font-size: 22px;
  color: var(--color-cyan);
  transition: transform 0.3s;
  flex-shrink: 0;
  line-height: 1;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer p {
  padding: 16px 24px 20px;
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.8;
}

/* ---------- CONTACT ---------- */
.contact-section {
  padding: var(--section-pad) 0;
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(124, 58, 237, 0.08) 0%,
    transparent 70%
  );
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 40px 0;
}
.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-detail-icon {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-detail-label {
  font-size: 12px;
  color: var(--color-text-dim);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 4px;
}
.contact-detail-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
}
a.contact-detail-value:hover {
  color: var(--color-cyan);
}
.contact-socials {
  display: flex;
  gap: 12px;
}
.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  transition: var(--transition-fast);
  font-size: 14px;
  font-weight: 600;
}
.social-link:hover {
  border-color: var(--color-border-hover);
  color: var(--color-cyan);
  transform: translateY(-2px);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 48px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: 14px;
  outline: none;
  transition: var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-dim);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-cyan);
  background: rgba(0, 212, 255, 0.04);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}
.form-group select option {
  background: #0d1117;
  color: var(--color-text);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-privacy {
  font-size: 12px;
  color: var(--color-text-dim);
  text-align: center;
}
.form-privacy a {
  color: var(--color-cyan);
}

/* ---------- FOOTER ---------- */
.footer {
  background: rgba(0, 0, 0, 0.5);
  border-top: 1px solid var(--color-border);
  padding: 80px 0 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.8fr;
  gap: 60px;
  margin-bottom: 64px;
}
.footer-tagline {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 16px 0 24px;
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-links-group h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-dim);
  margin-bottom: 20px;
}
.footer-links-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links-group ul a {
  font-size: 14px;
  color: var(--color-text-muted);
  transition: color 0.2s;
}
.footer-links-group ul a:hover {
  color: var(--color-cyan);
}
.footer-newsletter h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-dim);
  margin-bottom: 12px;
}
.footer-newsletter p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.newsletter-form {
  display: flex;
  gap: 8px;
}
.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: 14px;
  outline: none;
  min-width: 0;
}
.newsletter-form input:focus {
  border-color: var(--color-cyan);
}
.newsletter-form input::placeholder {
  color: var(--color-text-dim);
}
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 13px;
  color: var(--color-text-dim);
}
.footer-legal {
  display: flex;
  gap: 24px;
}
.footer-legal a {
  font-size: 13px;
  color: var(--color-text-dim);
  transition: color 0.2s;
}
.footer-legal a:hover {
  color: var(--color-text);
}

/* ---------- AOS ANIMATIONS ---------- */
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}
[data-aos][data-aos-delay="50"] {
  transition-delay: 50ms;
}
[data-aos][data-aos-delay="100"] {
  transition-delay: 100ms;
}
[data-aos][data-aos-delay="150"] {
  transition-delay: 150ms;
}
[data-aos][data-aos-delay="200"] {
  transition-delay: 200ms;
}
[data-aos][data-aos-delay="250"] {
  transition-delay: 250ms;
}
[data-aos][data-aos-delay="300"] {
  transition-delay: 300ms;
}
[data-aos][data-aos-delay="350"] {
  transition-delay: 350ms;
}
[data-aos="fade-right"] {
  transform: translateX(-24px);
}
[data-aos="fade-right"].aos-animate {
  transform: translateX(0);
}
[data-aos="fade-left"] {
  transform: translateX(24px);
}
[data-aos="fade-left"].aos-animate {
  transform: translateX(0);
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  :root {
    --section-pad: 96px;
  }
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
  }
  .hero-visual {
    order: -1;
  }
  .hero-subtitle,
  .hero-actions {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-card-highlight {
    grid-row: span 1;
  }
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .step-connector {
    display: none;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 72px;
    --nav-height: 64px;
  }
  .nav-links,
  .nav-cta {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(5, 6, 15, 0.97);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 8px;
    border-bottom: 1px solid var(--color-border);
    z-index: 999;
  }
  .nav-links.open + .nav-cta {
    display: block;
    margin: 0 24px 24px;
  }
  .hero-card-orbit {
    width: 280px;
    height: 280px;
  }
  .orbit-ring-1 {
    width: 100px;
    height: 100px;
  }
  .orbit-ring-2 {
    width: 170px;
    height: 170px;
  }
  .orbit-ring-3 {
    width: 240px;
    height: 240px;
  }
  .fc-1,
  .fc-2,
  .fc-3,
  .fc-4 {
    display: none;
  }
  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
  }
  .hero-stat-divider {
    display: none;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .problem-solution-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .service-item {
    grid-template-columns: auto 1fr;
  }
  .service-tags,
  .service-arrow {
    display: none;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-card-wide {
    grid-column: span 1;
  }
  .process-timeline {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .faq-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-form-wrapper {
    padding: 28px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(32px, 8vw, 48px);
  }
  .section-title {
    font-size: clamp(24px, 6vw, 36px);
  }
  .stat-number {
    font-size: 40px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .btn-lg {
    width: 100%;
    justify-content: center;
  }
  .newsletter-form {
    flex-direction: column;
  }
}
