/* Landing page — P1 dark theme, motion, comparison, FAQ, mobile plan UX */

/* ── Design tokens (landing scope) ── */
body.landing-body.landing-theme-dark {
   --landing-bg: #181c26;
   --landing-surface: #242a38;
   --landing-surface-2: #2e3545;
   --landing-border: #3d4658;
   --landing-text: #f0f2f5;
   --landing-text-muted: #b4bac6;
   --landing-brand: #F7426F;
   --landing-brand-2: #F87A58;
   background-color: var(--landing-bg);
   color: var(--landing-text);
}

/* ── Preloader skip ── */
#preloader.is-hidden,
body.landing-preloader-skip #preloader {
   display: none !important;
}

@media (prefers-reduced-motion: reduce) {
   #preloader {
      display: none !important;
   }

   .landing-reveal {
      opacity: 1 !important;
      transform: none !important;
   }
}

/* ── Scroll reveal ── */
.landing-reveal {
   opacity: 0;
   transform: translateY(28px);
   transition: opacity 0.65s ease, transform 0.65s ease;
}

.landing-reveal.is-visible {
   opacity: 1;
   transform: translateY(0);
}

/* ── Dark section overrides ── */
body.landing-theme-dark .about__area,
body.landing-theme-dark .event__schedule-area,
body.landing-theme-dark .pricing__area,
body.landing-theme-dark .landing-compare,
body.landing-theme-dark .landing-faq {
   background-color: var(--landing-bg);
}

body.landing-theme-dark .join__area {
   background-color: var(--landing-surface) !important;
}

body.landing-theme-dark .section__title,
body.landing-theme-dark .section__subtitle,
body.landing-theme-dark .about__text h4,
body.landing-theme-dark .join__content p,
body.landing-theme-dark .price__short-details p {
   color: var(--landing-text);
}

body.landing-theme-dark .about__text p,
body.landing-theme-dark .landing-compare__lead,
body.landing-theme-dark .landing-faq__lead {
   color: var(--landing-text-muted);
}

body.landing-theme-dark .header__area.header-1.header__transparent {
   background: rgba(15, 17, 23, 0.85);
   backdrop-filter: blur(12px);
}

body.landing-body .header__logo .logo__white {
   display: block !important;
   opacity: 1;
   visibility: visible;
}

body.landing-body .header__logo .logo__dark {
   display: none !important;
}

body.landing-body .header__area.sticky .header__logo .logo__white {
   display: none !important;
}

body.landing-body .header__area.sticky .header__logo .logo__dark {
   display: block !important;
   opacity: 1;
   visibility: visible;
}

body.landing-body .header__logo img,
body.landing-body .landing-logo-link img {
   width: min(200px, 50vw);
   height: auto;
}

body.landing-body .header__area.sticky .header__logo img.logo__dark {
   width: min(180px, 45vw);
   height: auto;
}

body.landing-body .landing-logo-link {
   display: inline-block;
   line-height: 0;
}

body.landing-theme-dark .main-menu ul li a {
   color: var(--landing-text);
}

body.landing-theme-dark .join__features-item {
   background: var(--landing-surface-2);
   border: 1px solid var(--landing-border);
   border-radius: 14px;
}

body.landing-theme-dark .join__features-title {
   color: var(--landing-text);
}

/* ── Hero ── */
body.landing-theme-dark .banner__area-1 {
   mix-blend-mode: normal;
}

body.landing-body .banner__area-1 .spotlight {
   z-index: 1;
   pointer-events: none;
}

body.landing-body .banner__area-1 .banner__shape {
   position: relative;
   z-index: 2;
}

.banner__actions {
   display: flex;
   flex-wrap: wrap;
   align-items: center;
   gap: 1rem 1.5rem;
   margin-top: 0.5rem;
}

.banner__cta-secondary {
   color: #fff;
   font-weight: 600;
   text-decoration: underline;
   text-underline-offset: 4px;
   opacity: 0.92;
   transition: opacity 0.2s ease;
}

.banner__cta-secondary:hover {
   color: #fff;
   opacity: 1;
}

.banner__tagline {
   color: rgba(255, 255, 255, 0.88);
   font-size: 1.15rem;
   max-width: 36rem;
   margin-bottom: 1.5rem;
   line-height: 1.6;
}

.banner__trust-note {
   margin-top: 1.25rem;
   font-size: 0.95rem;
   color: rgba(255, 255, 255, 0.75);
}

/* ── About images ── */
.about__thumb-wrapper .w-img img,
.about__thumb-wrapper picture img {
   object-fit: contain !important;
   width: 100%;
   height: auto;
}

/* ── Feature browser ── */
.landing-feature-browser__layout {
   display: grid;
   grid-template-columns: 240px 1fr;
   gap: 2rem;
   align-items: start;
}

.landing-feature-browser__list {
   list-style: none;
   margin: 0;
   padding: 0;
   display: flex;
   flex-direction: column;
   gap: 0.35rem;
   position: sticky;
   top: 120px;
}

.landing-feature-browser__tab {
   width: 100%;
   text-align: left;
   border: 1px solid var(--landing-border, rgba(0, 0, 0, 0.08));
   background: var(--landing-surface-2, #fff);
   border-radius: 10px;
   padding: 0.75rem 1rem;
   font-weight: 600;
   color: var(--landing-text, #333);
   cursor: pointer;
   transition: border-color 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
}

.landing-feature-browser__tab:hover,
.landing-feature-browser__tab:focus-visible {
   border-color: var(--landing-brand, #F7426F);
   outline: none;
}

.landing-feature-browser__tab.is-active {
   background: linear-gradient(135deg, var(--landing-brand, #F7426F) 0%, var(--landing-brand-2, #F87A58) 100%);
   border-color: transparent;
   color: #fff;
   box-shadow: 0 8px 24px rgba(247, 66, 111, 0.25);
}

.landing-feature-browser__preview {
   position: relative;
   min-height: 320px;
}

.landing-feature-browser__panel {
   display: none;
}

.landing-feature-browser__panel.is-active {
   display: block;
   animation: landingFeatureFade 0.35s ease;
}

@keyframes landingFeatureFade {
   from { opacity: 0; transform: translateY(8px); }
   to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
   .landing-feature-browser__panel.is-active {
      animation: none;
   }
}

.landing-feature-browser__description {
   font-size: 1.05rem;
   color: var(--landing-text-muted, #555);
   margin-bottom: 1rem;
   max-width: 52rem;
}

.landing-feature-browser__image-wrap {
   background: #181c24;
   border-radius: 14px;
   padding: 0.75rem;
   box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
   overflow: hidden;
}

.landing-feature-browser__image,
.landing-feature-browser__image-wrap picture img {
   display: block;
   width: 100%;
   height: auto;
   border-radius: 8px;
   object-fit: contain;
}

/* ── Plan feature tabs (mobile-friendly) ── */
.landing-plan-tabs .nav-tabs {
   border-bottom-color: var(--landing-border, #dee2e6);
   gap: 0.5rem;
}

.landing-plan-tabs .nav-link {
   color: var(--landing-text-muted, #666);
   border: 1px solid var(--landing-border, #dee2e6);
   border-radius: 999px !important;
   padding: 0.5rem 1.25rem;
   font-weight: 600;
}

.landing-plan-tabs .nav-link.active {
   background: linear-gradient(135deg, var(--landing-brand), var(--landing-brand-2));
   border-color: transparent;
   color: #fff;
}

#landing-plan-tabContent > .tab-pane {
   display: none;
}

#landing-plan-tabContent > .tab-pane.active {
   display: block;
   opacity: 1;
}

.landing-plan-panel {
   background: var(--landing-surface-2, #2e3545);
   border: 1px solid var(--landing-border, #3d4658);
   border-radius: 16px;
   padding: 1.5rem;
   margin-top: 1.5rem;
}

.landing-plan-panel__header {
   display: flex;
   align-items: center;
   gap: 1rem;
   margin-bottom: 1rem;
}

.landing-plan-panel__title {
   margin: 0;
   font-size: 1.35rem;
   color: var(--landing-text, #111);
}

.landing-plan-panel__subtitle {
   margin: 0.15rem 0 0;
   color: var(--landing-brand, #F7426F);
   font-weight: 600;
}

.landing-plan-panel__description {
   color: var(--landing-text-muted, #555);
   margin-bottom: 1.5rem;
}

.landing-plan-categories {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 1rem;
}

.landing-plan-category {
   background: var(--landing-surface, #242a38);
   border: 1px solid var(--landing-border, #3d4658);
   border-radius: 12px;
   padding: 0;
   overflow: hidden;
}

.landing-plan-category__summary {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 0.75rem;
   padding: 0.85rem 1rem;
   font-weight: 700;
   color: var(--landing-text, #222);
   cursor: pointer;
   list-style: none;
}

.landing-plan-category__summary::-webkit-details-marker {
   display: none;
}

.landing-plan-category__chevron {
   transition: transform 0.2s ease;
   color: var(--landing-text-muted, #888);
   font-size: 0.85rem;
}

.landing-plan-category[open] .landing-plan-category__chevron {
   transform: rotate(180deg);
}

.landing-plan-category__list {
   margin: 0;
   padding: 0 1rem 1rem 1.75rem;
   color: var(--landing-text-muted, #555);
   font-size: 0.92rem;
}

.landing-plan-category__list li + li {
   margin-top: 0.35rem;
}

@media (min-width: 992px) {
   .landing-plan-category {
      padding-bottom: 0.25rem;
   }

   .landing-plan-category__summary {
      cursor: default;
      pointer-events: none;
   }

   .landing-plan-category__chevron {
      display: none;
   }

   .landing-plan-category:not([open]) .landing-plan-category__list {
      display: block;
   }
}

@media (max-width: 991px) {
   .landing-plan-categories {
      grid-template-columns: 1fr;
   }
}

/* ── Comparison table ── */
.landing-compare__table-wrap {
   overflow-x: auto;
   border-radius: 16px;
   border: 1px solid var(--landing-border, #3d4658);
   background: var(--landing-surface-2, #2e3545);
}

.landing-compare__table {
   width: 100%;
   min-width: 640px;
   border-collapse: collapse;
}

.landing-compare__table th,
.landing-compare__table td {
   padding: 1rem 1.25rem;
   border-bottom: 1px solid var(--landing-border, #eee);
   text-align: center;
   color: var(--landing-text, #333);
}

.landing-compare__table thead th {
   background: var(--landing-surface, #242a38);
   font-weight: 700;
}

.landing-compare__table tbody th {
   text-align: left;
   font-weight: 600;
}

.landing-compare__table tbody tr:last-child th,
.landing-compare__table tbody tr:last-child td {
   border-bottom: none;
}

.landing-compare__col--highlight {
   background: rgba(247, 66, 111, 0.14);
}

.landing-compare__price {
   display: block;
   font-size: 0.8rem;
   font-weight: 500;
   color: var(--landing-text-muted, #666);
   margin-top: 0.15rem;
}

/* ── FAQ ── */
.landing-faq__contact {
   display: inline-flex;
   align-items: center;
   gap: 0.5rem;
   color: var(--landing-brand, #F7426F);
   font-weight: 600;
   text-decoration: none;
   margin-bottom: 0.75rem;
}

.landing-faq__contact--secondary {
   display: flex;
   color: var(--landing-text-muted, #666);
   font-weight: 500;
}

.landing-faq__item {
   background: var(--landing-surface-2, #2e3545);
   border: 1px solid var(--landing-border, #3d4658) !important;
   border-radius: 12px !important;
   overflow: hidden;
   margin-bottom: 0.75rem;
}

.landing-faq__item .accordion-button {
   background: transparent;
   color: var(--landing-text, #222);
   font-weight: 600;
   box-shadow: none;
}

.landing-faq__item .accordion-button:not(.collapsed) {
   background: rgba(247, 66, 111, 0.08);
   color: var(--landing-text, #222);
}

.landing-faq__answer {
   color: var(--landing-text-muted, #555);
}

/* ── Trust bar ── */
.landing-trust-bar {
   background: linear-gradient(90deg, rgba(247, 66, 111, 0.15), rgba(248, 122, 88, 0.12));
   border-top: 1px solid var(--landing-border, rgba(255, 255, 255, 0.08));
   border-bottom: 1px solid var(--landing-border, rgba(255, 255, 255, 0.08));
   padding: 1rem 0;
}

.landing-trust-bar__list {
   list-style: none;
   margin: 0;
   padding: 0;
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   gap: 0.75rem 2rem;
   font-size: 0.95rem;
   color: var(--landing-text, #e8eaed);
}

.landing-trust-bar__list li {
   display: inline-flex;
   align-items: center;
   gap: 0.45rem;
}

.landing-trust-bar__list a {
   color: inherit;
   text-decoration: underline;
   text-underline-offset: 3px;
}

.landing-trust-bar__list i {
   color: var(--landing-brand, #F7426F);
}

/* ── Pricing cards ── */
.pricing__area .row.landing-pricing-cards {
   align-items: stretch;
}

.pricing__area .row.landing-pricing-cards > [class*="col-"] {
   display: flex;
   flex-direction: column;
}

.pricing__item {
   position: relative;
   display: flex;
   flex-direction: column;
   flex: 1 1 auto;
   width: 100%;
   height: 100%;
   min-height: 100%;
   background: var(--landing-surface, inherit);
   border-color: var(--landing-border, inherit);
}

.pricing__item-content {
   flex: 1 1 auto;
   overflow-y: visible;
}

.pricing__btn-wrap {
   margin-top: auto;
   flex-shrink: 0;
}

.pricing__item--recommended {
   border: 2px solid var(--landing-brand, #F7426F) !important;
   box-shadow: 0 12px 40px rgba(247, 66, 111, 0.2);
}

.pricing__recommended-badge {
   position: absolute;
   top: -12px;
   left: 50%;
   transform: translateX(-50%);
   background: linear-gradient(135deg, var(--landing-brand), var(--landing-brand-2));
   color: #fff;
   font-size: 0.75rem;
   font-weight: 700;
   letter-spacing: 0.05em;
   text-transform: uppercase;
   padding: 0.35rem 0.9rem;
   border-radius: 999px;
   z-index: 3;
   white-space: nowrap;
}

/* ── Screenshot mode ── */
body.screenshot-mode #preloader,
body.screenshot-mode .progress-wrap,
body.screenshot-mode .pwa-install-banner,
body.screenshot-mode .feedback-widget,
body.screenshot-mode .toast-container {
   display: none !important;
}

body.screenshot-mode .page__full-wrapper {
   padding-left: 0 !important;
}

/* ── Responsive ── */
@media (max-width: 991px) {
   .landing-feature-browser__layout {
      grid-template-columns: 1fr;
   }

   .landing-feature-browser__list {
      flex-direction: row;
      flex-wrap: nowrap;
      overflow-x: auto;
      position: static;
      padding-bottom: 0.5rem;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: thin;
   }

   .landing-feature-browser__tab {
      flex: 0 0 auto;
      white-space: nowrap;
   }

   .landing-trust-bar__list {
      flex-direction: column;
      align-items: center;
      gap: 0.65rem;
   }
}

/* ── P2: Dark footer ── */
.landing-footer {
   background: var(--landing-surface, #242a38);
   border-top: 1px solid var(--landing-border, #3d4658);
   padding: 4rem 0 2rem;
   margin-top: 0;
}

.landing-footer__brand {
   margin-bottom: 1rem;
}

.landing-footer__logo {
   display: inline-block;
   line-height: 0;
}

.landing-footer__logo img {
   width: min(200px, 70vw);
   height: auto;
}

.landing-footer__text {
   color: var(--landing-text-muted, #9aa0a6);
   max-width: 22rem;
   line-height: 1.6;
}

.landing-footer__title {
   font-size: 0.85rem;
   text-transform: uppercase;
   letter-spacing: 0.06em;
   color: var(--landing-text-muted, #9aa0a6);
   margin-bottom: 1rem;
}

.landing-footer__links {
   list-style: none;
   margin: 0;
   padding: 0;
}

.landing-footer__links li + li {
   margin-top: 0.5rem;
}

.landing-footer__links a {
   color: var(--landing-text, #e8eaed);
   text-decoration: none;
   opacity: 0.88;
   transition: opacity 0.2s, color 0.2s;
}

.landing-footer__links a:hover {
   opacity: 1;
   color: var(--landing-brand, #F7426F);
}

.landing-footer__bottom {
   margin-top: 3rem;
   padding-top: 1.5rem;
   border-top: 1px solid var(--landing-border, #2a2f3a);
   text-align: center;
   color: var(--landing-text-muted, #9aa0a6);
   font-size: 0.9rem;
}

/* ── P2: Hide Expovent decorative clutter in dark theme ── */
body.landing-theme-dark .about__shape-1,
body.landing-theme-dark .join__shape-1,
body.landing-theme-dark .join__shape-2,
body.landing-theme-dark .banner__shape img,
body.landing-theme-dark .banner__meta-title {
   display: none !important;
}

body.landing-theme-dark .about__thumb-2::after {
   display: none;
}

body.landing-theme-dark .about__thumb-wrapper .panel {
   background: var(--landing-bg, #0f1117);
}

body.landing-theme-dark .section__back-title {
   opacity: 0.06;
   color: var(--landing-text, #fff);
}

body.landing-theme-dark .pricing__item-title,
body.landing-theme-dark .pricing__item-content ul li {
   color: var(--landing-text, #f0f2f5);
}

body.landing-theme-dark .pricing__item {
   background: var(--landing-surface-2, #2e3545);
   border: 1px solid var(--landing-border, #3d4658);
}

/* Pricing CTAs — gradient default, not near-black on dark cards */
body.landing-body .pricing__item .pricing__btn {
   background: linear-gradient(135deg, var(--landing-brand), var(--landing-brand-2)) !important;
   border: 1px solid transparent;
   color: #fff !important;
}

body.landing-body .pricing__item .pricing__btn::before,
body.landing-body .pricing__item .pricing__btn::after {
   opacity: 0 !important;
   visibility: hidden !important;
}

body.landing-body .pricing__item:hover .pricing__btn,
body.landing-body .pricing__item .pricing__btn:hover {
   background: #fff !important;
   color: var(--landing-brand) !important;
   border-color: #fff;
}

body.landing-body .pricing__item--recommended .pricing__btn {
   box-shadow: 0 4px 20px rgba(247, 66, 111, 0.35);
}

body.landing-theme-dark .progress-wrap svg path {
   stroke: var(--landing-brand, #F7426F);
}

/* ── P2: Funnel pages (success, error, payment, billing) ── */
.landing-funnel .landing-funnel-main,
.landing-funnel-main {
   min-height: 60vh;
}

.landing-header--funnel .header__navigation {
   padding: 0.25rem 0;
}

.landing-funnel-login {
   padding: 0.55rem 1.25rem !important;
   font-size: 0.9rem !important;
}

.landing-funnel-panel__card {
   background: var(--landing-surface, #1a1f2b);
   border: 1px solid var(--landing-border, #2a2f3a);
   border-radius: 16px;
   padding: 2.5rem 2rem;
}

.landing-funnel-panel__icon {
   font-size: 3rem;
   color: var(--landing-brand, #F7426F);
   margin-bottom: 1rem;
}

.landing-funnel-panel__message {
   color: var(--landing-brand-2, #F87A58);
   font-size: 1.05rem;
   margin: 1rem 0;
}

.landing-funnel-panel__lead {
   color: var(--landing-text-muted, #9aa0a6);
   margin: 1.5rem 0 1rem;
}

.landing-funnel-panel__list {
   list-style: none;
   padding: 0;
   margin: 0 auto 2rem;
   max-width: 28rem;
   text-align: left;
}

.landing-funnel-panel__list li {
   color: var(--landing-text-muted, #9aa0a6);
   padding: 0.4rem 0 0.4rem 1.5rem;
   position: relative;
}

.landing-funnel-panel__list li::before {
   content: '';
   position: absolute;
   left: 0;
   top: 0.85rem;
   width: 6px;
   height: 6px;
   border-radius: 50%;
   background: var(--landing-brand, #F7426F);
}

.landing-funnel-panel__actions {
   display: flex;
   flex-wrap: wrap;
   gap: 1rem;
   justify-content: center;
   align-items: center;
}

body.landing-funnel .success__area,
body.landing-funnel .success__btn {
   color: var(--landing-text, #e8eaed);
}
