/* ========================================
   WeDesigns — Premium Dark Design System
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg-primary: #06060e;
  --bg-secondary: #0c0c1a;
  --bg-card: #0f0f1f;
  --bg-card-hover: #14142b;
  --bg-elevated: #16162e;

  --white: #ffffff;
  --text-primary: #f0f0f5;
  --text-secondary: #a0a0b8;
  --text-muted: #6b6b85;
  --border-color: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);

  --accent-1: #6366f1;
  --accent-2: #ec4899;
  --accent-3: #8b5cf6;
  --accent-cyan: #22d3ee;
  --success: #10b981;

  --gradient-main: linear-gradient(135deg, #6366f1, #ec4899);
  --gradient-subtle: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(236, 72, 153, 0.15));
  --gradient-card: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(236, 72, 153, 0.03));
  --gradient-glow: radial-gradient(600px circle, rgba(99, 102, 241, 0.12), transparent 70%);

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.15);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --z-nav: 1000;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  background: var(--bg-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 7rem 0;
  position: relative;
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  display: inline-block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.8;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  transition: all 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-main);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.45);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
  backdrop-filter: blur(12px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, 0.4);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.5rem 1.5rem;
  font-size: 0.85rem;
}

/* ═══ NAVIGATION ═══ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  padding: 1.25rem 0;
  transition: all 0.35s var(--ease-out);
}

.nav.scrolled {
  padding: 0.75rem 0;
  background: rgba(6, 6, 14, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-color);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  z-index: calc(var(--z-nav)+1);
}

.nav__logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-main);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 900;
  color: var(--white);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
}

.nav__logo span {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-main);
  border-radius: 1px;
  transition: width 0.35s var(--ease-out);
}

.nav__link:hover,
.nav__link.active {
  color: var(--text-primary);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__cta {
  margin-left: 1rem;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: calc(var(--z-nav)+1);
  padding: 0.5rem;
}

.nav__toggle-bar {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.35s var(--ease-out);
}

.nav__toggle.active .nav__toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active .nav__toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 6, 14, 0.97);
  backdrop-filter: blur(20px);
  z-index: var(--z-nav);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  transition: opacity 0.35s;
}

.nav__mobile.active {
  display: flex;
  opacity: 1;
}

.nav__mobile .nav__link {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ═══ HERO ═══ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 8rem;
  padding-bottom: 4rem;
  background: var(--bg-primary);
}

.hero__noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black, transparent);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.hero__glow--1 {
  width: 600px;
  height: 600px;
  background: rgba(99, 102, 241, 0.15);
  top: -15%;
  right: -5%;
  animation: floatSlow 12s ease-in-out infinite;
}

.hero__glow--2 {
  width: 500px;
  height: 500px;
  background: rgba(236, 72, 153, 0.1);
  bottom: -10%;
  left: -10%;
  animation: floatSlow 12s ease-in-out infinite 4s;
}

@keyframes floatSlow {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(30px, -25px) scale(1.08);
  }
}

.hero__container {
  position: relative;
  z-index: 1;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__content {
  max-width: 650px;
}

.hero__visual {
  position: relative;
  height: 500px;
  animation: fadeInUp 1s var(--ease-out) 1.2s both;
}

.hero__mockup {
  position: absolute;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-hover);
  box-shadow: var(--shadow-lg);
  background: var(--bg-card);
  transition: transform 0.4s var(--ease-out);
}

.hero__mockup-bar {
  display: flex;
  gap: 5px;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-color);
}

.hero__mockup-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.hero__mockup-bar span:nth-child(1) {
  background: #ef4444;
}

.hero__mockup-bar span:nth-child(2) {
  background: #f59e0b;
}

.hero__mockup-bar span:nth-child(3) {
  background: #10b981;
}

.hero__mockup-screen {
  overflow: hidden;
  background: #0a0a1a;
}

.hero__mockup-screen iframe {
  width: 1440px;
  height: 900px;
  border: none;
  transform-origin: top left;
  pointer-events: none;
}

.hero__mockup--1 {
  width: 420px;
  top: 0;
  right: 0;
  z-index: 3;
  transform: rotate(-2deg);
  animation: heroFloat1 6s ease-in-out infinite;
}

.hero__mockup--1 .hero__mockup-screen {
  height: 230px;
}

.hero__mockup--1 .hero__mockup-screen iframe {
  transform: scale(0.292);
}

.hero__mockup--2 {
  width: 340px;
  top: 60px;
  right: 260px;
  z-index: 2;
  transform: rotate(3deg);
  animation: heroFloat2 6s ease-in-out infinite 2s;
}

.hero__mockup--2 .hero__mockup-screen {
  height: 190px;
}

.hero__mockup--2 .hero__mockup-screen iframe {
  transform: scale(0.236);
}

.hero__mockup--3 {
  width: 300px;
  bottom: 20px;
  right: 40px;
  z-index: 1;
  transform: rotate(1deg);
  animation: heroFloat3 6s ease-in-out infinite 4s;
}

.hero__mockup--3 .hero__mockup-screen {
  height: 170px;
}

.hero__mockup--3 .hero__mockup-screen iframe {
  transform: scale(0.209);
}

.hero__mockup:hover {
  z-index: 10;
  transform: rotate(0deg) scale(1.05);
  box-shadow: var(--shadow-glow), var(--shadow-lg);
}

@keyframes heroFloat1 {

  0%,
  100% {
    transform: rotate(-2deg) translateY(0);
  }

  50% {
    transform: rotate(-2deg) translateY(-12px);
  }
}

@keyframes heroFloat2 {

  0%,
  100% {
    transform: rotate(3deg) translateY(0);
  }

  50% {
    transform: rotate(3deg) translateY(-10px);
  }
}

@keyframes heroFloat3 {

  0%,
  100% {
    transform: rotate(1deg) translateY(0);
  }

  50% {
    transform: rotate(1deg) translateY(-8px);
  }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: 0.5;
    transform: scale(1.5)
  }
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.05;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s var(--ease-out) 0.4s both;
}

.hero__subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 560px;
  animation: fadeInUp 0.8s var(--ease-out) 0.6s both;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s var(--ease-out) 0.8s both;
}

.hero__stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  animation: fadeInUp 0.8s var(--ease-out) 1s both;
}

.hero__stat-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

/* ═══ MARQUEE ═══ */
.marquee {
  padding: 2rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-secondary);
  overflow: hidden;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: scroll 30s linear infinite;
}

@keyframes scroll {
  0% {
    transform: translateX(0)
  }

  100% {
    transform: translateX(-50%)
  }
}

.marquee__content {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 1rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.marquee__dot {
  color: var(--accent-1);
  font-size: 0.5rem;
  opacity: 0.4;
}

/* ═══ SERVICES ═══ */
.services {
  background: var(--bg-primary);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  position: relative;
  padding: 2.5rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
}

.service-card__glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: var(--gradient-glow);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.service-card:hover .service-card__glow {
  opacity: 1;
}

.service-card__icon {
  width: 56px;
  height: 56px;
  background: var(--gradient-subtle);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent-1);
  transition: transform 0.35s var(--ease-spring);
}

.service-card:hover .service-card__icon {
  transform: scale(1.1) rotate(-5deg);
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.service-card__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.service-card__features {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}

.service-card__feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.service-card__check {
  color: var(--success);
  font-size: 0.85rem;
}

/* ═══ PORTFOLIO ═══ */
.portfolio {
  background: var(--bg-secondary);
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.portfolio-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all 0.4s var(--ease-out);
  cursor: pointer;
  background: var(--bg-card);
}

.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: var(--shadow-glow);
}

.portfolio-card--featured {
  grid-column: span 2;
}

.portfolio-card__browser {
  overflow: hidden;
}

.portfolio-card__browser-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-color);
}

.portfolio-card__dots {
  display: flex;
  gap: 5px;
}

.portfolio-card__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.portfolio-card__dots span:nth-child(1) {
  background: #ef4444;
}

.portfolio-card__dots span:nth-child(2) {
  background: #f59e0b;
}

.portfolio-card__dots span:nth-child(3) {
  background: #10b981;
}

.portfolio-card__url {
  flex: 1;
  padding: 0.2rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.portfolio-card__preview {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #0a0a1a;
}

.portfolio-card__preview iframe {
  width: 1440px;
  height: 900px;
  border: none;
  transform: scale(0.278);
  transform-origin: top left;
  pointer-events: none;
}

.portfolio-card--featured .portfolio-card__preview iframe {
  transform: scale(0.556);
  transform-origin: top left;
}

.portfolio-card--featured .portfolio-card__preview {
  height: 400px;
  aspect-ratio: auto;
}

.portfolio-card__info {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-color);
}

.portfolio-card__tag {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  background: var(--gradient-subtle);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent-1);
  margin-bottom: 0.5rem;
}

.portfolio-card__name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}

.portfolio-card__type {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.portfolio__more {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--gradient-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 0.75rem 2rem;
  display: inline-block;
}

/* ═══ PORTFOLIO MODAL ═══ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s var(--ease-out);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.modal__content {
  position: relative;
  width: 92vw;
  height: 88vh;
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s var(--ease-spring);
}

.modal.active .modal__content {
  transform: scale(1) translateY(0);
}

.modal__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-color);
}

.modal__dots {
  display: flex;
  gap: 6px;
}

.modal__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.modal__dots span:nth-child(1) {
  background: #ef4444;
}

.modal__dots span:nth-child(2) {
  background: #f59e0b;
}

.modal__dots span:nth-child(3) {
  background: #10b981;
}

.modal__url {
  flex: 1;
  padding: 0.3rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.modal__close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-hover);
  color: var(--text-primary);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.modal__close:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #ef4444;
}

.modal__body {
  width: 100%;
  height: calc(100% - 48px);
}

.modal__body iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: var(--white);
}

/* ═══ ABOUT ═══ */
.about {
  background: var(--bg-primary);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.about__text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 2rem;
}

.about__features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about__feature {
  display: flex;
  gap: 1rem;
}

.about__feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--gradient-subtle);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.about__feature-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.about__feature-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.stat-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  text-align: center;
  transition: all 0.35s var(--ease-out);
}

.stat-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.stat-card__number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 900;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-card__label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-weight: 500;
}

/* ═══ PROCESS ═══ */
.process {
  background: var(--bg-secondary);
}

.process__timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  position: relative;
}

.process__timeline::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.2), rgba(236, 72, 153, 0.2), transparent);
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step__number {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.5rem;
  background: var(--bg-card);
  border: 2px solid var(--border-hover);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent-1);
  position: relative;
  z-index: 1;
  transition: all 0.35s var(--ease-out);
}

.process-step:hover .process-step__number {
  background: var(--gradient-main);
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
  transform: scale(1.1);
}

.process-step__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.process-step__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ═══ TESTIMONIALS ═══ */
.testimonials {
  background: var(--bg-primary);
  overflow: hidden;
}

.testimonials__carousel {
  position: relative;
  margin-top: 3rem;
  overflow: hidden;
}

.testimonials__track {
  display: flex;
  transition: transform 0.5s var(--ease-out);
}

.testimonial-card {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 1.5rem;
}

.testimonial-card__inner {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-2xl);
  padding: 3rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.testimonial-card__inner::before {
  content: '"';
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  font-family: var(--font-heading);
  font-size: 5rem;
  line-height: 1;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.12;
}

.testimonial-card__stars {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
  color: #f59e0b;
  font-size: 1.2rem;
}

.testimonial-card__text {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.testimonial-card__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.testimonial-card__name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.testimonial-card__role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.testimonials__controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonials__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-hover);
  background: var(--bg-card);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.2s;
}

.testimonials__btn:hover {
  border-color: var(--accent-1);
  color: var(--accent-1);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.testimonials__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.2s;
  cursor: pointer;
}

.testimonials__dot.active {
  background: var(--accent-1);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
  transform: scale(1.2);
}

/* ═══ CTA BANNER ═══ */
.cta-banner {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  background: var(--bg-secondary);
}

.cta-banner__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08), rgba(236, 72, 153, 0.05), transparent 70%);
  pointer-events: none;
}

.cta-banner__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-banner__title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.cta-banner__subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* ═══ CONTACT ═══ */
.contact {
  background: var(--bg-primary);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact__info-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact__detail {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact__detail-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-subtle);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact__detail-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact__detail-value {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.contact__socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
}

.contact__social {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s;
}

.contact__social:hover {
  border-color: var(--accent-1);
  color: var(--accent-1);
  transform: translateY(-3px);
}

.contact__form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.form__group {
  margin-bottom: 1.25rem;
}

.form__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  outline: none;
  transition: all 0.2s;
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  border-color: var(--accent-1);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--text-muted);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236b6b85' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form__select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form__error {
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: 0.25rem;
  display: none;
}

.form__group.error .form__input,
.form__group.error .form__textarea,
.form__group.error .form__select {
  border-color: #ef4444;
}

.form__group.error .form__error {
  display: block;
}

.form__submit {
  width: 100%;
  margin-top: 1rem;
}

.form__success {
  display: none;
  text-align: center;
  padding: 2rem;
}

.form__success.active {
  display: block;
}

.form__success-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.form__success-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form__success-text {
  color: var(--text-muted);
}

/* ═══ FOOTER ═══ */
.footer {
  background: var(--bg-secondary);
  color: var(--text-muted);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-color);
}

.footer .nav__logo {
  color: var(--text-primary);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-top: 1rem;
  max-width: 300px;
}

.footer__col-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.footer__link {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.25rem 0;
  transition: color 0.2s;
}

.footer__link:hover {
  color: var(--accent-1);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer__bottom-links {
  display: flex;
  gap: 1.5rem;
}

/* ═══ SCROLL ANIMATIONS ═══ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width:1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    display: none;
  }

  .hero__title {
    font-size: 3rem;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio__grid {
    grid-template-columns: 1fr 1fr;
  }

  .portfolio-card--featured {
    grid-column: span 2;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .process__timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .process__timeline::before {
    display: none;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width:768px) {
  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 4.5rem 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: 7rem;
    padding-bottom: 4rem;
  }

  .hero__title {
    font-size: 2.25rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .hero__stats {
    gap: 2rem;
  }

  .hero__stat-number {
    font-size: 1.75rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .portfolio__grid {
    grid-template-columns: 1fr;
  }

  .portfolio-card--featured {
    grid-column: span 1;
  }

  .portfolio-card--featured .portfolio-card__preview {
    height: 280px;
  }

  .portfolio-card--featured .portfolio-card__preview iframe {
    transform: scale(0.278);
  }

  .about__stats {
    grid-template-columns: 1fr 1fr;
  }

  .process__timeline {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .testimonial-card__inner {
    padding: 2rem;
  }

  .testimonial-card__text {
    font-size: 1rem;
  }

  .form__row {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .cta-banner__title {
    font-size: 2rem;
  }

  .cta-banner__actions {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width:480px) {
  .hero__title {
    font-size: 1.875rem;
  }

  .hero__stats {
    flex-direction: column;
    gap: 1rem;
  }

  .about__stats {
    grid-template-columns: 1fr;
  }

  .stat-card {
    padding: 1.5rem;
  }

  .stat-card__number {
    font-size: 2.25rem;
  }
}