:root {
    --primary: #6c63ff;
    --primary-dark: #4c46c2;
    --accent: #00d4ff;
    --bg-deep: #050b1f;
    --bg-card: #0f1733;
    --text-light: #f5f7ff;
    --text-muted: #9aa8c7;
    --border-color: rgba(255, 255, 255, 0.1);
    --success: #2ecc71;
    --warning: #f1c40f;
    --danger: #ff6b6b;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-deep);
    color: var(--text-light);
    line-height: 1.6;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

.container {
    width: min(1200px, calc(100% - 2rem));
    margin: 0 auto;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 600px) {
    .container {
        width: 100%;
        padding-left: 6px;
        padding-right: 6px;
    }
}

.site-header {
    background: rgba(5, 11, 31, 0.95);
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
}

.header-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    align-items: center;
    gap: 1.5rem;
    padding: 1.2rem 0;
}

.nav-block {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    position: relative;
}

.brand-block {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
}

.brand-tagline {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.primary-nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.primary-nav li a {
    color: var(--text-light);
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    transition: background 0.2s;
}

.primary-nav li.active a,
.primary-nav li a:hover {
    background: rgba(255, 255, 255, 0.08);
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-light);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.menu-toggle:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
}

.menu-toggle-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle-bar {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-active .menu-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active .menu-toggle-bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active .menu-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.language-switcher {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.language {
    font-size: 0.85rem;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    border: 1px solid transparent;
    color: var(--text-muted);
    text-transform: uppercase;
}

.language.active {
    color: var(--text-light);
    border-color: var(--accent);
}

.footer-language-switcher {
    justify-content: flex-start;
    margin-left: auto;
}

.site-main {
    padding: 2rem 0 3rem;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.35);
}

.breadcrumb-item a {
    color: var(--accent);
}

.breadcrumb-item.active {
    color: var(--text-light);
    font-weight: 600;
}

.hero {
    margin-bottom: 3rem;
}

.call-progress-wrapper {
    margin-bottom: 3rem;
}

.call-progress-wrapper .hero-progress {
    max-width: 1100px;
    margin: 0 auto;
}

.hero-text {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.hero-text h1 {
    margin-top: 0;
    font-size: clamp(2rem, 4vw, 2.7rem);
}

.hero-tagline {
    margin: 0 0 1rem;
    font-size: 1.4rem;
    color: var(--accent);
}

.hero-lead {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 2rem;
}

.call-form label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.call-form,
.call-status {
    width: 100%;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.form-row {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 0.7rem;
}

.call-input {
    flex: 1;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: rgba(5, 11, 31, 0.5);
    color: var(--text-light);
    font-size: 1rem;
}

.btn-primary,
.btn-secondary {
    border: none;
    cursor: pointer;
    border-radius: 12px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    padding: 0.85rem 1.5rem;
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.4);
}

.btn-primary:disabled,
.btn-primary.is-blocked {
    background: linear-gradient(135deg, #545a7a, #3d425d);
    color: rgba(255, 255, 255, 0.7);
    cursor: not-allowed;
    box-shadow: none;
    opacity: 1;
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 0.75rem 1.25rem;
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-2px);
}

.remember {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.8rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.call-status {
    display: flex;
    align-items: center;
    gap: 1rem;
    /* margin-top: 1.5rem; */
    padding: 1rem 1.25rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
}

.status-icon {
    width: min(42px, 12vw);
    height: min(42px, 12vw);
    flex: 0 0 auto;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: 3px solid var(--primary);
    animation: pulse 1s infinite;
}

.call-status.state-ringing .status-icon {
    border-color: var(--accent);
}

.call-status.state-dialing .status-icon {
    border-color: var(--warning);
}

.call-status.state-ended .status-icon {
    border-color: var(--success);
    animation: none;
}

.call-status.state-error .status-icon {
    border-color: var(--danger);
    animation: shake 0.4s linear infinite;
}

.call-status.state-country .status-icon {
    border-color: var(--accent);
    animation: pulse 1.6s infinite;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-meta span {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
}

.hero-progress .progress-header {
    margin-bottom: 1.5rem;
}

.hero-progress .progress-subtitle {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin: 0 0 0.3rem;
    font-size: 0.9rem;
}

.call-progress-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    align-items: center;
}

.call-progress-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.progress-number-block {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border-color);
}

.progress-label {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.progress-number {
    margin: 0.35rem 0 0;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-light);
}

.progress-country {
    display: none;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

.progress-country.is-visible {
    display: block;
}

.progress-country-value {
    margin: 0.35rem 0 0;
    font-size: 1rem;
    color: var(--text-light);
}

.stop-call-btn {
    align-self: flex-start;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #ff6b6b, #ff4d6d);
    border: 1px solid rgba(255, 107, 107, 0.4);
    color: #fff;
    box-shadow: 0 10px 25px rgba(255, 77, 109, 0.35);
}

.stop-call-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 35px rgba(255, 77, 109, 0.45);
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.phone-wave {
    width: 280px;
    height: 280px;
    border-radius: 24px;
    background: linear-gradient(160deg, rgba(108, 99, 255, 0.6), rgba(0, 212, 255, 0.3));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.phone-icon {
    font-size: 4rem;
}

.wave {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: ripple 4s infinite;
}

.wave-one {
    width: 120px;
    height: 120px;
    animation-delay: 0s;
}

.wave-two {
    width: 170px;
    height: 170px;
    animation-delay: 0.6s;
}

.wave-three {
    width: 220px;
    height: 220px;
    animation-delay: 1.2s;
}

.content-section {
    margin-bottom: 3rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.info-grid article {
    background: var(--bg-card);
    padding: 1.8rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.policy-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.seo-copy {
    background: rgba(255, 255, 255, 0.02);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.note-block {
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 1.5rem;
    color: var(--text-light);
}

.faq-cta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.faq-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lost-phone-guide {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.lost-phone-card {
    background: var(--bg-card);
    border-radius: 18px;
    border: 1px solid var(--border-color);
    padding: 1.75rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.lost-phone-card h2 {
    margin-top: 0;
}

.lost-phone-card ul,
.lost-phone-card ol {
    padding-left: 1.25rem;
}

.lost-phone-faq {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lost-phone-faq .question-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
}

.lost-phone-faq .question-card h3 {
    margin-top: 0;
    margin-bottom: 0.6rem;
}

.lost-phone-faq .answer p {
    margin: 0;
    color: var(--text-muted);
}

.page-intro {
    text-align: left;
    margin-bottom: 2rem;
}

.page-intro h1 {
    margin-bottom: 0.5rem;
}

.faq-list .faq-item {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    align-items: start;
}

.contact-copy {
    background: rgba(255, 255, 255, 0.02);
    padding: 1.5rem;
    border-radius: 18px;
    border: 1px solid var(--border-color);
}

.contact-form-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 18px;
    border: 1px solid var(--border-color);
}

.contact-meta {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-meta li {
    margin-bottom: 0.35rem;
}

.policy-section {
    background: rgba(255, 255, 255, 0.02);
    padding: 1.8rem;
    border-radius: 18px;
    border: 1px solid var(--border-color);
}

.policy-table {
    border: 1px solid var(--border-color);
    border-radius: 18px;
    overflow: hidden;
}

.policy-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.policy-row div {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.policy-header {
    background: rgba(255, 255, 255, 0.05);
    font-weight: 600;
}

.policy-row:last-child div {
    border-bottom: none;
}

.site-footer {
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    background: rgba(0, 0, 0, 0.4);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-note {
    margin: 0.3rem 0 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.text-link {
    color: var(--accent);
}

.w-100 {
    width: 100%;
}

.captcha-row {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.alert {
    border-radius: 12px;
}

@keyframes ripple {
    0% {
        transform: scale(0.8);
        opacity: 0.9;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(0.95);
    }
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(4px);
    }
}

@media (max-width: 768px) {
    .brand-block{
        margin-left: 10px;
    }
    .header-inner {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        text-align: left;
        gap: 0.75rem;
    }

    .nav-block {
        justify-content: flex-start;
        flex-direction: column;
        align-items: flex-end;
        gap: 0.5rem;
    }

    .primary-nav {
        position: absolute;
        top: calc(100% + 0.65rem);
        right: 0;
        width: min(280px, calc(100vw - 1.5rem));
        border: 1px solid var(--border-color);
        border-radius: 20px;
        background: rgba(5, 11, 31, 0.98);
        padding: 1rem;
        box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
        display: none;
        z-index: 15;
    }

    .primary-nav.is-open {
        display: block;
        animation: fadeIn 0.2s ease;
    }

    .primary-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }

    .primary-nav li a {
        display: block;
        width: 100%;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .primary-nav ul {
        justify-content: flex-start;
    }

    .language-switcher {
        justify-content: center;
    }

    .form-row {
        flex-direction: column;
    }

    .btn-primary {
        width: 100%;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
