/* ================================================================
   cognaura.ai — Shared base styles
   ================================================================ */

:root {
  --bg: #0a0a0f;
  --surface: #111118;
  --surface-elevated: #16161f;
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-accent: rgba(124, 58, 237, 0.3);

  --purple: #7C3AED;
  --blue: #0EA5E9;
  --teal: #10B981;

  --text-primary: #F1F0FF;
  --text-secondary: #9090A8;
  --text-muted: #5A5A72;

  --gradient: linear-gradient(135deg, #7C3AED 0%, #0EA5E9 50%, #10B981 100%);
  --glow: 0 0 80px rgba(124, 58, 237, 0.12), 0 0 120px rgba(14, 165, 233, 0.08);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 100px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: rgba(124, 58, 237, 0.3); color: #F1F0FF; }

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }

:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; border-radius: 4px; }

/* ---- Skip link ---- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  background: var(--surface-elevated);
  color: var(--text-primary);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  font-size: 13px;
}
.skip-link:focus { top: 12px; }

/* ---- Container ---- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ---- Utility: gradient text ---- */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* ---- Utility: gradient border ---- */
.gradient-border {
  position: relative;
  background: var(--surface);
  isolation: isolate;
}
.gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 0.5px;
  border-radius: inherit;
  background: var(--gradient);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
}

/* ---- Section spacing ---- */
section { padding: 60px 0; }
@media (min-width: 1024px) { section { padding: 100px 0; } }

/* ---- Labels / eyebrows ---- */
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 18px;
}
.eyebrow.muted { color: var(--text-muted); }

/* ---- Headings ---- */
h1, h2, h3, h4 {
  font-weight: 600;
  letter-spacing: -1.5px;
  line-height: 1.15;
  color: var(--text-primary);
}
h2 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -1.5px; }
h3 { font-size: 18px; letter-spacing: -0.5px; line-height: 1.3; }

p { color: var(--text-secondary); }
p + p { margin-top: 14px; }

/* ================================================================
   NAVIGATION
   ================================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 0.5px solid var(--border-subtle);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.nav-logo {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.nav-links {
  display: none;
  gap: 32px;
  align-items: center;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}
.nav-links a:hover { color: var(--text-primary); }

.nav-cta {
  position: relative;
  display: inline-block;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius-pill);
  color: var(--text-primary);
  background: rgba(10, 10, 15, 0.5);
  transition: transform 0.3s ease;
}
.nav-cta:hover { transform: translateY(-1px); }
.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 0.5px;
  border-radius: inherit;
  background: var(--gradient);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

/* Hamburger (pure CSS) */
.nav-toggle { display: none; }
.nav-burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  height: 28px;
  justify-content: center;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  transition: 0.3s ease;
}

@media (max-width: 767px) {
  .nav-mobile {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 200;
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 0.5px solid var(--border-subtle);
    padding: 20px 24px 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }
  .nav-mobile ul {
    list-style: none;
    display: flex;
    flex-direction: column;
  }
  .nav-mobile ul li {
    border-bottom: 0.5px solid var(--border-subtle);
  }
  .nav-mobile ul li:last-child {
    border-bottom: none;
  }
  .nav-mobile ul li a {
    display: block;
    padding: 14px 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s ease;
  }
  .nav-mobile ul li a:hover,
  .nav-mobile ul li a:active { color: var(--text-primary); }
  .nav-mobile .mobile-cta {
    display: block;
    margin-top: 18px;
    padding: 11px 18px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    border-radius: var(--radius-pill);
    color: var(--text-primary);
    background: rgba(10, 10, 15, 0.5);
    position: relative;
    transition: opacity 0.2s ease;
  }
  .nav-mobile .mobile-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 0.5px;
    border-radius: inherit;
    background: var(--gradient);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
  }
  .nav-mobile .mobile-cta:hover { opacity: 0.85; }
  .nav-toggle:checked ~ .nav-mobile {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-toggle:checked ~ .nav-inner .nav-burger span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }
  .nav-toggle:checked ~ .nav-inner .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-inner .nav-burger span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-burger { display: none; }
  .nav-mobile { display: none; }
}

/* ================================================================
   HERO
   ================================================================ */

.hero {
  position: relative;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px 120px;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  position: relative;
  padding: 7px 16px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  background: rgba(10, 10, 15, 0.6);
  margin-bottom: 32px;
}
.hero-badge span { background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 0.5px;
  border-radius: inherit;
  background: var(--gradient);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 600;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 28px;
}
.hero h1 span { display: block; }

.hero-sub {
  max-width: 480px;
  margin: 0 auto 40px;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: var(--gradient);
  border-radius: var(--radius-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(124, 58, 237, 0.35); }

.btn-ghost {
  position: relative;
  display: inline-block;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  background: rgba(10, 10, 15, 0.6);
  border-radius: var(--radius-sm);
  transition: transform 0.3s ease;
}
.btn-ghost:hover { transform: translateY(-2px); }
.btn-ghost::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 0.5px;
  border-radius: inherit;
  background: var(--gradient);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

/* ---- Aura visual ---- */
.aura {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 520px;
  height: 520px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}
.aura.small { width: 320px; height: 320px; }
.aura-orb {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  filter: blur(40px);
  animation: pulse 6s ease-in-out infinite;
}
.aura-orb.inner {
  background: radial-gradient(circle, rgba(124, 58, 237, 0.3) 0%, transparent 60%);
  opacity: 0.5;
}
.aura-orb.outer {
  background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 60%);
  opacity: 0.5;
  animation-delay: -3s;
  transform: scale(1.2);
}
.aura-orb.teal {
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 60%);
  opacity: 0.4;
  animation-delay: -1.5s;
  transform: scale(0.8);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50%      { transform: scale(1.06); opacity: 0.65; }
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: bounce 2s infinite ease-in-out;
}
.scroll-indicator svg { margin: 8px auto 0; opacity: 0.6; }

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 8px); }
}

/* ================================================================
   METRICS BAR
   ================================================================ */

.metrics {
  background: var(--surface);
  border-top: 0.5px solid var(--border-subtle);
  border-bottom: 0.5px solid var(--border-subtle);
  padding: 28px 0;
}
.metrics-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-evenly;
  align-items: center;
}
.metric {
  text-align: center;
  flex: 1 1 140px;
  min-width: 140px;
}
.metric-value {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.metric-value.gradient { background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.metric-value.teal { color: var(--teal); }
.metric-label {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

/* ================================================================
   VISION
   ================================================================ */

.section-header {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-header h2 { margin-bottom: 20px; }
.section-header p { max-width: 560px; margin: 14px auto 0; }

.concept-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .concept-grid { grid-template-columns: repeat(3, 1fr); }
}

.concept-card {
  background: var(--surface);
  border: 0.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: 0.3s ease;
}
.concept-card:hover {
  border-color: rgba(124, 58, 237, 0.4);
  transform: translateY(-2px);
  background: var(--surface-elevated);
}
.concept-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: rgba(124, 58, 237, 0.08);
  border: 0.5px solid var(--border-subtle);
}
.concept-icon.blue { background: rgba(14, 165, 233, 0.08); }
.concept-icon.teal { background: rgba(16, 185, 129, 0.08); }
.concept-card h3 { margin-bottom: 10px; }
.concept-card p { font-size: 14px; line-height: 1.7; }

/* ================================================================
   IDEAL FOR
   ================================================================ */

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 720px;
  margin: 0 auto 36px;
}
.pill {
  position: relative;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius-pill);
  background: rgba(10, 10, 15, 0.6);
}
.pill span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pill::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 0.5px;
  border-radius: inherit;
  background: var(--gradient);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.ideal-note {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  font-size: 15px;
}

/* ================================================================
   CONTACT
   ================================================================ */

.contact-wrap { max-width: 560px; margin: 0 auto; }

.contact-card {
  background: var(--surface-elevated);
  border: 0.5px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: 40px;
  box-shadow: var(--glow);
}
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
}
.contact-row + .contact-row { border-top: 0.5px solid var(--border-subtle); }
.contact-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(124, 58, 237, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
}
.contact-meta { flex: 1; }
.contact-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.contact-value { font-size: 15px; font-weight: 500; color: var(--text-primary); }
.contact-value a {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 500;
  transition: opacity 0.3s ease;
}
.contact-value a:hover { opacity: 0.85; }
.contact-platforms a { color: var(--text-secondary); transition: color 0.3s ease; }
.contact-platforms a:hover { color: var(--text-primary); }
.contact-divider {
  height: 0.5px;
  background: var(--border-subtle);
  margin: 18px 0;
  border: 0;
}
.btn-offer {
  display: block;
  width: 100%;
  padding: 14px;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  background: var(--gradient);
  border-radius: var(--radius-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.25);
}
.btn-offer:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(124, 58, 237, 0.35); }
.contact-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 16px;
  line-height: 1.6;
}

/* ================================================================
   FOOTER
   ================================================================ */

.footer {
  border-top: 0.5px solid var(--border-subtle);
  padding: 60px 0 32px;
  background: var(--bg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}
.footer-brand {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}
.footer-tagline { font-size: 14px; margin-bottom: 16px; }
.footer-copy { font-size: 12px; color: var(--text-muted); }
.footer h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}
.footer-links a:hover { color: var(--text-primary); }
.footer-bottom {
  text-align: center;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 0.5px solid var(--border-subtle);
  font-size: 11px;
  color: var(--text-muted);
}

/* ================================================================
   SOCIAL
   ================================================================ */

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.social {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--surface);
  border: 0.5px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: 0.3s ease;
}
.social:hover {
  color: var(--text-primary);
  border-color: rgba(124, 58, 237, 0.4);
  background: var(--surface-elevated);
  transform: translateY(-2px);
}
.social svg { width: 16px; height: 16px; }

/* Contact-card variant: inline row */
.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.contact-socials .social { width: 32px; height: 32px; }
.contact-socials .social svg { width: 14px; height: 14px; }

/* ================================================================
   BACK TO TOP
   ================================================================ */

.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 90;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-primary);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover { transform: translateY(-3px); }
.back-to-top::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 0.5px;
  border-radius: inherit;
  background: var(--gradient);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.back-to-top svg { position: relative; }
