/*
Theme Name: MacSpaceFox Landing
Theme URI: https://macspacefox.ru
Description: Современный лендинг для MacSpaceFox - AI анализ и очистка диска
Version: 1.0
Author: MacSpaceFox Team
*/

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

:root {
    --primary-color: #007AFF;
    --secondary-color: #5856D6;
    --accent-color: #FF9500;
    --dark-bg: #1C1C1E;
    --dark-bg-secondary: #2C2C2E;
    --light-bg: #F2F2F7;
    --text-dark: #000000;
    --text-light: #8E8E93;
    --text-white: #FFFFFF;
    --gradient-blue: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
    --gradient-purple: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-dark: linear-gradient(135deg, #1C1C1E 0%, #2C2C2E 100%);
}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-white);
    background: var(--dark-bg);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Header */
header {
    background: rgba(28, 28, 30, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 10px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-white);
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

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

.logo-text {
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-white);
    font-weight: 500;
    transition: color 0.3s ease;
    opacity: 0.9;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
    opacity: 1;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-white);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: var(--gradient-dark);
    color: var(--text-white);
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(0, 122, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(88, 86, 214, 0.1) 0%, transparent 50%);
    opacity: 0.5;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 0.8s ease;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.btn {
    padding: 15px 35px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
    font-size: 16px;
}

.btn-primary {
    background: var(--gradient-blue);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-large {
    padding: 18px 50px;
    font-size: 18px;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
    opacity: 0.8;
}

.hero-features span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

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

/* Social Proof */
.social-proof {
    padding: 60px 0;
    background: var(--dark-bg-secondary);
    text-align: center;
}

.proof-text {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 10px;
}

/* How It Works */
.how-it-works {
    padding: 100px 0;
    background: var(--dark-bg);
}

.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--text-white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step-card {
    background: var(--dark-bg-secondary);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 122, 255, 0.2);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
    color: var(--text-white);
}

.step-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-white);
}

.step-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--dark-bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--dark-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 122, 255, 0.2);
}

.feature-card-highlight {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1) 0%, rgba(88, 86, 214, 0.1) 100%);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-white);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.feature-screenshot {
    width: 100%;
    border-radius: 12px;
    margin-top: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Privacy Section */
.privacy {
    padding: 100px 0;
    background: var(--dark-bg);
}

.privacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.privacy-item {
    background: var(--dark-bg-secondary);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.privacy-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-white);
}

.privacy-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: var(--dark-bg-secondary);
}

.pricing-toggle {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.toggle-btn {
    padding: 12px 24px;
    background: var(--dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-white);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.toggle-btn:hover {
    border-color: var(--primary-color);
}

.toggle-btn.active {
    background: var(--gradient-blue);
    border-color: transparent;
}

.discount {
    color: #4CD964;
    font-size: 14px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pricing-card {
    background: var(--dark-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 122, 255, 0.2);
}

.pricing-card-business {
    border-color: var(--accent-color);
}

.pricing-card h3 {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--text-white);
}

.pricing-desc {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 16px;
}

.price {
    margin-bottom: 30px;
}

.price-amount {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-white);
}

.price-currency {
    font-size: 20px;
    color: var(--text-light);
    margin-left: 5px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 12px 0;
    color: var(--text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* License Activation */
.license-activation {
    padding: 100px 0;
    background: var(--dark-bg);
}

.license-form {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.license-form label {
    display: block;
    margin-bottom: 15px;
    font-size: 18px;
    color: var(--text-white);
}

.license-input {
    width: 100%;
    padding: 15px 20px;
    background: var(--dark-bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-white);
    font-size: 16px;
    margin-bottom: 20px;
}

.license-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.license-hint {
    margin-top: 15px;
    color: var(--text-light);
    font-size: 14px;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: var(--dark-bg-secondary);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--dark-bg);
    margin-bottom: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: var(--primary-color);
}

.faq-question {
    padding: 25px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-light);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    padding: 0 25px 25px;
    max-height: 500px;
}

/* Business Form */
.business-form {
    padding: 100px 0;
    background: var(--dark-bg);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-white);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: var(--dark-bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-white);
    font-size: 16px;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Download Section */
.download-section {
    padding: 100px 0;
    background: var(--gradient-dark);
    text-align: center;
}

.download-text {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Footer */
footer {
    background: var(--dark-bg);
    color: var(--text-white);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 20px;
    color: var(--text-white);
}

.footer-section p {
    color: var(--text-light);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--text-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Blog Styles */
.blog-main {
    padding: 120px 0 60px;
    background: var(--dark-bg);
    min-height: calc(100vh - 200px);
}

.blog-header {
    text-align: center;
    margin-bottom: 60px;
}

.blog-header h1 {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--text-white);
}

.blog-header p {
    font-size: 18px;
    color: var(--text-light);
}

.blog-posts {
    display: grid;
    gap: 40px;
}

.blog-post {
    background: var(--dark-bg-secondary);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 122, 255, 0.2);
}

.post-thumbnail {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-content {
    padding: 30px;
}

.post-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.post-content h2 a {
    color: var(--text-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-content h2 a:hover {
    color: var(--primary-color);
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-light);
}

.post-excerpt {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--secondary-color);
}

.pagination {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.pagination .page-numbers {
    display: flex;
    gap: 10px;
    list-style: none;
}

.pagination a,
.pagination span {
    padding: 10px 20px;
    background: var(--dark-bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination .current {
    background: var(--gradient-blue);
    border-color: transparent;
}

.no-posts {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
    font-size: 18px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        order: -1;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark-bg);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.3);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
}
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
