/* Partners-specific styles */
    .page-hero { padding-top: 7rem; padding-bottom: 2rem; text-align: center; }
    .section-title { font-size: clamp(2.2rem, 4.5vw, 3.2rem); font-weight: 800; margin-bottom: .5rem; }
    .section-subtitle { font-size: 1.05rem; color: #9ca3af; max-width: 900px; margin: 0 auto; }

    /* Partners grid */
    .partners-wrap { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem 3rem; }
    .partners-header { text-align: center; margin: 2rem auto 2rem; max-width: 900px; padding: 0 1rem; }
    .partners-header h2 { font-size: 2rem; font-weight: 800; margin-bottom: .5rem; }
    .partners-header p { color: #9ca3af; }
    .partners-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
    .partner-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 16px; box-shadow: 0 8px 32px rgba(0,0,0,.35), inset 0 0 16px rgba(255, 107, 107, 0.06); backdrop-filter: blur(10px); transition: all .25s ease; display:flex; flex-direction:column; align-items:center; text-align:center; height: 100%; }
    .partner-card:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,.45), inset 0 0 20px rgba(255, 107, 107, 0.1); border-color: rgba(255, 255, 255, 0.18); }
    .image-circle { width: 96px; height: 96px; border-radius: 50%; overflow:hidden; display:flex; align-items:center; justify-content:center; background:#fff; border: 1px solid rgba(255,255,255,0.18); box-shadow: 0 2px 8px rgba(0,0,0,.2); margin-bottom: 12px; }
    .image-circle img { max-width: 74%; max-height: 74%; object-fit: contain; }
    .card-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
    .partner-card p { color: #d1d5db; font-size: .92rem; line-height: 1.45; margin-bottom: 14px; flex-grow: 1; }
    .promo { width: 100%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: 10px; padding: 8px 10px; margin-bottom: 10px; }
    .promo p { margin-bottom: 6px; color: #9ca3af; font-size: .9rem; }
    .discount-badge { display:inline-flex; align-items:center; gap:6px; background: linear-gradient(135deg, rgba(255,107,107,0.25), rgba(238,90,36,0.18)); color:#fff; font-weight:700; padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.18); box-shadow: 0 4px 12px rgba(255, 107, 107, 0.2); font-size: .85rem; }
    .partners-link { display:inline-block; background: linear-gradient(135deg, rgba(255,107,107,0.14), rgba(238,90,36,0.34)); color:#fff; padding: 10px 14px; border-radius: 10px; text-decoration:none; font-weight:700; border: 1px solid rgba(255,255,255,0.28); transition: all .2s ease; margin-top: auto; }
    .partners-link:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(255,107,107,0.28); }
    .contact { padding: 6rem 2rem; }
    .contact-container { max-width: 900px; margin: 0 auto; text-align: center; }
    .contact-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 1.5rem; backdrop-filter: blur(12px); }
    .contact-cta { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center; margin-bottom: 1rem; }
    .contact-info-list { display: grid; gap: .4rem; justify-items: center; color: #e5e7eb; }
    .contact-info-list .muted { color:#9ca3af; text-align:center; }
    .contact-info-list a { color: #fff; text-decoration: none; }
    .contact-info-list a:hover { text-decoration: underline; }
    .btn-telegram { background: linear-gradient(135deg, #37aee2, #1e96c8); color: #fff; padding: 1rem 1.25rem; border-radius: 12px; text-decoration: none; display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; letter-spacing: .2px; border: 1px solid rgba(255,255,255,.15); transition: transform .2s ease, box-shadow .2s ease; }
    .btn-telegram:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(30,150,200,.45); }
    .btn-discord { background: linear-gradient(135deg, #5865F2, #404EED); color: #fff; padding: 1rem 1.25rem; border-radius: 12px; text-decoration: none; display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; letter-spacing: .2px; border: 1px solid rgba(255,255,255,.15); transition: transform .2s ease, box-shadow .2s ease; }
    .btn-discord:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(88,101,242,.45); }
    .btn-linkedin { background: linear-gradient(135deg, #0a66c2, #004182); color: #fff; padding: 1rem 1.25rem; border-radius: 12px; text-decoration: none; display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; letter-spacing: .2px; border: 1px solid rgba(255,255,255,.15); transition: transform .2s ease, box-shadow .2s ease; }
    .btn-linkedin:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(10,102,194,.38); color: #fff; text-decoration: none; }
    .btn-icon { display:inline-flex; width:20px; height:20px; align-items:center; justify-content:center; }
    .btn-icon svg { width:100%; height:100%; display:block; }

    /* Mobile nav (consistent with index/pricing) */
    @media (max-width: 1024px) {
      .nav { position: relative; }
      .nav-toggle { display: inline-block; }
      .nav-links {
        display: none; position: absolute; top: 100%; right: 0;
        width: 280px; max-width: calc(100vw - 2rem); flex-direction: column; gap: .25rem;
        background: rgba(23,25,32,.96);
        border: 1px solid rgba(255,255,255,.12); border-radius: 12px; 
        padding: .5rem; z-index: 3001; 
      }
      .nav-links.open { display: flex; }
      .nav-links > li > a { width: 100%; }
      .only-mobile { display: block; }
    }
/* Theme switcher */
.theme-toggle {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 3200;
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    min-height: 48px;
    padding: .75rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(15, 18, 27, .88);
    color: #fff;
    font-family: inherit;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 14px 36px rgba(0, 0, 0, .34);
    backdrop-filter: blur(18px);
    transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.theme-toggle:hover {
    transform: translateY(-2px);
}

.theme-toggle:focus-visible {
    outline: 3px solid rgba(255, 107, 107, .35);
    outline-offset: 3px;
}

.theme-toggle-icon {
    width: 26px;
    height: 26px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    color: #0b0c10;
    background: linear-gradient(135deg, #feca57, #ff9f2d);
    box-shadow: 0 6px 16px rgba(255, 159, 45, .28);
}

.theme-toggle-text {
    white-space: nowrap;
}

@media (max-width: 640px) {
    .theme-toggle {
        right: .85rem;
        bottom: .85rem;
        min-height: 44px;
        padding: .65rem .8rem;
        font-size: .92rem;
    }

    .theme-toggle-icon {
        width: 24px;
        height: 24px;
    }
}

/* Shared theme motion and mobile navigation */
html[data-theme] body,
html[data-theme] .header,
html[data-theme] .footer,
html[data-theme] .nav-links,
html[data-theme] .dropdown-menu,
html[data-theme] .theme-toggle,
html[data-theme] .theme-toggle-icon,
html[data-theme] .partner-card,
html[data-theme] .contact-card {
    transition: background-color .28s ease, background .28s ease, color .28s ease, border-color .28s ease, box-shadow .28s ease, opacity .28s ease;
}

html.theme-view-transition::view-transition-old(root),
html.theme-view-transition::view-transition-new(root) {
    animation: none;
    mix-blend-mode: normal;
}

html.theme-view-transition::view-transition-new(root) {
    animation: themeCornerWipe 1.15s cubic-bezier(.2, .75, .18, 1) both;
}

@keyframes themeCornerWipe {
    0% { clip-path: circle(0 at calc(100% - 48px) calc(100% - 42px)); }
    100% { clip-path: circle(150vmax at calc(100% - 48px) calc(100% - 42px)); }
}

@media (prefers-reduced-motion: reduce) {
    html.theme-view-transition::view-transition-new(root) { animation: none; }
    html[data-theme] body,
    html[data-theme] .header,
    html[data-theme] .footer,
    html[data-theme] .nav-links,
    html[data-theme] .dropdown-menu,
    html[data-theme] .theme-toggle,
    html[data-theme] .theme-toggle-icon,
    html[data-theme] .partner-card,
    html[data-theme] .contact-card { transition: none; }
}

@media (max-width: 1024px) {
    .nav { min-height: 68px; }
    .nav-toggle { width: 44px; height: 44px; padding: 0; display: inline-grid; place-items: center; }
    .nav-toggle .bar { width: 22px; margin: 3px 0; }
    .nav-links {
        right: 1rem;
        top: calc(100% + .6rem);
        width: min(320px, calc(100vw - 2rem));
        padding: .65rem;
        gap: .35rem;
        border-radius: 16px;
        box-shadow: 0 24px 60px rgba(15, 23, 42, .18);
    }
    .nav-links > li,
    .nav-links > li > a { width: 100%; }
    .nav-links a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 44px;
        padding: .7rem .85rem;
        border-radius: 11px;
    }
    .nav-links .only-mobile .cta-button { justify-content: center; margin-top: .25rem; }
    .nav-links .dropdown.open > .dropdown-menu {
        display: flex !important;
        flex-direction: column !important;
        position: static !important;
        width: 100% !important;
        margin: .35rem 0 0 !important;
        padding: .35rem !important;
        box-shadow: none !important;
    }
}
