/* block-win.css */

/* Балансировка строк и запрет висячих слов/предлогов на любых разрешениях */
h1, h2, h3, .section-title, .section-subtitle, .cta-card h2 {
    text-wrap: balance;
}

p, summary, .details-content {
    text-wrap: pretty;
}

/* Custom Mockup for Notepad (hosts file) */
.notepad-mockup {
    width: 480px;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    overflow: hidden;
    font-family: 'Consolas', 'Courier New', monospace;
    border: 1px solid #ccc;
    color: #000;
}

.notepad-header {
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 15px;
    border-bottom: 1px solid #e5e5e5;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 12px;
}

.notepad-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.notepad-title img {
    width: 14px;
}

.notepad-controls {
    display: flex;
    gap: 10px;
}

.notepad-controls span {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid #ccc;
}

.notepad-controls .min { background: transparent; }
.notepad-controls .max { background: transparent; }
.notepad-controls .close { background: #e81123; border-color: #e81123; color: white; line-height: 12px; text-align: center; font-size: 10px; cursor: pointer; }

.notepad-menu {
    display: flex;
    gap: 15px;
    padding: 2px 15px;
    border-bottom: 1px solid #e5e5e5;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 12px;
    color: #333;
}

.notepad-menu span:hover { background: #e5e5e5; cursor: pointer; }

.notepad-content {
    padding: 15px;
    font-size: 13px;
    line-height: 1.5;
    height: 250px;
    overflow-y: auto;
}

.notepad-content .comment { color: #008000; }
.notepad-content .ip { color: #0000ff; }
.notepad-content .domain { color: #a31515; }

.notepad-highlight {
    background: rgba(255, 255, 0, 0.4);
    padding: 2px 0;
    font-weight: bold;
}



/* Custom Mockup for Router */
.router-mockup {
    width: 480px;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

.router-header {
    background: #0056b3;
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.router-header h3 { font-size: 18px; margin: 0; }
.router-header .user { font-size: 12px; opacity: 0.8; }

.router-body {
    display: flex;
    height: 220px;
}

.router-sidebar {
    width: 150px;
    background: #e9ecef;
    padding: 15px 0;
}

.router-sidebar-item {
    padding: 10px 15px;
    font-size: 13px;
    color: #495057;
    cursor: pointer;
}

.router-sidebar-item.active {
    background: #fff;
    font-weight: 600;
    border-left: 3px solid #0056b3;
    color: #0056b3;
}

.router-content {
    flex: 1;
    padding: 20px;
    background: #fff;
}

.router-content h4 {
    margin-bottom: 15px;
    font-size: 15px;
    color: #333;
}

.router-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.router-input-group input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 13px;
}

.router-input-group button {
    padding: 8px 15px;
    background: #28a745;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
}

.router-table {
    width: 100%;
    border-collapse: collapse;
}
.router-table th, .router-table td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
    font-size: 12px;
}
.router-table th { background: #f8f9fa; color: #495057; }

/* Why Block Cards */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.benefit-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s, background 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.08);
}

.benefit-icon {
    font-size: 32px;
    margin-bottom: 15px;
    background: #C54D4E;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.benefit-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 700;
    text-align: center;
}

.benefit-card p {
    font-size: 14px;
    color: #ccc;
    font-weight: 300;
    text-align: center;
}

/* Иконки как на главной */
.pain-icon-bg {
    width: 64px;
    height: 64px;
    background: #F86466;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(248, 100, 102, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
    margin: 0 auto 20px auto;
}
.benefit-card:hover .pain-icon-bg {
    transform: translateY(-5px) rotate(5deg);
}
.pain-icon-bg svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: #FFFFFF;
}

/* Стили заголовков как на главной */
.section-title {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    color: #FFFFFF;
}
.section-title::after {
    display: none;
}
.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 60px auto;
    font-weight: 300;
}

/* Аккордеоны для шагов */
.custom-accordion {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.custom-accordion details {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: background 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.custom-accordion details[open] {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.custom-accordion summary {
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    color: #fff;
    list-style: none; /* Hide default arrow */
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    user-select: none;
    transition: background 0.3s ease;
}
.custom-accordion summary::-webkit-details-marker {
    display: none;
}
.custom-accordion summary:hover {
    background: rgba(255, 255, 255, 0.04);
}
.custom-accordion summary code {
    background: rgba(0, 0, 0, 0.3);
    padding: 3px 8px;
    border-radius: 6px;
    font-family: monospace;
    font-size: 14px;
    font-weight: normal;
    color: #ffd700;
}
.summary-title {
    flex: 1;
    padding-right: 15px;
}
.summary-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}
.summary-icon::before {
    content: "+";
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
}
.custom-accordion details[open] .summary-icon {
    transform: rotate(45deg);
    background: #F86466;
}
@keyframes accordionExpand {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.details-content {
    padding: 0 20px 20px 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    animation: accordionExpand 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transform-origin: top center;
}
.details-content code {
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    color: #ffd700;
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
    .step-section {
        flex-direction: column;
    }
    .step-section.reverse {
        flex-direction: column;
    }
    .step-visual {
        max-width: 100%;
        margin-top: 40px;
    }
}

/* Windows 10 Desktop, Search & Taskbar Mockup (1 in 1 Windows 10 UI) */
.win10-desktop-container {
    width: 480px;
    height: 380px;
    background: radial-gradient(circle at 75% 40%, #0078D7 0%, #004578 40%, #001833 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    position: relative;
    display: none;
    overflow: hidden;
    box-sizing: border-box;
}



.hero-promo h1 {
    font-size: 48px !important;
    line-height: 1.12 !important;
    margin-bottom: 20px !important;
}

@media (max-width: 900px) {
    .hero-promo h1 {
        font-size: 32px !important;
    }
}
.win10-desktop-icon {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #ffffff;
    font-size: 11px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

/* Taskbar */
.win10-taskbar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: #000000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0 8px;
    box-sizing: border-box;
    z-index: 10;
}

.win10-taskbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.win10-start-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    cursor: pointer;
}

.win10-start-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.win10-tb-search-box {
    width: 210px;
    height: 30px;
    background: #ffffff;
    border: 1px solid #0078D7;
    display: flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(0, 120, 215, 0.4);
}

.win10-tb-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.win10-taskbar-right {
    color: rgba(255, 255, 255, 0.85);
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right: 8px;
}

/* Search Popup Menu (Opens bottom-left) */
.win10-search-menu {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 300px;
    height: 290px;
    background: #ffffff;
    display: flex;
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.5);
    border-top-right-radius: 4px;
    overflow: hidden;
    z-index: 20;
}

.win10-sidebar {
    width: 40px;
    background: #1f1f1f;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.win10-sb-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    cursor: pointer;
}

.win10-sb-icon:hover {
    background: rgba(255, 255, 255, 0.1);
}

.win10-sb-bottom {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.win10-search-main-panel {
    flex: 1;
    background: #ffffff;
    color: #000000;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.win10-filters-row {
    font-size: 11px;
    color: #666666;
    text-align: right;
    margin-bottom: 6px;
}

.win10-results-list {
    flex: 1;
}

.win10-section-label {
    font-size: 11px;
    color: #555555;
    margin-bottom: 8px;
    font-weight: 500;
}

.win10-app-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: rgba(0, 120, 215, 0.05);
    border: 1px solid transparent;
    border-radius: 2px;
    transition: all 0.2s ease;
}

.win10-app-item.active {
    background: #cce8ff;
    border-color: #99d1ff;
}

.win10-app-icon {
    width: 32px;
    height: 32px;
    background: #ffffff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.win10-app-title {
    font-size: 13px;
    font-weight: 600;
    color: #000000;
}

.win10-app-sub {
    font-size: 11px;
    color: #666666;
}

.win10-menu-search-box {
    background: #ffffff;
    border: 1px solid #0078D7;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 2px;
}

/* Context Menu */
.win10-context-menu {
    position: absolute;
    left: 130px;
    bottom: 55px;
    width: auto;
    min-width: 220px;
    background: #f2f2f2;
    border: 1px solid #cccccc;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    padding: 4px;
    border-radius: 2px;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 35;
    white-space: nowrap;
}

.win10-context-menu.active {
    opacity: 1;
    transform: scale(1);
}

.win10-ctx-item {
    padding: 7px 10px;
    font-size: 11.5px;
    color: #000000;
    border-radius: 2px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.win10-ctx-item.admin-row.active {
    background: #F86466;
    color: #ffffff;
    font-weight: 600;
}

/* Empty Notepad Window Popup */
.win10-empty-notepad {
    position: absolute;
    top: 48%;
    left: 50%;
    width: 360px;
    height: 250px;
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid #777;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 50;
    overflow: hidden;
}

.win10-empty-notepad.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Animations for Steps (Synchronized with Accordion) */

/* Styling for Overlays */
.anim-overlay {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #333;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(10px) scale(0.95);
}

/* Hosts Mockup Overlays */
.anim-overlay.anim-hosts-2 {
    top: -15px;
    left: 50%;
    transform: translateX(-50%) translateY(10px) scale(0.95);
    white-space: nowrap;
}
.anim-overlay.anim-hosts-4 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: #4caf50;
    color: white;
    font-weight: bold;
    border: none;
}

/* Router Mockup Overlays */
.anim-overlay.anim-router-1 {
    top: -35px;
    left: 20px;
    right: 20px;
    justify-content: center;
}
.anim-overlay.anim-router-2 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
    padding: 15px;
}

/* Active State Triggers */
.step-visual[data-active-step="2"] .anim-hosts-2 {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
}
.step-visual[data-active-step="3"] .notepad-highlight {
    animation: stepTypeReveal 2s steps(40) infinite;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    vertical-align: bottom;
    color: #e5c07b;
}
.step-visual[data-active-step="4"] .anim-hosts-4 {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.4);
}

.step-visual[data-active-step="1"] .anim-router-1 {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.step-visual[data-active-step="2"] .anim-router-2 {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.step-visual[data-active-step="3"] .router-sidebar-item.active {
    animation: stepPulseBg 2s infinite;
}
.step-visual[data-active-step="4"] .router-input-group {
    animation: stepPulseScale 2s infinite;
}

/* Keyframes for Steps */
@keyframes stepPulseBg {
    0%, 100% { background: rgba(255, 255, 255, 0.1); }
    50% { background: rgba(255, 255, 255, 0.25); }
}
@keyframes stepTypeReveal {
    0%, 10% { max-width: 0; opacity: 0; }
    40%, 80% { max-width: 100%; opacity: 1; }
    100% { max-width: 100%; opacity: 0; }
}
@keyframes stepPulseScale {
    0%, 100% { transform: scale(1); box-shadow: none; }
    50% { transform: scale(1.02); box-shadow: 0 0 15px rgba(255, 255, 255, 0.1); }
}

/* Анимация Hero Mockup (Windows Style) */
.browser-blocked-mockup {
    width: 480px;
    height: 380px;
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
}

.browser-header {
    height: 40px;
    background: #f1f3f4;
    border-bottom: 1px solid #dadce0;
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.browser-url-bar {
    background-color: #ffffff;
    border: 1px solid #dfe1e5;
    border-radius: 14px;
    height: 24px;
    display: flex;
    align-items: center;
    padding-left: 15px;
    font-size: 11px;
    color: #5f6368;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.browser-content-container {
    flex: 1;
    position: relative;
    height: calc(100% - 40px);
}

.google-search-mockup {
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
    box-sizing: border-box;
}

.google-logo {
    font-size: 38px;
    font-family: -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    user-select: none;
}

.google-search-bar {
    width: 320px;
    height: 38px;
    border: 1px solid #dfe1e5;
    border-radius: 19px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    color: #202124;
    font-size: 14px;
    box-shadow: 0 1px 6px rgba(32,33,36,0.08);
    background: #ffffff;
    position: relative;
    text-align: left;
    box-sizing: border-box;
}

.hero-cursor {
    animation: blink 1s infinite step-end;
    color: #202124;
    margin-left: 2px;
    font-weight: bold;
}

@keyframes blink {
    from, to { color: transparent }
    50% { color: #202124; }
}

.google-search-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.google-search-buttons button {
    background: #f8f9fa;
    border: 1px solid #f8f9fa;
    border-radius: 4px;
    color: #3c4043;
    font-family: arial,sans-serif;
    font-size: 12px;
    padding: 0 12px;
    line-height: 27px;
    height: 30px;
    transition: 0.2s;
}

.hero-fake-mouse {
    position: absolute;
    width: 18px;
    height: 18px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M4.5 1.5v16.3l4.5-4.4 2.8 6.4 2.8-1.2-2.8-6.3 5.9.1L4.5 1.5z"/></svg>') no-repeat;
    pointer-events: none;
    z-index: 100;
    opacity: 0;
    left: 80%;
    top: 80%;
}

.original-blocked-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #F04648;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.96);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.original-blocked-screen.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.blocked-container-mock {
    text-align: center;
    color: #ffffff;
    max-width: 320px;
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.blocked-icon-wrapper-mock {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 12px;
    width: 60px;
    height: 60px;
}

.blocked-icon-ellipse-mock {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    z-index: 1;
}

.animated-lock-icon {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lock-svg {
    transform-origin: center center;
    transition: transform 0.3s ease;
}

.lock-shackle {
    transform-origin: 35px 45px;
    transform: translateY(-8px) rotate(-18deg);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.original-blocked-screen.active .lock-shackle {
    transform: translateY(0) rotate(0deg);
}

.original-blocked-screen.active .lock-svg {
    animation: lock-shake 0.4s ease-in-out 0.4s;
}

@keyframes lock-shake {
    0%, 100% { transform: scale(1); }
    20%, 60% { transform: scale(1.05) translateY(2px); }
    40%, 80% { transform: scale(1.05) translateY(-2px); }
}

.blocked-title-mock {
    font-size: 24px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.2;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blocked-message-mock {
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    margin-bottom: 18px;
}

.blocked-buttons-mock {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 12px;
    align-items: center;
    width: 100%;
}

.blocked-back-btn-mock {
    width: 110px;
    height: 32px;
    background-color: #ffffff;
    color: #111111;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 11px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.blocked-unlock-btn-mock {
    width: 110px;
    height: 32px;
    background-color: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    font-weight: 600;
    font-size: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

@media (max-width: 900px) {
    .benefits-grid { grid-template-columns: 1fr; }
    .notepad-mockup, .router-mockup, .win-open-dialog-mockup { width: 100%; }
}

/* Unfold Animation for Notepad */
@keyframes notepadUnfold {
    0% {
        opacity: 0;
        transform: scale(0.92) translateY(12px);
    }
    60% {
        opacity: 1;
        transform: scale(1.01) translateY(-2px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.notepad-mockup.unfold {
    animation: notepadUnfold 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.blinking-cursor {
    display: inline-block;
    width: 2px;
    height: 14px;
    background: #000000;
    margin-left: 2px;
    vertical-align: middle;
    animation: cursorBlink 0.9s infinite step-start;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Windows 10 File Open Dialog Mockup (Matching Screenshot 1:1) */
.win-open-dialog-mockup {
    width: 480px;
    height: 350px;
    background: #ffffff;
    border-radius: 4px;
    border: 1px solid #777;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 12px;
    color: #000;
    display: none;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}

.win-open-dialog-header {
    background: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 12px;
    border-bottom: 1px solid #e0e0e0;
}

.win-open-dialog-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #333;
}

.win-open-dialog-controls {
    display: flex;
    gap: 12px;
    color: #666;
}

.win-open-dialog-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: #f9f9f9;
    border-bottom: 1px solid #e0e0e0;
}

.win-open-path-bar {
    flex: 1;
    background: #0078d7;
    border: 1px solid #005499;
    padding: 3px 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #ffffff;
    border-radius: 2px;
    transition: background 0.3s ease;
}

.win-open-path-input {
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-family: inherit;
    font-size: 11px;
    width: 100%;
}

.win-open-search-bar {
    width: 120px;
    background: #ffffff;
    border: 1px solid #ccc;
    padding: 3px 8px;
    font-size: 11px;
    color: #888;
    border-radius: 2px;
}

.win-open-body {
    flex: 1;
    display: flex;
    overflow: hidden;
}

.win-open-sidebar {
    width: 130px;
    background: #f0f0f0;
    border-right: 1px solid #e0e0e0;
    padding: 8px 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.win-open-sidebar-item {
    padding: 4px 10px;
    font-size: 11px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.win-open-sidebar-item.active {
    background: #ddeeff;
    color: #0056b3;
}

.win-open-content-area {
    flex: 1;
    background: #ffffff;
    padding: 6px;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.win-open-empty-state {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    font-size: 12px;
    text-align: center;
}

/* Windows Open Dialog File Table (1:1 Replica of Screenshot) */
.win-open-file-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
    color: #000;
    user-select: none;
}

.win-open-file-table th {
    text-align: left;
    padding: 4px 8px;
    font-weight: normal;
    color: #555;
    border-bottom: 1px solid #e0e0e0;
}

.win-open-file-table td {
    padding: 3px 8px;
    white-space: nowrap;
}

.win-open-file-row {
    cursor: pointer;
    transition: background 0.15s ease;
}

.win-open-file-row:hover {
    background: #e5f3ff;
}

.win-open-file-row.selected {
    background: #cce8ff;
}

.win-open-file-name-cell {
    display: flex;
    align-items: center;
    gap: 6px;
}

.win-open-footer {
    background: #f0f0f0;
    border-top: 1px solid #d0d0d0;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.win-open-footer-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
}

.win-open-footer-row label {
    width: 70px;
    text-align: right;
    color: #333;
}

.win-open-input-box {
    flex: 1;
    background: #ffffff;
    border: 1px solid #0078d7;
    padding: 4px 8px;
    font-size: 11px;
    border-radius: 2px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

.win-open-select-box {
    width: 170px;
    background: #ffffff;
    border: 1px solid #acacac;
    padding: 3px 6px;
    font-size: 11px;
    border-radius: 2px;
}

.win-open-btn {
    padding: 4px 18px;
    background: #e1e1e1;
    border: 1px solid #adadad;
    border-radius: 2px;
    font-size: 11px;
    cursor: pointer;
    color: #000;
}

.win-open-btn.primary {
    border: 1px solid #0078d7;
    box-shadow: 0 0 0 1px #0078d7;
}

.win-open-btn.primary.active {
    background: #0078d7;
    color: #ffffff;
}

@media (min-width: 1026px) {
    .hero-promo .btn-promo-primary {
        width: 320px;
        height: 72px;
        font-size: 22px;
        border-radius: 22px;
    }
}

@media (min-width: 769px) and (max-width: 1025px) {
    .hero-promo .btn-promo-primary {
        width: 280px;
        height: 64px;
        font-size: 18px;
        border-radius: 20px;
    }
}

/* Дополнительный воздух между анимацией браузера и кнопкой на разрешениях до 1025px */
@media (max-width: 1025px) {
    .hero-promo .hero-visual {
        margin-bottom: 45px !important;
    }
    .hero-promo .hero-buttons {
        margin-top: 15px !important;
    }
}

/* Фикс отсечения анимации браузера в hero */
@media (max-width: 901px) {
    .hero-promo, .hero-container, .hero-promo .hero-visual {
        overflow: visible !important;
    }
    .browser-blocked-mockup {
        width: 480px !important;
        height: 380px !important;
        flex-shrink: 0 !important;
    }
    .hero-promo .hero-visual {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: flex-start !important;
    }
}

/* Пропорциональное уменьшение элементов внутри анимации браузера (как на главной странице) */
@media (max-width: 768px) {
    .hero-promo h1 br {
        content: ' ';
    }
    .browser-blocked-mockup {
        transform: scale(0.8) !important;
        transform-origin: center top !important;
        margin-bottom: -60px !important;
    }
}

@media (max-width: 480px) {
    .browser-blocked-mockup {
        transform: scale(0.68) !important;
        transform-origin: center top !important;
        margin-bottom: -110px !important;
    }
}

@media (max-width: 361px) {
    .browser-blocked-mockup {
        transform: scale(0.58) !important;
        transform-origin: center top !important;
        margin-bottom: -140px !important;
    }
}

/* Полный адаптив всех элементов страницы на расширении до 381px */
@media (max-width: 381px) {
    /* Hero section */
    .hero-container {
        padding: 40px 12px 20px !important;
    }
    .hero-promo h1 {
        font-size: 24px !important;
        line-height: 1.2 !important;
        letter-spacing: -0.5px !important;
        margin-bottom: 12px !important;
    }
    .hero-promo p {
        font-size: 14px !important;
        line-height: 1.4 !important;
        margin-bottom: 20px !important;
    }
    .hero-promo .btn-promo-primary {
        width: 100% !important;
        max-width: 260px !important;
        height: 52px !important;
        font-size: 15px !important;
        border-radius: 14px !important;
    }
    .hero-promo .hero-visual {
        margin-bottom: 25px !important;
    }

    /* Guide container & Section titles */
    .guide-container {
        padding: 0 12px !important;
    }
    .section-title {
        font-size: 22px !important;
        line-height: 1.25 !important;
        margin-bottom: 10px !important;
    }
    .section-subtitle {
        font-size: 13.5px !important;
        line-height: 1.4 !important;
        margin-bottom: 30px !important;
    }

    /* Benefits Grid */
    .benefits-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        margin-bottom: 35px !important;
    }
    .benefit-card {
        padding: 16px 14px !important;
        border-radius: 14px !important;
    }
    .benefit-card h3 {
        font-size: 16px !important;
        margin-bottom: 8px !important;
    }
    .benefit-card p {
        font-size: 13px !important;
        line-height: 1.4 !important;
    }
    .pain-icon-bg {
        width: 48px !important;
        height: 48px !important;
        border-radius: 14px !important;
        margin-bottom: 14px !important;
    }
    .pain-icon-bg svg {
        width: 24px !important;
        height: 24px !important;
    }

    /* Steps Section */
    .step-section {
        margin-bottom: 40px !important;
        gap: 15px !important;
    }
    .step-content h2 {
        font-size: 19px !important;
        line-height: 1.3 !important;
    }
    .step-content p {
        font-size: 13.5px !important;
        line-height: 1.45 !important;
    }

    /* Accordions & Warning boxes */
    .custom-accordion summary {
        padding: 12px 12px !important;
        font-size: 13px !important;
    }
    .custom-accordion summary code {
        font-size: 11px !important;
        padding: 2px 4px !important;
        word-break: break-all;
    }
    .details-content {
        padding: 0 12px 14px 12px !important;
        font-size: 12.5px !important;
        line-height: 1.5 !important;
    }

    /* Step Mockups scaling on <= 381px */
    .notepad-mockup, 
    .win-open-dialog-mockup {
        transform: scale(0.66) !important;
        transform-origin: center top !important;
        margin: 0 auto -120px auto !important;
    }
    #router-step-visual .browser-mockup {
        transform: scale(0.66) !important;
        transform-origin: center top !important;
        margin: 0 auto -85px auto !important;
    }
    .widget-mockup {
        transform: scale(0.66) !important;
        transform-origin: center top !important;
        margin: 0 auto -85px auto !important;
    }
    .step-visual {
        min-height: 260px !important;
    }

    /* CTA Section */
    .cta-section {
        margin-top: 40px !important;
        padding: 30px 0 !important;
    }
    .cta-card {
        padding: 24px 14px !important;
        border-radius: 18px !important;
    }
    .cta-card h2 {
        font-size: 20px !important;
        line-height: 1.25 !important;
        margin-bottom: 10px !important;
    }
    .cta-card p {
        font-size: 13.5px !important;
        line-height: 1.4 !important;
        margin-bottom: 20px !important;
    }
    .cta-button, .cta-btn-override {
        font-size: 13.5px !important;
        padding: 12px 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        text-align: center !important;
        border-radius: 12px !important;
        white-space: normal !important;
        line-height: 1.3 !important;
    }

    /* Footer */
    .site-footer {
        padding: 30px 12px !important;
    }
    .footer-logo-text {
        font-size: 16px !important;
    }
    .footer-copy {
        font-size: 11px !important;
    }
}

/* Modal Mockup 1-in-1 */
.install-modal {
    background-color: #B23435;
    border-radius: 20px;
    padding: 25px 20px;
    width: 340px;
    text-align: center;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.15);
    z-index: 20;
    box-sizing: border-box;
}

.modal-icon-bg {
    width: 54px;
    height: 54px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}
.modal-icon-bg img {
    width: 28px;
    height: 28px;
}

.modal-title {
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.modal-text {
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 15px;
    font-weight: 500;
}

.modal-subtext {
    font-size: 11px;
    line-height: 1.4;
    margin-bottom: 20px;
    opacity: 0.9;
    font-weight: 500;
}

.modal-buttons {
    display: flex;
    gap: 12px;
}

.modal-btn {
    flex: 1;
    padding: 12px 0;
    border-radius: 12px;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    text-align: center;
}
.modal-btn.outline {
    background: #FA6969;
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
}
.modal-btn.filled {
    background: white;
    color: #B23435;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 22px;
    height: 22px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    cursor: pointer;
}
