* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
}

/* OS Overlay */
.ace-os-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ace-os-overlay.active {
    opacity: 1;
    visibility: visible;
}

.ace-os-modal {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 32px;
    max-width: 400px;
    text-align: center;
    border: 1px solid #333;
}

.ace-os-modal-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    color: #666;
}

.ace-os-modal-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
}

.ace-os-modal-text {
    font-size: 14px;
    color: #999;
    margin-bottom: 20px;
    line-height: 1.4;
}

.ace-os-modal-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #252525;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    color: #ccc;
}

.ace-os-modal-badge svg {
    width: 16px;
    height: 16px;
}

/* Main Container */
.lp-container {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0a1a 100%);
}

/* Hero Background */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    
    /* ВАЖНО — ограничиваем высоту */
    height: calc(100% - 56px); /* подгони под высоту футера */

    overflow: hidden;
    pointer-events: none;
    z-index: 1;

    background: #e9eaec;
}

.bg-column {
    position: absolute;
    top: 0;
    width: 25%;
    height: 200%;
    display: flex;
    flex-direction: column;
    animation: scrollBackground 30s linear infinite;
}

.bg-column:nth-child(1) { 
    left: 0%; 
    animation: scrollBackground 30s linear infinite;
    animation-delay: 0s; 
}

.bg-column:nth-child(2) { 
    left: 25%; 
    animation: scrollBackgroundDown 30s linear infinite;
    animation-delay: -7.5s; 
}

.bg-column:nth-child(3) { 
    left: 50%; 
    animation: scrollBackground 30s linear infinite;
    animation-delay: -15s; 
}

.bg-column:nth-child(4) { 
    left: 75%; 
    animation: scrollBackgroundDown 30s linear infinite;
    animation-delay: -22.5s; 
}

/*.bg-column:nth-child(1) { left: 0%; animation-delay: 0s; }
.bg-column:nth-child(2) { left: 25%; animation-delay: -7.5s; }
.bg-column:nth-child(3) { left: 50%; animation-delay: -15s; }
.bg-column:nth-child(4) { left: 75%; animation-delay: -22.5s; }
*/

@keyframes scrollBackground {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

@keyframes scrollBackgroundDown {
    0% { transform: translateY(-50%); }
    100% { transform: translateY(0); }
}

.bg-column {
    padding: 6px; /* добавляет отступы по краям колонки */
}

.bg-tile {
    width: calc(100% - 12px); /* учитывает padding колонки */
    margin: 6px; /* одинаковый отступ со всех сторон */
    height: auto;
    object-fit: cover;
    border-radius: 12px;
	filter: blur(0.3px) contrast(0.95);
    opacity: 0.65;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Header */
.lp-header {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: transparent;
    backdrop-filter: none;
}

.lp-logo {
    height: 32px;
    width: auto;
}

.header-cta {
    background: linear-gradient(135deg, #2563eb, #3b82f6); /* синий */
    color: white;
    border: none;
    padding: 14px 28px; /* было меньше */
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px; /* чуть больше */
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

/* Hero Section */
.hero-section {
	transform: translateY(-12px);
    position: relative;
    z-index: 5;
    padding: 30px 20px;
	width: 50%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: rgba(245, 245, 245, 0.85);
    backdrop-filter: blur(6px);
    border-radius: 20px;
    margin: 40px auto;
    border: none;
	box-shadow:         
		0 20px 60px rgba(0,0,0,0.08),
        0 0 80px rgba(255,255,255,0.3);
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: -20px;
    z-index: -1;

    background: radial-gradient(
        circle,
        rgba(245,245,245,0.6) 0%,
        rgba(245,245,245,0) 70%
    );

    filter: blur(20px);
}

.hero-content {
    max-width: 500px;
    margin: 0 auto;
}

.lp-title {
    font-size: 36px;
	margin-bottom: 16px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
	color: #000;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: text;
}

.lp-subtitle {
    font-size: 16px;
    color: #5c5c5c;
    margin-bottom: 24px;
    line-height: 1.5;
}

/* Example Grid */
.example-grid {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: nowrap;
}

.example-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    width: 120px;
    height: 120px;
    background: #1a1a1a;
    border: 1px solid #333;
    flex-shrink: 0;
}

.example-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.example-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 6px;
    font-weight: 600;
    font-size: 11px;
}

/* Main Button */
.lp-button {
    background: linear-gradient(135deg, #2563eb, #3b82f6); /* синий */
    color: white;
    border: none;
    padding: 16px 26px; /* увеличили */
    border-radius: 14px;
    font-size: 16px; /* больше */
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.header-cta:hover,
.lp-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
}

.lp-button svg {
    transition: transform 0.3s ease;
}

.lp-button:hover svg {
    transform: translateY(2px);
}

/* Reassurance Text */
.reassurance-text {
    color: #999;
    font-size: 14px;
    margin-bottom: 40px;
}

/* Social Proof */
.social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.social-proof-avatars {
    display: flex;
    margin-right: 8px;
}

.social-proof-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #1a1a1a;
    margin-left: -8px;
}

.social-proof-avatar:first-child {
    margin-left: 0;
}

.social-proof-text {
    color: #444;
    font-size: 14px;
}

/* Feature Row */
.feature-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #444;
    font-size: 14px;
}

.check {
    color: #10b981;
    font-weight: bold;
}

/* Footer */
.lp-footer {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
	background: #e9eaec;
    border-top: none;
    color: #666;
    font-size: 12px;
	
}

.lp-footer::before {
    content: "";
    position: absolute;
    top: -80px;
    left: 0;
    width: 100%;
    height: 80px;

    background: linear-gradient(
        to bottom,
        rgba(233,234,236,0) 0%,
        rgba(233,234,236,0.7) 50%,
        rgba(233,234,236,1) 100%
    );

    pointer-events: none;
}

.lp-footer a {
    color: #666;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s ease;
}

.lp-footer a:hover {
    color: #999;
}

/* Post Download Overlay */
.pd-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.pd-overlay.active {
    opacity: 1;
    visibility: visible;
}

.pd-tooltip {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    z-index: 101;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.pd-tooltip.active {
    opacity: 1;
    visibility: visible;
}

.post-download {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    z-index: 102;
    transform: translateY(100%);
    transition: transform 0.5s ease;
    overflow-y: auto;
}

.post-download.active {
    transform: translateY(0);
}

.pd-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.pd-top-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.pd-logo {
    height: 32px;
    width: auto;
}

/* Download Card */
.download-card {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 40px;
    border: 1px solid #333;
}

.download-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.download-card-title {
    font-weight: 600;
    color: #fff;
}

.download-card-close {
    cursor: pointer;
    font-size: 24px;
    color: #666;
    transition: color 0.3s ease;
}

.download-card-close:hover {
    color: #fff;
}

.download-file-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.download-file-icon {
    width: 24px;
    height: 24px;
}

.download-file-name {
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.download-file-status {
    font-size: 12px;
    color: #999;
}

.download-progress-track {
    width: 100%;
    height: 4px;
    background: #333;
    border-radius: 2px;
    overflow: hidden;
}

.download-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    width: 0%;
    transition: width 0.3s ease;
}

/* Post Download Content */
.pd-headline {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
    color: #fff;
}

.pd-sub {
    font-size: 16px;
    color: #ccc;
    text-align: center;
    margin-bottom: 40px;
}

/* Steps Grid */
.steps-grid {
    display: grid;
    gap: 40px;
    margin-bottom: 40px;
}

.step-card {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #333;
}

.step-info {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.badge {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.step-text {
    flex: 1;
}

.step-label {
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
    font-size: 16px;
}

.step-desc {
    color: #ccc;
    font-size: 14px;
    line-height: 1.4;
}

.vis-box {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #252525;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vis-box img {
    max-width: 100%;
    height: auto;
}

.cursor-ptr {
    position: absolute;
    width: 40px;
    height: 40px;
    pointer-events: none;
}

.click-circle {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid #6366f1;
    border-radius: 50%;
    animation: clickPulse 2s infinite;
}

@keyframes clickPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

/* Step 3 Specific Styles */
.vis-box.s3 {
    background: linear-gradient(135deg, #1a1a1a, #252525);
    padding: 20px;
}

.prompt-wrap {
    margin-bottom: 16px;
}

.prompt-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #333;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: #ccc;
    max-width: fit-content;
    margin: 0 auto;
}

.prompt-pill svg {
    width: 16px;
    height: 16px;
    color: #6366f1;
}

.img-layer {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    max-width: 300px;
    margin: 0 auto;
}

.img-layer img {
    width: 100%;
    height: auto;
    display: block;
}

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

.sp {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #fbbf24;
    border-radius: 50%;
    animation: sparkle 2s infinite;
}

.sp:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.sp:nth-child(2) { top: 30%; left: 80%; animation-delay: 0.3s; }
.sp:nth-child(3) { top: 70%; left: 30%; animation-delay: 0.6s; }
.sp:nth-child(4) { top: 80%; left: 70%; animation-delay: 0.9s; }
.sp:nth-child(5) { top: 50%; left: 50%; animation-delay: 1.2s; }
.sp:nth-child(6) { top: 10%; left: 60%; animation-delay: 1.5s; }

@keyframes sparkle {
    0% { transform: scale(0) rotate(0deg); opacity: 0; }
    50% { transform: scale(1) rotate(180deg); opacity: 1; }
    100% { transform: scale(0) rotate(360deg); opacity: 0; }
}

.help-link {
    text-align: center;
    color: #999;
    font-size: 14px;
    margin-bottom: 40px;
}

.help-link a {
    color: #6366f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.help-link a:hover {
    color: #8b5cf6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .lp-header {
        padding: 16px 20px;
    }
    
    .hero-section {
        padding: 40px 20px;
        margin: 20px auto;
        border-radius: 16px;
    }
    
    .lp-title {
        font-size: 36px;
    }
    
    .lp-subtitle {
        font-size: 16px;
    }
    
    .example-grid {
        justify-content: center;
        gap: 12px;
    }
    
    .example-item {
        width: 140px;
        height: 140px;
    }
    
    .feature-row {
        flex-direction: column;
        gap: 16px;
    }
    
    .lp-footer {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .lp-footer a {
        margin: 0 8px;
    }
    
    .social-proof {
        flex-direction: column;
        gap: 12px;
    }
    
    .lp-button {
        font-size: 16px;
        padding: 14px 24px;
    }
    
    .pd-headline {
        font-size: 24px;
    }
    
    .step-info {
        flex-direction: column;
        text-align: center;
    }
}
