/* ========== RESET & BASE ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #fafafa;   /* alb-gri */
  color: #222;           /* text aproape negru */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Container reutilizabil */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ========== HEADER ========== */
.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: #222;
}
.logo img { height: 32px; }

/* Desktop nav */
.main-nav ul {
  display: flex;
  gap: 1.5rem;
}
.main-nav a {
  font-weight: 500;
  transition: color 0.3s ease;
}
.main-nav a:hover { color: #FFD600; } /* galben accent */

/* Burger button */
.burger {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #222;
}

/* ========== HERO ========== */
.hero {
  text-align: center;
  padding: 6rem 1rem;
  background: #fff;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
.cta {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 0.6rem auto;
  padding: 1rem;
  text-align: center;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  background: #FFD600;
  color: #222;
  transition: 0.2s ease;
}
.cta:hover { background: #FBC02D; } /* galben mai închis */

.cta.secondary {
  background: transparent;
  border: 1px solid #ddd;
}

.cta.secondary:hover {
  border-color: #222;
}

.sub-hero {
  padding: 4rem 1rem;
  background: #fafafa;
  border-bottom: 1px solid #eee;
}
.sub-hero h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.sub-hero p {
  font-size: 1.1rem;
  color: #555;
}
.content {
  padding: 3rem 0;
}
.content h2 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: #222;
}
.content p {
  margin-bottom: 1rem;
  max-width: 800px;
}

.plan-info {
  max-width: 800px;
  margin: 2rem auto 3rem;
  text-align: center;
  color: #555;
  line-height: 1.7;
}

.plan-info p {
  margin-bottom: 1rem;
}

/* ========== FOOTER ========== */
.site-footer {
  background: #111; /* negru */
  color: #fff;
  padding: 1.5rem 0;
  margin-top: auto;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-content a {
  color: #fff;
  margin: 0 0.5rem;
}
.footer-content a:hover { text-decoration: underline; }
.socials img {
  width: 24px;
  height: 24px;
  margin-left: 1rem;
  filter: invert(1);
}

/* ========== MOBILE NAV ========== */
@media(max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 250px;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    gap: 1.5rem;
    transition: transform 0.3s ease;
    transform: translateX(100%);
    box-shadow: -2px 0 8px rgba(0,0,0,0.2);
    z-index: 1001;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .main-nav.active {
    transform: translateX(0);
    right: 0;
  }

  .burger { display: block; }

  /* Overlay întunecat când e deschis meniul */
  .nav-overlay {
    display: none;
    position: fixed;
    top:0; left:0; right:0; bottom:0;
    background: rgba(0,0,0,0.5);
    z-index: 900;
  }
  .nav-overlay.active { display: block; }
}

.content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: #FBC02D; /* galben secundar */
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
  margin-bottom: 3rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-socials {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: bold;
  font-size: 1.2rem;
  color: #222;
  transition: color 0.3s ease;
}

.social-link img {
  width: 28px;
  height: 28px;
}

.social-link:hover {
  color: #FFD600; /* galben accent */
}

form h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #FFD600; /* accent galben Tribro */
}

form label {
  font-weight: bold;
  margin-top: 1rem;
}

form input,
form select,
form textarea {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  width: 100%;
  font-size: 1rem;
}

.form-consent {
  margin: 1.5rem 0;
  font-size: 0.95rem;
  color: #444;
}

.form-consent input {
  margin-right: 0.5rem;
}

.form-consent a {
  color: #FFD600;
  font-weight: bold;
}

/* ========== PRODUCTS LISTING ========== */
.products-toolbar{
  display:flex;
  gap:1rem;
  flex-wrap:wrap;
  align-items:center;
  margin-bottom:1.5rem;
}

.products-search{
  flex: 1;
  min-width: 240px;
  padding: 0.75rem;
  border:1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  background:#fff;
}

.products-select{
  padding: 0.75rem;
  border:1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  background:#fff;
}

.products-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media(max-width: 900px){
  .products-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media(max-width: 600px){
  .products-grid{ grid-template-columns: 1fr; }
}

.product-card{
  background:#fff;
  border:1px solid #eee;
  border-radius: 12px;
  overflow:hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.product-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.product-thumb{
  width:100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display:block;
  background:#fafafa;
}

.product-body{
  padding: 1rem;
}

.product-title{
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color:#222;
}

.product-meta{
  font-size: 0.95rem;
  color:#555;
  margin-bottom: 0.75rem;
}

.product-actions{
  display:flex;
  gap:0.75rem;
  flex-wrap:wrap;
}

.btn-secondary{
  display:inline-block;
  background:#fff;
  border:1px solid #ddd;
  color:#222;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  cursor:pointer;
}

.btn-secondary:hover{
  border-color:#FFD600;
}

.btn-disabled{
  opacity:0.55;
  cursor:not-allowed;
}

.products-pagination{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:1rem;
  margin-top: 2rem;
}

.page-info{ color:#555; }

.yt-embed{
  position:relative;
  width:100%;
  max-width: 420px;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  overflow:hidden;
  border:1px solid #eee;
  background:#000;
}
.yt-embed iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}

.tribro-animation {
  width: 100%;
  max-width: 1800px;
  margin: 24px auto 0;
  overflow: hidden;
}

.tribro-animation video {
  width: 100%;
  height: auto;
  display: block;
}

/* ========== EVENTS (CALENDAR) ========== */
.events-toolbar{
  display:flex;
  gap:1rem;
  flex-wrap:wrap;
  align-items:center;
  margin-bottom:1.5rem;
}

.view-toggle{
  display:flex;
  gap:0.5rem;
}

.events-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media(max-width: 900px){
  .events-grid{ grid-template-columns: 1fr; }
}

.event-card{
  background:#fff;
  border:1px solid #eee;
  border-radius: 12px;
  overflow:hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.event-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.event-body{ padding: 1rem; }

.event-top{
  display:flex;
  justify-content:space-between;
  gap:1rem;
  flex-wrap:wrap;
  align-items:baseline;
}

.event-title{
  font-size: 1.05rem;
  font-weight: 800;
  color:#222;
}

.event-date{
  color:#555;
  font-size: 0.95rem;
}

.event-meta{
  margin-top: 0.4rem;
  color:#555;
  font-size: 0.95rem;
}

.event-tags{
  display:flex;
  gap:0.5rem;
  flex-wrap:wrap;
  margin-top: 0.75rem;
}

.pill{
  font-size: 0.85rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid #ddd;
  background: #fff;
  color: #222;
}

.pill-muted{
  opacity:0.7;
}

.event-actions{
  display:flex;
  gap:0.75rem;
  flex-wrap:wrap;
  margin-top: 0.9rem;
}

/* Calendar view */
.calendar-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  margin-bottom: 1rem;
}

.calendar-title{
  font-weight: 900;
  font-size: 1.1rem;
  color:#222;
}

.calendar-grid{
  display:grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.cal-dow{
  font-weight: 800;
  color:#555;
  padding: 8px;
  text-align:center;
}

.cal-cell{
  background:#fff;
  border:1px solid #eee;
  border-radius: 12px;
  padding: 10px;
  min-height: 110px;
}

.cal-out{
  opacity: 0.55;
  background: #fafafa;
}

.cal-day{
  font-weight: 800;
  color:#222;
  margin-bottom: 6px;
}

.cal-events{
  display:flex;
  flex-direction:column;
  gap: 6px;
}

.cal-ev{
  font-size: 0.85rem;
  padding: 6px 8px;
  border-radius: 8px;
  border:1px solid #ddd;
  background:#fff;
  transition: border-color 0.15s ease;
}

.cal-ev:hover{
  border-color:#FFD600;
}

.cal-more{
  font-size: 0.85rem;
  color:#555;
  padding-left: 2px;
}

.event-media{
  display:block;
  background:#fff;
  border-bottom: 1px solid #eee;
}

.event-thumb{
  width:100%;
  height:auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position:center;
  display:block;
  background:#fff;
}

.cta-invite {
  font-weight: 700;
  color: #222;
  margin-top: 0.5rem;
}

.cta-invite a {
  color: #FFD600;
  text-decoration: underline;
}

.cta-invite a:hover {
  color: #FBC02D;
}

.event-pricing{
  margin-top: 0.6rem;
  color:#222;
  font-weight: 700;
}

.event-eb{
  margin-top: 0.35rem;
  color:#555;
  font-size: 0.95rem;
}

.event-verified{
  margin-top: 0.25rem;
  color:#777;
  font-size: 0.85rem;
}

.product-thumb-wrap{
  display:block;
  position:relative;
}

.product-badge{
  position:absolute;
  top:0.75rem;
  left:0.75rem;
  z-index:2;
  background:#111;
  color:#FFD600;
  font-size:0.78rem;
  font-weight:700;
  padding:0.35rem 0.6rem;
  border-radius:999px;
}

.product-stock{
  margin-top:0.65rem;
  margin-bottom:0.75rem;
  font-size:0.92rem;
  font-weight:700;
  color:#666;
}

.merch-summary{
  margin-bottom: 2rem;
}

.order-summary-box{
  display:flex;
  gap:1rem;
  align-items:flex-start;
  padding:1rem;
  border:1px solid #eee;
  border-radius:16px;
  background:#fff;
}

.order-summary-image{
  width:120px;
  min-width:120px;
  height:120px;
  object-fit:cover;
  object-position:center;
  border-radius:12px;
  border:1px solid #eee;
  display:block;
  background:#fff;
}

@media (max-width: 700px){
  .order-summary-box{
    flex-direction:column;
  }

  .order-summary-image{
    width:100%;
    min-width:0;
    max-width:220px;
    height:auto;
    aspect-ratio:1 / 1;
    object-fit:cover;
  }
}

.merch-card .product-thumb-wrap{
  display:block;
  background:#f7f7f7;
  border-bottom:1px solid #eee;
  border-top-left-radius:16px;
  border-top-right-radius:16px;
  overflow:hidden;
}

.merch-card .product-thumb{
  width:100%;
  height:400px;
  object-fit:contain;
  object-position:center;
  display:block;
  background:#f7f7f7;
}

.resources-hero {
  padding: 5.5rem 0 3.5rem;
  background: #fafafa;
  border-bottom: 1px solid #ececec;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.resources-hero-inner {
  max-width: 980px;
  margin: 0 auto;
}

.resources-hero h1 {
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: #222;
}

.resources-hero-text {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.75;
  color: #555;
}

.resources-divider {
  margin: 2rem auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.resources-divider .line {
  width: 64px;
  height: 3px;
  background: #ffd600;
  border-radius: 999px;
}

.divider-logo {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.divider-logo img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  opacity: 0.9;
}

.resources-icons {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  font-size: 2rem;
  max-width: 980px;
  margin: 1rem auto 0;
  opacity: 0.9;
}

.resources-page {
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
}

.resources-info-box {
  max-width: 1060px;
  margin: 0 auto 2rem;
  background: #fff9e9;
  border: 1px solid #f1df9a;
  border-radius: 20px;
  padding: 1.35rem 1.5rem;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1rem;
  align-items: start;
}

.resources-info-box p {
  margin: 0;
  color: #4f4f4f;
  font-size: 1.05rem;
  line-height: 1.7;
}

.info-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #f0c400;
  color: #d6aa00;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.3rem;
  background: #fffdf6;
}

.resources-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1060px;
  margin: 0 auto;
}

/* layout card mare */
.resource-card.large {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2rem;
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid #ececec;
  background: #fff;
  align-items: center;
}

/* cover */
.resource-cover img {
  width: 100%;
  border-radius: 16px;
  display: block;
}

/* content */
.resource-content h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.resource-content p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* badge */
.resource-badge {
  display: inline-block;
  background: #fff4c2;
  color: #222;
  font-weight: 700;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
}

/* bullet list */
.resource-benefits {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.resource-benefits li {
  margin-bottom: 0.4rem;
  color: #444;
  position: relative;
  padding-left: 1.4rem;
}

.resource-benefits li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #FFD600;
  font-weight: bold;
}

/* CTA */
.resource-content .cta {
  margin-top: 0.5rem;
  display: inline-block;
}

/* responsive */
@media (max-width: 768px) {
  .resource-card.large {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .resource-content .cta {
    width: 100%;
  }
}

.club-favorite {
  border: 2px solid #FFD600;
  box-shadow: 0 12px 30px rgba(255, 214, 0, 0.18);
}

.club-favorite-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #fff3b0;
  color: #222;
  font-weight: 800;
  font-size: 0.85rem;
}

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

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}


/* =========================
   TRIBRO APP
========================= */

.tribro-app-section {
  padding: 90px 20px;
  background: #111;
  color: #fff;
  text-align: center;
}

.app-content {
  max-width: 850px;
  margin: 0 auto;
}

.app-eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: #FFD600;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.tribro-app-section h2 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.05;
}

.app-description {
  max-width: 620px;
  margin: 0 auto 32px;
  color: #ccc;
  font-size: 1.2rem;
  line-height: 1.6;
}

.app-features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 auto 38px;
}

.app-feature {
  padding: 10px 16px;
  border: 1px solid #333;
  border-radius: 999px;
  background: #191919;
  color: #eee;
  font-size: 0.95rem;
}


/* Store badges */

.store-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.store-badges a,
.footer-store-badges a {
  display: block;
  line-height: 0;
}

.store-badges img {
  display: block;
  width: auto;
  height: 150px;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.store-badges a:hover img {
  transform: translateY(-2px);
  opacity: 0.9;
}

.app-free {
  margin: 18px 0 14px;
  color: #999;
  font-size: 0.9rem;
}

.app-more-link {
  color: #FFD600;
  font-weight: 700;
  text-decoration: none;
}

.app-more-link:hover {
  text-decoration: underline;
}


/* =========================
   COMMUNITY
========================= */

.tribro-community-section {
  padding: 80px 20px;
  text-align: center;
}

.tribro-community-section .container {
  max-width: 800px;
}

.tribro-community-section h2 {
  margin-bottom: 24px;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.tribro-community-section p {
  margin: 0 auto 16px;
  color: #555;
  font-size: 1.1rem;
  line-height: 1.7;
}

.community-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}


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

.footer-app {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-app-copy strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.1rem;
}

.footer-app-copy p {
  margin: 0;
  opacity: 0.7;
}

.footer-store-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.footer-store-badges img {
  display: block;
  width: auto;
  height: 100px;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.footer-store-badges a:hover img {
  transform: translateY(-2px);
  opacity: 0.9;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .cta {
    width: 100%;
    box-sizing: border-box;
  }

  .tribro-app-section {
    padding: 65px 20px;
  }

  .app-features {
    flex-direction: column;
    align-items: stretch;
  }

  .app-feature {
    border-radius: 12px;
  }

  .store-badges {
    gap: 10px;
  }

  .store-badges img {
    height: 46px;
  }

  .footer-app {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-store-badges {
    flex-wrap: wrap;
  }

  .footer-store-badges img {
    height: 38px;
  }

}

/* =====================================================
   TRIBRO APP PAGE
===================================================== */

.app-page {
  overflow: hidden;
}


/* HERO */

.app-page-hero {
  position: relative;
  padding: 110px 20px 100px;
  background:
    radial-gradient(
      circle at 75% 45%,
      rgba(255, 214, 0, 0.15),
      transparent 32%
    ),
    #111;
  color: #fff;
}

.app-page-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 80px;
  max-width: 1180px;
  margin: 0 auto;
}

.app-page-hero-copy h1 {
  max-width: 750px;
  margin: 0 0 28px;
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.app-page-lead {
  max-width: 650px;
  margin: 0 0 16px;
  font-size: 1.35rem;
  line-height: 1.55;
  color: #fff;
}

.app-page-subtext {
  max-width: 620px;
  margin: 0 0 34px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #aaa;
}

.app-page-store-badges {
  justify-content: flex-start;
}

.app-page-store-badges img {
  height: 120px;
}

.app-page-free {
  margin-top: 14px;
  color: #777;
  font-size: 0.9rem;
}


/* PHONE */

.app-page-phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-page-phone-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255, 214, 0, 0.18);
  filter: blur(90px);
}

.app-phone-frame {
  position: relative;
  width: min(330px, 80vw);
  padding: 10px;
  border: 1px solid #333;
  border-radius: 42px;
  background: #050505;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.03);
  transform: rotate(3deg);
}

.app-phone-frame img {
  display: block;
  width: 100%;
  border-radius: 33px;
}


/* SECTION HEADINGS */

.app-tools-section {
  padding: 100px 20px 35px;
}

.app-section-heading {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.app-section-kicker {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #b39400;
}

.app-section-heading h2 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}


/* FEATURE SECTIONS */

.app-feature-showcase {
  padding: 100px 20px;
  background: #fafafa;
}

.app-feature-showcase-dark {
  background: #111;
  color: #fff;
}

.app-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 90px;
  max-width: 1080px;
  margin: 0 auto;
}

.app-feature-grid-reverse .app-feature-image {
  order: 2;
}

.app-feature-grid-reverse .app-feature-copy {
  order: 1;
}

.app-feature-image {
  display: flex;
  justify-content: center;
}

.app-screenshot-card {
  width: min(310px, 75vw);
  padding: 9px;
  border-radius: 40px;
  background: #111;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
}

.app-screenshot-card img {
  display: block;
  width: 100%;
  border-radius: 32px;
}

.app-feature-copy {
  max-width: 520px;
}

.feature-number {
  display: block;
  margin-bottom: 15px;
  color: #b39400;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.app-feature-copy h2 {
  margin: 0 0 26px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.app-feature-copy p {
  margin: 0 0 17px;
  font-size: 1.1rem;
  line-height: 1.75;
  color: #555;
}

.app-feature-showcase-dark .app-feature-copy p {
  color: #aaa;
}

.feature-highlight {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 17px;
  border-radius: 12px;
  background: rgba(255, 214, 0, 0.13);
  color: #8b7300;
  font-weight: 700;
}

.app-feature-showcase-dark .feature-highlight {
  color: #FFD600;
}


/* SCREENSHOTS */

.app-screenshots-section {
  padding: 110px 20px;
  background: #f2f2f2;
}

.app-screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 22px;
  max-width: 1100px;
  margin: 70px auto 0;
}

.gallery-phone {
  padding: 7px;
  border-radius: 30px;
  background: #111;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.14);
}

.gallery-phone:nth-child(2),
.gallery-phone:nth-child(4) {
  transform: translateY(30px);
}

.gallery-phone img {
  display: block;
  width: 100%;
  border-radius: 24px;
}


/* FUTURE */

.app-future-section {
  padding: 120px 20px;
  background: #111;
  color: #fff;
}

.app-future-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.app-future-content h2 {
  margin: 0 0 24px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
}

.app-future-content > p {
  max-width: 670px;
  margin: 0 auto 45px;
  font-size: 1.15rem;
  line-height: 1.7;
  color: #aaa;
}

.app-future-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.app-future-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 20px;
  border: 1px solid #292929;
  border-radius: 14px;
  background: #181818;
  text-align: left;
  color: #ddd;
}

.app-future-item span {
  color: #FFD600;
  font-size: 1.4rem;
  font-weight: 700;
}


/* FINAL CTA */

.app-final-cta {
  padding: 120px 20px;
  text-align: center;
  background: #FFD600;
}

.app-final-cta .app-section-kicker {
  color: #6c5b00;
}

.app-final-cta h2 {
  max-width: 850px;
  margin: 0 auto 20px;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: #111;
}

.app-final-cta p {
  margin-bottom: 35px;
  font-size: 1.15rem;
  color: #514500;
}

.app-final-badges img {
  height: 200px;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 900px) {

  .app-page-hero {
    padding: 80px 20px 70px;
  }

  .app-page-hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .app-page-hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .app-page-store-badges {
    justify-content: center;
  }

  .app-feature-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .app-feature-grid-reverse .app-feature-image,
  .app-feature-grid-reverse .app-feature-copy {
    order: initial;
  }

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

  .app-screenshot-gallery {
    grid-template-columns: repeat(2, 1fr);
    max-width: 600px;
  }

  .gallery-phone:nth-child(2),
  .gallery-phone:nth-child(4) {
    transform: none;
  }

}


@media (max-width: 600px) {

  .app-page-hero-copy h1 {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .app-page-lead {
    font-size: 1.15rem;
  }

  .app-page-store-badges {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .app-page-store-badges img,
  .app-final-badges img {
    height: 45px;
  }

  .app-phone-frame {
    width: min(275px, 78vw);
  }

  .app-tools-section {
    padding-top: 75px;
  }

  .app-feature-showcase {
    padding: 75px 20px;
  }

  .app-screenshots-section {
    padding: 80px 18px;
  }

  .app-screenshot-gallery {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    margin-top: 50px;
    padding: 10px 5px 25px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .gallery-phone {
    flex: 0 0 210px;
    scroll-snap-align: center;
  }

  .app-future-section {
    padding: 85px 20px;
  }

  .app-future-items {
    grid-template-columns: 1fr;
  }

  .app-final-cta {
    padding: 90px 20px;
  }

}

body.menu-open {
  overflow: hidden;
}

.main-nav a.active {
  color: #b39400;
  font-weight: 700;
}

/* =========================================
   Tribro cookie consent
   ========================================= */

.tribro-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 99999;

  max-width: 760px;
  margin: 0 auto;

  background: #111;
  color: #fff;

  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;

  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.28);
}

.tribro-consent-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;

  padding: 18px;
}

.tribro-consent-copy {
  flex: 1;
}

.tribro-consent-title {
  display: block;

  margin-bottom: 6px;

  font-size: 1rem;
  line-height: 1.3;
}

.tribro-consent-copy p {
  margin: 0 0 8px;

  font-size: 0.9rem;
  line-height: 1.5;

  color: rgba(255, 255, 255, 0.82);
}

.tribro-consent-status {
  font-size: 0.8rem !important;

  color: rgba(255, 255, 255, 0.6) !important;
}

.tribro-consent-more {
  display: inline-block;

  font-size: 0.82rem;

  color: rgba(255, 255, 255, 0.72);

  text-decoration: underline;
  text-underline-offset: 3px;
}

.tribro-consent-actions {
  display: flex;

  flex-shrink: 0;

  gap: 8px;
}

.tribro-consent-btn {
  min-width: 92px;

  padding: 10px 14px;

  border: 1px solid #fff;
  border-radius: 8px;

  background: #fff;
  color: #111;

  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;

  cursor: pointer;

  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
}

.tribro-consent-btn:hover {
  opacity: 0.86;
}

.tribro-consent-btn:active {
  transform: scale(0.98);
}

.tribro-consent-btn:focus-visible,
.cookie-settings-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}


/* Footer cookie settings */

.cookie-settings-link {
  appearance: none;

  padding: 0;

  border: 0;

  background: transparent;
  color: inherit;

  font: inherit;

  text-decoration: underline;
  text-underline-offset: 2px;

  cursor: pointer;
}


/* Mobile */

@media (max-width: 640px) {

  .tribro-consent {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .tribro-consent-inner {
    display: block;

    padding: 16px;
  }

  .tribro-consent-actions {
    width: 100%;

    margin-top: 14px;
  }

  .tribro-consent-btn {
    flex: 1;
  }
}