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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    background: #000;
}

/* ── TOKENS ── */
:root {
    --blue: #0071e3;
    --blue-hover: #0077ed;
    --orange: #f5a623;
    --white: #ffffff;
    --off-white: #f5f5f7;
    --dark: #1d1d1f;
    --mid: #6e6e73;
    --blue-light: #60a5fa;
    --faint: #aeaeb2;
    --pad: 7rem 2rem;
    --font-tag: 0.68rem;
    --font-body: clamp(1rem, 1.8vw, 1.2rem);
    --font-h: clamp(2.8rem, 6vw, 5.5rem);
}

/* ── NAV ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2.5rem;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.4s, border-color 0.4s;
}

.nav.light {
    background: rgba(255, 255, 255, 0.82);
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

.nav-logo {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.4s;
}

.nav.light .nav-logo {
    color: var(--dark);
}

.nav-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    margin-right: 0.4rem;
    border-radius: 5px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.2s;
}

.nav.light .nav-links a {
    color: var(--mid);
}

.nav-links a:hover {
    color: var(--white);
}

.nav.light .nav-links a:hover {
    color: var(--dark);
}

.lang-select {
    position: relative;
}

.lang-btn {
    font-size: 0.74rem;
    font-weight: 500;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.38rem 0.9rem;
    border-radius: 980px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: background 0.2s;
}

.nav.light .lang-btn {
    border-color: rgba(0, 0, 0, 0.15);
    color: var(--dark);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav.light .lang-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.lang-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: rgba(30, 30, 32, 0.96);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    list-style: none;
    min-width: 130px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.lang-menu.open {
    display: block;
}

.lang-option {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.7rem 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
}

.lang-option.active {
    color: var(--blue);
    font-weight: 600;
}

/* ── SECTIONS ── */
.sec {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--pad);
    position: relative;
    overflow: hidden;
}

.sec--black {
    background: #000;
}

.sec--white {
    background: var(--white);
}

.sec--dark {
    background: var(--dark);
}

.sec-icon {
    display: block;
    height: 50px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    border-radius: 5px;
}

.sec-tag {
    font-size: var(--font-tag);
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    display: inline-block;
}

.sec--black .sec-tag,
.sec--dark .sec-tag {
    color: var(--mid);
}

.sec--white .sec-tag {
    color: var(--blue);
}

.sec-h {
    font-size: var(--font-h);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.045em;
    margin-bottom: 1.5rem;
}

.sec--black .sec-h,
.sec--dark .sec-h {
    color: var(--off-white);
}

.sec--white .sec-h {
    color: var(--dark);
}

.sec-h em {
    font-style: italic;
    font-weight: 400;
}

.sec--black .sec-h em {
    color: var(--blue-light);
}

.sec--white .sec-h em {
    color: var(--blue);
}

.sec--dark .sec-h em {
    color: var(--orange);
}

.sec-body {
    font-size: var(--font-body);
    line-height: 1.72;
    letter-spacing: -0.01em;
    max-width: 40ch;
    margin-bottom: 1.5rem;
}

.sec--black .sec-body,
.sec--dark .sec-body {
    color: var(--mid);
}

.sec--white .sec-body {
    color: var(--mid);
}

/* ── HERO ANIMATIONS ── */
.hero-eyebrow {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mid);
    margin-bottom: 1.2rem;
    opacity: 0;
    animation: up 0.9s 0.1s cubic-bezier(.16, 1, .3, 1) forwards;
}

.hero-h-anim {
    opacity: 0;
    animation: up 0.9s 0.22s cubic-bezier(.16, 1, .3, 1) forwards;
}

.hero-sub-anim {
    opacity: 0;
    animation: up 0.9s 0.34s cubic-bezier(.16, 1, .3, 1) forwards;
}

.hero-act-anim {
    opacity: 0;
    animation: up 0.9s 0.46s cubic-bezier(.16, 1, .3, 1) forwards;
}

@keyframes up {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* ── REVEAL ── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s cubic-bezier(.16, 1, .3, 1), transform 0.8s cubic-bezier(.16, 1, .3, 1);
}

.reveal.on {
    opacity: 1;
    transform: none;
}

.d1 {
    transition-delay: 0.1s;
}

.d2 {
    transition-delay: 0.2s;
}

.d3 {
    transition-delay: 0.3s;
}

/* ── STORE BADGES ── */
.store-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.store-row {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
}

.sbadge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.4rem;
    border-radius: 980px;
    text-decoration: none;
    width: 200px;
    transition: transform 0.2s, opacity 0.2s;
}

.sbadge:hover {
    transform: scale(1.03);
    opacity: 0.9;
}

.sbadge--dark {
    background: var(--dark);
}

.sbadge--orange {
    background: var(--orange);
}

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

.sbadge-text small {
    font-size: 0.55rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.7);
}

.sbadge-text strong {
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: #fff;
}

/* ── CAROUSEL ── */
.carousel {
    width: 100%;
    max-width: 340px;
    margin: 0.3rem auto 2rem;
    position: relative;
}

.carousel-track-wrap {
    overflow: hidden;
    cursor: grab;
}

.carousel-track-wrap:active {
    cursor: grabbing;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(.16, 1, .3, 1);
}

.carousel-slide {
    min-width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.4rem;
}

.carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s;
}

.sec--white .carousel-dot {
    background: #d1d1d6;
}

.sec--dark .carousel-dot,
.sec--black .carousel-dot {
    background: #3d3d3f;
}

.carousel-dot.active {
    width: 18px;
    border-radius: 3px;
}

.sec--white .carousel-dot.active {
    background: var(--dark);
}

.sec--dark .carousel-dot.active,
.sec--black .carousel-dot.active {
    background: var(--off-white);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 0.22s cubic-bezier(.34, 1.56, .64, 1);
}

.carousel-btn.prev {
    left: -22px;
}

.carousel-btn.next {
    right: -22px;
}

.carousel-btn svg {
    width: 18px;
    height: 18px;
    display: block;
    transition: transform 0.2s cubic-bezier(.34, 1.56, .64, 1);
}

.carousel-btn:hover {
    transform: translateY(-50%) scale(1.12);
}

.carousel-btn.prev:hover svg {
    transform: translateX(-2px);
}

.carousel-btn.next:hover svg {
    transform: translateX(2px);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.sec--white .carousel-btn {
    background: rgba(255, 255, 255, 0.88);
    color: var(--dark);
    border: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.sec--dark .carousel-btn,
.sec--black .carousel-btn {
    background: rgba(44, 44, 46, 0.88);
    color: var(--off-white);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

/* ── iPHONE 16 PRO — Outer: 248×520px | Screen: 228×500px ── */
.iphone {
    position: relative;
    width: 248px;
    height: 520px;
}

.iphone-body {
    position: absolute;
    inset: 0;
    border-radius: 48px;
    pointer-events: none;
    background: linear-gradient(148deg, #3D3D3E 0%, #2B2B2C 16%, #1F1F20 36%, #262627 54%, #303031 72%, #393939 88%, #3D3D3E 100%);
    box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.18), inset 0 0 0 2px rgba(0, 0, 0, 0.5);
}

.iphone-ring {
    position: absolute;
    inset: 9px;
    border-radius: 41px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
    pointer-events: none;
    z-index: 12;
}

.iphone-screen {
    position: absolute;
    inset: 10px;
    border-radius: 40px;
    background: #000;
    overflow: hidden;
}

.iphone-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
    z-index: 1;
}

.iphone-di {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 23px;
    background: #000;
    border-radius: 12px;
    z-index: 20;
    pointer-events: none;
}

.iphone-di::after {
    content: '';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: radial-gradient(circle at 38% 35%, #172433 0%, #0c1820 100%);
}

.iphone-btn {
    position: absolute;
    pointer-events: none;
    background: linear-gradient(to bottom, #363637, #272728);
}

.iphone-action {
    left: -3px;
    top: 102px;
    width: 3px;
    height: 34px;
    border-radius: 2px 0 0 2px;
}

.iphone-volup {
    left: -3px;
    top: 156px;
    width: 3px;
    height: 52px;
    border-radius: 2px 0 0 2px;
}

.iphone-voldn {
    left: -3px;
    top: 218px;
    width: 3px;
    height: 52px;
    border-radius: 2px 0 0 2px;
}

.iphone-power {
    right: -3px;
    top: 156px;
    width: 3px;
    height: 64px;
    border-radius: 0 2px 2px 0;
}

.iphone-camctrl {
    right: -3px;
    top: 350px;
    width: 3px;
    height: 52px;
    border-radius: 0 2px 2px 0;
}

/* ── PILLS (Admin) ── */
.pills {
    list-style: none;
    display: flex;
    flex-direction: column;
    max-width: 480px;
    width: 100%;
    margin-bottom: 2.5rem;
    text-align: left;
}

.pill {
    font-size: 0.92rem;
    color: var(--off-white);
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pill:last-child {
    border-bottom: none;
}

.pill::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange);
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(245, 166, 35, 0.6);
}

/* ── BUTTON ── */
.btn {
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    padding: 0.88rem 2.2rem;
    border-radius: 980px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    letter-spacing: -0.01em;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn--blue {
    background: var(--blue);
    color: var(--white);
}

.btn--blue:hover {
    background: var(--blue-hover);
    transform: scale(1.02);
    box-shadow: 0 6px 22px rgba(0, 113, 227, 0.35);
}

/* ── SPONSOR NOTE ── */
.sponsor-note {
    font-size: 0.85rem;
    color: var(--mid);
    line-height: 1.65;
    margin-bottom: 2rem;
}

/* ── CTA BOXES ── */
.cta-group {
    display: flex;
    flex-direction: column;
    gap: 1px;
    width: 100%;
    max-width: 520px;
    background: rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 18px;
    overflow: hidden;
}

.cta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.8rem;
    background: var(--white);
}

.cta-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
    border-radius: 5px;
}

/* ── CONTACT ── */
.contact-group {
    display: flex;
    flex-direction: column;
    gap: 1px;
    width: 100%;
    max-width: 480px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    overflow: hidden;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 1.4rem 1.8rem;
    background: rgba(255, 255, 255, 0.04);
}

.cta-label,
.contact-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--mid);
}

.contact-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--off-white);
    letter-spacing: -0.02em;
    user-select: text;
}

.contact-action {
    display: inline-block;
    margin-top: 0.6rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--orange);
    text-decoration: none;
    transition: opacity 0.2s;
}

.contact-action:hover {
    opacity: 0.75;
}

/* ── FOOTER ── */
footer {
    background: var(--off-white);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
}

.footer-inner {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--dark);
}

.footer-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
    border-radius: 5px;
}

.footer-icon2 {
    height: 36px;
    object-fit: contain;
    display: block;
}

.footer-links {
    display: inline-block;
    gap: 1.5rem;
    list-style: none;
}

.footer-links a {
    font-size: 0.75rem;
    color: var(--mid);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--dark);
}

.footer-copy {
    font-size: 0.73rem;
    color: var(--faint);
}

/* ── RESPONSIVE ── */
@media (max-width: 760px) {
    .footer-inner {
        display: inline-block;
    }

    .footer-links {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .nav-links {
        display: none;
    }

    .nav {
        padding: 0 1.2rem;
    }

    :root {
        --pad: 5.5rem 1.5rem;
    }
}

/* ── CONTRIBUTORS ── */
.contributors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  width: 100%;
  max-width: 900px;
  margin-top: 2.5rem;
}

.contributor-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.contributor-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #e5e5e5;
}

.contributor-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
}

.contributor-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111;
}

.contributor-role {
  font-size: .875rem;
  color: #666;
  line-height: 1.4;
}

.contributor-links {
  display: flex;
  gap: .65rem;
  margin-top: .4rem;
}

.contributor-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f0f0f0;
  color: #333;
  transition: background .2s, color .2s;
}

.contributor-link:hover {
  background: #111;
  color: #fff;
}

.contributor-link svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 600px) {
  .contributors-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contributor-avatar {
    width: 90px;
    height: 90px;
  }

  .contributor-name {
    font-size: .95rem;
  }
}