/*
TemplateMo 621 Luminary (adapted)
https://templatemo.com/tm-621-luminary
*/

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

:root {
  --base-deep: #060609;
  --base-mid: #0B0D11;
  --base-soft: #111318;
  --slate-warm: #5A6A78;
  --slate-light: #8A9BA8;
  --graphite: #1A1E24;
  --graphite-soft: #2A2F38;
  --ivory: #E8ECF0;
  --ivory-muted: #C5CBD4;
  --accent: #5BA8C0;
  --accent-dim: rgba(91, 168, 192, 0.15);
  --accent-glow: rgba(91, 168, 192, 0.25);
  --panel-bg: rgba(11, 13, 17, 0.55);
  --panel-border: rgba(138, 155, 168, 0.06);
  --silk-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: 80px; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--base-deep);
  color: var(--ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  scrollbar-width: thin;
  scrollbar-color: var(--graphite-soft) transparent;
}
body::-webkit-scrollbar { width: 3px; }
body::-webkit-scrollbar-track { background: transparent; }
body::-webkit-scrollbar-thumb { background: var(--graphite-soft); border-radius: 3px; border-top: 2px solid transparent; border-bottom: 2px solid transparent; background-clip: padding-box; }

.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 9999;
  opacity: 0.025; mix-blend-mode: overlay;
}

.atmosphere {
  position: fixed; inset: 0; z-index: 0;
  background: linear-gradient(180deg, #060609 0%, #0B0D11 35%, #111318 70%, #040406 100%);
}

.top-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 600;
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 40px;
  background: rgba(6, 6, 9, 0.75);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  transition: background 0.8s var(--silk-ease), padding 0.8s var(--silk-ease);
}
.top-nav.scrolled {
  background: rgba(6, 6, 9, 0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding: 16px 40px;
}
.nav-brand { font-size: 18px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ivory); text-decoration: none; }
.nav-brand .nav-logo { height: 24px; display: block; }
.nav-brand span { font-weight: 300; color: var(--slate-warm); margin-left: 4px; font-size: 11px; letter-spacing: 0.08em; text-transform: none; }
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a {
  font-size: 14px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--slate-warm); text-decoration: none; position: relative; padding: 14px 0 6px;
  transition: color 0.8s var(--silk-ease);
}
.nav-links a::after {
  content: ''; position: absolute; top: 0; left: 50%;
  width: 6px; height: 6px;
  border-right: 1px solid var(--accent); border-bottom: 1px solid var(--accent);
  transform: translateX(-50%) rotate(45deg) translateY(-8px);
  opacity: 0; transition: transform 0.8s var(--silk-ease), opacity 0.6s var(--silk-ease);
  pointer-events: none;
}
.nav-links a:hover { color: var(--ivory); }
.nav-links a:hover::after { opacity: 0.7; transform: translateX(-50%) rotate(45deg) translateY(0); }
.nav-links a.active { color: var(--ivory-muted); }
.nav-links a.active::after { opacity: 0.4; transform: translateX(-50%) rotate(45deg) translateY(0); }
.nav-cta a {
  font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--base-deep) !important; padding: 10px 24px !important;
  background: linear-gradient(135deg, var(--accent), #7AC4DB);
  border-radius: 100px;
  transition: transform 0.6s var(--silk-ease), box-shadow 0.6s var(--silk-ease);
}
.nav-cta a::after { display: none !important; }
.nav-cta a:hover { transform: scale(1.04); box-shadow: 0 4px 24px var(--accent-glow); }


.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 32px; height: 24px; position: relative; padding: 0;
}
.toggle-bar {
  display: block; width: 100%; height: 1.5px; background: var(--ivory);
  position: absolute; left: 0;
  transition: transform 0.6s var(--silk-ease), top 0.6s var(--silk-ease);
}
.toggle-bar:nth-child(1) { top: 6px; }
.toggle-bar:nth-child(2) { top: 16px; }
.nav-toggle.active .toggle-bar:nth-child(1) { top: 11px; transform: rotate(45deg); }
.nav-toggle.active .toggle-bar:nth-child(2) { top: 11px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 550;
  pointer-events: none; opacity: 0; visibility: hidden;
  transition: opacity 0.6s var(--silk-ease), visibility 0.6s var(--silk-ease);
}
.mobile-menu.open { opacity: 1; visibility: visible; pointer-events: auto; }
.mobile-menu-inner {
  position: absolute; inset: 0;
  background: rgba(6, 6, 9, 0.94);
  backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px 40px 60px; overflow-y: auto;
}
.mobile-menu-links { display: flex; flex-direction: column; flex: 1; justify-content: center; }
.mobile-menu-link {
  display: flex; align-items: baseline; gap: 16px;
  font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 300; letter-spacing: -0.02em;
  color: var(--ivory); text-decoration: none; padding: 14px 0;
  border-bottom: 1px solid rgba(138,155,168,0.06); position: relative;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.6s var(--silk-ease);
}
.mobile-menu.open .mobile-menu-link {
  opacity: 1; transform: translateY(0);
  transition: opacity 0.5s var(--silk-ease), transform 0.5s var(--silk-ease), color 0.6s var(--silk-ease);
}
.mobile-menu.open .mobile-menu-link:nth-child(1) { transition-delay: 0.06s; }
.mobile-menu.open .mobile-menu-link:nth-child(2) { transition-delay: 0.12s; }
.mobile-menu.open .mobile-menu-link:nth-child(3) { transition-delay: 0.18s; }
.mobile-menu.open .mobile-menu-link:nth-child(4) { transition-delay: 0.24s; }
.mobile-menu.open .mobile-menu-link:nth-child(5) { transition-delay: 0.30s; }
.mobile-menu.open .mobile-menu-link:nth-child(6) { transition-delay: 0.36s; }
.mobile-menu.open .mobile-menu-link:nth-child(7) { transition-delay: 0.42s; }
.mobile-menu-link::before {
  content: attr(data-index); font-size: 14px; font-weight: 500;
  letter-spacing: 0.15em; color: var(--slate-warm); opacity: 0.4;
  min-width: 24px; font-variant-numeric: tabular-nums;
}
.mobile-menu-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid rgba(138,155,168,0.06);
  opacity: 0; transition: opacity 0.3s ease;
}
.mobile-menu.open .mobile-menu-footer {
  opacity: 1; transition: opacity 0.5s var(--silk-ease) 0.45s;
}
.mobile-menu-footer a {
  font-size: 14px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--slate-warm); opacity: 0.4; text-decoration: none;
}
body.menu-open { overflow: hidden; }
body.menu-open .top-nav { background: rgba(6,6,9,0.95); backdrop-filter: blur(20px); }



.main { position: relative; z-index: 10; max-width: 100%; margin: 0 auto; padding: 0 50px; }

.section { padding: 140px 0; position: relative; }
.section-tag {
  font-size: 12px; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--accent); opacity: 0.6; margin-bottom: 20px;
}
.section-title {
  font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 300;
  letter-spacing: -0.04em; line-height: 1.15; color: var(--ivory); margin-bottom: 20px;
}
.section-title strong { font-weight: 600; color: var(--accent); }
.section-body {
  font-size: 1.15rem; font-weight: 300; line-height: 1.8; color: var(--slate-light); max-width: 720px;
}
.section-center { text-align: center; }
.section-center .section-body { margin: 0 auto; }

.silk-divider { width: 100px; height: 1px; background: linear-gradient(90deg, transparent, rgba(91,168,192,0.08), transparent); margin: 0 auto; }

.btn-primary {
  display: inline-block; padding: 18px 48px; border-radius: 100px;
  background: linear-gradient(135deg, var(--accent), #7AC4DB);
  color: var(--base-deep); font-family: inherit; font-size: 15px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; border: none; cursor: pointer;
  text-decoration: none;
  transition: transform 0.8s var(--silk-ease), box-shadow 0.8s var(--silk-ease);
}
.btn-primary:hover { transform: scale(1.02); box-shadow: 0 8px 40px var(--accent-glow); }
.btn-secondary {
  display: inline-block; padding: 18px 48px; border-radius: 100px;
  background: var(--base-deep);
  color: var(--ivory-muted); font-family: inherit; font-size: 15px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid rgba(91,168,192,0.15); cursor: pointer; text-decoration: none;
  transition: transform 0.8s var(--silk-ease), border-color 0.8s var(--silk-ease), box-shadow 0.8s var(--silk-ease);
}
.btn-secondary:hover { transform: scale(1.02); border-color: rgba(91,168,192,0.3); box-shadow: 0 0 30px rgba(91,168,192,0.08); }

.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity 1.2s var(--silk-ease), transform 1.2s var(--silk-ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ═══ HERO ═══ */
.hero {
  min-height: 70vh; display: flex; flex-direction: column;
  justify-content: center; align-items: center; text-align: center;
  padding: 80px 0 40px; position: relative;
}
.hero-grid {
  position: absolute; inset: 0;
  width: 100vw; left: 50%; transform: translateX(-50%);
  z-index: 0; pointer-events: none;
  --mx: 50%; --my: 50%;
  background-image:
    linear-gradient(to right, rgba(91,168,192,0.18) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(91,168,192,0.18) 1px, transparent 1px);
  background-size: 120px 120px;
  background-position: center bottom;
  -webkit-mask-image:
    radial-gradient(circle 300px at var(--mx) var(--my), rgba(0,0,0,1) 0%, transparent 65%),
    linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.08) 15%, transparent 30%, rgba(0,0,0,0.1) 45%, rgba(0,0,0,0.25) 65%, rgba(0,0,0,0.4) 100%);
  mask-image:
    radial-gradient(circle 300px at var(--mx) var(--my), rgba(0,0,0,1) 0%, transparent 65%),
    linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.08) 15%, transparent 30%, rgba(0,0,0,0.1) 45%, rgba(0,0,0,0.25) 65%, rgba(0,0,0,0.4) 100%);
  -webkit-mask-composite: source-over;
  mask-composite: add;
}
.hero > *:not(.hero-grid):not(.hero-arrow) { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 24px; border-radius: 100px;
  background: var(--panel-bg); border: 1px solid var(--panel-border);
  backdrop-filter: blur(20px); margin-bottom: 40px;
  opacity: 0; transform: translateY(16px);
  animation: fadeUp 1.2s var(--silk-ease) 0.2s forwards;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow); animation: pulse 3s ease-in-out infinite;
}
.hero-badge span { font-size: 14px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--slate-light); }

.hero-rotator {
  display: flex; align-items: center; gap: 12px;
  opacity: 0; transform: translateY(24px);
  animation: fadeUp 1.4s var(--silk-ease) 0.4s forwards;
  max-width: none; width: 100%;
}
.hero-taglines-wrap {
  position: relative; flex: 1; min-height: 4.5em;
}
.hero-tagline {
  position: absolute; top: 0; left: 0; right: 0;
  opacity: 0; visibility: hidden;
  pointer-events: none;
}
.hero-arrow {
  flex-shrink: 0;
  background: none; border: none; cursor: pointer; z-index: 2;
  padding: 12px; line-height: 1; opacity: 0.4;
  transition: opacity 0.2s; display: flex; align-items: center;
  color: var(--slate-light);
}
.hero-arrow:hover { opacity: 1; }
.hero-arrow svg { display: block; }

.hero-tagline.active {
  opacity: 1; visibility: visible;
  position: relative;
  transition: opacity 0.6s ease;
}
.hero-tag-main {
  font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 300;
  letter-spacing: -0.04em; line-height: 1.15;
}
.hero-tag-sub {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem); font-weight: 400;
  color: var(--accent); letter-spacing: 0.02em;
  margin-top: 12px;
}
.hero-sub {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-weight: 300; line-height: 1.7;
  color: var(--slate-light); max-width: 800px; margin: 28px auto 48px;
  opacity: 0; transform: translateY(16px);
  animation: fadeUp 1.4s var(--silk-ease) 0.6s forwards;
}
.hero-ctas {
  display: flex; gap: 14px; margin-top: 32px;
  opacity: 0; transform: translateY(16px);
  animation: fadeUp 1.4s var(--silk-ease) 0.8s forwards;
}

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ═══ LOGO TICKER ═══ */
.ticker-label {
  text-align: center; font-size: 12px; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent); opacity: 0.5; padding: 60px 0 32px;
}
.logo-ticker {
  padding: 40px 0; border-top: 1px solid var(--panel-border); border-bottom: 1px solid var(--panel-border);
  overflow: hidden; position: relative; z-index: 10;
  width: 100vw; margin-left: calc(-50vw + 50%);
}
.ticker-track {
  display: flex; width: max-content;
  animation: tickerScroll 30s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  flex-shrink: 0; padding: 0 40px; display: flex; align-items: center; justify-content: center;
  opacity: 0.4;
  transition: opacity 0.6s var(--silk-ease);
}
.ticker-item svg { display: block; }
.ticker-item:hover { opacity: 0.8; }
.ticker-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); opacity: 0.2; margin: 0 40px; flex-shrink: 0; align-self: center; }

@keyframes tickerScroll { to { transform: translateX(-50%); } }

/* ═══ PRICING (reused for process) ═══ */
.process-heading {
  max-width: 900px; margin: 0 auto;
}
#process.section {
  padding: 180px 0;
}
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  max-width: 900px; margin: 60px auto 0;
}
.pricing-card {
  background: var(--panel-bg); border: 1px solid var(--panel-border); border-radius: 28px;
  padding: 44px 36px; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.8s var(--silk-ease), box-shadow 0.8s var(--silk-ease);
}
.pricing-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(160deg, rgba(91,168,192,0.03) 0%, transparent 40%);
  pointer-events: none; transition: opacity 0.8s var(--silk-ease); opacity: 0;
}
.pricing-card:hover { transform: scale(1.01); box-shadow: 0 12px 60px rgba(0,0,0,0.15); }
.pricing-card:hover::before { opacity: 1; }
.pricing-tier {
  font-size: 14px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent); opacity: 0.7; margin-bottom: 24px;
  display: flex; align-items: center; gap: 10px;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent-dim); color: var(--accent);
  font-size: 12px; font-weight: 700;
}
.pricing-desc {
  font-size: 1.1rem; font-weight: 300; line-height: 1.7; color: var(--slate-light); flex: 1;
}

/* ═══ INTEGRATIONS GRID (reused for services) ═══ */
.integrations-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
}
.integration-item {
  background: var(--panel-bg); border: 1px solid var(--panel-border);
  border-radius: 24px; padding: 32px 36px; text-align: left;
  backdrop-filter: blur(16px); position: relative;
  display: flex; flex-direction: column; min-height: 200px;
  transition: transform 0.8s var(--silk-ease), border-color 0.8s var(--silk-ease);
}
.integration-item:hover { transform: scale(1.04); border-color: rgba(91,168,192,0.12); }
.integration-header {
  display: flex; align-items: center; gap: 14px; margin-bottom: 14px;
}
.integration-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 12px; background: var(--graphite); border: 1px solid var(--panel-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--accent);
}
.integration-name {
  font-size: 1.4rem; font-weight: 600; letter-spacing: 0.01em;
  color: var(--ivory);
}
.service-card-desc {
  font-size: 1.15rem; font-weight: 300; line-height: 1.7;
  color: var(--slate-light); flex: 1;
}

/* ═══ PILLARS GRID ═══ */
.pillars-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  max-width: 1200px; margin: 0 auto;
}
.pillar-card {
  background: var(--panel-bg); border: 1px solid var(--panel-border);
  border-radius: 24px; padding: 36px 32px; text-align: left;
  backdrop-filter: blur(16px); position: relative;
  display: flex; flex-direction: column;
  transition: transform 0.8s var(--silk-ease), border-color 0.8s var(--silk-ease), box-shadow 0.8s var(--silk-ease);
}
.pillar-card:hover {
  transform: translateY(-6px);
  border-color: rgba(91,168,192,0.12);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.pillar-spotlight {
  border-color: rgba(91,168,192,0.15);
  background: linear-gradient(160deg, rgba(91,168,192,0.06) 0%, var(--panel-bg) 50%);
}
.pillar-spotlight:hover {
  border-color: rgba(91,168,192,0.25);
  box-shadow: 0 20px 60px rgba(91,168,192,0.08), 0 20px 60px rgba(0,0,0,0.2);
}
.pillar-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 100px; margin-bottom: 20px;
  background: rgba(91,168,192,0.1); border: 1px solid rgba(91,168,192,0.15);
  width: fit-content;
}
.pillar-badge span {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent);
}
.pillar-header {
  display: flex; align-items: center; gap: 16px; margin-bottom: 28px;
}
.pillar-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: 14px; background: var(--graphite); border: 1px solid var(--panel-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.pillar-name {
  font-size: 1.3rem; font-weight: 600; letter-spacing: 0.01em; color: var(--ivory);
}
.pillar-subtitle {
  font-size: 12px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent); opacity: 0.6; margin-top: 4px;
}
.pillar-items {
  display: flex; flex-direction: column; gap: 20px; flex: 1;
}
.pillar-service {
  padding-top: 20px; border-top: 1px solid var(--panel-border);
}
.pillar-service:first-child { border-top: none; padding-top: 0; }
.pillar-service-header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
  color: var(--ivory);
}
.pillar-service-name {
  font-size: 1.05rem; font-weight: 500;
}
.pillar-service-desc {
  font-size: 0.95rem; font-weight: 300; line-height: 1.7; color: var(--slate-light);
}

/* ═══ FAQ ═══ */
.faq-list { max-width: 720px; margin: 48px auto 0; }
.faq-controls {
  display: flex; justify-content: flex-end; margin-bottom: 8px;
}
.faq-toggle-all {
  background: none; border: 1px solid var(--panel-border); border-radius: 100px;
  padding: 10px 24px; font-family: inherit;
  font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--slate-warm); cursor: pointer;
  transition: color 0.6s var(--silk-ease), border-color 0.6s var(--silk-ease);
}
.faq-toggle-all:hover { color: var(--ivory); border-color: rgba(91,168,192,0.2); }
.faq-item {
  border-bottom: 1px solid var(--panel-border); overflow: hidden;
}
.faq-question {
  width: 100%; background: none; border: none; padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-family: inherit;
  font-size: 1.15rem; font-weight: 400; color: var(--ivory);
  text-align: left;
  transition: color 0.6s var(--silk-ease);
}
.faq-question:hover { color: var(--accent); }
.faq-icon {
  width: 20px; height: 20px; position: relative; flex-shrink: 0; margin-left: 20px;
}
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; background: var(--slate-warm);
  transition: transform 0.6s var(--silk-ease), opacity 0.4s ease;
}
.faq-icon::before { width: 12px; height: 1px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-icon::after { width: 1px; height: 12px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 1s var(--silk-ease);
}
.faq-answer-inner {
  overflow: hidden;
  padding: 0;
  font-size: 1.1rem; font-weight: 300; line-height: 1.8; color: var(--slate-light);
  transition: padding 0.8s var(--silk-ease);
}
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-item.open .faq-answer-inner { padding: 0 0 24px; }

/* ═══ FOOTER CTA ═══ */
.footer-cta { padding: 100px 0 0; text-align: center; }
.audit-form {
  max-width: 480px; margin: 40px auto 0; display: flex; flex-direction: column; gap: 14px;
}
.audit-input {
  width: 100%; padding: 16px 20px; border-radius: 12px; border: 1px solid var(--panel-border);
  background: var(--panel-bg); color: var(--ivory); font-family: inherit; font-size: 1rem;
  outline: none; transition: border-color 0.6s var(--silk-ease);
}
.audit-input:focus { border-color: var(--accent); }
.audit-input::placeholder { color: var(--slate-warm); opacity: 0.5; }
.audit-textarea { resize: vertical; min-height: 80px; scrollbar-width: thin; scrollbar-color: var(--graphite-soft) transparent; }
.audit-textarea::-webkit-scrollbar { width: 3px; }
.audit-textarea::-webkit-scrollbar-track { background: transparent; }
.audit-textarea::-webkit-scrollbar-thumb { background: var(--graphite-soft); border-radius: 3px; border-top: 2px solid transparent; border-bottom: 2px solid transparent; background-clip: padding-box; }
.audit-submit { margin-top: 4px; }
.audit-hint {
  font-size: 0.8rem; color: var(--slate-warm); opacity: 0.5; text-align: left; margin-top: -6px;
}
.audit-success {
  display: none; padding: 16px 20px; border-radius: 12px;
  background: var(--accent-dim); border: 1px solid rgba(91,168,192,0.2);
  color: var(--accent); font-size: 1rem; font-weight: 500;
}
.footer-ctas { display: flex; justify-content: center; gap: 18px; margin-top: 48px; }
.footer-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 40px 0; border-top: 1px solid rgba(138,155,168,0.06);
}
.footer-brand { font-size: 15px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--slate-light); opacity: 0.5; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a {
  font-size: 14px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--slate-light); opacity: 0.5; text-decoration: none;
  transition: opacity 0.6s var(--silk-ease);
}
.footer-links a:hover { opacity: 0.8; }

/* ═══ PORTFOLIO ═══ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.portfolio-card {
  position: relative;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.8s var(--silk-ease), box-shadow 0.8s var(--silk-ease), border-color 0.6s var(--silk-ease);
}
.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.4);
  border-color: rgba(91,168,192,0.12);
}
.portfolio-image {
  aspect-ratio: 16 / 9;
  background-color: var(--graphite);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.portfolio-image-fallback {
  color: var(--slate-warm);
  opacity: 0.25;
  display: flex;
  align-items: center;
  justify-content: center;
}
.portfolio-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.portfolio-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 12px;
}
.portfolio-tag {
  font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--slate-warm); opacity: 0.7;
  padding: 6px 12px; border-radius: 100px;
  background: rgba(138,155,168,0.06);
  border: 1px solid rgba(138,155,168,0.08);
}
.portfolio-title {
  font-size: 1.25rem; font-weight: 500; letter-spacing: -0.02em;
  color: var(--ivory); margin-bottom: 10px;
}
.portfolio-desc {
  font-size: 1rem; font-weight: 300; line-height: 1.7;
  color: var(--slate-light); flex: 1; margin-bottom: 20px;
}
.portfolio-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); text-decoration: none;
  transition: gap 0.6s var(--silk-ease), opacity 0.6s var(--silk-ease);
}
.portfolio-link:hover { gap: 12px; opacity: 0.8; }
.portfolio-link svg { flex-shrink: 0; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .main { padding: 0 40px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; }
  .pillars-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 768px) {
  .main { padding: 0 24px; }
  .top-nav { padding: 18px 20px; }
  .top-nav.scrolled { padding: 14px 20px; }
  .hero { min-height: 70svh; padding: 80px 0 40px; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 280px; text-align: center; }
  .section { padding: 80px 0; }
  .integrations-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .footer-bar { flex-direction: column; gap: 20px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .footer-ctas { flex-direction: column; align-items: center; }
  .mobile-menu-inner { padding: 90px 20px 40px; }
}

@media (max-width: 420px) {
  .hero-tag-main { font-size: 2.4rem; }
  .section-title { font-size: 2.2rem; }
  .mobile-menu-link { font-size: 1.8rem; }
}

@media (max-height: 540px) and (orientation: landscape) {
  .hero { min-height: auto; padding: 80px 0 40px; }
  .section { padding: 60px 0; }
  .mobile-menu-inner { padding: 64px 32px 24px; justify-content: flex-start; }
  .mobile-menu-link { font-size: 1.5rem; padding: 8px 0; }
}

@media (hover: none) {
  .pricing-card:hover, .integration-item:hover, .portfolio-card:hover, .pillar-card:hover { transform: none; }
}

.btn-primary:focus-visible, .btn-secondary:focus-visible,
.nav-links a:focus-visible, .nav-toggle:focus-visible,
.mobile-menu-link:focus-visible, .faq-question:focus-visible,
.faq-toggle-all:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
}

/* ═══ LIVE BADGE ═══ */
.live-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 100px;
  background: rgba(91,168,192,0.12); border: 1px solid rgba(91,168,192,0.15);
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-top: 12px;
}
.integration-item .live-badge {
  position: absolute; bottom: 16px; right: 16px; margin-top: 0;
}

.live-badge-dot {
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
  animation: livePulse 2.5s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.15; }
}

/* ═══ PARTICLES CANVAS ═══ */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
#particles-canvas canvas {
  display: block;
  width: 100%;
  height: 100%;
}
