/* ============================================================
   LIKHAWEB STUDIO — DARK THEME STYLES
   Modern, minimal, professional portfolio website
   ============================================================ */

/* ---- Reset & Base ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Dark palette */
  --bg-primary: #09090b;
  --bg-secondary: #0f0f13;
  --bg-tertiary: #15151b;
  --bg-card: #161620;
  --bg-card-hover: #1c1c28;
  --bg-elevated: #1e1e2a;

  /* Borders */
  --border: rgba(255,255,255,0.06);
  --border-strong: rgba(255,255,255,0.10);
  --border-accent: rgba(99,102,241,0.3);

  /* Text */
  --text-primary: #f0f0f5;
  --text-secondary: #b8bac6;
  --text-muted: #7c7f91;
  --text-faint: #4e5064;

  /* Accent */
  --accent: #818cf8;
  --accent-bright: #a78bfa;
  --accent-dim: #6366f1;
  --gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
  --gradient-soft: linear-gradient(135deg, rgba(99,102,241,0.12) 0%, rgba(168,85,247,0.12) 100%);
  --gradient-border: linear-gradient(135deg, rgba(99,102,241,0.4), rgba(168,85,247,0.4));

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --shadow: 0 4px 20px rgba(0,0,0,0.35);
  --shadow-md: 0 8px 40px rgba(0,0,0,0.4);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.5);
  --shadow-accent: 0 8px 32px rgba(99,102,241,0.2);
  --shadow-glow: 0 0 60px rgba(99,102,241,0.15);

  /* Typography */
  --font: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-py: 110px;

  /* Radius */
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Utility ---- */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.accent {
  color: var(--accent);
}

/* ---- Section Headers ---- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--gradient-soft);
  border: 1px solid var(--border-accent);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  padding: 12px 28px;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
}

.btn--primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--shadow-accent);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(99,102,241,0.35);
}

.btn--glass {
  background: rgba(255,255,255,0.04);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(12px);
}

.btn--glass:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 16px 36px;
  font-size: 1rem;
  border-radius: var(--radius);
}

.btn--sm {
  padding: 10px 22px;
  font-size: 0.875rem;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(9,9,11,0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-primary);
}

.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--gradient);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  border-radius: 11px;
  box-shadow: var(--shadow-accent);
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link.active {
  color: var(--accent);
  background: var(--gradient-soft);
}

.navbar__cta {
  padding: 10px 24px;
  font-size: 0.8125rem;
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text-primary);
  border-radius: 4px;
  transition: all var(--transition);
}

.navbar__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.navbar__toggle.active span:nth-child(2) {
  opacity: 0;
}
.navbar__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 130px 0 90px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}

.hero__glow--1 {
  width: 600px;
  height: 600px;
  background: rgba(99,102,241,0.12);
  top: -200px;
  right: -100px;
  animation: glowPulse 8s ease-in-out infinite;
}

.hero__glow--2 {
  width: 500px;
  height: 500px;
  background: rgba(168,85,247,0.08);
  bottom: -150px;
  left: -100px;
  animation: glowPulse 8s ease-in-out infinite -4s;
}

.hero__grid-pattern {
  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 at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

@keyframes glowPulse {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  50% { transform: translate(30px, -20px) scale(1.1); opacity: 1; }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  margin-bottom: 28px;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

.hero__title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero__desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.hero__stat {
  display: flex;
  flex-direction: column;
}

.hero__stat strong {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.hero__stat span {
  font-size: 0.8125rem;
  color: var(--text-faint);
  font-weight: 500;
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-strong);
}

/* Hero Mockup */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__mockup {
  width: 100%;
  max-width: 480px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  overflow: hidden;
  border: 1px solid var(--border-strong);
}

.mockup__browser {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-tertiary);
  border-bottom: 1px solid var(--border);
}

.mockup__dots {
  display: flex;
  gap: 6px;
}

.mockup__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup__dots span:nth-child(1) { background: #ff5f57; }
.mockup__dots span:nth-child(2) { background: #ffbd2e; }
.mockup__dots span:nth-child(3) { background: #28c840; }

.mockup__url {
  flex: 1;
  background: var(--bg-primary);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--text-faint);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 6px;
}

.mockup__url i {
  font-size: 0.625rem;
  color: #22c55e;
}

.mockup__screen {
  padding: 22px;
}

.mockup__nav {
  height: 8px;
  width: 55%;
  background: var(--border);
  border-radius: 4px;
  margin-bottom: 20px;
}

.mockup__hero-block {
  padding: 20px;
  background: var(--gradient-soft);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mockup__hero-text {
  height: 8px;
  width: 70%;
  background: var(--border-strong);
  border-radius: 4px;
}

.mockup__hero-text--short {
  width: 45%;
}

.mockup__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.mockup__card {
  height: 55px;
  background: var(--bg-tertiary);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.mockup__card--accent {
  background: var(--gradient-soft);
  border-color: var(--border-accent);
}

.mockup__text-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mockup__line {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
}
.mockup__line--long { width: 100%; }
.mockup__line--medium { width: 72%; }
.mockup__line--short { width: 45%; }

/* Floating Tech Icons */
.hero__float {
  position: absolute;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  font-size: 1.25rem;
  color: var(--accent);
  animation: floatIcon 5s ease-in-out infinite;
}

.hero__float--1 { top: 5%; right: 0; animation-delay: 0s; }
.hero__float--2 { bottom: 25%; left: -16px; animation-delay: -1.5s; }
.hero__float--3 { bottom: 3%; right: 12%; animation-delay: -3s; color: #facc15; }
.hero__float--4 { top: 35%; right: -10px; animation-delay: -2s; color: #22d3ee; }

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: var(--section-py) 0;
  background: var(--bg-secondary);
  position: relative;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  padding: 36px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  letter-spacing: -0.04em;
  transition: color var(--transition);
}

.service-card:hover .service-card__number {
  color: rgba(99,102,241,0.12);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-soft);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  font-size: 1.375rem;
  color: var(--accent);
  margin-bottom: 22px;
  transition: all var(--transition);
}

.service-card:hover .service-card__icon {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-accent);
}

.service-card__title {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.service-card__desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 22px;
}

.service-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition), color var(--transition);
}

.service-card__link:hover {
  gap: 12px;
  color: var(--accent-bright);
}

/* ============================================================
   PROJECTS
   ============================================================ */
.projects {
  padding: var(--section-py) 0;
}

.projects__filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 10px 24px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-muted);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover {
  color: var(--text-primary);
  border-color: var(--text-faint);
}

.filter-btn.active {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-accent);
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

.project-card.hidden {
  display: none;
}

.project-card__image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.project-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,0.85);
  font-size: 1.125rem;
  font-weight: 600;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card__placeholder i {
  font-size: 2.75rem;
  opacity: 0.7;
}

.project-card:hover .project-card__placeholder {
  transform: scale(1.08);
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(9,9,11,0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.project-card:hover .project-card__overlay {
  opacity: 1;
}

.project-card__info {
  padding: 22px 26px;
}

.project-card__info h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.project-card__info p {
  font-size: 0.8125rem;
  color: var(--text-faint);
}

/* ============================================================
   PROJECT MODAL
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.modal.open {
  opacity: 1;
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(10px);
}

.modal__content {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(30px) scale(0.95);
  transition: transform var(--transition);
  box-shadow: var(--shadow-lg);
}

.modal.open .modal__content {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  font-size: 1.125rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 10;
}

.modal__close:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

.modal__image {
  height: 260px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 3rem;
}

.modal__body {
  padding: 32px;
}

.modal__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: var(--gradient-soft);
  border: 1px solid var(--border-accent);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.modal__title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.modal__desc {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 22px;
}

.modal__tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.modal__tech span {
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 6px 14px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  color: var(--text-muted);
}

.modal__cta {
  display: inline-flex;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: var(--section-py) 0;
  background: var(--bg-secondary);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about__content .section-title {
  text-align: left;
}

.about__text {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about__text--highlight {
  color: var(--accent);
  font-weight: 600;
  font-style: italic;
  padding-left: 16px;
  border-left: 3px solid var(--accent-dim);
  margin-top: 8px;
  margin-bottom: 32px;
}

.about__values {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.about__value {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.about__value i {
  color: var(--accent);
  font-size: 1rem;
}

.about__value:hover {
  border-color: var(--accent);
  background: var(--gradient-soft);
  transform: translateY(-2px);
}

/* About visual grid */
.about__image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about__img-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 36px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
  transition: all var(--transition);
}

.about__img-block i {
  font-size: 1.75rem;
  opacity: 0.85;
}

.about__img-block:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.about__img-block--1 {
  background: linear-gradient(135deg, #667eea, #764ba2);
}
.about__img-block--2 {
  background: linear-gradient(135deg, #f093fb, #f5576c);
  margin-top: 24px;
}
.about__img-block--3 {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  margin-top: -24px;
}
.about__img-block--4 {
  background: linear-gradient(135deg, #43e97b, #38f9d7);
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-us {
  padding: var(--section-py) 0;
}

.why-us__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--bg-card);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-align: center;
  transition: all var(--transition);
  position: relative;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
}

.why-card__icon {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  border-radius: var(--radius);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 22px;
  box-shadow: var(--shadow-accent);
}

.why-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.why-card__desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: var(--section-py) 0;
  background: var(--bg-secondary);
}

.testimonials__slider {
  max-width: 860px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonials__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-card {
  min-width: 100%;
  padding: 44px;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  position: relative;
}

.testimonial-card__quote {
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 2.5rem;
  color: rgba(99,102,241,0.12);
}

.testimonial-card__stars {
  display: flex;
  gap: 4px;
  color: #facc15;
  font-size: 1rem;
  margin-bottom: 22px;
}

.testimonial-card__text {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 30px;
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.testimonial-card__author strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--text-primary);
}

.testimonial-card__author span {
  font-size: 0.8125rem;
  color: var(--text-faint);
}

.testimonials__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}

.slider-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 0.875rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.slider-btn:hover {
  background: var(--accent-dim);
  color: #fff;
  border-color: var(--accent-dim);
  box-shadow: var(--shadow-accent);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
  cursor: pointer;
  transition: all var(--transition);
}

.slider-dot.active {
  background: var(--accent);
  width: 28px;
  border-radius: 5px;
  box-shadow: 0 0 12px rgba(99,102,241,0.4);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: var(--section-py) 0;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact__info .section-title {
  text-align: left;
}

.contact__info .section-desc {
  text-align: left;
  margin-bottom: 36px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 36px;
}

.contact__detail {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact__detail-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-soft);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  color: var(--accent);
  font-size: 1.125rem;
  flex-shrink: 0;
}

.contact__detail strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--text-primary);
}

.contact__detail span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.contact__social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 1.125rem;
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: var(--shadow-accent);
}

/* Contact Form */
.contact__form {
  background: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--text-primary);
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: var(--bg-primary);
  box-shadow: 0 0 0 4px rgba(99,102,241,0.12);
}

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: var(--radius);
  color: #86efac;
  font-size: 0.9375rem;
  font-weight: 500;
  margin-top: 16px;
}

.form-success.show {
  display: flex;
}

.form-success i {
  font-size: 1.25rem;
  color: #22c55e;
  flex-shrink: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-secondary);
  padding: 72px 0 0;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer .navbar__logo {
  margin-bottom: 16px;
}

.footer__desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 300px;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social .social-link {
  width: 40px;
  height: 40px;
  font-size: 1rem;
}

.footer__links h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 22px;
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a,
.footer__links span {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--accent);
}

.footer__bottom {
  padding: 28px 0;
  text-align: center;
}

.footer__bottom p {
  font-size: 0.8125rem;
  color: var(--text-faint);
}

/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal--right {
  transform: translateX(40px);
}

.reveal.visible {
  opacity: 1;
  transform: translate(0);
}

/* Stagger children */
.services__grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.services__grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.services__grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.services__grid .reveal:nth-child(5) { transition-delay: 0.32s; }

.why-us__grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.why-us__grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.why-us__grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.why-us__grid .reveal:nth-child(5) { transition-delay: 0.32s; }
.why-us__grid .reveal:nth-child(6) { transition-delay: 0.4s; }

.projects__grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.projects__grid .reveal:nth-child(3) { transition-delay: 0.15s; }
.projects__grid .reveal:nth-child(4) { transition-delay: 0.2s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero__desc {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__visual {
    max-width: 420px;
    margin: 0 auto;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-us__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about__content .section-title {
    text-align: center;
  }

  .about__content {
    text-align: center;
  }

  .about__text--highlight {
    text-align: left;
  }

  .about__values {
    justify-content: center;
  }

  .about__image-grid {
    max-width: 380px;
    margin: 0 auto;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact__info .section-title,
  .contact__info .section-desc {
    text-align: center;
  }

  .contact__details {
    align-items: center;
  }

  .contact__social {
    justify-content: center;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-py: 80px;
  }

  .navbar__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    flex-direction: column;
    background: var(--bg-primary);
    border-left: 1px solid var(--border);
    padding: 80px 32px 32px;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition);
    z-index: 999;
    gap: 4px;
    align-items: stretch;
  }

  .navbar__menu.open {
    right: 0;
  }

  .nav-link {
    font-size: 1rem;
    padding: 14px 16px;
  }

  .navbar__cta {
    display: none;
  }

  .navbar__toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }

  .hero__title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .hero__stats {
    gap: 20px;
  }

  .hero__stat-divider {
    height: 30px;
  }

  .hero__float {
    display: none;
  }

  .services__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .why-us__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .projects__grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .testimonial-card {
    padding: 30px;
  }

  .contact__form {
    padding: 28px;
  }

  .about__img-block--2 {
    margin-top: 0;
  }

  .about__img-block--3 {
    margin-top: 0;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer__desc {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .footer__social {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .hero__stats {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .hero__stat-divider {
    width: 40px;
    height: 1px;
  }

  .btn--lg {
    padding: 14px 28px;
  }

  .projects__filters {
    gap: 8px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 0.8125rem;
  }

  .modal__content {
    margin: 16px;
  }

  .modal__body {
    padding: 24px;
  }

  .modal__image {
    height: 180px;
  }
}

/* ============================================================
   SCROLLBAR (Webkit)
   ============================================================ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-faint);
}

/* ============================================================
   SELECTION
   ============================================================ */
::selection {
  background: rgba(99,102,241,0.3);
  color: var(--text-primary);
}
