/* ===================================
   RESET & BASE
=================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #080b14;
  --bg-card: #0e1320;
  --bg-card-hover: #131928;
  --border: rgba(255,255,255,0.07);
  --border-hover: rgba(108,99,255,0.4);
  --accent: #6c63ff;
  --accent-2: #00d4ff;
  --accent-green: #00e5a0;
  --text: #e8eaf0;
  --text-muted: #8892a4;
  --text-label: #6c63ff;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 40px rgba(108,99,255,0.15);
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===================================
   UTILITIES
=================================== */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), #9b59b6);
  color: #fff;
  box-shadow: 0 0 20px rgba(108,99,255,0.35);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(108,99,255,0.55);
  filter: brightness(1.1);
}

.btn--outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn--outline:hover {
  background: rgba(108,99,255,0.1);
  transform: translateY(-2px);
}

.btn--ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1.5px solid var(--border);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

.btn--lg { padding: 16px 32px; font-size: 16px; }
.btn--sm { padding: 10px 20px; font-size: 14px; }

/* ===================================
   NAVIGATION
=================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: rgba(8,11,20,0.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

.nav__inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 72px;
  gap: 40px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav__logo-img {
  height: 36px;
  width: auto;
  border-radius: 8px;
}

.nav__logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--white);
  letter-spacing: -0.3px;
}

.nav__links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}

.nav__links a {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--white); }

.nav__cta { margin-left: 16px; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 16px 0 20px;
  border-top: 1px solid var(--border);
}
.nav__mobile ul { display: flex; flex-direction: column; gap: 4px; }
.nav__mobile a {
  display: block;
  padding: 10px 0;
  font-size: 16px;
  color: var(--text-muted);
}
.nav__mobile .btn { margin-top: 8px; justify-content: center; }
.nav__mobile.open { display: flex; }

/* ===================================
   HERO
=================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
}
.hero__orb--1 {
  width: 600px; height: 600px;
  background: var(--accent);
  top: -100px; left: -200px;
  animation: float 8s ease-in-out infinite;
}
.hero__orb--2 {
  width: 400px; height: 400px;
  background: var(--accent-2);
  top: 40%; right: -100px;
  animation: float 10s ease-in-out infinite reverse;
}
.hero__orb--3 {
  width: 300px; height: 300px;
  background: #9b59b6;
  bottom: 0; left: 40%;
  animation: float 12s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero__content {
  position: relative;
  text-align: center;
  padding: 80px 24px 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(108,99,255,0.12);
  border: 1px solid rgba(108,99,255,0.3);
  color: #a99eff;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 32px;
  letter-spacing: 0.3px;
}

.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s infinite;
}
.badge-dot--green {
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -2px;
  color: var(--white);
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 64px;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.stat { text-align: center; }
.stat__num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
}
.stat__label {
  font-size: 13px;
  color: var(--text-muted);
}
.stat__divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 12px;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ===================================
   SECTIONS
=================================== */
.section { padding: 100px 0; }

.section--dark {
  background: linear-gradient(180deg, transparent, rgba(108,99,255,0.04), transparent);
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section__label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-label);
  margin-bottom: 12px;
}

.section__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.15;
}

.section__desc {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===================================
   SERVICES
=================================== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.service-card {
  display: flex;
  flex-direction: column;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(108,99,255,0.06), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.service-card:hover::before { opacity: 1; }

.service-card--featured {
  background: linear-gradient(135deg, rgba(108,99,255,0.15), rgba(0,212,255,0.05));
  border-color: rgba(108,99,255,0.3);
  box-shadow: 0 0 40px rgba(108,99,255,0.1);
}

.service-card__icon {
  width: 56px; height: 56px;
  background: rgba(108,99,255,0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
  border: 1px solid rgba(108,99,255,0.2);
}
.service-card__icon svg { width: 28px; height: 28px; }

.service-card__tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.service-card__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -0.3px;
  line-height: 1.3;
}

.service-card__desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.service-card__list li {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-card__list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  flex-shrink: 0;
}

.service-card__list { flex: 1; }
.service-card__btn { font-size: 14px; padding: 12px 24px; align-self: flex-start; }

/* ===================================
   WHY US
=================================== */
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all var(--transition);
  text-align: center;
}

.why-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.why-card__icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.why-card h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}

.why-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===================================
   CONSULTATION
=================================== */
.consultation {
  position: relative;
  overflow: hidden;
}

.consultation::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(108,99,255,0.08), transparent);
  pointer-events: none;
}

.consultation__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.consultation__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,229,160,0.1);
  border: 1px solid rgba(0,229,160,0.25);
  color: #4fffbe;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 28px;
}

.consultation__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 20px;
}

.consultation__desc {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 32px;
}

.consultation__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.consultation__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
}

.consultation__list li svg {
  color: var(--accent-green);
  flex-shrink: 0;
}

/* Calendly placeholder */
.calendly-placeholder {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.calendly-placeholder__inner {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.calendly-placeholder__icon {
  color: var(--accent);
  margin-bottom: 20px;
  opacity: 0.7;
}

.calendly-placeholder__inner h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.calendly-placeholder__inner > p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.calendly-placeholder__steps {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.step {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  text-align: left;
}

.step__num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step span:last-child {
  font-size: 14px;
  color: var(--text-muted);
}

.calendly-placeholder__note {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 !important;
  font-style: italic;
}

/* ===================================
   CONTACT
=================================== */
.contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.contact-card--social .contact-card__icon {
  background: transparent;
  border: none;
  width: auto;
  height: auto;
  font-size: 36px;
}

.contact-card--social .contact-card__value {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 400;
  font-style: italic;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
}

.contact-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.contact-card--pending {
  opacity: 0.6;
}

.contact-card__icon {
  width: 56px; height: 56px;
  background: rgba(108,99,255,0.12);
  border: 1px solid rgba(108,99,255,0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--accent);
}

.contact-card h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}

.contact-card__value {
  font-size: 15px;
  color: var(--accent);
  font-weight: 500;
}

.contact-card__value--pending {
  color: var(--text-muted);
  font-size: 13px;
  font-style: italic;
}

/* ===================================
   FOOTER
=================================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 24px;
  text-align: center;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.footer__logo {
  height: 32px;
  width: auto;
  border-radius: 6px;
  opacity: 0.8;
}

.footer__name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.footer__tagline {
  font-size: 14px;
  color: var(--text-muted);
}

.footer__copy {
  font-size: 13px;
  color: rgba(136,146,164,0.6);
}

/* ===================================
   RESPONSIVE
=================================== */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .consultation__inner { grid-template-columns: 1fr; gap: 48px; }
  .contact__grid { grid-template-columns: 1fr; max-width: 400px; }
}

@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .why__grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 20px; }
  .stat__divider { display: none; }
  .section { padding: 72px 0; }
  .consultation__inner { gap: 40px; }
  .calendly-placeholder__inner { padding: 32px 24px; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }
  .service-card { padding: 28px 24px; }
  .btn--lg { padding: 14px 24px; font-size: 15px; }
}

/* ===================================
   SCROLL ANIMATIONS
=================================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
