/* Fonts */
@font-face {
    font-family: 'Fixedsys';
    src: url('fonts/Fixedsys.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'JetBrains Mono';
    src: url('fonts/JetBrainsMono.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'JetBrains Mono';
    src: url('fonts/JetBrainsMono-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --green-primary: #00ff88;
    --green-secondary: #00cc6a;
    --green-glow: rgba(0, 255, 136, 0.15);
    --red-error: #ff3366;
    --bg-dark: #000000;
    --bg-card: #0a0a0a;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --text-muted: #444444;
    --border-color: #333;
    --font-fixedsys: 'Fixedsys', 'Courier New', monospace;
    --font-mono: 'JetBrains Mono', 'Courier New', 'Monaco', 'Menlo', monospace;
}

body {
    font-family: var(--font-mono);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Headings use Fixedsys */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-fixedsys);
}

/* Grid Background */
.grid-bg {
    position: relative;
}

.grid-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.grid-bg > * {
    position: relative;
    z-index: 1;
}


/* Glow Effects */
.glow-green {
    box-shadow: 
        0 0 10px var(--green-glow),
        0 0 20px var(--green-glow),
        0 0 30px var(--green-glow);
}

.glow-text {
    text-shadow: 
        0 0 10px var(--green-glow),
        0 0 20px var(--green-glow),
        0 0 30px var(--green-glow);
}

/* Glassmorphism */
.glass {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hidden {
    display: none !important;
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 1;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    font-family: var(--font-mono);
}

.preloader-console {
    width: 90%;
    max-width: 600px;
    padding: 30px;
    border: 2px solid var(--border-color);
    background: var(--bg-card);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.console-line {
    margin-bottom: 20px;
    font-size: 16px;
}

.console-prompt {
    color: var(--green-primary);
    margin-right: 10px;
}

.console-text {
    color: var(--text-primary);
}

.cursor-blink {
    color: var(--green-primary);
    animation: blink 1s infinite;
    margin-left: 5px;
}

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

.progress-container {
    margin-top: 20px;
    position: relative;
}

.progress-bar {
    width: 0%;
    height: 30px;
    background: var(--green-primary);
    border: 2px solid var(--green-primary);
    transition: width 0.1s linear;
    box-shadow: 0 0 20px var(--green-glow);
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    color: var(--bg-dark);
    font-weight: bold;
    font-size: 14px;
    text-shadow: none;
}

.error-message {
    display: none;
    margin-top: 20px;
    color: var(--red-error);
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    animation: errorBlink 0.5s infinite;
    text-shadow: 0 0 20px rgba(255, 51, 102, 0.5);
}

.error-message.show {
    display: block;
}

@keyframes errorBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

/* Gradient Blobs */
.blobs-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Below content but above background grid if needed, or same level as grid */
    overflow: hidden;
    pointer-events: none;
    filter: blur(80px);
    opacity: 0.15;
}

.blob {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--green-primary) 0%, transparent 70%);
    border-radius: 50%;
    will-change: transform;
}

@media (max-width: 768px) {
    .blob {
        width: 250px;
        height: 250px;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 73px 20px 80px 20px; /* 220px / 3 ≈ 73px */
    overflow: hidden;
    z-index: 2;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 1;
    perspective: 1200px;
    pointer-events: none; /* Чтобы не блокировать клики */
}

.hero-background.above-photo {
    z-index: 3; /* Выше фото (z-index: 2) когда скрины перед лицом */
}

.floating-screens {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-screen {
    position: absolute;
    max-width: 250px;
    border: 2px solid var(--border-color);
    opacity: 1;
    filter: grayscale(30%) brightness(0.8);
    will-change: transform, filter, z-index;
    transition: filter 0.3s ease-out;
    transform-style: preserve-3d;
    left: 0;
    top: 0;
}

@media (min-width: 769px) {
    .floating-screen {
        max-width: 240px; /* 200px * 1.2 = 240px (увеличиваем на 20%) */
    }
}


.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0; /* Убираем любые отступы между элементами */
}

@media (min-width: 769px) {
    .hero-content {
        max-width: 800px; /* 1200px / 1.5 = 800px */
        align-items: center;
        text-align: center;
    }
}

.hero-image-wrapper {
    position: relative;
    margin-bottom: 0;
    display: inline-block;
}

@media (min-width: 769px) {
    .hero-image-wrapper {
        margin-bottom: 0;
        margin-top: 30px; /* Смещаем блок ниже заголовка на 30px */
        transform: scale(0.8);
        transform-origin: center top;
        margin-left: auto;
        margin-right: auto;
    }
}

.hero-image {
    width: 450px;
    height: 450px;
    object-fit: contain;
    border: none;
    box-shadow: none;
    background: transparent;
    position: relative;
    z-index: 3;
}


.hero-quote,
h1.hero-quote {
    font-size: clamp(19px, 4vw, 38px);
    font-weight: bold;
    font-family: var(--font-fixedsys);
    color: var(--red-error);
    text-shadow: 0 0 20px rgba(255, 51, 102, 0.5);
    line-height: 1.2;
    margin-bottom: 40px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (min-width: 769px) {
    .hero-quote,
    h1.hero-quote {
        font-size: 48px;
        margin-bottom: 50px;
        white-space: normal;
        text-align: center;
        width: 100%;
    }
}

/* Hero Terminal */
.hero-terminal {
    margin: 0 auto;
    width: 85%;
    max-width: 900px;
    border: 2px solid var(--border-color);
    background: rgba(0, 0, 0, 0.9);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.7);
    text-align: left;
    font-family: var(--font-mono);
    position: relative;
}

@media (min-width: 769px) {
    .hero-terminal {
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
        align-self: stretch;
        /* Выравниваем верх консоли с низом фото: фото занимает 450px в потоке, но визуально 360px (0.8 scale) */
        /* Поднимаем консоль вверх на разницу: 450px - 360px = 90px */
        margin-top: -90px;
        position: relative;
    }
}

.hero-terminal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(90deg, #050505 0%, #111111 100%);
}

.hero-terminal-dots {
    display: flex;
    gap: 6px;
}

.hero-terminal-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
}

.hero-terminal-dots .dot-red {
    background: #ff5f57;
}

.hero-terminal-dots .dot-yellow {
    background: #ffbd2e;
}

.hero-terminal-dots .dot-green {
    background: #28c840;
}

.hero-terminal-title {
    font-size: 11px;
    color: var(--text-secondary);
    opacity: 0.9;
}

.hero-terminal-body {
    padding: 16px 18px 18px;
    font-size: 14px;
    color: var(--text-primary);
}

.hero-terminal-text {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
    font-family: var(--font-mono);
}

.hero-terminal-cursor {
    color: var(--green-primary);
}

.hero-terminal-accent {
    color: var(--green-primary);
}

.terminal-link {
    color: var(--green-primary);
    text-decoration: underline;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.terminal-link:hover {
    opacity: 0.8;
}

.hero-terminal-cta-wrapper {
    margin-top: 40px;
    width: 85%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
}

@media (min-width: 769px) {
    .hero-terminal-cta-wrapper {
        margin-top: 40px;
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
    }
    
    .hero-terminal-button {
        min-width: auto;
        width: auto;
    }
}

.hero-terminal-cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.hero-terminal-button {
    display: inline-block;
    padding: 15px 39px;
    background: var(--bg-dark);
    border: 2px solid var(--green-primary);
    color: var(--green-primary);
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    font-family: var(--font-fixedsys);
    text-transform: uppercase;
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    min-width: 33%;
    text-align: center;
    z-index: 1;
}

.hero-terminal-button > * {
    position: relative;
    z-index: 2;
}

.hero-terminal-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 255, 136, 0.15);
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 0;
    pointer-events: none;
}

.hero-terminal-button::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.9) 0%, rgba(0, 255, 136, 0.5) 30%, rgba(0, 255, 136, 0.2) 50%, rgba(0, 255, 136, 0) 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    z-index: 0;
    pointer-events: none;
}

.hero-terminal-button:hover {
    box-shadow: 0 0 18px var(--green-glow);
}

.hero-terminal-button:hover::before {
    opacity: 1;
}

.hero-terminal-button:hover::after {
    animation: flash-button 0.6s ease-out forwards;
}

.hero-terminal-button:not(:hover)::after {
    animation: none;
    width: 0;
    height: 0;
    opacity: 0;
}

@keyframes flash-button {
    0% {
        width: 0;
        height: 0;
        opacity: 0;
    }
    15% {
        width: 150px;
        height: 150px;
        opacity: 1;
    }
    100% {
        width: 500px;
        height: 500px;
        opacity: 0;
    }
}


.hero-terminal-button-note {
    font-size: 10px;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    text-align: center;
    position: relative;
    display: inline-block;
    background: linear-gradient(
        90deg, 
        var(--text-secondary) 0%, 
        var(--text-secondary) 40%, 
        var(--green-primary) 50%, 
        var(--text-secondary) 60%, 
        var(--text-secondary) 100%
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: slowGlare 5s linear infinite;
}

@keyframes slowGlare {
    0% {
        background-position: 150% 0;
    }
    100% {
        background-position: -150% 0;
    }
}


/* Who Speaks Section */
.who-speaks {
    padding: 100px 20px;
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.section-title {
    font-size: clamp(19px, 3.6vw, 38px);
    font-weight: bold;
    font-family: var(--font-fixedsys);
    margin-bottom: 50px;
    text-align: center;
    color: var(--green-primary);
    text-transform: uppercase;
    text-shadow: 0 0 20px var(--green-glow);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.who-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.who-image-wrapper {
    position: relative;
    z-index: 1;
}

.who-image {
    width: 100%;
    max-width: 400px;
    border: 3px solid var(--green-primary);
    box-shadow: 0 0 30px var(--green-glow);
    border-radius: 10px;
}

.who-social-icons {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    margin-top: 20px;
}

.social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    color: var(--green-primary);
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

.social-icon-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
}

.social-icon svg {
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    display: block;
}

.social-icon:hover {
    color: var(--green-secondary);
    transform: translateY(-3px) scale(1.15);
}

.social-icon:hover svg {
    filter: drop-shadow(0 0 10px var(--green-glow));
}

.social-count {
    color: var(--text-primary);
    font-size: 14px;
    font-family: var(--font-mono);
    white-space: nowrap;
}

.social-subscribers-label {
    color: var(--text-primary);
    font-size: 14px;
    font-family: var(--font-mono);
    text-align: center;
    margin-top: 8px;
    width: 100%;
}

.who-text {
    font-size: 18px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.who-intro {
    font-size: 24px;
    margin-bottom: 30px;
}

.highlight {
    color: var(--green-primary);
    font-weight: bold;
}

.who-subtitle {
    font-size: 20px;
    margin: 30px 0 20px;
    color: var(--text-secondary);
}

.who-facts {
    list-style: none;
    padding: 0;
}

.who-facts li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.who-facts li::before {
    content: "> ";
    position: absolute;
    left: 0;
    color: var(--green-primary);
}

.fact-number {
    color: var(--green-primary);
    font-weight: bold;
    font-size: 1.2em;
}

.stars-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    vertical-align: middle;
}

.stars-rating .star {
    color: var(--green-primary);
    flex-shrink: 0;
    display: inline-block;
}


/* CTA Section */
.cta {
    padding: 100px 20px;
    background: rgba(10, 10, 10, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 2px solid var(--border-color);
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: clamp(19px, 3.6vw, 38px);
    font-weight: bold;
    font-family: var(--font-fixedsys);
    margin-bottom: 30px;
    color: var(--green-primary);
    text-transform: uppercase;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.cta-subtitle {
    font-size: 20px;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-secondary);
}

.cta-button-wrapper {
    text-align: center;
    margin-bottom: 60px;
}

.cta-features-title {
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: bold;
    font-family: var(--font-fixedsys);
    margin-top: 60px;
    margin-bottom: 40px;
    color: var(--green-primary);
    text-align: center;
    text-transform: uppercase;
}

.cta-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.cta-feature {
    text-align: left;
    padding: 30px;
    border: 2px solid var(--border-color);
    background: var(--bg-dark);
    transition: all 0.3s;
}

.cta-feature:hover {
    border-color: var(--green-primary);
    box-shadow: 0 0 20px var(--green-glow);
}

.feature-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 15px;
}

.feature-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--green-primary);
    font-weight: bold;
    font-family: var(--font-fixedsys);
}

.feature-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.cta-button {
    display: inline-block;
    padding: 20px 60px;
    background: var(--bg-dark);
    border: 3px solid var(--green-primary);
    color: var(--green-primary);
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    font-family: var(--font-fixedsys);
    text-transform: uppercase;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button > * {
    position: relative;
    z-index: 2;
}

.cta-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 255, 136, 0.15);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
    pointer-events: none;
}

.cta-button::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.9) 0%, rgba(0, 255, 136, 0.5) 30%, rgba(0, 255, 136, 0.2) 50%, rgba(0, 255, 136, 0) 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    z-index: 0;
    pointer-events: none;
}

.cta-button:hover {
    box-shadow: 0 0 30px var(--green-glow);
}

.cta-button:hover::before {
    opacity: 1;
}

.cta-button:hover::after {
    animation: flash-cta-button 0.6s ease-out forwards;
}

.cta-button:not(:hover)::after {
    animation: none;
    width: 0;
    height: 0;
    opacity: 0;
}

@keyframes flash-cta-button {
    0% {
        width: 0;
        height: 0;
        opacity: 0;
    }
    15% {
        width: 200px;
        height: 200px;
        opacity: 1;
    }
    100% {
        width: 600px;
        height: 600px;
        opacity: 0;
    }
}

.button-subtitle {
    display: block;
    font-size: 14px;
    margin-top: 5px;
    font-weight: normal;
    text-transform: lowercase;
}

/* Footer */
.footer {
    padding: 40px 20px;
    border-top: 2px solid var(--border-color);
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-text {
    margin-bottom: 10px;
}

.footer-link {
    color: var(--green-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--green-primary);
    text-decoration: underline;
}

/* Privacy Policy Section */
.privacy-policy {
    padding: 100px 20px;
    min-height: calc(100vh - 200px);
    position: relative;
    z-index: 2;
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-title {
    font-size: clamp(24px, 4vw, 42px);
    font-weight: bold;
    font-family: var(--font-fixedsys);
    margin-bottom: 50px;
    text-align: center;
    color: var(--green-primary);
    text-transform: uppercase;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.privacy-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-primary);
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid var(--border-color);
    padding: 40px;
    margin-bottom: 40px;
}

.privacy-text h2 {
    font-size: 24px;
    font-family: var(--font-fixedsys);
    color: var(--green-primary);
    margin-top: 30px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.privacy-text h2:first-child {
    margin-top: 0;
}

.privacy-text h3 {
    font-size: 20px;
    font-family: var(--font-fixedsys);
    color: var(--green-primary);
    margin-top: 25px;
    margin-bottom: 12px;
}

.privacy-text p {
    margin-bottom: 15px;
    color: var(--text-primary);
}

.privacy-text ul,
.privacy-text ol {
    margin: 15px 0;
    padding-left: 30px;
    color: var(--text-primary);
}

.privacy-text li {
    margin-bottom: 10px;
    position: relative;
}

.privacy-text ul li::before {
    content: "> ";
    position: absolute;
    left: -20px;
    color: var(--green-primary);
}

.privacy-text strong {
    color: var(--green-primary);
    font-weight: bold;
}

.privacy-text a {
    color: var(--green-primary);
    text-decoration: underline;
    transition: color 0.3s;
}

.privacy-text a:hover {
    color: var(--green-secondary);
    text-shadow: 0 0 10px var(--green-glow);
}

.privacy-placeholder {
    color: var(--text-secondary);
    font-style: italic;
    text-align: center;
    padding: 40px;
}

.privacy-footer {
    text-align: center;
    margin-top: 40px;
}

.privacy-back-link {
    display: inline-block;
    padding: 12px 24px;
    background: var(--bg-dark);
    border: 2px solid var(--green-primary);
    color: var(--green-primary);
    text-decoration: none;
    font-size: 16px;
    font-family: var(--font-fixedsys);
    text-transform: uppercase;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.privacy-back-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--green-primary);
    transition: left 0.3s;
    z-index: -1;
}

.privacy-back-link:hover {
    color: var(--bg-dark);
    box-shadow: 0 0 20px var(--green-glow);
}

.privacy-back-link:hover::before {
    left: 0;
}

@media (max-width: 768px) {
    .privacy-policy {
        padding: 60px 20px;
    }

    .privacy-text {
        padding: 30px 20px;
        font-size: 15px;
    }

    .privacy-text h2 {
        font-size: 20px;
    }

    .privacy-text h3 {
        font-size: 18px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 50px 20px 40px 20px; /* 150px / 3 = 50px */
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        max-width: 800px;
        padding: 0;
    }
    
    .hero-image-wrapper {
        transform: scale(0.769); /* Уменьшаем блок в 1.3 раза (1/1.3 ≈ 0.769) */
        transform-origin: center top;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: -87px; /* Компенсируем разницу: реальная высота 375px - визуальная ~288px (375*0.769) */
        margin-top: 80px; /* Опускаем фото и скрины ниже */
    }

    .hero-quote,
    h1.hero-quote {
        font-size: 34px;
        text-align: center;
        margin-top: 0;
        margin-bottom: 0; /* Убираем отступ снизу, так как фото опущено через margin-top */
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .section-title {
        font-size: 34px;
    }

    .cta-title {
        font-size: 34px;
    }

    .hero-image {
        width: 375px;
        height: 375px;
    }

    .hero-terminal {
        margin-top: 0; /* Терминал прилипает к низу фото благодаря margin-bottom wrapper */
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-terminal-cta-wrapper {
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
    }

    .hero-terminal-button {
        width: 100%;
        min-width: 0;
    }

    .who-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .who-image {
        max-width: 100%;
    }

    .cta-features {
        grid-template-columns: 1fr;
    }

    .floating-screen {
        max-width: 150px;
    }

    .cta-button {
        padding: 15px 40px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 20px 40px 20px; /* 120px / 3 = 40px */
    }

    .hero-quote,
    h1.hero-quote {
        font-size: 34px;
    }

    .section-title {
        font-size: 34px;
    }

    .cta-title {
        font-size: 34px;
    }

    .hero-image {
        width: 300px;
        height: 300px;
    }

    .hero-terminal-body {
        font-size: 13px;
        padding: 14px 14px 16px;
    }

    .floating-screen {
        max-width: 200px;
    }

    .who-intro {
        font-size: 20px;
    }

}
