/* ==========================================================================
   McCoy v2 Shared Styles
   Modern foundation for Home, IQ, and App pages
   ========================================================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  color: #ffffff;
  background: #02000D;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.85;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* --- Font Face (Montserrat from existing repo) --- */
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-v25-latin-regular.woff2') format('woff2'),
       url('../fonts/montserrat-v25-latin-regular.woff') format('woff'),
       url('../fonts/montserrat-v25-latin-regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-v25-latin-500.woff2') format('woff2'),
       url('../fonts/montserrat-v25-latin-500.woff') format('woff'),
       url('../fonts/montserrat-v25-latin-500.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-v25-latin-600.woff2') format('woff2'),
       url('../fonts/montserrat-v25-latin-600.woff') format('woff'),
       url('../fonts/montserrat-v25-latin-600.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-v25-latin-700.woff2') format('woff2'),
       url('../fonts/montserrat-v25-latin-700.woff') format('woff'),
       url('../fonts/montserrat-v25-latin-700.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-v25-latin-800.woff2') format('woff2'),
       url('../fonts/montserrat-v25-latin-800.woff') format('woff'),
       url('../fonts/montserrat-v25-latin-800.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* --- CSS Custom Properties --- */
:root {
  /* Primary Palette */
  --midnight-black: #02000D;
  --dark-blue: #0B0029;
  --dark-navy: #06081A;
  --deep-blue: #192050;
  --dark-purple: #552A73;
  --royal-blue: #1726C3;
  --blue-violet: #4A31C2;
  --purple: #7339C6;
  --lavender-purple: #8035CA;
  --sky-blue: #425AD2;
  --light-lavender: #8571FF;
  --magenta: #AB66FA;
  --pale-lavender: #9D8DFF;
  --electric-blue: #64C8FA;
  --azure-blue: #41B3D9;

  /* IQ Specific */
  --iq-dark-gray: #2A2C34;
  --iq-gray: #ACAEBE;
  --iq-selection-blue: #DDEAF1;
  --iq-green: #21B73D;
  --iq-red: #FF0303;

  /* Gradients */
  --gradient-button-1: linear-gradient(135deg, #8035CA 0%, #4A31C2 50%, #425AD2 100%);
  --gradient-button-2: linear-gradient(135deg, #7339C6 0%, #4A31C2 50%, #41B3D9 100%);
  --gradient-hero-overlay: linear-gradient(135deg, rgba(11, 0, 41, 0.85) 0%, rgba(85, 42, 115, 0.7) 50%, rgba(25, 32, 80, 0.85) 100%);
  --gradient-dark-section: linear-gradient(180deg, #0B0029 0%, #192050 50%, #552A73 100%);

  /* Layout */
  --container-max: 1200px;
  --container-padding: 40px;
  --section-padding: 120px;
  --border-radius: 16px;
  --border-radius-sm: 8px;
  --border-radius-lg: 24px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.6s ease;
}

/* --- Layout --- */
.v2-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.v2-section {
  padding: var(--section-padding) 0;
}

.v2-section--light {
  background: #ffffff;
  color: var(--iq-dark-gray);
}

.v2-section--dark {
  background: var(--midnight-black);
  color: #ffffff;
}

.v2-section--dark-alt {
  background: var(--dark-navy);
  color: #ffffff;
}

.v2-section--gradient {
  background: var(--gradient-dark-section);
  color: #ffffff;
}

/* --- Typography --- */
.v2-hero-headline {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.v2-section-headline {
  font-size: 44px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.v2-section-subheadline {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  opacity: 0.85;
  max-width: 680px;
}

.v2-label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 16px;
}

.v2-body {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
}

.v2-body--large {
  font-size: 20px;
}

/* --- Buttons --- */
.v2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  white-space: nowrap;
}

.v2-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(128, 53, 202, 0.3);
  opacity: 1;
}

.v2-btn--primary {
  background: var(--gradient-button-1);
  color: #ffffff;
}

.v2-btn--secondary {
  background: var(--gradient-button-2);
  color: #ffffff;
}

.v2-btn--outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.v2-btn--outline:hover {
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.1);
}

.v2-btn--outline-dark {
  background: transparent;
  color: var(--iq-dark-gray);
  border: 2px solid rgba(42, 44, 52, 0.2);
}

.v2-btn--outline-dark:hover {
  border-color: rgba(42, 44, 52, 0.5);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.v2-btn--small {
  padding: 10px 24px;
  font-size: 14px;
}

.v2-btn--dark {
  background: var(--iq-dark-gray);
  color: #ffffff;
}

.v2-btn--white {
  background: #ffffff;
  color: var(--iq-dark-gray);
}

.v2-btn--white:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* --- Skip Navigation (WCAG 2.1 AA) --- */
.v2-skip-nav {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 9999;
  padding: 8px 16px;
  background: var(--lavender-purple);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 0 0 8px 8px;
  transition: top 0.15s ease;
}
.v2-skip-nav:focus {
  top: 0;
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

/* --- Focus Indicators (WCAG 2.1 AA) --- */
:focus-visible {
  outline: 2px solid var(--lavender-purple);
  outline-offset: 3px;
}

/* --- Navigation (v2) --- */
.v2-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: 80px;
  display: flex;
  align-items: center;
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.v2-nav--scrolled {
  background: rgba(2, 0, 13, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.v2-nav--light {
  background: #ffffff;
}

.v2-nav--light.v2-nav--scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.v2-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.v2-nav__logo img {
  height: 44px;
  width: auto;
}

.v2-nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.v2-nav__link {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-fast);
}

.v2-nav__link:hover {
  color: #ffffff;
  opacity: 1;
}

.v2-nav--light .v2-nav__link {
  color: rgba(42, 44, 52, 0.7);
}

.v2-nav--light .v2-nav__link:hover {
  color: var(--iq-dark-gray);
}

.v2-nav__cta {
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 50px;
  background: var(--gradient-button-1);
  color: #ffffff;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.v2-nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(128, 53, 202, 0.4);
  opacity: 1;
}

/* Hamburger (mobile) */
.v2-nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.v2-nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.v2-nav--light .v2-nav__hamburger span {
  background: var(--iq-dark-gray);
}

.v2-nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.v2-nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.v2-nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu overlay */
.v2-mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(2, 0, 13, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 999;
  padding: 40px;
  flex-direction: column;
  gap: 24px;
}

.v2-mobile-menu.active {
  display: flex;
}

.v2-mobile-menu--light {
  background: rgba(255, 255, 255, 0.98);
}

.v2-mobile-menu__link {
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
}

.v2-mobile-menu--light .v2-mobile-menu__link {
  color: var(--iq-dark-gray);
}

.v2-mobile-menu__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 50px;
  background: var(--gradient-button-1);
  color: #ffffff;
  margin-top: 16px;
  text-align: center;
}

/* --- Footer (v2) --- */
.v2-footer {
  background: var(--midnight-black);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.v2-footer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.v2-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
}

.v2-footer__logo img {
  height: 40px;
  width: auto;
  margin-bottom: 16px;
}

.v2-footer__nav {
  display: flex;
  gap: 40px;
}

.v2-footer__link {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
}

.v2-footer__link:hover {
  color: #ffffff;
  opacity: 1;
}

.v2-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.v2-footer__copy {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
}

.v2-footer__social {
  display: flex;
  gap: 20px;
}

.v2-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  transition: background var(--transition-fast);
}

.v2-footer__social a:hover {
  background: rgba(255, 255, 255, 0.12);
  opacity: 1;
}

.v2-footer__social svg {
  width: 18px;
  height: 18px;
  fill: rgba(255, 255, 255, 0.7);
}

.v2-footer__legal {
  display: flex;
  gap: 24px;
  margin-top: 0;
}

.v2-footer__legal a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--transition-fast);
}

.v2-footer__legal a:hover {
  color: rgba(255, 255, 255, 0.7);
  opacity: 1;
}

/* --- Scroll Reveal Animation --- */
.scroll-hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.scroll-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.scroll-hidden[data-delay="1"] { transition-delay: 0.1s; }
.scroll-hidden[data-delay="2"] { transition-delay: 0.2s; }
.scroll-hidden[data-delay="3"] { transition-delay: 0.3s; }
.scroll-hidden[data-delay="4"] { transition-delay: 0.4s; }

/* --- Cards --- */
.v2-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius);
  padding: 40px;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.v2-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.12);
}

.v2-card--light {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.v2-card--light:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.12);
}

.v2-card__title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.v2-card__body {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.75;
}

/* Card grid */
.v2-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.v2-card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.v2-card-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* --- Timeline (How It Works) --- */
.v2-timeline {
  position: relative;
  padding-left: 60px;
}

.v2-timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.2) 0px,
    rgba(255, 255, 255, 0.2) 6px,
    transparent 6px,
    transparent 12px
  );
}

.v2-timeline--light::before {
  background: repeating-linear-gradient(
    to bottom,
    rgba(42, 44, 52, 0.15) 0px,
    rgba(42, 44, 52, 0.15) 6px,
    transparent 6px,
    transparent 12px
  );
}

.v2-timeline__step {
  position: relative;
  margin-bottom: 60px;
}

.v2-timeline__step:last-child {
  margin-bottom: 0;
}

.v2-timeline__number {
  position: absolute;
  left: -60px;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-button-1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.v2-timeline--light .v2-timeline__number {
  background: var(--gradient-button-1);
  color: #ffffff;
}

.v2-timeline__title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
}

.v2-timeline__body {
  font-size: 17px;
  line-height: 1.7;
  opacity: 0.8;
  max-width: 560px;
}

.v2-timeline__note {
  font-size: 14px;
  font-style: italic;
  opacity: 0.5;
  margin-top: 8px;
}

/* --- FAQ Accordion --- */
/* --- FAQ Two-Column Layout (Synthesia-style) --- */
.v2-faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}

.v2-faq-layout__header {
  position: sticky;
  top: 100px;
}

.v2-faq {
  max-width: 900px;
  margin: 0 auto;
}

.v2-faq__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.v2-faq--light .v2-faq__item {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

/* Card variant */
.v2-faq--cards .v2-faq__item {
  border-bottom: none;
  background: rgba(200, 215, 235, 0.15);
  border-radius: 16px;
  margin-bottom: 16px;
  transition: background 0.25s ease;
}

.v2-faq--cards.v2-faq--light .v2-faq__item {
  background: rgba(200, 215, 235, 0.18);
}

.v2-faq--cards .v2-faq__item.active {
  background: rgba(200, 215, 235, 0.3);
}

.v2-faq--cards.v2-faq--light .v2-faq__item.active {
  background: rgba(200, 215, 235, 0.3);
}

.v2-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 28px 0;
  font-size: 20px;
  font-weight: 600;
  text-align: left;
  color: inherit;
  cursor: pointer;
  gap: 20px;
}

.v2-faq--cards .v2-faq__question {
  padding: 24px 28px;
}

/* Arrow icon (replaces +/- for card variant) */
.v2-faq__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  position: relative;
  transition: transform var(--transition-base);
}

/* Default +/- icon */
.v2-faq__icon::before,
.v2-faq__icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 2px;
}

.v2-faq__icon::before {
  top: 50%;
  left: 4px;
  right: 4px;
  height: 2px;
  transform: translateY(-50%);
}

.v2-faq__icon::after {
  left: 50%;
  top: 4px;
  bottom: 4px;
  width: 2px;
  transform: translateX(-50%);
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.v2-faq__item.active .v2-faq__icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

/* Card variant: arrow icon instead of +/- */
.v2-faq--cards .v2-faq__icon {
  width: 24px;
  height: 24px;
}

.v2-faq--cards .v2-faq__icon::before,
.v2-faq--cards .v2-faq__icon::after {
  background: none;
}

.v2-faq--cards .v2-faq__icon::before {
  content: '\2192';
  position: static;
  height: auto;
  transform: none;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lavender-purple);
  transition: transform 0.3s ease;
}

.v2-faq--cards .v2-faq__icon::after {
  display: none;
}

.v2-faq--cards .v2-faq__item.active .v2-faq__icon::before {
  transform: rotate(-90deg);
  opacity: 1;
}

.v2-faq__answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.v2-faq__answer-inner {
  padding-bottom: 28px;
  font-size: 17px;
  line-height: 1.7;
  opacity: 0.75;
}

.v2-faq--cards .v2-faq__answer-inner {
  padding: 0 28px 24px;
}

.v2-faq__item.active .v2-faq__answer {
  max-height: 500px;
}

/* --- Testimonial Carousel --- */
.v2-testimonials {
  position: relative;
  overflow: hidden;
}

.v2-testimonials__track {
  display: flex;
  transition: transform 0.5s ease;
}

.v2-testimonial-card {
  flex: 0 0 100%;
  padding: 0 20px;
}

.v2-testimonial-card__inner {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-lg);
  padding: 48px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.v2-testimonial-card__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 auto 24px;
}

.v2-testimonial-card__quote {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 24px;
}

.v2-testimonial-card__author {
  font-size: 16px;
  font-weight: 600;
  opacity: 0.7;
}

.v2-testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.v2-testimonials__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.v2-testimonials__dot.active {
  background: var(--light-lavender);
  transform: scale(1.2);
}

/* --- Notification Scroll Animation --- */
.v2-notification-scroll {
  position: relative;
  height: 420px;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  perspective: 800px;
}

.v2-notification-scroll::before,
.v2-notification-scroll::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 100px;
  z-index: 2;
  pointer-events: none;
}

.v2-notification-scroll::before {
  top: 0;
  background: linear-gradient(to bottom, var(--dark-navy), transparent);
}

.v2-notification-scroll::after {
  bottom: 0;
  background: linear-gradient(to top, var(--dark-navy), transparent);
}

.v2-notification-scroll__track {
  position: relative;
  height: 100%;
}

/* Rolodex: each notification is absolutely positioned and transformed by JS */
.v2-notification-scroll .v2-notification {
  position: absolute;
  left: 0;
  right: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
  transform-origin: center center;
}

/* Fallback CSS animation if JS hasn't initialized yet */
.v2-notification-scroll:not(.rolodex-active) .v2-notification {
  position: relative;
}

.v2-notification-scroll:not(.rolodex-active) .v2-notification-scroll__track {
  animation: notificationScroll 20s linear infinite;
}

@keyframes notificationScroll {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

/* iOS Push Notification Cards */
.v2-notification {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  margin: 10px 8px;
  border-radius: 22px;
  background: rgba(200, 195, 230, 0.15);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.v2-notification__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #15152a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  padding: 5px;
}

.v2-notification__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.v2-notification__content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  gap: 1px;
}

.v2-notification__app-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--light-lavender);
}

.v2-notification__message {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.v2-notification__time {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 2px;
}

/* Legacy support for old notification format */
.v2-notification__text {
  font-size: 15px;
  opacity: 0.7;
}

.v2-notification__text strong {
  opacity: 1;
  font-weight: 600;
}

/* --- Pricing Toggle --- */
.v2-pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.v2-pricing-toggle__label {
  font-size: 15px;
  font-weight: 500;
  opacity: 0.6;
  transition: opacity var(--transition-fast);
}

.v2-pricing-toggle__label.active {
  opacity: 1;
  font-weight: 600;
}

.v2-pricing-toggle__switch {
  position: relative;
  width: 56px;
  height: 30px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 15px;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.v2-pricing-toggle__switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: var(--gradient-button-1);
  border-radius: 50%;
  transition: transform var(--transition-base);
}

.v2-pricing-toggle__switch.active::after {
  transform: translateX(26px);
}

/* --- Pricing Cards --- */
.v2-pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: start;
}

.v2-pricing-grid--4col {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.v2-pricing-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--border-radius);
  padding: 32px 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.v2-pricing-card .v2-pricing-card__features {
  flex: 1;
}

.v2-pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.v2-pricing-card--featured {
  border-color: var(--lavender-purple);
  box-shadow: 0 0 0 1px var(--lavender-purple);
  position: relative;
}

.v2-pricing-card__name {
  font-size: 24px;
  font-weight: 700;
  color: var(--iq-dark-gray);
  margin-bottom: 8px;
}

.v2-pricing-card__desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--iq-gray);
  margin-bottom: 20px;
  min-height: 42px;
}

.v2-pricing-card__price {
  font-size: 40px;
  font-weight: 800;
  color: var(--iq-dark-gray);
  margin-bottom: 4px;
}

.v2-pricing-card__price span {
  font-size: 16px;
  font-weight: 400;
  opacity: 0.5;
}

.v2-pricing-card__period {
  font-size: 14px;
  color: var(--iq-gray);
  margin-bottom: 24px;
}

.v2-pricing-card__features {
  text-align: left;
  margin-bottom: 24px;
}

.v2-pricing-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--iq-dark-gray);
  padding: 6px 0;
}

.v2-pricing-card__feature::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  background: var(--iq-green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.v2-pricing-card__feature--plain::before {
  display: none;
}

.v2-pricing-card__feature--plain {
  padding-left: 28px;
  color: var(--iq-gray);
  font-size: 13px;
}

.v2-pricing-card__feature--heading {
  font-weight: 700;
  margin-top: 12px;
  padding-bottom: 2px;
}

.v2-pricing-card__feature--heading::before {
  display: none;
}

.v2-pricing-card__feature--addon {
  padding-left: 28px;
  font-size: 13px;
  color: var(--iq-dark-gray);
}

.v2-pricing-card__feature--addon::before {
  display: none;
}

.v2-pricing-card__feature--addon-note {
  padding-left: 28px;
  font-size: 12px;
  color: var(--iq-gray);
  line-height: 1.5;
}

.v2-pricing-card__feature--addon-note::before {
  display: none;
}

/* Enterprise wide card */
.v2-pricing-enterprise {
  display: flex;
  align-items: center;
  gap: 40px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--border-radius);
  padding: 40px;
  margin-top: 20px;
}

.v2-pricing-enterprise__info {
  flex: 0 0 220px;
}

.v2-pricing-enterprise__name {
  font-size: 28px;
  font-weight: 700;
  color: var(--iq-dark-gray);
  margin-bottom: 8px;
}

.v2-pricing-enterprise__desc {
  font-size: 14px;
  color: var(--iq-gray);
  line-height: 1.5;
}

.v2-pricing-enterprise__features {
  flex: 1;
}

.v2-pricing-enterprise .v2-pricing-card__btn {
  flex: 0 0 auto;
  width: auto;
  padding: 12px 32px;
}

.v2-pricing-card__btn {
  display: block;
  width: 100%;
  padding: 12px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 50px;
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.v2-pricing-card__btn:hover {
  transform: translateY(-1px);
  opacity: 1;
}

.v2-pricing-card__btn--primary {
  background: var(--gradient-button-1);
  color: #ffffff;
}

.v2-pricing-card__btn--primary:hover {
  box-shadow: 0 4px 20px rgba(128, 53, 202, 0.4);
}

.v2-pricing-card__btn--outline {
  background: transparent;
  border: 2px solid rgba(42, 44, 52, 0.15);
  color: var(--iq-dark-gray);
}

.v2-pricing-card__btn--outline:hover {
  border-color: rgba(42, 44, 52, 0.3);
}

/* --- Image Lightbox --- */
.v2-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
  padding: 40px;
  cursor: pointer;
}

.v2-lightbox.active {
  display: flex;
}

/* Scope max-height to direct-child img only (regular image lightbox) */
.v2-lightbox > img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.4);
  animation: lightboxFadeIn 0.25s ease;
}

.v2-lightbox .iq-core__card-composite {
  /* Constrain width so shell renders at natural AR (height ≤ 90vh) */
  width: 90vw;
  max-width: min(1400px, calc(90vh * 1.44));
  cursor: default;
  animation: lightboxFadeIn 0.25s ease;
}

@keyframes lightboxFadeIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

/* --- Waitlist Modal --- */
.v2-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.v2-modal-overlay.active {
  display: flex;
}

.v2-modal {
  background: #ffffff;
  border-radius: var(--border-radius);
  padding: 48px;
  max-width: 480px;
  width: 90%;
  position: relative;
}

.v2-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--iq-gray);
  cursor: pointer;
  border-radius: 50%;
  transition: background var(--transition-fast);
}

.v2-modal__close:hover {
  background: rgba(0, 0, 0, 0.05);
}

.v2-modal__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--iq-dark-gray);
  margin-bottom: 8px;
}

.v2-modal__subtitle {
  font-size: 15px;
  color: var(--iq-gray);
  margin-bottom: 32px;
}

.v2-modal__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.v2-modal__input {
  padding: 14px 16px;
  font-size: 15px;
  font-family: 'Montserrat', sans-serif;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--border-radius-sm);
  transition: border-color var(--transition-fast);
  color: var(--iq-dark-gray);
}

.v2-modal__input:focus {
  border-color: var(--lavender-purple);
  outline: 2px solid var(--lavender-purple);
  outline-offset: 2px;
}

.v2-modal__checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--iq-dark-gray);
  cursor: pointer;
}

.v2-modal__checkbox-label input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--lavender-purple);
}

.v2-modal__submit {
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  background: var(--gradient-button-1);
  color: #ffffff;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.v2-modal__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(128, 53, 202, 0.4);
}

.v2-modal__success {
  display: none;
  text-align: center;
  padding: 20px 0;
}

.v2-modal__success.active {
  display: block;
}

.v2-modal__success-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.v2-modal__success-text {
  font-size: 18px;
  font-weight: 600;
  color: var(--iq-dark-gray);
}

/* --- Get the App Modal (reused from existing site) --- */
.v2-get-app-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.v2-get-app-modal.active {
  display: flex;
}

.v2-get-app-modal__content {
  background: var(--midnight-black);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  padding: 48px;
  text-align: center;
  max-width: 400px;
  width: 90%;
}

.v2-get-app-modal__title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 32px;
}

.v2-get-app-modal__links {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.v2-get-app-modal__link img {
  height: 56px;
  width: auto;
}

/* --- Utility --- */
.v2-text-center { text-align: center; }
.v2-text-left { text-align: left; }
.v2-mx-auto { margin-left: auto; margin-right: auto; }
.v2-mt-16 { margin-top: 16px; }
.v2-mt-24 { margin-top: 24px; }
.v2-mt-32 { margin-top: 32px; }
.v2-mt-48 { margin-top: 48px; }
.v2-mt-64 { margin-top: 64px; }
.v2-mb-16 { margin-bottom: 16px; }
.v2-mb-24 { margin-bottom: 24px; }
.v2-mb-32 { margin-bottom: 32px; }
.v2-mb-48 { margin-bottom: 48px; }
.v2-gap-24 { gap: 24px; }
.v2-gap-48 { gap: 48px; }
.v2-flex { display: flex; }
.v2-flex-col { flex-direction: column; }
.v2-items-center { align-items: center; }
.v2-justify-center { justify-content: center; }

/* --- Placeholder Visual --- */
.v2-placeholder {
  background: linear-gradient(135deg, rgba(128, 53, 202, 0.15) 0%, rgba(65, 179, 217, 0.15) 100%);
  border: 1px dashed rgba(128, 53, 202, 0.3);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 14px;
  font-weight: 500;
}

.v2-placeholder--light {
  background: linear-gradient(135deg, rgba(128, 53, 202, 0.06) 0%, rgba(65, 179, 217, 0.06) 100%);
  border-color: rgba(128, 53, 202, 0.15);
  color: rgba(42, 44, 52, 0.3);
}

/* --- Responsive --- */
@media (max-width: 800px) {
  :root {
    --container-padding: 20px;
    --section-padding: 80px;
  }

  .v2-hero-headline {
    font-size: 40px;
  }

  .v2-section-headline {
    font-size: 32px;
  }

  .v2-section-subheadline {
    font-size: 17px;
  }

  .v2-body {
    font-size: 16px;
  }

  .v2-body--large {
    font-size: 17px;
  }

  /* Nav mobile */
  .v2-nav {
    padding: 0 20px;
    height: 64px;
  }

  .v2-nav__links {
    display: none;
  }

  .v2-nav__hamburger {
    display: flex;
  }

  .v2-mobile-menu {
    top: 64px;
  }

  /* Card grid */
  .v2-card-grid,
  .v2-card-grid--3,
  .v2-card-grid--4 {
    grid-template-columns: 1fr;
  }

  /* Timeline */
  .v2-timeline {
    padding-left: 48px;
  }

  .v2-timeline__number {
    left: -48px;
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .v2-timeline__title {
    font-size: 20px;
  }

  .v2-timeline__body {
    font-size: 15px;
  }

  /* FAQ */
  .v2-faq-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .v2-faq-layout__header {
    position: static;
    text-align: center;
  }

  .v2-faq__question {
    font-size: 17px;
    padding: 22px 0;
  }

  .v2-faq--cards .v2-faq__question {
    padding: 20px 20px;
    font-size: 17px;
  }

  .v2-faq__answer-inner {
    font-size: 15px;
  }

  .v2-faq--cards .v2-faq__answer-inner {
    padding: 0 20px 20px;
  }

  /* Testimonial */
  .v2-testimonial-card__inner {
    padding: 32px 24px;
  }

  .v2-testimonial-card__quote {
    font-size: 20px;
  }

  /* Pricing */
  .v2-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .v2-pricing-grid--4col {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .v2-pricing-enterprise {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .v2-pricing-enterprise__info {
    flex: none;
  }

  /* Footer */
  .v2-footer__top {
    flex-direction: column;
    gap: 32px;
  }

  .v2-footer__nav {
    flex-wrap: wrap;
    gap: 20px;
  }

  .v2-footer__bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .v2-footer__legal {
    justify-content: center;
  }

  /* Modal */
  .v2-modal {
    padding: 32px 24px;
  }
}
