/* ═══════════════════════════════════════════
   Inevora.in — Global Stylesheet
   Clean, modern, purple-accent design
   ═══════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --accent: #6C5CE7;
  --accent-light: #a29bfe;
  --accent-bg: #f0eeff;
  --accent-dark: #5a4bd1;
  --bg: #ffffff;
  --bg-section: #f8f7ff;
  --bg-card: #ffffff;
  --text: #1a1a2e;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
  --border: #e5e7eb;
  --border-light: #f3f4f6;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-pill: 100px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 2px 12px rgba(108, 92, 231, 0.06);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

ul,
ol {
  list-style: none;
}

/* ── Container ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

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

/* ── Typography helpers ── */
.text-accent {
  color: var(--accent);
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-top: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
  margin-top: 16px;
}

/* ── Pill badge ── */
.pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1.5px solid var(--accent-light);
  border-radius: var(--radius-pill);
  padding: 6px 18px;
  background: var(--accent-bg);
}

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

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(108, 92, 231, 0.3);
}

.btn--primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 6px 24px rgba(108, 92, 231, 0.4);
  transform: translateY(-1px);
}

.btn--outline {
  background: var(--bg);
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--white {
  background: #fff;
  color: var(--accent);
  font-weight: 700;
}

.btn--white:hover {
  background: #f0eeff;
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* ═══════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
}

.navbar__logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  font-weight: 800;
  font-size: 1.05rem;
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  transition: all var(--transition);
  position: relative;
}

.navbar__link:hover,
.navbar__link.active {
  color: var(--text);
}

.navbar__link.active {
  font-weight: 700;
}

.navbar__link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2.5px;
  background: var(--accent);
  border-radius: 2px;
}

.navbar__cta {
  padding: 10px 22px;
  font-size: 0.85rem;
}

/* Dropdown */
.navbar__dropdown {
  position: relative;
}

.navbar__dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.navbar__dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 200;
}

.navbar__dropdown.open .navbar__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.navbar__dropdown-menu a {
  display: block;
  padding: 10px 14px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: all var(--transition);
}

.navbar__dropdown-menu a:hover {
  background: var(--accent-bg);
  color: var(--accent);
}

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 110;
}

.navbar__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.navbar__hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar__hamburger.open span:nth-child(2) {
  opacity: 0;
}

.navbar__hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 960px) {
  .navbar__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 32px;
    gap: 4px;
    border-left: 1px solid var(--border);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.08);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 105;
  }

  .navbar__nav.open {
    right: 0;
  }

  .navbar__link {
    font-size: 1.05rem;
    padding: 12px 16px;
    width: 100%;
  }

  .navbar__cta {
    display: none;
  }

  .navbar__hamburger {
    display: flex;
  }

  .navbar__dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 20px;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
  }

  .navbar__dropdown.open .navbar__dropdown-menu {
    max-height: 400px;
    padding-top: 4px;
  }
}

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
  padding: 160px 0 100px;
  background: var(--bg);
  overflow: hidden;
}

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

.hero__content {
  max-width: 540px;
}

.hero__title {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-top: 20px;
}

.hero__subtitle {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-top: 24px;
  max-width: 480px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}

/* Orbit graphic */
.hero__orbit {
  position: relative;
  width: 440px;
  height: 440px;
  margin: 0 auto;
}

.orbit__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320px;
  height: 320px;
  transform: translate(-50%, -50%);
  border: 1.5px dashed var(--border);
  border-radius: 50%;
  animation: orbitPulse 7s ease-in-out infinite alternate;
}

.orbit__center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  background: var(--accent);
  color: #fff;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: 0 8px 32px rgba(108, 92, 231, 0.35);
  z-index: 5;
  animation: orbitCenterFloat 5s ease-in-out infinite alternate;
}

.orbit__item {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 3;
}

.orbit__item span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.orbit__icon {
  width: 48px;
  height: 48px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.orbit__item:hover .orbit__icon {
  border-color: var(--accent-light);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

/*
  6 orbit items at exact 60° intervals around a 320px-diameter ring
  inside a 440×440 container (center = 220,220 / ring-radius ≈ 160px).
  Angle reference: 0° = top (12 o'clock), clockwise.

  Each item is ~56px wide (icon 48px + some padding), so offset by -28px ≈ -6.4%.
  top/left percentages are of the 440px container.

  Item 1 — 0°   (top):        left ≈ 43.6%,  top ≈  3%
  Item 2 — 60°  (upper-right): left ≈ 74.5%,  top ≈ 19.1%
  Item 3 — 120° (lower-right): left ≈ 74.5%,  top ≈ 61.4%
  Item 4 — 180° (bottom):      left ≈ 43.6%,  bottom ≈ 3%
  Item 5 — 240° (lower-left):  left ≈ 12.7%,  top ≈ 61.4%
  Item 6 — 300° (upper-left):  left ≈ 12.7%,  top ≈ 19.1%
*/
.orbit__item--1 {
  top: 3%;
  left: 50%;
  transform: translateX(-50%);
  animation: orbitFloat1 5s ease-in-out infinite alternate;
}

.orbit__item--2 {
  top: 19%;
  right: 4%;
  animation: orbitFloat2 5.5s ease-in-out infinite alternate;
}

.orbit__item--3 {
  top: 61%;
  right: 4%;
  animation: orbitFloat3 6s ease-in-out 0.3s infinite alternate;
}

.orbit__item--4 {
  bottom: 3%;
  left: 50%;
  transform: translateX(-50%);
  animation: orbitFloat4 5.2s ease-in-out 0.5s infinite alternate;
}

.orbit__item--5 {
  top: 61%;
  left: 4%;
  animation: orbitFloat5 5.8s ease-in-out 0.8s infinite alternate;
}

.orbit__item--6 {
  top: 19%;
  left: 4%;
  animation: orbitFloat6 6.2s ease-in-out 1s infinite alternate;
}

@keyframes orbitPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.99);
    opacity: 0.85;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.01);
    opacity: 1;
  }
}

@keyframes orbitCenterFloat {
  0% {
    transform: translate(-50%, -50%) translateY(0);
  }

  100% {
    transform: translate(-50%, -50%) translateY(-5px);
  }
}

/* Item-specific float animations — top/bottom items float vertically,
   side items float horizontally for a more natural feel */
@keyframes orbitFloat1 {
  0% {
    transform: translateX(-50%) translateY(0);
  }

  100% {
    transform: translateX(-50%) translateY(-5px);
  }
}

@keyframes orbitFloat2 {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(3px, -4px);
  }
}

@keyframes orbitFloat3 {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(3px, 4px);
  }
}

@keyframes orbitFloat4 {
  0% {
    transform: translateX(-50%) translateY(0);
  }

  100% {
    transform: translateX(-50%) translateY(5px);
  }
}

@keyframes orbitFloat5 {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(-3px, 4px);
  }
}

@keyframes orbitFloat6 {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(-3px, -4px);
  }
}

/* Responsive orbit layout: keep every service block centered on the ring. */
@media (max-width: 960px) {
  .hero {
    padding: 130px 0 60px;
  }

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

  .hero__orbit {
    position: relative;
    width: min(100%, 440px);
    height: 400px;
    margin: 12px auto 0;
  }

  .hero__orbit .orbit__ring {
    display: block;
    position: absolute;
    width: 290px;
    height: 290px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .hero__orbit .orbit__center {
    display: flex;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 62px;
    height: 62px;
    font-size: 0.95rem;
    border-radius: 16px;
  }

  .hero__orbit .orbit__item {
    position: absolute;
    z-index: 2;
    animation: none;
  }

  .hero__orbit .orbit__icon {
    width: 42px;
    height: 42px;
  }

  .hero__orbit .orbit__item span {
    font-size: 0.72rem;
  }

  /* Ring radius = 145px. Put the CENTER of each block on the ring. */
  .hero__orbit .orbit__item--1 {
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -50%) translate(0, -145px);
  }

  .hero__orbit .orbit__item--2 {
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -50%) translate(125.6px, -72.5px);
  }

  .hero__orbit .orbit__item--3 {
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -50%) translate(125.6px, 72.5px);
  }

  .hero__orbit .orbit__item--4 {
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -50%) translate(0, 145px);
  }

  .hero__orbit .orbit__item--5 {
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -50%) translate(-125.6px, 72.5px);
  }

  .hero__orbit .orbit__item--6 {
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -50%) translate(-125.6px, -72.5px);
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 110px 0 48px;
  }

  .hero__inner {
    gap: 28px;
  }

  .hero__orbit {
    width: min(100%, 340px);
    height: 340px;
    margin: 8px auto 0;
  }

  .hero__orbit .orbit__ring {
    width: 220px;
    height: 220px;
  }

  .hero__orbit .orbit__center {
    width: 54px;
    height: 54px;
    font-size: 0.85rem;
    border-radius: 14px;
  }

  .hero__orbit .orbit__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .hero__orbit .orbit__icon svg {
    width: 18px;
    height: 18px;
  }

  .hero__orbit .orbit__item span {
    font-size: 0.68rem;
  }

  /* Ring radius = 110px; positions follow the circumference at 60° intervals. */
  .hero__orbit .orbit__item--1 {
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -50%) translate(0, -110px);
  }

  .hero__orbit .orbit__item--2 {
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -50%) translate(95.3px, -55px);
  }

  .hero__orbit .orbit__item--3 {
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -50%) translate(95.3px, 55px);
  }

  .hero__orbit .orbit__item--4 {
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -50%) translate(0, 110px);
  }

  .hero__orbit .orbit__item--5 {
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -50%) translate(-95.3px, 55px);
  }

  .hero__orbit .orbit__item--6 {
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -50%) translate(-95.3px, -55px);
  }
}

@media (prefers-reduced-motion: reduce) {

  .hero__orbit .orbit__item,
  .hero__orbit .orbit__ring,
  .hero__orbit .orbit__center {
    animation: none !important;
    transition: none !important;
  }
}

/* ═══════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════ */
.services {
  padding: 100px 0;
  background: var(--bg-section);
}

.services__grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 0;
  margin-top: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
}

.services__nav {
  border-right: 1px solid var(--border);
}

.services__nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 22px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  text-align: left;
  transition: all var(--transition);
  position: relative;
  background: transparent;
}

.services__nav-item:last-child {
  border-bottom: none;
}

.services__nav-item:hover {
  background: var(--accent-bg);
  color: var(--text);
}

.services__nav-item.active {
  background: var(--accent-bg);
  color: var(--accent);
  border-left: 3px solid var(--accent);
}

.services__nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--accent-bg);
  border-radius: 10px;
  color: var(--accent);
  flex-shrink: 0;
}

.services__nav-item.active .services__nav-icon {
  background: var(--accent);
  color: #fff;
}

.services__nav-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}

.services__nav-arrow {
  margin-left: auto;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* Service detail panel */
.services__detail {
  position: relative;
  min-height: 340px;
}

.services__panel {
  position: absolute;
  inset: 0;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s ease;
}

.services__panel.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  position: relative;
}

.services__panel-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-bg);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.services__panel-count {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-bg);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-top: 20px;
}

.services__panel h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-top: 16px;
  color: var(--text);
}

.services__panel p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-top: 12px;
  max-width: 480px;
}

.services__panel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.services__panel-tags span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
}

@media (max-width: 860px) {
  .services__grid {
    grid-template-columns: 1fr;
  }

  .services__nav {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .services__nav-item {
    padding: 16px 20px;
    font-size: 0.88rem;
  }

  .services__panel {
    padding: 28px 24px;
  }
}

/* ═══════════════════════════════════════════
   PROCESS
   ═══════════════════════════════════════════ */
.process {
  padding: 100px 0;
  background: var(--bg);
}

.process__steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 60px;
}

.process__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  max-width: 180px;
}

.process__circle {
  width: 52px;
  height: 52px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent);
  background: #fff;
  position: relative;
  z-index: 2;
}

.process__step h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-top: 18px;
  color: var(--text);
}

.process__step p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 6px;
  line-height: 1.55;
}

.process__line {
  height: 2px;
  flex: 1;
  max-width: 100px;
  background: var(--border);
  margin-top: 26px;
}

@media (max-width: 768px) {
  .process__steps {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .process__step {
    max-width: 280px;
  }

  .process__line {
    width: 2px;
    height: 32px;
    max-width: none;
    margin-top: 0;
  }
}

/* ═══════════════════════════════════════════
   PROJECTS
   ═══════════════════════════════════════════ */
.projects {
  padding: 100px 0;
  background: var(--bg-section);
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.project-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  border-color: var(--accent-light);
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.project-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.project-card__num {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

.project-card__badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-bg);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.badge--ai {
  background: #f0e6ff;
  color: #7c3aed;
}

.badge--devops {
  background: #e0f7fa;
  color: #0891b2;
}

.badge--security {
  background: #fef3c7;
  color: #d97706;
}

.project-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.project-card__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 8px;
  line-height: 1.6;
}

.project-card__stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-card__stack span:last-child {
  color: var(--text-secondary);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.85rem;
}

.project-card__visual {
  margin-top: auto;
  padding-top: 20px;
}

.project-card__img-wrap {
  width: 100%;
  height: 168px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-section);
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.35s ease;
  display: block;
}

.project-card:hover .project-card__img {
  transform: scale(1.04);
}

.project-card__placeholder {
  width: 100%;
  height: 160px;
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ═══════════════════════════════════════════
   TEAM
   ═══════════════════════════════════════════ */
.team {
  padding: 100px 0;
  background: var(--bg);
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.team-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-card:hover {
  border-color: var(--accent-light);
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.team-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 22px;
  background: var(--avatar-bg, var(--accent));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 4px 18px rgba(108, 92, 231, 0.2);
  overflow: hidden;
  flex-shrink: 0;
}

.team-card__avatar img,
.team-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

.team-card__name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 18px;
  color: var(--text);
}

.team-card__role {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 4px;
}

.team-card__desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-top: 12px;
  line-height: 1.65;
}

.team-card__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 16px;
}

.team-card__skills span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-bg);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.team-card__link {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  width: 100%;
  transition: all var(--transition);
}

.team-card:hover .team-card__link {
  color: var(--accent-dark);
}

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

@media (max-width: 600px) {
  .team__grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════ */
.about {
  padding: 100px 0;
  background: var(--bg-section);
}

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

.about__content p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-top: 16px;
}

.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: all var(--transition);
}

.stat-card:hover {
  border-color: var(--accent-light);
  box-shadow: var(--shadow-card);
}

.stat-card__num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
}

.stat-card__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: 6px;
}

@media (max-width: 768px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ═══════════════════════════════════════════
   CTA
   ═══════════════════════════════════════════ */
.cta {
  padding: 100px 0;
  background: var(--accent);
  color: #fff;
}

.cta__inner {
  text-align: center;
}

.cta h2 {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.cta p {
  font-size: 1.05rem;
  opacity: 0.85;
  margin-top: 16px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.cta__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 36px;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  padding: 60px 0 40px;
  background: var(--text);
  color: rgba(255, 255, 255, 0.7);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 12px;
}

.footer__brand p {
  font-size: 0.9rem;
  line-height: 1.65;
  margin-top: 4px;
}

.footer__copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 16px;
}

.footer__col h5 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}

.footer__col a {
  display: block;
  font-size: 0.88rem;
  padding: 5px 0;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
}

.footer__col a:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 500px) {
  .footer__top {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════
   SCROLL-TO-TOP
   ═══════════════════════════════════════════ */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(108, 92, 231, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition);
  z-index: 90;
  cursor: pointer;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════ */
.page-header {
  padding: 140px 0 60px;
  background: var(--bg-section);
}

.page-header .pill {
  margin-bottom: 12px;
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
}

.page-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-top: 12px;
  max-width: 560px;
  line-height: 1.7;
}

.contact-section {
  padding: 80px 0 100px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 48px;
}

.contact-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.contact-form h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font);
  font-size: 0.92rem;
  color: var(--text);
  background: var(--bg-section);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

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

.form-group input.error,
.form-group textarea.error {
  border-color: #ef4444;
}

.form-error {
  font-size: 0.78rem;
  color: #ef4444;
  margin-top: 4px;
  display: none;
}

.form-error.visible {
  display: block;
}

.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success svg {
  color: var(--accent);
  margin-bottom: 16px;
}

.form-success h3 {
  font-size: 1.4rem;
}

.form-success p {
  color: var(--text-secondary);
  margin-top: 8px;
}

.contact-sidebar h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.contact-member {
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-bottom: 10px;
}

.contact-member strong {
  font-size: 0.9rem;
  color: var(--text);
}

.contact-member span {
  font-size: 0.82rem;
  color: var(--accent);
  margin-left: 6px;
}

.contact-member p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 3px;
  font-family: monospace;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════
   TEAM PAGE
   ═══════════════════════════════════════════ */
.team-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  padding: 80px 0 100px;
}

.team-profile {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  scroll-margin-top: 100px;
  transition: all var(--transition);
}

.team-profile:hover {
  border-color: var(--accent-light);
  box-shadow: var(--shadow-card);
}

.team-profile__header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.team-profile__avatar {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.team-profile__name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
}

.team-profile__role {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 2px;
}

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

.team-profile__section-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 10px;
  margin-top: 20px;
}

.team-profile__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.team-profile__skills span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-bg);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
}

.team-profile__targets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.team-profile__targets span {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-section);
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
}

.team-profile__contact {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: monospace;
  margin-top: 10px;
}

.team-profile__projects {
  margin-top: 20px;
}

.team-profile__project {
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 10px;
}

.team-profile__project h5 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
}

.team-profile__project p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 4px;
  line-height: 1.6;
}

.team-profile__project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.team-profile__project-tags span {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

@media (max-width: 860px) {
  .team-page-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════ */
.fade-up {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.animate {
  opacity: 0;
  transform: translateY(20px);
}

.fade-up.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile nav overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ═══════════════════════════════════════════
   CONTACT PAGE EXTRAS
   ═══════════════════════════════════════════ */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-select {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font);
  font-size: 0.92rem;
  color: var(--text);
  background: var(--bg-section);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 5L6 8L9 5' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  transition: border-color var(--transition);
  cursor: pointer;
}

.form-select:focus {
  border-color: var(--accent);
}

.contact-sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card,
.contact-team-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.contact-info-card h4,
.contact-team-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 18px;
}

.contact-look-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-look-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-look-icon {
  width: 38px;
  height: 38px;
  background: var(--accent-bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-look-item strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
}

.contact-look-item p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 1px;
  line-height: 1.5;
}

.contact-team-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.6;
}

.contact-member-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-member-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.contact-member-row:hover {
  background: var(--bg-section);
}

.contact-member-row>svg {
  margin-left: auto;
  color: var(--text-muted);
  flex-shrink: 0;
}

.contact-member-init {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.72rem;
  flex-shrink: 0;
  overflow: hidden;
}

.contact-member-init img,
.contact-member-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.contact-member-row strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}

.contact-member-row span {
  display: block;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 500;
}

.contact-member-row p {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: monospace;
  margin-top: 1px;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}


/* ===== LAPTOP / DESKTOP ORBIT FIX ===== */
@media (min-width: 961px) {
  .hero__orbit {
    position: relative;
    width: 100%;
    max-width: 560px;
    height: 560px;
    margin-inline: auto;
    display: block;
  }

  .hero__orbit .orbit__ring {
    position: absolute;
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .hero__orbit .orbit__center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .hero__orbit .orbit__item {
    position: absolute;
    top: 50%;
    left: 50%;
    animation: none;
  }

  /* Websites */
  .hero__orbit .orbit__item--1 {
    transform: translate(-50%, -50%) translateY(-200px);
  }

  /* Mobile Apps */
  .hero__orbit .orbit__item--2 {
    transform: translate(-50%, -50%) translate(173px, -100px);
  }

  /* Software */
  .hero__orbit .orbit__item--3 {
    transform: translate(-50%, -50%) translate(173px, 100px);
  }

  /* AI Automation */
  .hero__orbit .orbit__item--4 {
    transform: translate(-50%, -50%) translateY(300px);
  }

  /* Cybersecurity */
  .hero__orbit .orbit__item--5 {
    transform: translate(-50%, -50%) translate(-173px, 100px);
  }

  /* DevOps */
  .hero__orbit .orbit__item--6 {
    transform: translate(-50%, -50%) translate(-173px, -100px);
  }
}