/* =============================================
   IDBOX Landing Page — Styles
   Theme: Dark, Sophisticated, Animated
   ============================================= */

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

:root {
  /* Colors */
  --bg: #0a0a0a;
  --bg-elevated: #111111;
  --bg-card: #161616;
  --bg-card-hover: #1c1c1c;
  --surface: #1a1a1a;
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);

  --text-primary: #f5f5f0;
  --text-secondary: #9a9a8a;
  --text-muted: #5a5a50;

  --accent-gold: #FFD200;
  --accent-gold-light: #FFE04A;
  --accent-gradient: #FFD200;
  --accent-gradient-hover: #FFE04A;

  --glow-gold: rgba(255, 210, 0, 0.15);
  --glow-gold-strong: rgba(255, 210, 0, 0.25);

  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: clamp(80px, 10vw, 140px);
  --container-max: 1200px;
  --container-padding: clamp(20px, 4vw, 40px);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;
}

html {
  scroll-behavior: auto; /* Lenis handles smooth scroll */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

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

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

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

/* === Utilities === */
.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
  margin-bottom: 20px;
}

.section-tag::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}

/* === Loader === */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__inner {
  text-align: center;
}

.loader__logo {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 30px;
}

.loader__bar {
  width: 200px;
  height: 3px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.loader__progress {
  width: 0%;
  height: 100%;
  background: var(--accent-gradient);
  border-radius: 3px;
  transition: width 0.3s var(--ease-out);
}

/* === Custom Cursor === */
.cursor,
.cursor-follower {
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}

.cursor {
  width: 8px;
  height: 8px;
  background: var(--text-primary);
  mix-blend-mode: difference;
}

.cursor-follower {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), border-color 0.3s;
}

.cursor-follower.is-hovering {
  width: 56px;
  height: 56px;
  border-color: var(--accent-gold);
  background: var(--glow-gold);
}

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

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

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

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

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

.btn--outline:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 18px 36px;
  font-size: 1.05rem;
}

.btn--full {
  width: 100%;
}

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

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

/* === Header === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s var(--ease-out);
}

.header.is-scrolled {
  padding: 12px 0;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.header__logo-img {
  height: 32px;
  width: auto;
}

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

.header__link {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.3s;
  position: relative;
}

.header__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
  transition: width 0.3s var(--ease-out);
}

.header__link:hover {
  color: var(--text-primary);
}

.header__link:hover::after {
  width: 100%;
}

.header__cta {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.header__menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.header__menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
}

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

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

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

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(10, 10, 15, 0.98);
  backdrop-filter: blur(30px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s var(--ease-out);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.mobile-menu__link {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  transition: color 0.3s;
}

.mobile-menu__link:hover {
  color: var(--accent-gold);
}

.mobile-menu__cta {
  margin-top: 16px;
}

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

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero__gradient--1 {
  width: 600px;
  height: 600px;
  background: #FFD200;
  top: -200px;
  right: -100px;
  animation: floatGradient1 8s ease-in-out infinite;
}

.hero__gradient--2 {
  width: 500px;
  height: 500px;
  background: #B89500;
  bottom: -150px;
  left: -100px;
  animation: floatGradient2 10s ease-in-out infinite;
}

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

@keyframes floatGradient2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -40px) scale(1.15); }
}

.hero__grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 70%);
}

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

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border: 1px solid var(--border-hover);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  background: rgba(255, 255, 255, 0.03);
}

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

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

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero__ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hero__stat {
  text-align: center;
}

.hero__stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__stat-plus {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Scroll Indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.hero__scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}

.hero__scroll-wheel {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--text-muted);
  border-radius: 3px;
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% { transform: translateX(-50%) translateY(0); opacity: 1; }
  100% { transform: translateX(-50%) translateY(12px); opacity: 0; }
}

/* === Logos Marquee === */
.logos-section {
  padding: var(--section-padding) 0 40px;
  overflow: hidden;
}

.logos-section__header {
  margin-bottom: 40px;
}

.logos-section__header .section-subtitle {
  max-width: 600px;
}

.logos-track {
  overflow: hidden;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 40px;
}

.logos-track__inner {
  display: flex;
  align-items: center;
  gap: 60px;
  animation: marquee 40s linear infinite;
  width: max-content;
}

.logos-track__logo {
  height: 50px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.3s;
  flex-shrink: 0;
}

.logos-track__logo:hover {
  opacity: 1;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* === About === */
.about {
  padding: var(--section-padding) 0;
}

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

.about__text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about__highlights {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.about__highlight {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.about__highlight-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--accent-gold);
  flex-shrink: 0;
}

.about__highlight strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.about__highlight p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.about__visual {
  position: relative;
}

.about__image-stack {
  position: relative;
}

.about__image-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about__image-card--1 {
  border: none;
}

.about__image-card--1 img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Image Placeholders */
.about__image-placeholder,
.differential-card__placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--surface) 0%, var(--bg-card) 50%, var(--surface) 100%);
  background-size: 200% 200%;
  animation: shimmer 3s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

.differential-card__placeholder {
  aspect-ratio: 4/3;
}

.about__image-placeholder::after,
.differential-card__placeholder::after {
  content: '';
  width: 48px;
  height: 48px;
  border: 2px solid var(--border-hover);
  border-radius: var(--radius-sm);
  opacity: 0.3;
}

@keyframes shimmer {
  0% { background-position: 200% 0%; }
  100% { background-position: -200% 0%; }
}

.about__image-card--2 {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--accent-gradient);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.about__experience-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  display: block;
  line-height: 1;
}

.about__experience-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
}

/* === Services === */
.services {
  padding: var(--section-padding) 0;
  background: var(--bg-elevated);
}

.services__header {
  text-align: center;
  margin-bottom: 60px;
}

.services__header .section-tag {
  justify-content: center;
}

.services__header .section-subtitle {
  margin: 0 auto;
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  transition: all 0.5s var(--ease-out);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card__glow {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 120px;
  background: var(--accent-gold);
  filter: blur(80px);
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
  pointer-events: none;
}

.service-card:hover {
  border-color: rgba(255, 210, 0, 0.15);
  transform: translateY(-6px);
}

.service-card:hover .service-card__glow {
  opacity: 0.08;
}

.service-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(255, 210, 0, 0.06);
  border: 1px solid rgba(255, 210, 0, 0.12);
  color: var(--accent-gold);
  margin-bottom: 28px;
  transition: all 0.4s var(--ease-out);
}

.service-card:hover .service-card__icon {
  background: rgba(255, 210, 0, 0.1);
  border-color: rgba(255, 210, 0, 0.25);
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.service-card__subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.service-card__divider {
  width: 40px;
  height: 1px;
  background: linear-gradient(to right, var(--accent-gold), transparent);
  margin: 20px 0;
  opacity: 0.4;
  transition: width 0.4s var(--ease-out), opacity 0.4s;
}

.service-card:hover .service-card__divider {
  width: 60px;
  opacity: 0.7;
}

.service-card__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 0;
}

/* === Process === */
.process {
  padding: var(--section-padding) 0;
}

.process__header {
  text-align: center;
  margin-bottom: 80px;
}

.process__header .section-tag {
  justify-content: center;
}

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

.process__line {
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

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

.process__step:last-child {
  margin-bottom: 0;
}

.process__step-number {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: all 0.5s var(--ease-out);
}

.process__step:hover .process__step-number {
  background: var(--accent-gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 30px var(--glow-gold);
}

.process__step-content h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
  padding-top: 4px;
}

.process__step-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* === Differentials === */
.differentials {
  padding: var(--section-padding) 0;
  background: var(--bg-elevated);
}

.differentials__header {
  text-align: center;
  margin-bottom: 60px;
}

.differentials__header .section-tag {
  justify-content: center;
}

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

.differential-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.5s var(--ease-out);
}

.differential-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.differential-card__image {
  aspect-ratio: 4/3;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.differential-card__image img {
  width: 120px;
  height: auto;
  object-fit: contain;
  transition: transform 0.6s var(--ease-out);
}

.differential-card:hover .differential-card__image img {
  transform: scale(1.05);
}

.differential-card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  padding: 24px 24px 8px;
}

.differential-card__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  padding: 0 24px 28px;
}

/* === Portfolio === */
.portfolio {
  padding: var(--section-padding) 0;
  overflow: hidden;
}

.portfolio__header {
  text-align: center;
  margin-bottom: 60px;
}

.portfolio__header .section-tag {
  justify-content: center;
}

.portfolio__header .section-subtitle {
  margin: 0 auto;
}

.portfolio__marquee-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.portfolio__marquee {
  overflow: hidden;
}

.portfolio__marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
}

.portfolio__marquee--left .portfolio__marquee-track {
  animation: portfolioScrollLeft 60s linear infinite;
}

.portfolio__marquee--right .portfolio__marquee-track {
  animation: portfolioScrollRight 60s linear infinite;
}

.portfolio__marquee-track img {
  height: 280px;
  width: auto;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.portfolio__marquee-track img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
  z-index: 1;
  position: relative;
}

@keyframes portfolioScrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes portfolioScrollRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.portfolio__marquee-wrapper:hover .portfolio__marquee-track {
  animation-play-state: paused;
}

/* === Pricing === */
.pricing {
  padding: var(--section-padding) 0;
  background: var(--bg-elevated);
}

.pricing__header {
  text-align: center;
  margin-bottom: 60px;
}

.pricing__header .section-tag {
  justify-content: center;
}

.pricing__header .section-subtitle {
  margin: 0 auto;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  transition: all 0.5s var(--ease-out);
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}

.pricing-card--featured {
  background: var(--bg-card);
  border: 1px solid var(--accent-gold);
  box-shadow: 0 0 60px var(--glow-gold), inset 0 1px 0 rgba(155, 81, 224, 0.2);
  transform: scale(1.02);
}

.pricing-card--featured:hover {
  transform: scale(1.02) translateY(-4px);
  border-color: var(--accent-gold);
}

.pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gradient);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-card__header {
  margin-bottom: 28px;
}

.pricing-card__name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.pricing-card__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pricing-card__price {
  margin-bottom: 32px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.pricing-card__currency {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.pricing-card__value {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}

.pricing-card__period {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-card__features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

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

.pricing-card__features svg {
  color: var(--accent-gold);
  flex-shrink: 0;
}

.pricing__custom {
  text-align: center;
  margin-top: 40px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.pricing__custom a {
  color: var(--accent-gold);
  font-weight: 600;
  transition: color 0.3s;
}

.pricing__custom a:hover {
  color: var(--accent-gold-light);
}

/* === Testimonials === */
.testimonials {
  padding: var(--section-padding) 0;
}

.testimonials__header {
  text-align: center;
  margin-bottom: 60px;
}

.testimonials__header .section-tag {
  justify-content: center;
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all 0.5s var(--ease-out);
}

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

.testimonial-card__stars {
  color: var(--accent-gold);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.testimonial-card__text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-style: italic;
}

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

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

.testimonial-card__author strong {
  display: block;
  font-size: 0.9rem;
}

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

/* === FAQ === */
.faq {
  padding: var(--section-padding) 0;
  background: var(--bg-elevated);
}

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

.faq__text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq__items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item.is-open {
  border-color: var(--border-hover);
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: left;
  transition: color 0.3s;
}

.faq-item__question:hover {
  color: var(--accent-gold);
}

.faq-item__question svg {
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-out);
}

.faq-item.is-open .faq-item__question svg {
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out);
}

.faq-item__answer p {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* === CTA Section === */
.cta-section {
  padding: var(--section-padding) 0;
}

.cta-section__inner {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}

.cta-section__inner::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: var(--accent-gradient);
  filter: blur(150px);
  opacity: 0.15;
  pointer-events: none;
}

.cta-section__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  position: relative;
}

.cta-section__text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  position: relative;
}

.cta-section__alt {
  margin-top: 20px;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
}

.cta-section__alt a {
  color: var(--accent-gold);
  font-weight: 600;
  transition: color 0.3s;
}

.cta-section__alt a:hover {
  color: var(--accent-gold-light);
}

.cta-section__form {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238888a0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

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

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px var(--glow-gold);
}

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

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
}

.footer__logo {
  height: 28px;
  width: auto;
  margin-bottom: 12px;
}

.footer__tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all 0.3s var(--ease-out);
}

.footer__social-link:hover {
  color: var(--accent-gold);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

.footer__links {
  display: flex;
  gap: 60px;
}

.footer__col h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer__col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 4px 0;
  transition: color 0.3s;
}

.footer__col a:hover {
  color: var(--accent-gold);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer__bottom-links {
  display: flex;
  gap: 24px;
}

.footer__bottom-links a {
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer__bottom-links a:hover {
  color: var(--text-secondary);
}


/* =============================================
   RESPONSIVE
   ============================================= */

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

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

  .pricing-card:last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
  }

  .faq__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .header__nav,
  .header__cta {
    display: none;
  }

  .header__menu-toggle {
    display: flex;
  }

  .hero__title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__visual {
    order: -1;
  }

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

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

  .portfolio__marquee-track img {
    height: 200px;
  }

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

  .pricing-card--featured:hover {
    transform: translateY(-4px);
  }

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

  .hero__stats {
    gap: 24px;
  }

  .hero__stat-divider {
    display: none;
  }

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

  .footer__inner {
    flex-direction: column;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .portfolio__item {
    width: 300px;
    height: 200px;
  }
}

@media (max-width: 480px) {
  .hero__ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero__ctas .btn {
    width: 100%;
  }
}
