/* Kinetic Ether Design System — Google Stitch */

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

html.dark,
html.dark body {
  background-color: #101415;
  color: #e0e3e5;
}

/* Ambient background */
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.ambient-bg::before,
.ambient-bg::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}

.ambient-bg::before {
  top: -20%;
  left: -10%;
  width: 70vw;
  height: 70vw;
  background: rgba(79, 70, 229, 0.12);
}

.ambient-bg::after {
  bottom: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: rgba(134, 45, 212, 0.1);
}

/* Glass */
.glass-panel {
  background: rgba(25, 28, 30, 0.45);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 32px rgba(79, 70, 229, 0.12);
}

.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 400ms ease,
    background 400ms ease,
    border-color 400ms ease;
}

.glass-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 16px 40px -10px rgba(79, 70, 229, 0.2),
    inset 0 0 0 1px rgba(79, 70, 229, 0.15);
  border-color: rgba(255, 255, 255, 0.12);
}

/* Legacy aliases */
.glass {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.text-gradient {
  background: linear-gradient(to right, #c3c0ff, #f0dbff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text {
  background: linear-gradient(135deg, #c3c0ff 0%, #ddb7ff 50%, #4f46e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.premium-button,
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.9) 0%, rgba(134, 45, 212, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 400ms ease;
  position: relative;
  overflow: hidden;
}

.premium-button:hover,
.btn-primary:hover {
  transform: scale(1.02);
  box-shadow: 0 0 28px rgba(79, 70, 229, 0.45);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c3c0ff;
  background: transparent;
  border: 1px solid rgba(195, 192, 255, 0.35);
  transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline:hover {
  background: rgba(79, 70, 229, 0.15);
  border-color: #c3c0ff;
  transform: scale(1.02);
}

.btn-secondary-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #dad7ff;
  background: #4f46e5;
  transition: all 400ms ease;
}

.btn-secondary-nav:hover {
  transform: scale(1.02);
  box-shadow: 0 0 20px rgba(79, 70, 229, 0.4);
}

/* Scroll indicator */
.scroll-indicator-line {
  width: 1px;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.scroll-indicator-dot {
  width: 3px;
  height: 12px;
  background: #c3c0ff;
  border-radius: 4px;
  position: absolute;
  left: -1px;
  top: -12px;
  animation: scrollDown 2s infinite cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 8px #c3c0ff;
}

@keyframes scrollDown {
  0% { top: -12px; opacity: 0; }
  30% { opacity: 1; }
  70% { opacity: 1; }
  100% { top: 80px; opacity: 0; }
}

/* Forms — Stitch minimal input */
.form-input,
.minimal-input {
  width: 100%;
  padding: 0.75rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #e0e3e5;
  font-size: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input::placeholder {
  color: #918fa1;
}

.form-input:focus,
.minimal-input:focus {
  outline: none;
  border-bottom-color: #4f46e5;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

select.form-input {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(25, 28, 30, 0.6);
}

/* Section spacing */
.section-padding {
  padding-top: 80px;
  padding-bottom: 80px;
  padding-left: 24px;
  padding-right: 24px;
}

@media (min-width: 768px) {
  .section-padding {
    padding-top: 160px;
    padding-bottom: 160px;
  }
}

.page-main {
  padding-top: 120px;
}

/* Nav */
.site-nav {
  transition: padding 0.3s ease, background 0.3s ease;
}

.site-nav.scrolled {
  background: rgba(16, 20, 21, 0.9) !important;
}

.site-nav.scrolled .nav-inner {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.nav-link-stitch {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #c7c4d8;
  transition: color 0.3s ease;
}

.nav-link-stitch:hover,
.nav-link-stitch.active {
  color: #e0e3e5;
}

.nav-link-stitch.active {
  color: #c3c0ff;
  border-bottom: 2px solid #c3c0ff;
  padding-bottom: 2px;
}

/* FAQ */
.faq-item.glass-card .faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
  padding-top: 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  opacity: 1;
  padding-top: 0;
  padding-bottom: 1.5rem;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* Service icon */
.service-icon-wrap {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(79, 70, 229, 0.15);
  color: #c3c0ff;
}

.service-icon-wrap .material-symbols-outlined {
  font-size: 28px;
}

/* Pricing featured */
.pricing-card.featured {
  border: 1px solid rgba(79, 70, 229, 0.5);
  box-shadow: 0 0 60px -15px rgba(79, 70, 229, 0.25);
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 1rem;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #4f46e5, #862dd4);
  border-radius: 9999px;
}

/* Portfolio */
.portfolio-card {
  position: relative;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: linear-gradient(to top, rgba(11, 15, 16, 0.95) 0%, transparent 60%);
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

/* Stats */
.stat-counter {
  color: #c3c0ff;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Mobile menu */
.mobile-menu {
  background: rgba(16, 20, 21, 0.95);
  backdrop-filter: blur(24px);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

/* Testimonial masonry */
.masonry-grid {
  columns: 1;
  column-gap: 2rem;
}

@media (min-width: 768px) {
  .masonry-grid { columns: 2; }
}

@media (min-width: 1024px) {
  .masonry-grid { columns: 3; }
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 2rem;
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.4) 0%, rgba(134, 45, 212, 0.3) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

/* Hero grid subtle */
.hero-grid {
  background-image:
    linear-gradient(rgba(79, 70, 229, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 70, 229, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* Bento */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(220px, auto);
  }
  .bento-span-2 { grid-column: span 2; }
}

/* Hide old light blobs on dark */
.blob { opacity: 0.35; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
