/* ═══════════════════════════════════════════════════════
   Higher Studio Production — Styles
   ═══════════════════════════════════════════════════════ */

:root {
  --primary: #974df3;
  --primary-dark: #7e3bd0;
  --accent: #29c4a9;
  --dark: #121316;
  --dark-2: #121316;
  --dark-3: #121316;
  --text: #ffffff;
  --text-muted: #9a9aa8;
  --white: #ffffff;
  --bg-section: #121316;
  --bg-card: rgba(255,255,255,0.035);
  --border: rgba(255,255,255,0.09);
  --radius: 12px;
  --radius-lg: 20px;
  --max-w: 1200px;
  --font: 'Open Sans', sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }

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

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

.text-center { text-align: center; }

/* ─── NAV ─────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: transparent;
  transition: background .3s, box-shadow .3s;
}
.nav.scrolled {
  background: rgba(18,19,22,0.95);
  box-shadow: 0 1px 20px rgba(0,0,0,0.25);
  backdrop-filter: blur(12px);
}
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.nav__logo {
  display: flex; align-items: center; gap: 12px;
  font-size: 1.1rem; font-weight: 700; color: var(--white);
}
.nav__logo img { height: 40px; width: auto; }
.nav__logo:hover { color: var(--primary); }

.nav__links {
  list-style: none; display: flex; align-items: center; gap: 2px;
}
.nav__links a {
  color: var(--text); padding: 10px 12px; border-radius: 6px;
  font-size: .82rem; font-weight: 500; transition: all .2s;
  letter-spacing: .2px; white-space: nowrap;
}
.nav__links a:hover, .nav__links a.active {
  color: var(--white);
}
.nav__cta {
  background: var(--primary) !important; color: var(--white) !important;
  border-radius: 50px !important; font-weight: 600 !important;
  padding: 9px 24px !important; font-size: .8rem !important;
  white-space: nowrap; margin-left: 4px;
}
.nav__cta:hover { background: var(--primary-dark) !important; }
.nav__cta--outline {
  background: transparent !important;
  border: 1.5px solid rgba(255,255,255,0.25) !important;
  margin-left: 0 !important;
}
.nav__cta--outline:hover {
  background: var(--white) !important;
  color: var(--dark) !important;
  border-color: var(--white) !important;
}

.nav__toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav__toggle span {
  width: 24px; height: 2px; background: var(--white);
  transition: all .3s;
}

/* ─── HERO ────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  text-align: center;
}
.hero__video {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero__overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(18,19,22,0.25) 0%, rgba(18,19,22,0.6) 50%, #121316 100%);
  z-index: 1;
}
.hero__content {
  position: relative; z-index: 2;
  max-width: 900px; padding: 0 24px;
}
.hero__tag {
  display: inline-block;
  background: rgba(255,255,255,0.06);
  color: var(--white);
  padding: 8px 24px; border-radius: 50px;
  font-size: .75rem; font-weight: 600;
  margin-bottom: 28px; letter-spacing: 1px;
  border: 1px solid rgba(255,255,255,0.15);
}
.hero h1 {
  font-size: 3.8rem; font-weight: 800;
  color: var(--white); line-height: 1.1;
  margin-bottom: 0;
}
.hero h1 span { color: var(--primary); }
.hero p {
  font-size: 1.05rem; color: var(--text);
  margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto;
  line-height: 1.8;
}

/* Word Rotator (smooth slide animation) */
.word-rotator {
  margin: 8px 0 48px;
  height: 5.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.word-rotator__word {
  position: absolute;
  font-family: var(--font-heading);
  font-size: 4.5rem;
  font-weight: 700;
  font-style: italic;
  color: var(--white);
  white-space: nowrap;
}
.word-rotator__word.entering {
  animation: wordSlideIn .6s cubic-bezier(.16,1,.3,1) forwards;
}
.word-rotator__word.leaving {
  animation: wordSlideOut .5s cubic-bezier(.7,0,.84,0) forwards;
}
@keyframes wordSlideIn {
  from { opacity: 0; transform: translateY(50px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes wordSlideOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-50px); }
}
@media (max-width: 768px) {
  .word-rotator__word { font-size: 2.8rem; }
  .word-rotator { height: 3.5rem; margin: 6px 0 36px; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px;
  font-size: .95rem; font-weight: 600;
  border: none; cursor: pointer;
  transition: all .25s;
  text-decoration: none;
  letter-spacing: .3px;
}
.btn--primary { background: var(--primary); color: var(--white); }
.btn--primary:hover { background: var(--primary-dark); transform: translateY(-2px); color: var(--white); }
.btn--outline {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.btn--outline:hover { background: var(--white); color: var(--dark); border-color: var(--white); }
.btn--accent { background: var(--accent); color: var(--white); }
.btn--accent:hover { background: #22a790; transform: translateY(-2px); color: var(--white); }
.btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─── SECTIONS ────────────────────────────────────────── */
section { padding: 100px 0; }

/* Section separator (every ~3 sections) */
.section-sep {
  max-width: 120px;
  margin: 0 auto;
  border: none;
  border-top: 1px solid var(--border);
}

.section-tag {
  display: inline-block;
  color: var(--white);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
  padding: 8px 24px;
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 50px;
}
.section-title {
  font-size: 3rem; font-weight: 800;
  color: var(--white); margin-bottom: 24px;
  line-height: 1.12;
}
.section-desc {
  color: var(--text); font-size: 1.05rem;
  max-width: 640px; margin-bottom: 56px;
  line-height: 1.8;
}
.section-desc.centered { margin-left: auto; margin-right: auto; }

.section-subtitle {
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text);
  max-width: 680px;
  margin: 0 auto 56px;
  line-height: 1.8;
}

/* ─── LOGO GRID (Clients) ────────────────────────────── */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 32px 24px;
  align-items: center;
  justify-items: center;
}
.logo-grid__item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  padding: 8px;
  transition: transform .3s, opacity .3s;
  opacity: .65;
}
.logo-grid__item:hover {
  transform: scale(1.12);
  opacity: 1;
}
.logo-grid__item img {
  max-height: 70px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(1.1);
}

/* ─── SHOWS GRID ──────────────────────────────────────── */
.shows-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.show-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.show-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(151,77,243,0.15);
}
.show-card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.show-card__body { padding: 16px 20px; }
.show-card__title { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.show-card__meta { font-size: .85rem; color: var(--text-muted); }

/* ─── STATS ───────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}
.stat__number {
  font-size: 3.4rem; font-weight: 800; color: var(--primary);
  line-height: 1;
}
.stat__label {
  font-size: .9rem; color: var(--text-muted); margin-top: 10px;
}

/* ─── FEATURES / WHY US ───────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.feature-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.feature-card h3 {
  font-size: 1.15rem; font-weight: 700; color: var(--white);
  margin-bottom: 12px;
}
.feature-card p { color: var(--text); font-size: .95rem; line-height: 1.7; }

/* Horizontal variant */
.feature-card--h {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: transparent;
  border: none;
  padding: 28px 0;
}
.feature-card--h .feature-card__icon {
  font-size: 2.2rem;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-card--h .feature-card__text { flex: 1; }
.feature-card--h h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
.feature-card--h p {
  color: var(--text);
  font-size: .95rem;
  line-height: 1.7;
}

/* ─── SERVICE LIST (two-col rows) ────────────────────── */
.service-list {
  max-width: 1000px;
  margin: 0 auto;
}
.service-list__row {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: start;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.service-list__row:last-child {
  border-bottom: none;
}
.service-list__title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}
.service-list__desc {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .service-list__row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px 0;
  }
}

/* ─── SERVICES GRID ───────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  transition: transform .3s, border-color .3s;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}
.service-card__icon {
  font-size: 2.5rem; margin-bottom: 16px;
}
.service-card h3 {
  font-size: 1.1rem; font-weight: 700; color: var(--white);
  margin-bottom: 10px;
}
.service-card p { font-size: .9rem; color: var(--text); line-height: 1.7; }

/* ─── TESTIMONIALS ────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.testimonial-card__stars { color: #f5a623; font-size: 1rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card p { font-style: italic; color: var(--text); margin-bottom: 20px; font-size: .95rem; line-height: 1.7; }
.testimonial-card__author { font-weight: 700; color: var(--white); font-size: .9rem; }
.testimonial-card__role { color: var(--text-muted); font-size: .8rem; margin-top: 2px; }

/* ─── CONTACT ────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.contact-item { text-align: center; }
.contact-item__icon {
  margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
}
.contact-item__icon svg {
  width: 28px; height: 28px;
  stroke: var(--text-muted); stroke-width: 1.5;
  fill: none;
}
.contact-item h4 {
  color: var(--white); font-size: 1.1rem; font-weight: 700; margin-bottom: 6px;
}
.contact-item p, .contact-item a { color: var(--text-muted); font-size: .95rem; }

/* ─── FOOTER ─────────────────────────────────────────── */
.footer {
  padding: 64px 0 32px;
  margin-top: 20px;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.footer__brand p {
  color: var(--text-muted);
  font-size: .85rem;
  margin-top: 16px;
  line-height: 1.6;
}
.footer__logo {
  height: 32px;
  width: auto;
  opacity: .7;
}
.footer__nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.footer__nav a {
  color: var(--text-muted);
  font-size: .85rem;
  font-weight: 500;
  transition: color .2s;
}
.footer__nav a:hover {
  color: var(--white);
}
.footer__bottom {
  padding-top: 24px;
  text-align: center;
}
.footer__bottom p {
  color: var(--text-muted);
  font-size: .75rem;
  letter-spacing: .5px;
}

/* ─── PAGE HERO (subpages) ────────────────────────────── */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
  background: var(--dark);
}
.page-hero h1 {
  font-size: 3rem; font-weight: 800; color: var(--white);
  margin-bottom: 16px;
  line-height: 1.12;
}
.page-hero p {
  color: var(--text); font-size: 1.05rem;
  max-width: 600px; margin: 0 auto;
  line-height: 1.7;
}

/* ─── PRICING CARDS ───────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}
.pricing-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: transform .3s, border-color .3s;
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 40px rgba(151,77,243,0.15);
  position: relative;
}
.pricing-card.featured::before {
  content: 'Popular';
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: var(--white);
  padding: 4px 16px; border-radius: 12px;
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
}
.pricing-card__name {
  font-size: 1.2rem; font-weight: 700; color: var(--white);
  margin-bottom: 8px;
}
.pricing-card__price {
  font-size: 3rem; font-weight: 800; color: var(--primary);
  margin-bottom: 4px;
}
.pricing-card__price span { font-size: 1.2rem; font-weight: 400; }
.pricing-card__desc {
  color: var(--text-muted); font-size: .9rem; margin-bottom: 24px;
}
.pricing-card ul {
  list-style: none; text-align: left; margin-bottom: 28px;
}
.pricing-card li {
  padding: 8px 0; border-bottom: 1px solid var(--border);
  color: var(--text); font-size: .9rem;
}
.pricing-card li::before {
  content: '→ '; color: var(--primary); font-weight: 700;
}

/* Pricing with SVG icons instead of arrows */
.pricing-card.pricing-card--icons li::before { content: none !important; display: none !important; }
.pricing-card.pricing-card--icons li {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; line-height: 1.4;
}
.pricing-card.pricing-card--icons li svg {
  width: 20px; min-width: 20px; max-width: 20px;
  height: 20px; min-height: 20px; max-height: 20px;
  flex-shrink: 0;
  stroke: var(--primary); stroke-width: 2; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ─── WEBDEV SHOWCASE (phone + benefits) ─────────────── */
.webdev-showcase__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 64px;
  align-items: center;
}
.webdev-showcase__text { }
.webdev-benefits {
  display: flex; flex-direction: column; gap: 20px;
}
.webdev-benefit {
  display: flex; align-items: flex-start; gap: 16px;
}
.webdev-benefit__icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(151,77,243,.1);
  border: 1px solid rgba(151,77,243,.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}

/* Phone Mockup */
.phone-mockup {
  width: 280px;
  margin: 0 auto;
  background: #1a1a1e;
  border-radius: 36px;
  border: 3px solid rgba(255,255,255,.1);
  padding: 12px;
  box-shadow: 0 40px 80px rgba(0,0,0,.5), 0 0 60px rgba(151,77,243,.1);
  position: relative;
}
.phone-mockup__notch {
  width: 100px; height: 22px;
  background: #1a1a1e;
  border-radius: 0 0 14px 14px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  top: -1px;
}
.phone-mockup__screen {
  border-radius: 24px;
  overflow: hidden;
  background: #0d0d0f;
  height: 480px;
}
.phone-mockup__scroll {
  animation: phoneScroll 8s ease-in-out infinite alternate;
}
@keyframes phoneScroll {
  0%, 20% { transform: translateY(0); }
  80%, 100% { transform: translateY(-120px); }
}

/* Tech Logos */
.tech-logos {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.tech-logo {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: .5;
  transition: opacity .3s, transform .3s;
}
.tech-logo:hover {
  opacity: 1;
  transform: translateY(-4px);
}
.tech-logo span {
  font-size: .75rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Hosting CTA */
.hosting-cta { padding-top: 0; }
.hosting-cta__card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.hosting-cta__content {
  display: flex; align-items: flex-start; gap: 20px; flex: 1;
}
.hosting-cta__icon {
  width: 56px; height: 56px; flex-shrink: 0;
  background: rgba(151,77,243,.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.hosting-cta__card h3 {
  color: var(--white); font-size: 1.15rem; font-weight: 700;
  margin-bottom: 8px;
}
.hosting-cta__card p {
  color: var(--text-muted); font-size: .9rem; line-height: 1.7;
  margin: 0;
}
.hosting-cta__card .btn { flex-shrink: 0; white-space: nowrap; }

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.process-step {
  text-align: center;
  position: relative;
  padding: 0 24px;
}
.process-step__number {
  font-size: 3.4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}
.process-step__line {
  position: absolute;
  top: 28px;
  left: calc(50% + 40px);
  width: calc(100% - 80px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), rgba(151,77,243,.15));
  opacity: 0;
}
.process-step:last-child .process-step__line { display: none; }
.process-step__title {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.process-step__desc {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.7;
}

/* Process step line animation on scroll */
.process-step.is-visible .process-step__line {
  animation: lineGrow .8s .3s ease-out forwards;
}
@keyframes lineGrow {
  from { opacity: 0; transform: scaleX(0); transform-origin: left; }
  to   { opacity: 1; transform: scaleX(1); transform-origin: left; }
}

/* Process step pulse dot */
.process-step__number::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0;
}
.process-step.is-visible .process-step__number::after {
  opacity: 1;
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(151,77,243,.4); }
  50% { box-shadow: 0 0 0 8px rgba(151,77,243,0); }
}

/* ─── FAQ ACCORDION ───────────────────────────────────── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item__q {
  width: 100%; background: var(--bg-card);
  border: none; padding: 20px 24px;
  text-align: left; cursor: pointer;
  color: var(--white); font-size: 1rem; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center;
  transition: background .2s;
  font-family: var(--font);
}
.faq-item__q:hover { background: rgba(255,255,255,0.05); }
.faq-item__q::after { content: '+'; font-size: 1.3rem; color: var(--primary); transition: transform .3s; }
.faq-item.open .faq-item__q::after { transform: rotate(45deg); }
.faq-item__a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s, padding .3s;
  padding: 0 32px;
  color: var(--text-muted); font-size: .95rem;
  line-height: 1.8;
  border-top: 1px solid transparent;
}
.faq-item.open .faq-item__a {
  max-height: 300px;
  padding: 20px 32px 28px;
  border-top: 1px solid var(--border);
}

/* ─── SPEAKERS ────────────────────────────────────────── */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.speaker-card {
  text-align: center;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s;
}
.speaker-card:hover { transform: translateY(-4px); }
.speaker-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.speaker-card__body { padding: 16px; }
.speaker-card__name { font-weight: 700; color: var(--white); font-size: .95rem; }
.speaker-card__role { color: var(--text-muted); font-size: .8rem; }

/* ─── COUNTDOWN ───────────────────────────────────────── */
.countdown {
  display: flex; gap: 24px; justify-content: center;
  margin: 32px 0;
}
.countdown__item { text-align: center; }
.countdown__number {
  font-size: 2.5rem; font-weight: 800; color: var(--primary);
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  width: 80px; height: 80px;
  display: flex; align-items: center; justify-content: center;
}
.countdown__label { font-size: .75rem; color: var(--text-muted); margin-top: 6px; text-transform: uppercase; }

/* ─── IMAGE ACCORDION ────────────────────────────────── */
.img-accordion {
  display: flex;
  flex-direction: row;
  height: 520px;
  gap: 6px;
  overflow: hidden;
  width: 100%;
}
.img-accordion__item {
  position: relative;
  flex: 1 1 0%;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  transition: flex .5s cubic-bezier(.4, 0, .2, 1);
}
.img-accordion__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}
.img-accordion__item:hover img {
  transform: scale(1.05);
}
.img-accordion__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px;
  background: linear-gradient(0deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.3) 60%, transparent 100%);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .4s, transform .4s;
}
.img-accordion__item:hover .img-accordion__overlay {
  opacity: 1;
  transform: translateY(0);
}
.img-accordion__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.img-accordion__sub {
  font-size: .85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Hover: expand active, shrink others */
.img-accordion:hover .img-accordion__item {
  flex: 0.6;
}
.img-accordion:hover .img-accordion__item:hover {
  flex: 3;
}

/* Book Session button below accordion */
.accordion-cta {
  text-align: center;
  margin-top: 48px;
}

@media (max-width: 992px) {
  .img-accordion { height: 400px; }
}
@media (max-width: 600px) {
  .img-accordion {
    flex-direction: column;
    height: auto;
  }
  .img-accordion__item {
    height: 180px;
    flex: none !important;
  }
  .img-accordion:hover .img-accordion__item,
  .img-accordion:hover .img-accordion__item:hover {
    flex: none !important;
  }
  .img-accordion__item:hover {
    height: 280px;
  }
  .img-accordion__overlay {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── PODCAST PAGE SPECIFICS ──────────────────────────── */
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.strength-tag {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 14px 18px;
  text-align: center;
  color: var(--white);
  font-size: .9rem;
  font-weight: 600;
}

.review-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
}
.review-card__quote {
  font-style: italic; color: var(--text);
  font-size: 1.05rem; margin-bottom: 16px;
  line-height: 1.7;
}
.review-card__author { font-weight: 700; color: var(--white); }
.review-card__show { color: var(--text-muted); font-size: .85rem; }

/* ─── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 992px) {
  .hero h1 { font-size: 2.8rem; }
  .section-title { font-size: 2.4rem; }
  .features-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .services-grid, .pricing-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .stats-grid { grid-template-columns: 1fr; gap: 24px; }
  .webdev-showcase__grid { grid-template-columns: 1fr; gap: 48px; }
  .webdev-showcase__phone { order: -1; }
  .webdev-showcase__text { text-align: center; }
  .webdev-showcase__text .section-title { text-align: center; }
  .process-steps { grid-template-columns: 1fr; gap: 48px; }
  .process-step__line { display: none; }
  .hosting-cta__card { flex-direction: column; text-align: center; }
  .hosting-cta__content { flex-direction: column; align-items: center; }
  .tech-logos { gap: 24px; }
  .speakers-grid { grid-template-columns: repeat(2, 1fr); }
  .strengths-grid { grid-template-columns: repeat(2, 1fr); }
  .shows-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-grid { grid-template-columns: repeat(4, 1fr); gap: 24px 16px; }

  .nav__links {
    display: none; flex-direction: column;
    position: absolute; top: 80px; left: 0; right: 0;
    background: rgba(18,19,22,0.98);
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
  }
  .nav__links.open { display: flex; }
  .nav__toggle { display: flex; }

  .footer__inner {
    flex-direction: column;
    gap: 32px;
    align-items: center;
    text-align: center;
  }
  .footer__brand { text-align: center; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
  section { padding: 72px 0; }
  .section-title { font-size: 2rem; }
  .page-hero { padding: 130px 0 60px; }
  .page-hero h1 { font-size: 2.2rem; }
  .shows-grid { grid-template-columns: 1fr; }
  .speakers-grid { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); gap: 20px 12px; }
  .logo-grid__item { height: 60px; }
  .logo-grid__item img { max-height: 50px; max-width: 110px; }
  .countdown__number { width: 60px; height: 60px; font-size: 1.8rem; }
  .countdown { gap: 12px; }
  .strengths-grid { grid-template-columns: 1fr; }
  .footer__nav { flex-wrap: wrap; gap: 16px; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════
   ANIMATIONS & INTERACTIVITY
   ═══════════════════════════════════════════════════════ */

/* ─── Keyframes ──────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translate3d(0, 40px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translate3d(0, -30px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translate3d(-40px, 0, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translate3d(40px, 0, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes zoomBounce {
  0%   { opacity: 0; transform: scale(0.6); }
  70%  { transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}

/* ─── Scroll-triggered base ──────────────────────────── */
.anim {
  opacity: 0;
  will-change: opacity, transform;
}
.anim.is-visible {
  animation-duration: 0.7s;
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.anim.is-visible.anim--up    { animation-name: fadeInUp; }
.anim.is-visible.anim--down  { animation-name: fadeInDown; }
.anim.is-visible.anim--left  { animation-name: fadeInLeft; }
.anim.is-visible.anim--right { animation-name: fadeInRight; }
.anim.is-visible.anim--fade  { animation-name: fadeIn; }
.anim.is-visible.anim--scale { animation-name: scaleIn; }
.anim.is-visible.anim--zoom  { animation-name: zoomBounce; }

/* ─── Hero entrance (on page load) ───────────────────── */
.hero__content > *:nth-child(1),
.page-hero > *:nth-child(1) { animation: fadeInDown .8s .15s both; }
.hero__content > *:nth-child(2),
.page-hero > *:nth-child(2) { animation: fadeInUp .8s .35s both; }
.hero__content > *:nth-child(3),
.page-hero > *:nth-child(3) { animation: fadeInUp .8s .50s both; }
.hero__content > *:nth-child(4),
.page-hero > *:nth-child(4) { animation: fadeInUp .8s .65s both; }

/* ─── Image hover zoom ───────────────────────────────── */
.show-card img,
.speaker-card img {
  transition: transform .5s cubic-bezier(.25,.46,.45,.94);
}
.show-card:hover img,
.speaker-card:hover img {
  transform: scale(1.08);
}

/* ─── Button arrow reveal ────────────────────────────── */
.btn--primary::after,
.btn--accent::after {
  content: '→';
  display: inline-block;
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  transition: opacity .3s, max-width .3s, margin-left .3s;
  margin-left: 0;
}
.btn--primary:hover::after,
.btn--accent:hover::after {
  opacity: 1;
  max-width: 20px;
  margin-left: 6px;
}

/* ─── Strength tag glow ──────────────────────────────── */
.strength-tag {
  transition: all .3s;
}
.strength-tag:hover {
  border-color: var(--primary);
  background: rgba(151,77,243,.12);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(151,77,243,.15);
}

/* ─── Feature card hover ─────────────────────────────── */
.feature-card {
  transition: transform .3s, border-color .3s;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,.1);
}
.feature-card--h:hover {
  transform: none;
  border-color: transparent;
}

/* ─── Testimonial / Review card hover ────────────────── */
.testimonial-card {
  transition: transform .3s, border-color .3s;
}
.testimonial-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,.1);
}
.review-card {
  transition: transform .3s, border-color .3s;
}
.review-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,.1);
}

/* ─── Pricing card enhanced hover ────────────────────── */
.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.pricing-card.featured:hover {
  box-shadow: 0 20px 60px rgba(151,77,243,.25);
}

/* ─── Contact item hover ─────────────────────────────── */
.contact-item {
  transition: transform .3s;
}
.contact-item:hover {
  transform: translateY(-4px);
}

/* ─── Service card gradient border ───────────────────── */
.service-card {
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.service-card:hover::before {
  opacity: 1;
}

/* ─── FAQ item smooth expand ─────────────────────────── */
.faq-item__a {
  transition: max-height .4s cubic-bezier(.25,.46,.45,.94), padding .3s;
}

/* ─── Nav link — no hover effects ────────────────────── */

/* ─── Reduced motion ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .anim { opacity: 1; }
  .anim.is-visible { animation: none; opacity: 1; }
  .hero__content > *, .page-hero > * { animation: none !important; opacity: 1; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
