/* ========================================
   QuantCore Global CSS Variables
   ======================================== */
:root {
  /* New standardized color system */
  --qc-bg: #080b12;
  --qc-ink: #e9eef7;
  --qc-muted: #a1afc3;
  --qc-edge: rgba(255, 255, 255, 0.08);
  --qc-blue: #38bdf8;
  --qc-blue-deep: #0ea5e9;
  --qc-electric: #22d3ee;
  --qc-accent: #60a5fa;
  --qc-green: #10b981;
  --qc-red: #f87171;
  --qc-panel: rgba(16, 20, 30, 0.85);
  --qc-shadow: 0 24px 60px rgba(3, 7, 18, 0.55);
  --qc-line: rgba(56, 189, 248, 0.24);
  
  /* Legacy variables (kept for backwards compatibility) */
  --bg: #060a14;
  --bg-soft: #0d1424;
  --text: #edf3ff;
  --text-soft: #aab8d5;
  --brand: #79a7ff;
  --brand-2: #4dd4ff;
  --card: #0f1729;
  --border: #24314a;
  --shadow: 0 20px 52px rgba(2, 8, 24, 0.58);
  --shadow-soft: 0 10px 30px rgba(2, 8, 24, 0.42);
}

/* Smaller label for 'Annual' in pricing card headings */
.annual-label {
  font-size: 0.68em;
  font-weight: 500;
  color: #a8bad6;
  letter-spacing: 0.04em;
  margin-left: 2px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--qc-ink);
  background: var(--qc-bg);
  min-height: 100vh;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}

body::before {
  width: 280px;
  height: 280px;
  top: -70px;
  right: -90px;
  background: rgba(77, 212, 255, 0.2);
  animation: drift 11s ease-in-out infinite alternate;
}

body::after {
  width: 240px;
  height: 240px;
  bottom: -80px;
  left: -80px;
  background: rgba(121, 167, 255, 0.2);
  animation: drift 13s ease-in-out infinite alternate-reverse;
}

main,
.site-header,
.site-footer {
  position: relative;
  z-index: 1;
}

.wrapper {
  width: min(1500px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(7, 12, 24, 0.78);
  border-bottom: 1px solid rgba(36, 49, 74, 0.9);
  box-shadow: 0 10px 30px rgba(2, 8, 24, 0.44);
  z-index: 10;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

.brand {
  color: #e6eeff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.28s ease;
  margin-left: 16px;
}

.brand-logo {
  width: auto;
  height: 45px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(77, 212, 255, 0.28));
}

.brand span:empty {
  display: none;
}

.brand:hover {
  transform: translateY(-1px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 200;
  border-radius: 999px;
  padding: 8px 12px;
  transition: all 0.24s ease;
}

.site-nav a:not(.btn):hover {
  color: #d8e6ff;
  background: rgba(121, 167, 255, 0.16);
}

/* Hamburger Menu */
.hamburger-menu {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  gap: 5px;
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
  align-items: center;
  margin-right: 12px;
}

.hamburger-menu span {
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger-menu.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.hero {
  padding: 106px 0 72px;
  background:
    radial-gradient(circle at 84% 14%, rgba(77, 212, 255, 0.16) 0%, transparent 32%),
    radial-gradient(circle at 20% 80%, rgba(121, 167, 255, 0.14) 0%, transparent 42%),
    linear-gradient(180deg, rgba(8, 14, 28, 0.95) 0%, rgba(8, 13, 24, 0.7) 100%);
}

.eyebrow {
  color: var(--brand-2);
  font-weight: 600;
  margin: 0 0 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

h1 {
  margin: 0 0 16px;
  color: #f2f7ff;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-brand {
  margin-top: 18px;
  margin-bottom: 34px;
}

.hero-title-logo {
  display: block;
  width: min(520px, 92%);
  height: auto;
  filter:
    drop-shadow(0 0 7px rgba(77, 212, 255, 0.24))
    drop-shadow(0 0 12px rgba(121, 167, 255, 0.2))
    drop-shadow(0 12px 28px rgba(41, 105, 255, 0.28));
  animation: logo-glow 3.8s ease-in-out infinite;
}

h2 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  color: #f0f6ff;
  letter-spacing: -0.01em;
}

.lead {
  margin: 0;
  max-width: 760px;
  line-height: 1.72;
  color: var(--text-soft);
  font-size: 1.04rem;
}

.section {
  padding: 56px 0;
}

.flash-wrap {
  margin-top: 22px;
}

.flash {
  border: 1px solid rgba(36, 49, 74, 0.95);
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 12px;
  background: rgba(10, 16, 31, 0.88);
  box-shadow: var(--shadow-soft);
}

.flash-success {
  border-color: rgba(60, 175, 131, 0.5);
  background: rgba(25, 80, 62, 0.45);
  color: #8ce3c1;
}

.flash-error {
  border-color: rgba(210, 92, 92, 0.5);
  background: rgba(100, 32, 45, 0.45);
  color: #ffb6b6;
}

.actions {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #4dd4ff 0%, #4f8dff 100%);
  color: #fff;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 11px 18px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, filter 0.25s ease;
  box-shadow: 0 12px 28px rgba(41, 105, 255, 0.28);
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 18px 36px rgba(41, 105, 255, 0.32);
}

.btn-explore {
  background: linear-gradient(135deg, #1ea17f 0%, #167a62 100%);
  box-shadow: 0 12px 28px rgba(19, 122, 98, 0.38);
}

.btn-explore:hover {
  box-shadow: 0 18px 36px rgba(19, 122, 98, 0.46);
}

.btn-outline {
  background: rgba(13, 20, 36, 0.75);
  color: #dce9ff;
  border-color: rgba(121, 167, 255, 0.35);
  box-shadow: 0 8px 22px rgba(2, 8, 24, 0.4);
}

.btn-outline:hover {
  background: rgba(18, 28, 49, 0.95);
}

.btn-primary {
  background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%);
  color: #111926;
  padding: 9px 16px;
  font-size: 0.9rem;
  box-shadow: 0 8px 20px rgba(34, 211, 238, 0.25), 0 0 12px rgba(34, 211, 238, 0.4);
  text-shadow: 0 0 8px rgba(34, 211, 238, 0.6);
}

.btn-primary:hover {
  box-shadow: 0 12px 28px rgba(34, 211, 238, 0.35);
}

/* Ensure navbar buttons maintain consistent styling across all pages */
.site-nav .btn {
  padding: 7px 13px;
  font-size: 0.8rem;
  gap: 5px;
  font-family: inherit;
  font-weight: 200;
}

.site-nav .btn-primary {
  padding: 7px 13px;
  font-size: 0.8rem;
  font-weight: 400;
  color: #111926;
  box-shadow: 0 8px 20px rgba(34, 211, 238, 0.25), 0 0 12px rgba(34, 211, 238, 0.4);
  text-shadow: 0 0 8px rgba(34, 211, 238, 0.6);
}

.site-nav .btn-outline {
  padding: 7px 13px;
  font-size: 0.8rem;
}

.grid-3 {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 22px;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-card-highlight {
  border-color: rgba(77, 212, 255, 0.45);
  background: linear-gradient(180deg, rgba(19, 29, 52, 0.95) 0%, rgba(14, 22, 40, 0.94) 100%);
  box-shadow: 0 18px 34px rgba(2, 8, 24, 0.56);
}

.price {
  margin: 0;
  font-size: clamp(1.95rem, 3vw, 2.45rem);
  color: var(--brand);
  font-weight: 700;
}

.price span {
  font-size: 1rem;
  color: var(--brand);
  font-weight: 500;
}

.feature-list {
  margin: 10px 0 0;
  padding-left: 18px;
  line-height: 1.68;
  color: #b7c8e2;
}

.founder-price {
  margin: 2px 0 2px;
  font-size: 0.9rem;
  color: #9fe8d4;
  line-height: 1.5;
}

.founder-label {
  margin: 2px 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9fe8d4;
  font-weight: 700;
}

.founder-primary {
  margin: 2px 0 4px;
  font-size: 0.95rem;
  color: #9fe8d4;
  line-height: 1.2;
}

.founder-primary strong {
  color: var(--brand);
  font-size: clamp(2.05rem, 3.4vw, 2.7rem);
  margin-left: 4px;
}

.founder-primary span {
  color: #9fe8d4;
  font-size: 1rem;
  margin-left: 3px;
}

.founder-price span {
  color: #98b3da;
  font-size: 0.82rem;
}

.standard-price {
  margin-top: 0;
  margin-bottom: 4px;
  font-size: 0.86rem;
  color: #8fa4c7;
  opacity: 0.92;
}

.regular-strike {
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(143, 164, 199, 0.8);
  color: #a9bddf;
  margin-right: 6px;
}

.founder-note {
  margin-top: 18px;
  border: 1px solid rgba(66, 165, 142, 0.45);
  border-left: 4px solid rgba(81, 219, 185, 0.85);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(9, 31, 27, 0.65);
  color: #b8e8de;
  font-size: 0.92rem;
}

.matrix-card {
  margin-top: 24px;
}

.table-wrap {
  overflow-x: auto;
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.matrix-table th,
.matrix-table td {
  border-bottom: 1px solid rgba(36, 49, 74, 0.92);
  padding: 12px 10px;
  text-align: left;
}

.matrix-table th {
  color: var(--brand);
  font-weight: 700;
}

.stack {
  display: grid;
  gap: 16px;
}

.feature-section {
  margin-top: 28px;
}

.feature-section h2 {
  margin-bottom: 14px;
}

.feature-visual-strip {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-visual-card {
  border: 1px solid rgba(85, 111, 160, 0.72);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(18, 30, 55, 0.94) 0%, rgba(11, 20, 37, 0.95) 100%);
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.feature-visual-card:hover {
  transform: translateY(-4px);
  border-color: rgba(121, 167, 255, 0.9);
}

.feature-visual-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid rgba(85, 111, 160, 0.6);
}

.feature-visual-meta {
  padding: 12px 14px;
  display: grid;
  gap: 8px;
}

.feature-visual-meta strong {
  color: #eaf3ff;
  font-size: 0.97rem;
}

.feature-pill {
  display: inline-flex;
  width: fit-content;
  font-size: 0.74rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #9fd8ff;
  border: 1px solid rgba(121, 167, 255, 0.6);
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(18, 33, 60, 0.78);
}

.feature-layer-card h3 {
  display: flex;
  align-items: center;
  gap: 9px;
}

.layer-icon {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(77, 212, 255, 0.18) 0%, rgba(121, 167, 255, 0.24) 100%);
  border: 1px solid rgba(121, 167, 255, 0.45);
  font-size: 0.95rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feature-card h3 {
  margin: 0 0 8px;
  color: #eaf2ff;
  font-size: 1.08rem;
}

.card {
  background: linear-gradient(180deg, rgba(16, 24, 42, 0.95) 0%, rgba(11, 18, 32, 0.9) 100%);
  border: 1px solid rgba(36, 49, 74, 0.95);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(121, 167, 255, 0.34);
  box-shadow: var(--shadow);
}

.matrix-card:hover {
  transform: none;
}

.form-stack {
  display: grid;
  gap: 14px;
}

label {
  font-size: 0.94rem;
  font-weight: 600;
  color: #d5e2f8;
}

input,
textarea {
  margin-top: 7px;
  width: 100%;
  border-radius: 11px;
  border: 1px solid rgba(39, 53, 82, 0.95);
  background: rgba(9, 16, 32, 0.94);
  color: var(--text);
  padding: 12px;
  font-family: inherit;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(121, 167, 255, 0.65);
  box-shadow: 0 0 0 4px rgba(121, 167, 255, 0.2);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* ========================================
   FOOTER - Modern & Comprehensive
   ======================================== */
.site-footer {
  position: relative;
  margin-top: 0;
  border-top: 1px solid rgba(56, 189, 248, 0.15);
  background: linear-gradient(180deg, rgba(10, 15, 28, 0.85) 0%, rgba(5, 10, 20, 0.95) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(34, 211, 238, 0.5) 50%, transparent 100%);
  opacity: 0.6;
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.08), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(56, 189, 248, 0.06), transparent 50%);
  pointer-events: none;
  opacity: 0.5;
}

.footer-wrap {
  position: relative;
  z-index: 1;
  padding: 80px 0 0;
}

/* Main Grid Layout */
.footer-main-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.8fr) repeat(5, minmax(160px, 1fr));
  gap: 48px 40px;
  align-items: start;
  margin-bottom: 60px;
}

/* Brand Block */
.footer-brand-block {
  padding-right: 20px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.footer-brand:hover {
  transform: translateY(-2px);
}

.footer-brand-logo {
  height: 36px;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(34, 211, 238, 0.3));
  transition: filter 0.3s ease;
}

.footer-brand-text {
  height: 36px;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(34, 211, 238, 0.3));
  transition: filter 0.3s ease;
}

.footer-brand:hover .footer-brand-logo,
.footer-brand:hover .footer-brand-text {
  filter: drop-shadow(0 0 20px rgba(34, 211, 238, 0.5));
}

.footer-description {
  margin: 0 0 24px;
  color: var(--qc-muted);
  line-height: 1.7;
  max-width: 42ch;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

/* Footer Badge */
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.12) 0%, rgba(56, 189, 248, 0.08) 100%);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--qc-electric);
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(34, 211, 238, 0.1);
}

.public-footer-social {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(34, 211, 238, 0.18);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.5) 0%, rgba(7, 12, 22, 0.2) 100%);
  box-shadow: inset 0 1px 0 rgba(148, 163, 184, 0.16);
}

.public-footer-social--full {
  margin-top: 10px;
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
}

.public-footer-social-title {
  margin: 0;
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 600;
  white-space: nowrap;
}

.public-footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.public-footer-social--full .public-footer-social-links {
  justify-content: flex-end;
}

.public-footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  background: rgba(15, 23, 42, 0.5);
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.22s ease;
  box-shadow: 0 8px 16px rgba(2, 6, 23, 0.35);
}

.public-footer-social-link-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
  opacity: 0.9;
}

.public-footer-social-link-arrow {
  opacity: 0.65;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.public-footer-social-link:hover {
  color: var(--qc-electric);
  border-color: currentColor;
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(2, 6, 23, 0.48);
}

.public-footer-social-link:hover .public-footer-social-link-arrow {
  opacity: 1;
  transform: translateX(2px);
}

.public-footer-social-link--x {
  color: #e2e8f0;
}

.public-footer-social-link--linkedin {
  color: #38bdf8;
}

.public-footer-social-link--instagram {
  color: #f472b6;
}

.public-footer-social-link--youtube {
  color: #f87171;
}

.public-footer-social-link--threads {
  color: #cbd5e1;
}

.badge-icon {
  font-size: 1rem;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* Link Columns */
.footer-link-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-link-column h4 {
  margin: 0 0 4px;
  color: var(--qc-ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  opacity: 0.95;
}

.footer-link-column a {
  color: var(--qc-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  position: relative;
  padding-left: 0;
}

.footer-link-column a::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--qc-electric);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.2s ease;
}

.footer-link-column a:hover {
  color: var(--qc-electric);
  padding-left: 12px;
}

.footer-link-column a:hover::before {
  opacity: 1;
  left: 0;
}

/* Footer Bottom Section */
.footer-bottom-section {
  padding: 32px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

@media (max-width: 768px) {
  .public-footer-social--full {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 22px;
  }

  .public-footer-social--full .public-footer-social-links {
    justify-content: flex-start;
  }

  .public-footer-social-links {
    gap: 8px;
  }

  .public-footer-social-link {
    padding: 6px 10px;
  }
}

.footer-copyright {
  margin: 0;
  color: #64748b;
  font-size: 0.85rem;
}

.footer-tagline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 500;
}

.tagline-dot {
  width: 6px;
  height: 6px;
  background: linear-gradient(135deg, var(--qc-electric) 0%, var(--qc-blue) 100%);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(34, 211, 238, 0.4);
  animation: pulse 2s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 1280px) {
  .footer-main-grid {
    grid-template-columns: minmax(280px, 1.5fr) repeat(5, minmax(140px, 1fr));
    gap: 40px 32px;
  }
}

@media (max-width: 1024px) {
  .footer-main-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 48px 32px;
  }
  
  .footer-brand-block {
    grid-column: 1 / -1;
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .footer-wrap {
    padding: 60px 0 0;
  }
  
  .footer-main-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

@media (max-width: 560px) {
  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-brand-block {
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  }
  
  .footer-link-column {
    gap: 12px;
  }
}

.footer-bottom-bar p {
  margin: 0;
}

.risk-note {
  margin: 18px 0;
  border: 1px solid rgba(70, 93, 135, 0.7);
  border-left: 4px solid rgba(77, 212, 255, 0.85);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(11, 18, 34, 0.85);
  color: #b9c9e4;
  font-size: 0.92rem;
}

.risk-note strong {
  color: #e6f0ff;
}

.risk-note a {
  color: #8bc1ff;
  text-decoration: none;
  font-weight: 600;
}

.risk-note a:hover {
  color: #c7e6ff;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
  max-width: 740px;
}

.hero-metric {
  border: 1px solid rgba(40, 54, 82, 0.95);
  background: linear-gradient(180deg, rgba(13, 21, 38, 0.9) 0%, rgba(9, 16, 30, 0.9) 100%);
  border-radius: 14px;
  padding: 12px;
  display: grid;
  gap: 4px;
}

.hero-metric strong {
  color: #f1f6ff;
  font-size: 1.25rem;
}

.hero-metric span {
  color: #a7b9d7;
  font-size: 0.83rem;
}

.home-intel {
  padding-top: 46px;
}

.home-visual-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.home-visual-card {
  border: 1px solid rgba(86, 116, 170, 0.72);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(19, 31, 55, 0.93) 0%, rgba(11, 20, 37, 0.95) 100%);
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.home-visual-card:hover {
  transform: translateY(-4px);
  border-color: rgba(121, 167, 255, 0.9);
}

.home-visual-card img {
  width: 100%;
  height: 165px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid rgba(86, 116, 170, 0.6);
}

.home-visual-card span {
  display: block;
  padding: 10px 12px;
  color: #eaf3ff;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-layer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.home-layer-card h2 {
  display: flex;
  align-items: center;
  gap: 9px;
}

.home-layer-card p {
  margin: 0;
}

.home-mini-tags {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-mini-tags span {
  border: 1px solid rgba(121, 167, 255, 0.42);
  border-radius: 999px;
  padding: 4px 10px;
  color: #c7d8f1;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(16, 27, 50, 0.7);
}

.home-band {
  position: relative;
  padding: 104px 0;
  border-top: 1px solid rgba(36, 49, 74, 0.8);
  border-bottom: 1px solid rgba(36, 49, 74, 0.8);
  overflow: hidden;
}

.home-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.home-band::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(77, 212, 255, 0.08) 0%, transparent 36%),
    linear-gradient(300deg, rgba(121, 167, 255, 0.08) 0%, transparent 44%);
  opacity: 0.9;
}

.home-band-technicals {
  background: linear-gradient(180deg, rgba(11, 21, 40, 0.98) 0%, rgba(8, 15, 30, 0.96) 100%);
}

.home-band-technicals::before {
  background: radial-gradient(circle at 86% 18%, rgba(77, 212, 255, 0.28) 0%, transparent 42%);
}

.home-band-fundamentals {
  background: linear-gradient(180deg, rgba(14, 14, 34, 0.98) 0%, rgba(10, 13, 30, 0.98) 100%);
}

.home-band-fundamentals::before {
  background: radial-gradient(circle at 14% 84%, rgba(153, 118, 255, 0.24) 0%, transparent 42%);
}

.home-band-signals {
  background: linear-gradient(180deg, rgba(9, 17, 33, 0.98) 0%, rgba(7, 13, 27, 0.98) 100%);
}

.home-band-signals::before {
  background: radial-gradient(circle at 82% 50%, rgba(110, 215, 255, 0.24) 0%, transparent 42%);
}

.home-band-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 34px;
  align-items: start;
}

.band-copy {
  padding-right: 8px;
}

.band-copy > p {
  margin: 0 0 14px;
  color: var(--text-soft);
}

.band-copy h2 {
  font-size: clamp(2rem, 3.9vw, 3.1rem);
  line-height: 1.08;
  margin-bottom: 18px;
}

.band-list {
  margin: 0;
  padding-left: 20px;
  color: #cfdbef;
  line-height: 1.82;
  font-size: 1.03rem;
}

.band-panel {
  display: grid;
  gap: 14px;
}

.screenshot-frame {
  display: block;
  text-decoration: none;
  border: 1px solid rgba(108, 144, 206, 0.9);
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(18, 31, 56, 0.94) 0%, rgba(10, 19, 36, 0.96) 100%);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.screenshot-frame:hover {
  transform: translateY(-5px) scale(1.01);
  border-color: rgba(148, 214, 255, 1);
  box-shadow: 0 24px 44px rgba(2, 8, 24, 0.65);
}

.screenshot-frame img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-bottom: 1px solid rgba(98, 131, 189, 0.72);
}

.screenshot-frame span {
  display: block;
  padding: 12px 14px;
  color: #e5f2ff;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.band-chip {
  border: 1px solid rgba(89, 116, 168, 0.88);
  background: linear-gradient(180deg, rgba(21, 34, 60, 0.94) 0%, rgba(12, 21, 39, 0.94) 100%);
  border-radius: 16px;
  padding: 16px;
  display: grid;
  gap: 6px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.band-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(132, 194, 255, 0.95);
}

.band-chip span {
  font-size: 0.79rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9eb9e8;
}

.band-chip strong {
  color: #f4f9ff;
  font-size: 1.1rem;
}

.hero .eyebrow {
  animation: fade-up 0.55s ease both;
}

.hero h1 {
  animation: fade-up 0.7s ease both;
}

.hero .lead {
  animation: fade-up 0.84s ease both;
}

.hero .actions .btn:nth-child(1) {
  animation: fade-up 0.98s ease both;
}

.hero .actions .btn:nth-child(2) {
  animation: fade-up 1.06s ease both;
}

.grid-3 .card:nth-child(1),
.stack .card:nth-child(1),
.pricing-grid .card:nth-child(1),
.band-panel .band-chip:nth-child(1) {
  animation: fade-up 0.62s ease both;
}

.grid-3 .card:nth-child(2),
.stack .card:nth-child(2),
.pricing-grid .card:nth-child(2),
.band-panel .band-chip:nth-child(2) {
  animation: fade-up 0.78s ease both;
}

.grid-3 .card:nth-child(3),
.stack .card:nth-child(3),
.pricing-grid .card:nth-child(3),
.band-panel .band-chip:nth-child(3) {
  animation: fade-up 0.94s ease both;
}

.pricing-grid .card:nth-child(4) {
  animation: fade-up 1.08s ease both;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(14px, 18px, 0) scale(1.06);
  }
}

@keyframes logo-glow {
  0%,
  100% {
    filter:
      drop-shadow(0 0 6px rgba(77, 212, 255, 0.2))
      drop-shadow(0 0 10px rgba(121, 167, 255, 0.18))
      drop-shadow(0 10px 24px rgba(41, 105, 255, 0.24));
  }
  50% {
    filter:
      drop-shadow(0 0 9px rgba(77, 212, 255, 0.32))
      drop-shadow(0 0 14px rgba(121, 167, 255, 0.26))
      drop-shadow(0 14px 32px rgba(41, 105, 255, 0.34));
  }
}

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

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-visual-strip {
    grid-template-columns: 1fr;
  }

  .nav-wrap {
    gap: 12px;
  }

  .site-nav {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 76px;
  }

  .hero-title-logo {
    width: min(420px, 95%);
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .home-visual-strip {
    grid-template-columns: 1fr;
  }

  .home-layer-grid {
    grid-template-columns: 1fr;
  }

  .home-band {
    padding: 56px 0;
  }

  .home-band-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .band-copy h2 {
    font-size: clamp(1.6rem, 8vw, 2.1rem);
  }

  .band-list {
    font-size: 0.98rem;
  }

  .screenshot-frame img {
    height: 220px;
  }

  .footer-wrap {
    padding: 28px 0 16px;
    padding-left: 16px;
    padding-right: 16px;
  }

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

  .footer-brand-block {
    grid-column: 1 / -1;
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Tablet & iPad */
@media (max-width: 768px) {
  .nav-wrap {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
  }

  .hamburger-menu {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(7, 12, 24, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    border-bottom: 1px solid rgba(36, 49, 74, 0.9);
    display: none;
    z-index: 999;
  }

  .site-nav.active {
    display: flex;
  }

  .site-nav a,
  .site-nav .mega-menu-trigger > a {
    padding: 12px 14px !important;
    min-height: 44px;
    text-align: center;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .site-nav .mega-menu-trigger {
    width: 100%;
  }

  .brand-logo {
    height: 36px;
  }

  .hero {
    padding: 60px 0 48px;
  }

  h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  }
}

/* Mobile */
@media (max-width: 600px) {
  .wrapper {
    width: 100%;
    padding: 0 2.5vw;
    box-sizing: border-box;
  }

  .nav-wrap {
    padding: 10px 0;
  }

  .brand-logo {
    height: 32px;
  }

  .hamburger-menu {
    min-width: 40px;
    min-height: 40px;
  }

  .hamburger-menu span {
    width: 20px;
  }

  .site-nav {
    top: 56px;
    padding: 12px;
    gap: 6px;
  }

  .site-nav a,
  .site-nav .mega-menu-trigger > a {
    padding: 12px 16px !important;
    font-size: 0.95rem;
    min-height: 44px;
    width: 100%;
  }

  .site-nav .btn {
    min-width: 120px;
  }

  .site-nav .btn-primary,
  .site-nav .btn-outline {
    width: 250px;
    min-width: 250px;
    max-width: 250px;
    margin: 0 auto 20px;
  }

  .mega-menu {
    max-height: 60vh;
    overflow-y: auto;
    width: min(250px, calc(100vw - 24px));
  }

  .mega-menu-content {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .mega-menu-column h4 {
    font-size: 0.65rem;
    margin-bottom: 8px;
  }

  .mega-menu-column a {
    font-size: 0.9rem;
    padding: 10px 12px;
  }

  h1 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 12px;
  }

  h2 {
    font-size: 1.1rem;
  }

  .lead {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .btn {
    font-size: 0.95rem;
    padding: 10px 16px;
  }

  .eyebrow {
    font-size: 0.75rem;
  }

  .hero-title-logo {
    width: min(100%, 100%);
    margin-bottom: 20px;
  }

  .home-band {
    padding: 40px 0;
  }

  .screenshot-frame img {
    height: 180px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 0 16px;
  }

  .footer-wrap {
    padding: 20px 0 12px;
  }

  .footer-bottom-bar {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Extra small mobile (max-width: 480px) */
@media (max-width: 480px) {
  .nav-wrap {
    padding: 8px 0;
  }

  .brand-logo {
    height: 28px;
  }

  .hamburger-menu {
    min-width: 36px;
    min-height: 36px;
    margin-right: 8px;
  }

  .hamburger-menu span {
    width: 18px;
    height: 2px;
  }

  .site-nav {
    top: 52px;
    padding: 10px;
    gap: 4px;
  }

  .site-nav a,
  .site-nav .mega-menu-trigger > a {
    padding: 10px 12px !important;
    font-size: 0.9rem;
    min-height: 40px;
  }

  .site-nav .btn-primary,
  .site-nav .btn-outline {
    width: 250px;
    min-width: 250px;
    max-width: 250px;
    margin: 0 auto 20px;
    font-size: 0.85rem;
    padding: 8px 12px;
  }

  .mega-menu {
    padding: 12px;
  }
}

/* Extra Small Mobile (< 400px) */
@media (max-width: 400px) {
  .wrapper {
    width: 100%;
    padding: 0 5vw;
    box-sizing: border-box;
  }

  .nav-wrap {
    padding: 8px 0;
  }

  .brand-logo {
    height: 28px;
  }

  .hamburger-menu {
    min-width: 36px;
    min-height: 36px;
    padding: 4px;
  }

  .hamburger-menu span {
    width: 18px;
    height: 2px;
  }

  .site-nav {
    padding: 10px;
    gap: 4px;
  }

  .site-nav a {
    padding: 9px 10px;
    font-size: 0.9rem;
  }

  .site-nav .btn-primary {
    width: 250px;
    min-width: 250px;
    max-width: 250px;
    margin: 0 auto 20px;
  }

  .site-nav .btn-outline {
    width: 250px;
    min-width: 250px;
    max-width: 250px;
    margin: 0 auto 20px;
  }

  h1 {
    font-size: clamp(1.4rem, 2.8vw, 1.8rem);
    margin-bottom: 10px;
  }

  h2 {
    font-size: 1rem;
  }

  .lead {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .btn {
    font-size: 0.9rem;
    padding: 9px 14px;
  }

  .hero {
    padding: 40px 0 32px;
  }

  .hero-title-logo {
    margin-bottom: 16px;
  }

  .home-band {
    padding: 32px 0;
  }

  .screenshot-frame img {
    height: 150px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    padding: 0 8px;
  }

  .footer-wrap {
    padding: 16px 12px 10px;
  }

  .footer-bottom-bar {
    padding-left: 8px;
    padding-right: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
