/* ============================================
   Navigation
   ============================================ */

.nav {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-nav);
  width: calc(100% - 2rem);
  max-width: 900px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(60px);
  -webkit-backdrop-filter: blur(60px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.nav.scrolled {
  background: rgba(0, 0, 0, 0.45);
  border-color: rgba(255, 255, 255, 0.12);
}

.nav.hidden {
  transform: translateX(-50%) translateY(calc(-100% - 40px));
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 6px 0 20px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: 1.15rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  text-decoration: none;
}

.nav__logo:hover {
  color: var(--color-text);
}

.nav__logo img {
  width: 28px;
  height: 28px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
}

.nav__link {
  color: var(--color-text-secondary);
  font-weight: var(--font-weight-medium);
  font-size: 0.95rem;
  transition: color var(--transition-speed);
}

.nav__link:hover {
  color: var(--color-text);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.nav__actions .btn {
  padding: 10px 22px;
  font-size: 0.875rem;
  border-radius: 10px;
  height: 44px;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav__toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.nav__toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  padding: 140px 0 0;
  overflow: hidden;
}

/* Background is now on body — hero__bg kept in markup but hidden */
.hero__bg {
  display: none;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__content {
  z-index: 1;
  max-width: 720px;
}

.hero__title {
  margin-bottom: var(--spacing-lg);
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-xl);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  justify-content: center;
}

.hero__image {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin-top: var(--spacing-2xl);
  max-height: 620px;
  overflow: hidden;
  border-radius: var(--border-radius-xl) var(--border-radius-xl) 0 0;
  box-shadow: var(--shadow-lg);
  border: var(--glass-border);
  border-bottom: none;
}

.hero__image img {
  width: 100%;
  height: auto;
  display: block;
}

.hero__image .img-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-faint);
  font-size: 0.9rem;
}


/* ============================================
   Gallery Feature Section
   ============================================ */

.gallery-section {
  padding: var(--spacing-3xl) 0;
  position: relative;
}

.gallery-section__header .section-subtitle {
  max-width: 380px;
}

/* Large showcase image + smaller grid below */
.gallery-showcase {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.gallery-showcase__main {
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  border: var(--glass-border);
}

.gallery-showcase__main .img-placeholder {
  width: 100%;
  aspect-ratio: 21 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-faint);
  font-size: 0.9rem;
}

.gallery-showcase__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
}

.gallery-showcase__item {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: var(--glass-border);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.gallery-showcase__item:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.2);
}

.gallery-showcase__item .img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-faint);
  font-size: 0.8rem;
}

/* ============================================
   Features Bento Grid
   ============================================ */

.features {
  padding: var(--spacing-3xl) 0;
  position: relative;
}

.features__header .section-subtitle {
  max-width: 380px;
}

/* Bento grid — asymmetric like Intercom */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
}

.feature-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: var(--border-radius-xl);
  padding: var(--spacing-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-sm);
}

/* Tall cards for row 1 — image fills most of the card */
.feature-card--tall {
  min-height: 420px;
}

.feature-card--tall .feature-card__image {
  flex: 1;
}

/* Wide card for row 2 — horizontal layout */
.feature-card--wide {
  grid-column: span 2;
}

.feature-card--wide .feature-card__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.feature-card__title {
  margin-bottom: var(--spacing-sm);
  color: var(--color-text);
}

.feature-card__description {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-lg);
}

.feature-card__image {
  margin-top: auto;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.feature-card__image .img-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-faint);
  font-size: 0.85rem;
}

/* Wide card image doesn't need top margin */
.feature-card--wide .feature-card__image {
  margin-top: 0;
}

.feature-card--wide .feature-card__image .img-placeholder {
  aspect-ratio: 4 / 3;
}

/* ============================================
   Export & Playback Section
   ============================================ */

.export-section {
  padding: var(--spacing-3xl) 0;
  position: relative;
}

.export-section__header {
  margin-bottom: var(--spacing-xl);
}

.export-section__header .section-subtitle {
  max-width: 500px;
}

.export-section__image {
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: var(--glass-border);
}

.export-section__image .img-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-faint);
  font-size: 0.9rem;
}

/* ============================================
   Pricing
   ============================================ */

.pricing {
  padding: var(--spacing-3xl) 0;
}

.pricing__header .section-subtitle {
  max-width: 380px;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
  align-items: start;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: var(--border-radius-xl);
  padding: var(--spacing-xl);
  position: relative;
}

.pricing-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-sm);
}

.pricing-card--featured {
  border-color: rgba(100, 108, 255, 0.3);
  box-shadow: 0 0 40px rgba(100, 108, 255, 0.1);
}

.pricing-card--featured:hover {
  border-color: rgba(100, 108, 255, 0.5);
  box-shadow: 0 0 60px rgba(100, 108, 255, 0.15);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: white;
  font-size: 0.75rem;
  font-weight: var(--font-weight-semibold);
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-card__name {
  font-size: 1.25rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  margin-bottom: var(--spacing-sm);
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: var(--spacing-lg);
}

.pricing-card__amount {
  font-size: 2.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.pricing-card__period {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.pricing-card__features {
  margin-bottom: var(--spacing-xl);
}

.pricing-card__features li {
  padding: var(--spacing-sm) 0;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.pricing-card__features li::before {
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(46, 204, 113, 0.15);
  border: 1px solid rgba(46, 204, 113, 0.3);
  flex-shrink: 0;
}

/* ============================================
   Social Proof
   ============================================ */

.social-proof {
  padding: var(--spacing-3xl) 0;
  position: relative;
}

/* Background handled by .section--solid on this section */

.social-proof__header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.social-proof__logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-2xl);
  flex-wrap: wrap;
}

.social-proof__logo {
  width: 120px;
  height: 40px;
  background: var(--glass-bg-light);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-faint);
  font-size: 0.8rem;
}

.testimonial {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.testimonial__quote {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--color-text-secondary);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.testimonial__quote::before {
  content: '\201C';
  position: absolute;
  top: -20px;
  left: -10px;
  font-size: 4rem;
  color: rgba(100, 108, 255, 0.2);
  font-style: normal;
  line-height: 1;
}

.testimonial__author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.testimonial__name {
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
}

.testimonial__role {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ============================================
   Final CTA
   ============================================ */

.cta-section {
  padding: var(--spacing-3xl) 0;
  text-align: center;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at center, rgba(100, 108, 255, 0.06) 0%, transparent 60%);
}

.cta-section__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-md);
}

.cta-section__subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-xl);
}

/* ============================================
   Footer
   ============================================ */

.footer {
  padding: var(--spacing-2xl) 0 var(--spacing-lg);
  border-top: var(--glass-border);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-2xl);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer__brand-name {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: 1.15rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
}

.footer__brand-name img {
  width: 24px;
  height: 24px;
}

.footer__tagline {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.footer__column h4 {
  font-size: 0.85rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--spacing-md);
}

.footer__column a {
  display: block;
  padding: var(--spacing-xs) 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  transition: color var(--transition-speed);
}

.footer__column a:hover {
  color: var(--color-text);
}

.footer__social {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--glass-bg-light);
  color: var(--color-text-muted);
  transition: all var(--transition-speed);
}

.footer__social a:hover {
  background: var(--glass-bg);
  color: var(--color-text);
}

.footer__social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer__bottom {
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-faint);
}
