/* Стили из index.html */

.field-error {
    color: #dc3545;
    font-size: 0.92rem;
    margin-top: 6px;
    display: none;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    background: #f8f9fa;
    color: #212529;
}
header {
    background: linear-gradient(to right, #0057b7, #003f88);
    color: #fff;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
}
.lang-switcher-block {
    position:absolute;
    top:32px;
    right:32px;
    z-index:10;
}
.lang-switcher {
    padding:6px 12px;
    border-radius:8px;
    border:1px solid #e0e0e0;
    font-size:16px;
}
.hero-logo-img {
    width:140px;
    animation:fadeIn 2s ease;
}
.hero-content {
    max-width: 700px;
    margin: auto;
    z-index: 2;
    position: relative;
}
.hero-content .button {
    position: relative;
    z-index: 5 !important;
}
h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}
.subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}
.button {
    background: #ffcc00;
    color: #000;
    padding: 1rem 2rem;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.button:hover {
    transform: scale(1.05);
}
section {
    padding: 2rem 2rem;
    max-width: 1000px;
    margin: auto;
}
.adv-block {
    display: flex;
    max-width: 1100px;
    min-height: 340px;
    margin: auto;
    background: #fff;
    border-radius: 24px;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 24px rgba(30, 50, 80, 0.05);
}
.adv-block-reverse {
    flex-direction: row-reverse;
}
.adv-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.adv-text.left {
    align-items: flex-start;
    padding-left: 3rem;
    padding-right: 1.5rem;
}
.adv-text.right {
    align-items: flex-end;
    padding-right: 3rem;
    padding-left: 1.5rem;
    text-align: right;
}
.adv-title {
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #212529;
}
.adv-desc {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.5;
}
.adv-img-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.adv-img-container img {
    max-width: 220px;
    max-height: 220px;
    width: auto;
    height: auto;
}
@media (max-width: 700px) {
    .adv-block {
        flex-direction: column !important;
        min-height: auto;
        text-align: center;
        padding: 2rem 1rem;
    }
    .adv-text {
        align-items: center !important;
        text-align: center !important;
        padding: 0 0 1.5rem 0 !important;
    }
    .adv-img-container {
        padding: 0;
    }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes logoFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to   { opacity: 1; transform: scale(1); }
}
.how-steps {
    padding: 2rem 2rem 2rem;
    max-width: 1100px;
    margin: auto;
    text-align: center;
}
.how-steps h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}
.steps-list {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}
.step-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 2rem 1.5rem 1.5rem;
    flex: 1 1 220px;
    max-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 200px;
    margin-bottom: 1.5rem;
    transition: box-shadow .2s;
}
.step-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.step-icon img {
    width: 44px;
    height: 44px;
    margin-bottom: 1rem;
    filter: grayscale(0.1) brightness(1.1);
}
.step-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: .5rem;
}
.step-card p {
    font-size: .98rem;
    color: #444;
    margin: 0;
}
@media (max-width: 800px) {
    .steps-list {
        flex-direction: column;
        align-items: center;
    }
}
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(24px) scale(0.97);
    }
    60% {
        opacity: 1;
        transform: translateY(-4px) scale(1.03);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.step-card {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
    transition: opacity 0.5s, transform 0.5s;
}
.how-steps.visible .step-card {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.how-steps.visible .step-card:nth-child(1) { transition-delay: 0.1s; }
.how-steps.visible .step-card:nth-child(2) { transition-delay: 0.4s; }
.how-steps.visible .step-card:nth-child(3) { transition-delay: 0.7s; }
.how-steps.visible .step-card:nth-child(4) { transition-delay: 1s; }
.how-steps.visible .step-card:nth-child(5) { transition-delay: 1.3s; }
@media (prefers-reduced-motion: reduce) {
    .step-card,
    .how-steps.visible .step-card,
    .hero-content img {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
    html:focus-within {
        scroll-behavior: auto;
    }
    .orbit.slow, .orbit.medium, .orbit.fast {
        animation: none !important;
    }
}
.security {
    padding: 1rem 2rem 1rem;
    max-width: 1100px;
    margin: 0 auto 1rem;
    text-align: center;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(30, 50, 80, 0.06);
}
.security h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}
.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin: 1rem auto 1.25rem;
    max-width: 1000px;
}
.security-item {
    background: #f8f9fa;
    border-radius: 14px;
    padding: 1.25rem 1rem 1rem;
}
.security-item h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: .75rem 0 .4rem;
    color: #212529;
}
.security-item p {
    font-size: .98rem;
    color: #54616f;
    margin: 0;
    line-height: 1.5;
}
.security-note {
    color: #6c757d;
    font-size: .95rem;
    margin-top: .75rem;
}
.security a { color: #0057b7; text-decoration: none; }
.security a:hover { text-decoration: underline; }
.golden-button-text {
    background: linear-gradient(135deg, #FFD700, #B8860B);
    color: #000;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 10px 0;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.2);
    position: relative;
    z-index: 5 !important;
}
.orbit-ring { fill:none; stroke:rgba(255,255,255,0.25); stroke-width:1.2; }
.orbit { transform-origin: 200px 200px; }
.orbit.slow   { animation: orbitCW 38s linear infinite; }
.orbit.medium { animation: orbitCCW 26s linear infinite; }
.orbit.fast   { animation: orbitCW 18s linear infinite; }
@keyframes orbitCW  { to { transform: rotate(360deg); } }
@keyframes orbitCCW { to { transform: rotate(-360deg); } }
.plate {
    opacity: 0.5;
}
.plate rect.lang-plate {
    fill: #fff;
    stroke: #0057b7;
    stroke-width: 1.2;
    rx: 9;
    ry: 9;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .18));
    opacity: 0.5;
}
.plate text {
    font: 700 10.5px 'Inter', system-ui, sans-serif;
    fill: #0057b7;
    dominant-baseline: middle;
    text-anchor: middle;
}
@keyframes nodePulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.06);
    }
    100% {
        transform: scale(1);
    }
}
#yt-studio-slot {
    position: absolute;
    pointer-events: none;
    right: 24px;
    bottom: 16px;
    width: 220px;
    height: 55px;
    border-radius: 12px;
    border: 1.5px dashed rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 12px;
    gap: 6px;
    z-index: 0;
}
#yt-studio-slot .cap {
    font-weight: 700;
    font-size: .92rem;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: .95;
}
#yt-studio-slot .cap::before {
    content: "";
    width: 16px;
    height: 12px;
    background: #ff0000;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    display: inline-block;
}
#yt-studio-slot .hint {
    font-size: .8rem;
    opacity: .85;
}
#yt-studio-slot.pulse {
    animation: slotPulse .8s ease;
}
@keyframes slotPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    100% {
        box-shadow: 0 0 0 12px rgba(255, 255, 255, 0);
    }
}
.cc-badge {
    position: absolute;
    padding: 4px 8px;
    border-radius: 10px;
    background: #ffffff;
    color: #0057b7;
    font: 700 11px 'Inter', system-ui, sans-serif;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    transform: translate3d(0, 0, 0) scale(.9);
    opacity: 0;
    transition: transform 900ms cubic-bezier(.22, .61, .36, 1), opacity 350ms ease;
    will-change: transform, opacity;
    z-index: 1 !important;
    pointer-events: none;
}
.cc-badge::before {
    content: "CC";
    margin-right: 6px;
    color: #ff0000;
}
.cc-badge.show {
    opacity: 0.5;
    transform: translate3d(0, 0, 0) scale(1);
}
:root {
  --orbit-r1: 180; /* outer radius */
  --orbit-r2: 120; /* middle radius */
  --orbit-r3: 65;  /* inner radius */
  --orbit-size: 800px; /* container box for the SVG orbits around the logo */
}
.hero-logo-wrap { position: relative; display: inline-block; }
.hero-logo-wrap img { position: relative; z-index: 1; }
.hero-logo-wrap .language-orbits {
    position: absolute;
    left: 50%;
    top: 50%;
    width: var(--orbit-size, 600px); height: var(--orbit-size, 600px);
    transform: translate(-50%, -50%);
    z-index: 0 !important;
    pointer-events: none;
    opacity: 0.5;
}
.language-orbits svg {
    width: 100%;
    height: 100%;
    display: block;
}
@media (max-width: 1024px) {
    :root {
        --orbit-size: 110vw;
        --orbit-r1: 180;     /* outer */
        --orbit-r2: 130;     /* middle */
        --orbit-r3: 80;     /* inner */
    }
  header {
      overflow: hidden;
      padding: 3.5rem 1rem 3rem;
  }
.hero-content {
    max-width: 100%;
    width: 100%;
}
#yt-studio-slot {
    display: none !important;
}
  /* slightly smaller CC badges */
    .cc-badge {
        font-size: 10.5px;
        padding: 3px 7px;
    }
}
@media (max-width: 480px) {
    .cc-badge {
        font-size: 10px;
        padding: 3px 6px;
    }
    .hero-logo-wrap .language-orbits .orbit .plate:nth-child(odd) {
        display: none;
    }
    header {
      padding: 3rem 1.2rem 3rem;
  }
}
@media (max-width: 360px) {
    :root {
      --orbit-size: 130vw;
      --orbit-r1: 180;     /* outer */
      --orbit-r2: 130;     /* middle */
      --orbit-r3: 80;     /* inner */
    }
    #yt-studio-slot {
        height: 58px;
    }
    .cc-badge {
        font-size: 9px;
        padding: 3px 6px;
    }
}
.hero-content h1,
.hero-content .subtitle {
    position: relative;
    z-index: 5 !important;
    text-shadow: 0 2px 8px rgba(0, 20, 60, 0.5);
}
.main-footer {
    text-align: center;
    color: #888;
    font-size: 1rem;
    line-height: 1.6;
    padding: 2.5rem 2rem 1.4rem 2rem;
    background: #f8f9fa;
}
.footer-link {
    color:#888;
}
.center-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}
.consent-banner {
    position:fixed;
    left:0;right:0;
    bottom:0;
    z-index:9999;
    background:#111;
    color:#fff;
    padding:14px 16px;
    display:none;
    box-shadow:0 -4px 16px rgba(0,0,0,.2);
}
.consent-banner-inner {
    max-width:1100px;
    margin:0 auto;
    display:flex;
    gap:12px;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
}
.consent-banner-text {
    flex:1;
    min-width:240px;
    font-size:.95rem;
    line-height:1.4;
}
.consent-banner-buttons {
    display:flex;gap:8px;
}
.button-accept {
    padding:.7rem 1rem;
    min-width:110px;
}
.button-decline {
    background:#6c757d;
    color:#fff;
    padding:.7rem 1rem;
    min-width:110px;
}
.faq-section {
    max-width:1000px;
    margin:auto;
}
.faq-title {
    font-size:2rem;
    font-weight:700;
    margin-bottom:2rem;
    text-align:center;
}
.faq-accordion {
    max-width:700px; margin:0 auto;
}
.faq-item {
    margin-bottom:1.3rem;
}
.faq-question {
    display:block;
    width:100%;
    text-align:left;
    background:none;
    border:none;
    font-size:1.14rem;
    font-weight:600;
    padding:.7em 0;
    cursor:pointer;
    color:#212529;
    outline:none;
    transition:color .2s;
}
.faq-answer {
    display:none;
    color:#333;
    font-size:1.02rem;
    margin-top:.6em;
}
#signup-section {
    padding: 1rem 2rem 1rem;
    text-align:center;
    max-width:420px;
}
#signupForm {
    margin:0 auto;
}
.signup-input-email {
    padding:1rem;
    font-size:1.2rem;
    width:80%;
    max-width:320px;
    border-radius:8px;
    border:1px solid #ccc;
    margin-bottom:1.2rem;
}
#thanks {
    color: #28a745;
    margin-top: 1.2rem;
    font-size: 1.07rem;
    display: none;
}
.signup-note {
    color:#aaa;
    font-size:0.92rem;
    margin-top:1em;
}
.signup-label {
    font-size:0.97rem;
    display:inline-block;
    margin:0.8rem 0 0.4rem;
}
.signup-checkbox {
    vertical-align:middle;
    margin-right:7px;
}
.signup-btn {
    min-width:170px;
}
.button.cta-btn {
    display: none;
}
html[data-variant="A"] #cta-main-a {
    background: #28a745;
    color: #fff;
    display: inline-block;
}
html[data-variant="B"] #cta-main-b {
    background: linear-gradient(135deg, #FFD700, #B8860B);
    color: #fff;
    display: inline-block;
}
html[data-variant="C"] #cta-main-c {
    background: #ff6b35;
    color: #fff;
    display: inline-block;
}

.hero-support-link {
    margin-top: 12px;
}

.hero-support-link a {
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    line-height: 1;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .12s ease;
}

.hero-support-link a:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.55);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
    transform: translateY(-1px);
}

@media (max-width: 560px) {
    .hero-support-link a {
        padding: 10px 12px;
        font-size: 1rem;
    }
}

.faq-support-hint {
    margin: -6px auto 22px;
    max-width: 1100px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: .6rem;
    color: #6c757d;
}

.faq-support-hint .label {
    font-size: 0.95rem;
}

.faq-support-hint a {
    display: inline-block;
    padding: 6px 10px;
    font-size: 0.95rem;
    text-decoration: none;
    color: #0a58ca;
    background: rgba(13, 110, 253, 0.08);
    border: 1px solid rgba(13, 110, 253, 0.25);
    border-radius: 10px;
    transition: background .2s ease, border-color .2s ease, transform .12s ease, box-shadow .2s ease;
}

.faq-support-hint a:hover {
    background: rgba(13, 110, 253, 0.22);
    border-color: rgba(13, 110, 253, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(13, 110, 253, 0.25);
}

.signup-alt-contact {
    margin-top: 10px;
    font-size: 0.95rem;
    color: #6c757d;
    text-align: center;
}

.signup-alt-contact a {
    color: #0a58ca;
    text-decoration: underline;
}

.footer-tg-link {
    margin-left: 6px;
}

.site-footer {
    background: #0b2f6b;
    color: #cbd5e1;
    margin-top: 60px;
    padding: 56px 20px 25px 20px;
}

@media (max-width: 640px) {
    .site-footer {
        padding: 44px 16px 112px 16px;
    }
}

.site-footer a {
    color: #cbd5e1;
    text-decoration: none
}

.site-footer a:hover {
    color: #ffffff;
    text-decoration: underline
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns:1.7fr 1fr 1fr 1fr;
    gap: 32px;
    align-items: flex-start
}

@media (max-width: 900px) {
    .footer-inner {
        grid-template-columns:1fr 1fr;
        gap: 28px
    }
}

@media (max-width: 560px) {
    .footer-inner {
        grid-template-columns:1fr;
        gap: 22px
    }
}

.footer-brand {
    display: flex;
    gap: 14px;
    align-items: flex-start
}

.footer-brand img {
    width: 40px;
    height: 40px;
    border-radius: 12px
}

.footer-title {
    font-weight: 700;
    font-size: 1.25rem;
    color: #e2e8f0;
    margin: 0 0 6px
}

.footer-tagline {
    color: #94a3b8;
    margin: 6px 0 14px;
    line-height: 1.5
}

.footer-col h4 {
    margin: 0 0 10px;
    color: #e2e8f0;
    font-size: 1.05rem
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px
}

.footer-bottom {
    max-width: 1200px;
    margin: 26px auto 0 auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    color: #94a3b8;
    font-size: 0.96rem
}

.tg-icon-plain {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.tg-icon-plain svg {
    display: block;
    width: 22px;
    height: 22px;
    transition: transform .12s ease, filter .2s ease, opacity .2s ease;
}

.tg-icon-plain:hover svg {
    opacity: 1;
    transform: translateY(-1px) scale(1.06);
    filter: drop-shadow(0 0 6px rgba(34, 158, 217, 0.7));
}
