/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #3a5ce4;
  --primary-dark: #2a45b8;
  --primary-light: #6b8cf5;
  --dark: #0a0e1a;
  --dark-lighter: #141b2d;
  --grey-dark: #1e2a3a;
  --grey: #2c3e50;
  --grey-light: #94a3b8;
  --white: #ffffff;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --gradient: linear-gradient(135deg, #3a5ce4 0%, #6b8cf5 100%);
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--dark);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section--alt {
  background-color: var(--dark-lighter);
}

/* ===== HEADER & NAV ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(58, 92, 228, 0.15);
  padding: 1rem 0;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo img {
  height: 48px;
  width: auto;
}

.nav__list {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav__link {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition);
  position: relative;
}

.nav__link:hover,
.nav__link--active {
  color: var(--white);
}

.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

.nav__close {
  display: none;
}

/* ===== HERO ===== */
.hero {
  padding: 12rem 0 8rem;
  text-align: center;
  background: var(--dark);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero--bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero--bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 14, 26, 0.92) 0%,
    rgba(10, 14, 26, 0.7) 40%,
    rgba(10, 14, 26, 0.8) 70%,
    rgba(10, 14, 26, 1) 100%
  );
  z-index: 1;
}

.hero--bg > .container {
  position: relative;
  z-index: 3;
}

/* Animated gradient orbs for depth */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  z-index: 2;
  animation: float 8s ease-in-out infinite;
}

.hero__orb--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(58, 92, 228, 0.4) 0%, transparent 70%);
  top: -10%;
  right: -5%;
  animation-delay: 0s;
}

.hero__orb--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(107, 140, 245, 0.3) 0%, transparent 70%);
  bottom: 10%;
  left: -8%;
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -20px) scale(1.05); }
  66% { transform: translate(-15px, 15px) scale(0.95); }
}

/* Tag above headline */
.hero__tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
  padding: 0.5rem 1.25rem;
  border: 1px solid rgba(107, 140, 245, 0.3);
  border-radius: 50px;
  background: rgba(58, 92, 228, 0.08);
}

.hero__headline {
  margin-bottom: 1.5rem;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--white) 0%, var(--primary-light) 60%, var(--white) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subheadline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero__text {
  max-width: 800px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
}

/* Dual action buttons */
.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

/* Stats row */
.hero__stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  padding-top: 3rem;
  border-top: 1px solid rgba(107, 140, 245, 0.15);
}

.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.hero__stat-number {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
}

.hero__stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Bottom fade — seamless transition into next section */
.hero__fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(to bottom, transparent 0%, var(--dark) 100%);
  z-index: 4;
  pointer-events: none;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
}

.btn--primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(58, 92, 228, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(58, 92, 228, 0.4);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--primary-light);
  border: 2px solid var(--primary);
}

.btn--outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== CARDS ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background: var(--dark-lighter);
  border: 1px solid rgba(58, 92, 228, 0.1);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  transition: all var(--transition);
}

.card:hover {
  border-color: rgba(58, 92, 228, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.card__title {
  margin-bottom: 0.75rem;
}

.card__text {
  color: var(--text-muted);
}

/* ===== SERVICES SECTION (Home) ===== */
.section--services {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--dark) 0%, rgba(20, 27, 45, 0.95) 8%, rgba(20, 27, 45, 0.95) 92%, var(--dark) 100%),
    url('../images/hero-services.jpg') center / cover no-repeat;
}

.section__title {
  text-align: center;
  margin-bottom: 0.75rem;
}

.section__subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 550px;
  margin: 0 auto;
}

.cards--services {
  margin-top: 3.5rem;
  gap: 2.5rem;
}

.card--service {
  background: rgba(20, 27, 45, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(58, 92, 228, 0.15);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  text-align: center;
  transition: all 0.4s ease;
}

.card--service:hover {
  border-color: rgba(107, 140, 245, 0.4);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(58, 92, 228, 0.15);
  background: rgba(20, 27, 45, 0.85);
}

.card__icon-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(58, 92, 228, 0.15) 0%, rgba(107, 140, 245, 0.1) 100%);
  border: 1px solid rgba(107, 140, 245, 0.2);
  border-radius: 16px;
  transition: all 0.4s ease;
}

.card--service:hover .card__icon-wrap {
  background: linear-gradient(135deg, rgba(58, 92, 228, 0.3) 0%, rgba(107, 140, 245, 0.2) 100%);
  border-color: rgba(107, 140, 245, 0.4);
  transform: scale(1.05);
}

.card__svg {
  width: 36px;
  height: 36px;
  color: var(--primary-light);
  transition: color 0.4s ease;
}

.card--service:hover .card__svg {
  color: var(--white);
}

.card--service .card__title {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.card--service .card__text {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* ===== VALUES / FEATURES LIST ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--dark-lighter);
  border-radius: var(--radius);
  border: 1px solid rgba(58, 92, 228, 0.08);
}

.value-item__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.value-item__text h4 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.value-item__text p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== WHY SECTION (HOME) ===== */
.section--why {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  background: var(--dark);
}

.why__fade-top,
.why__fade-bottom {
  position: absolute;
  left: 0;
  right: 0;
  height: 120px;
  pointer-events: none;
  z-index: 1;
}

.why__fade-top {
  top: 0;
  background: linear-gradient(to bottom, var(--dark) 0%, transparent 100%);
}

.why__fade-bottom {
  bottom: 0;
  background: linear-gradient(to top, var(--dark) 0%, transparent 100%);
}

.why__header {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 2;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
  position: relative;
  z-index: 2;
}

.why-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.75rem 2rem;
  border-radius: 14px;
  border: 1px solid rgba(58, 92, 228, 0.08);
  background: rgba(20, 27, 45, 0.4);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--gradient);
  border-radius: 0 2px 2px 0;
  transition: height 0.4s ease;
}

.why-card:hover {
  border-color: rgba(58, 92, 228, 0.2);
  background: rgba(20, 27, 45, 0.7);
  transform: translateX(6px);
}

.why-card:hover::before {
  height: 100%;
}

.why-card__number {
  font-size: 1.5rem;
  font-weight: 800;
  color: rgba(107, 140, 245, 0.25);
  flex-shrink: 0;
  line-height: 1;
  padding-top: 0.2rem;
  transition: color 0.4s ease;
}

.why-card:hover .why-card__number {
  color: rgba(107, 140, 245, 0.6);
}

.why-card__content h4 {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.why-card__content p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ===== ABOUT PAGE ===== */

/* About Hero */
.about-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10rem 0 6rem;
}

.about-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 14, 26, 0.9) 0%,
    rgba(10, 14, 26, 0.7) 40%,
    rgba(10, 14, 26, 0.85) 70%,
    rgba(10, 14, 26, 1) 100%
  );
  z-index: 1;
}

.about-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  z-index: 2;
  animation: float 8s ease-in-out infinite;
}

.about-hero__orb--1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(58, 92, 228, 0.35) 0%, transparent 70%);
  top: 10%;
  left: -5%;
}

.about-hero__orb--2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
  bottom: 15%;
  right: -5%;
  animation-delay: -4s;
}

.about-hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 750px;
  margin: 0 auto;
}

.about-hero__headline {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.about-hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

.about-hero__sub strong {
  color: var(--primary-light);
}

.about-hero__fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to bottom, transparent 0%, var(--dark) 100%);
  z-index: 4;
  pointer-events: none;
}

/* Origin Story */
.about-origin {
  padding: 5rem 0;
  background: var(--dark);
}

.about-origin__grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.about-origin__photo {
  text-align: center;
}

.about-origin__photo-frame {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(107, 140, 245, 0.3);
  box-shadow: 0 8px 40px rgba(58, 92, 228, 0.15);
  margin: 0 auto;
  transition: all 0.4s ease;
}

.about-origin__photo-frame:hover {
  border-color: rgba(107, 140, 245, 0.6);
  box-shadow: 0 12px 50px rgba(58, 92, 228, 0.25);
  transform: scale(1.03);
}

.about-origin__photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-origin__photo-caption {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.about-origin__inner {
  position: relative;
  padding-left: 2rem;
}

.about-origin__accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary) 0%, rgba(139, 92, 246, 0.5) 100%);
  border-radius: 3px;
}

.about-origin__quote {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.about-origin__inner p {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* Who We Are */
.about-who {
  padding: 6rem 0;
  position: relative;
  background: var(--dark);
}

.about-who__border {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(58, 92, 228, 0.4) 50%, transparent 100%);
}

.about-who__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.about-who__left h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.2;
}

.about-who__right p {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-who__highlight {
  color: var(--primary-light) !important;
  font-weight: 600;
  font-size: 1.1rem !important;
}

/* What Sets Us Apart */
.about-apart {
  padding: 6rem 0;
  background: var(--dark-lighter);
}

.about-apart__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-apart__text h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 1.25rem;
}

.about-apart__text p {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-apart__text strong {
  color: var(--white);
}

.about-apart__visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-apart__card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  background: rgba(10, 14, 26, 0.6);
  border: 1px solid rgba(58, 92, 228, 0.1);
  transition: all 0.3s ease;
}

.about-apart__card:hover {
  border-color: rgba(58, 92, 228, 0.3);
  transform: translateX(6px);
  background: rgba(10, 14, 26, 0.8);
}

.about-apart__card svg {
  width: 24px;
  height: 24px;
  color: var(--primary-light);
  flex-shrink: 0;
}

.about-apart__card span {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}

/* Our Values */
.about-values {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  background: var(--dark);
}

.about-values__glow {
  position: absolute;
  width: 500px;
  height: 500px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.about-values__header {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 2;
}

.about-values__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.about-value-card {
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  background: rgba(20, 27, 45, 0.5);
  border: 1px solid rgba(58, 92, 228, 0.08);
  transition: all 0.4s ease;
}

.about-value-card:hover {
  border-color: rgba(107, 140, 245, 0.25);
  transform: translateY(-6px);
  background: rgba(20, 27, 45, 0.75);
  box-shadow: 0 16px 48px rgba(58, 92, 228, 0.1);
}

.about-value-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(58, 92, 228, 0.12) 0%, rgba(139, 92, 246, 0.08) 100%);
  border: 1px solid rgba(107, 140, 245, 0.15);
  border-radius: 14px;
  transition: all 0.4s ease;
}

.about-value-card:hover .about-value-card__icon {
  background: linear-gradient(135deg, rgba(58, 92, 228, 0.25) 0%, rgba(139, 92, 246, 0.15) 100%);
  border-color: rgba(107, 140, 245, 0.35);
}

.about-value-card__icon svg {
  width: 26px;
  height: 26px;
  color: var(--primary-light);
}

.about-value-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.about-value-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* About page responsive */
@media (max-width: 768px) {
  .about-hero {
    min-height: auto;
    padding: 8rem 0 4rem;
  }

  .about-hero__orb {
    display: none;
  }

  .about-origin__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .about-origin__inner {
    padding-left: 1.5rem;
    text-align: left;
  }

  .about-origin__photo-frame {
    width: 160px;
    height: 160px;
  }

  .about-who__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-apart__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-values__grid {
    grid-template-columns: 1fr;
  }
}

/* ===== SERVICES PAGE ===== */

/* Services Hero */
.svc-hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10rem 0 6rem;
}

.svc-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.svc-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 14, 26, 0.92) 0%,
    rgba(10, 14, 26, 0.72) 40%,
    rgba(10, 14, 26, 0.85) 70%,
    rgba(10, 14, 26, 1) 100%
  );
  z-index: 1;
}

.svc-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  z-index: 2;
  animation: float 8s ease-in-out infinite;
}

.svc-hero__orb--1 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(58, 92, 228, 0.35) 0%, transparent 70%);
  top: -5%;
  right: -8%;
}

.svc-hero__orb--2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(107, 140, 245, 0.25) 0%, transparent 70%);
  bottom: 10%;
  left: -5%;
  animation-delay: -4s;
}

.svc-hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.svc-hero__headline {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.svc-hero__sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.8;
}

.svc-hero__fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to bottom, transparent 0%, var(--dark) 100%);
  z-index: 4;
  pointer-events: none;
}

/* Service Sections */
.svc-section {
  padding: 4rem 0;
  background: var(--dark);
}

.svc-card {
  max-width: 850px;
  margin: 0 auto;
  padding: 3rem;
  border-radius: 20px;
  background: rgba(20, 27, 45, 0.5);
  border: 1px solid rgba(58, 92, 228, 0.1);
  backdrop-filter: blur(8px);
  transition: border-color 0.4s ease;
}

.svc-card:hover {
  border-color: rgba(58, 92, 228, 0.2);
}

.svc-card__header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.svc-card__icon-wrap {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(58, 92, 228, 0.15) 0%, rgba(107, 140, 245, 0.08) 100%);
  border: 1px solid rgba(107, 140, 245, 0.2);
  border-radius: 14px;
}

.svc-card__icon-wrap svg {
  width: 28px;
  height: 28px;
  color: var(--primary-light);
}

.svc-card__icon-wrap--alt {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(107, 140, 245, 0.08) 100%);
  border-color: rgba(139, 92, 246, 0.2);
}

.svc-card__icon-wrap--alt svg {
  color: #a78bfa;
}

.svc-card__tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 0.25rem;
}

.svc-card__title {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 700;
  color: var(--white);
}

.svc-card__intro {
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.svc-card__body {
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.svc-card__closing {
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(58, 92, 228, 0.08);
}

.svc-card__highlight {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(58, 92, 228, 0.08);
}

/* Capabilities */
.svc-card__capabilities {
  margin: 2rem 0;
}

.svc-card__capabilities h4 {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.svc-capabilities-grid {
  display: grid;
  gap: 1rem;
}

.svc-capability {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  background: rgba(10, 14, 26, 0.5);
  border: 1px solid rgba(58, 92, 228, 0.06);
  transition: all 0.3s ease;
}

.svc-capability:hover {
  border-color: rgba(58, 92, 228, 0.2);
  background: rgba(10, 14, 26, 0.7);
  transform: translateX(4px);
}

.svc-capability__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(58, 92, 228, 0.1);
  border-radius: 10px;
}

.svc-capability__icon svg {
  width: 20px;
  height: 20px;
  color: var(--primary-light);
}

.svc-capability__icon--alt {
  background: rgba(139, 92, 246, 0.1);
}

.svc-capability__icon--alt svg {
  color: #a78bfa;
}

.svc-capability h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.svc-capability p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Divider */
.svc-divider {
  display: flex;
  justify-content: center;
  padding: 1rem 0;
  background: var(--dark);
}

.svc-divider__line {
  width: 160px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(58, 92, 228, 0.3) 50%, transparent 100%);
}

/* Tools Section */
.svc-tools {
  padding: 5rem 0;
  background: var(--dark);
}

.svc-tools__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.svc-tools__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  max-width: 700px;
  margin: 0 auto;
}

.svc-tool {
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  background: rgba(20, 27, 45, 0.6);
  border: 1px solid rgba(58, 92, 228, 0.12);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.svc-tool:hover {
  border-color: rgba(107, 140, 245, 0.35);
  color: var(--white);
  background: rgba(58, 92, 228, 0.1);
  transform: translateY(-2px);
}

/* Services responsive */
@media (max-width: 768px) {
  .svc-hero {
    min-height: auto;
    padding: 8rem 0 4rem;
  }

  .svc-hero__orb {
    display: none;
  }

  .svc-card {
    padding: 2rem 1.5rem;
  }

  .svc-card__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .svc-capabilities-grid {
    grid-template-columns: 1fr;
  }

  .svc-capability {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* ===== CONTACT PAGE ===== */

/* Contact Hero */
.contact-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10rem 0 6rem;
}

.contact-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.contact-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 14, 26, 0.92) 0%,
    rgba(10, 14, 26, 0.75) 40%,
    rgba(10, 14, 26, 0.88) 70%,
    rgba(10, 14, 26, 1) 100%
  );
  z-index: 1;
}

.contact-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  z-index: 2;
  animation: float 8s ease-in-out infinite;
}

.contact-hero__orb--1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(58, 92, 228, 0.3) 0%, transparent 70%);
  top: 5%;
  left: -8%;
}

.contact-hero__orb--2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(107, 140, 245, 0.2) 0%, transparent 70%);
  bottom: 15%;
  right: -5%;
  animation-delay: -4s;
}

.contact-hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.contact-hero__headline {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.contact-hero__sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.8;
}

.contact-hero__fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to bottom, transparent 0%, var(--dark) 100%);
  z-index: 4;
  pointer-events: none;
}

/* Contact Section */
.contact-section {
  padding: 4rem 0 6rem;
  background: var(--dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3.5rem;
  align-items: start;
}

/* Contact Info */
.contact-info h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.contact-info__cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-info__card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: 12px;
  background: rgba(20, 27, 45, 0.5);
  border: 1px solid rgba(58, 92, 228, 0.08);
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--text);
}

.contact-info__card:hover {
  border-color: rgba(58, 92, 228, 0.25);
  background: rgba(20, 27, 45, 0.8);
  transform: translateX(4px);
  color: var(--white);
}

.contact-info__card--static {
  cursor: default;
}

.contact-info__card--static:hover {
  transform: none;
}

.contact-info__card-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(58, 92, 228, 0.1);
  border-radius: 10px;
  transition: background 0.3s ease;
}

.contact-info__card:hover .contact-info__card-icon {
  background: rgba(58, 92, 228, 0.2);
}

.contact-info__card-icon svg {
  width: 20px;
  height: 20px;
  color: var(--primary-light);
}

.contact-info__card-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.contact-info__card-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

.contact-info__card:hover .contact-info__card-value {
  color: var(--white);
}

.contact-info__closing {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(58, 92, 228, 0.08);
}

.contact-info__closing p {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Contact Form */
.contact-form-wrap {
  position: relative;
}

/* Honeypot field: kept in the layout (not display:none) so spam bots that
   skip hidden fields still fill it in, but moved off-screen for humans. */
.contact-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form {
  background: rgba(20, 27, 45, 0.5);
  border: 1px solid rgba(58, 92, 228, 0.12);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: blur(8px);
}

.contact-form__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.contact-form__sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Form status alert */
.form-alert {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-alert--success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #86efac;
}

.form-alert--error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(58, 92, 228, 0.15);
  border-radius: 10px;
  background: rgba(10, 14, 26, 0.6);
  color: var(--text);
  font-size: 0.95rem;
  font-family: var(--font-main);
  transition: all var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(148, 163, 184, 0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(58, 92, 228, 0.12);
  background: rgba(10, 14, 26, 0.8);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-form__submit {
  width: 100%;
  margin-top: 0.5rem;
  padding: 1rem;
  font-size: 1rem;
}

/* Contact responsive */
@media (max-width: 768px) {
  .contact-hero {
    min-height: auto;
    padding: 8rem 0 4rem;
  }

  .contact-hero__orb {
    display: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-form {
    padding: 2rem 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ===== CTA SECTION ===== */
.cta {
  text-align: center;
  padding: 5rem 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.cta--modern {
  padding: 8rem 0 6rem;
}

.cta__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(58, 92, 228, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: pulse-glow 6s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

.cta__border-top {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
}

.cta__inner {
  position: relative;
  z-index: 2;
  max-width: 650px;
  margin: 0 auto;
}

.cta__headline {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: var(--white);
}

.cta__text {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.cta__actions {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  font-weight: 500;
  padding: 0.875rem 1.5rem;
  border-radius: 8px;
  transition: color var(--transition);
}

.btn--ghost:hover {
  color: var(--white);
}

/* Legacy CTA styles (other pages) */
.cta--bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cta--bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 26, 0.88);
  z-index: 1;
}

.cta--bg > .container {
  position: relative;
  z-index: 2;
}

.cta h2 {
  margin-bottom: 1rem;
}

.cta p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark-lighter);
  border-top: 1px solid rgba(58, 92, 228, 0.1);
  padding: 3rem 0 2rem;
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer__logo img {
  height: 40px;
  width: auto;
}

.footer__links {
  display: flex;
  gap: 2rem;
}

.footer__links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer__links a:hover {
  color: var(--white);
}

.footer__copy {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ===== PAGE HEADER (inner pages) ===== */
.page-header {
  padding: 9rem 0 4rem;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(58, 92, 228, 0.12) 0%, transparent 60%);
  position: relative;
  overflow: hidden;
}

.page-header--bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-header--bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 14, 26, 0.85) 0%,
    rgba(10, 14, 26, 0.7) 50%,
    rgba(10, 14, 26, 0.95) 100%
  );
  z-index: 1;
}

.page-header--bg > .container {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  margin-bottom: 1rem;
}

.page-header p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav__toggle {
    display: block;
  }

  .nav__list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--dark-lighter);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transition: right var(--transition);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.5);
  }

  .nav__list--open {
    right: 0;
  }

  .nav__close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    display: block;
  }

  .hero {
    padding: 8rem 0 5rem;
    min-height: auto;
  }

  .hero__orb {
    display: none;
  }

  .hero__stats {
    gap: 1.5rem;
  }

  .hero__fade {
    height: 100px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-card {
    padding: 1.5rem;
  }

  .section {
    padding: 3.5rem 0;
  }
}
