/* ========================================
   Adset.tools - Минималистичный стиль
   ======================================== */

/* CSS переменные */
:root {
    --primary: #7C6AE3;
    --primary-dark: #9d94ff;
    --primary-light: #d0caff;
    --text-dark: #1f2937;
    --text-medium: #6b7280;
    --text-light: #9ca3af;
    --bg-white: #f5f5f5;
    --bg-gray: #e8e8e8;
    --bg-card: #f9f9f9;
    --border: #e0e0e0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* Базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    min-height: 100vh;
    padding-bottom: 0;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('/public/img/ellipse.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% 100%;
    pointer-events: none;
    z-index: 0;
}

/* Плавная прокрутка */
html {
    scroll-behavior: smooth;
    background-color: var(--bg-white);
}

/* Main content - растягивается для sticky footer */
main {
    flex: 1;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

/* ========================================
   Container - Уменьшенные отступы на десктопе
   ======================================== */

@media (min-width: 992px) {
    .container {
        max-width: 1400px;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1600px;
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* ========================================
   Header / Навигация
   ======================================== */

.header-main {
    position: relative;
    z-index: 1000;
}

.navbar {
    background: rgba(249, 249, 249, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-text {
    font-weight: 600;
    color: var(--text-dark);
}

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

.nav-link {
    color: var(--text-medium);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.btn-get-started {
    background: var(--primary);
    color: white;
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    border: none;
    transition: all 0.2s ease;
}

.btn-get-started:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-get-started:active,
.btn-get-started:focus {
    background: var(--primary-dark) !important;
    color: white !important;
    border-color: transparent !important;
    box-shadow: var(--shadow-md) !important;
    outline: none !important;
}

/* ========================================
   Hero Section - Минималистичный
   ======================================== */

.hero-minimal {
    padding: 8rem 0 6rem;
    background: transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

@media (min-width: 992px) {
    .hero-minimal {
        padding-top: 10rem;
    }
}

.hero-content-wrapper {
    width: 100%;
}

.hero-text-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}

.badge-minimal {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(181, 174, 255, 0.2);
    color: var(--primary-dark);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    width: fit-content;
}

.hero-title-minimal {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

@media (min-width: 992px) {
    .hero-title-minimal {
        font-size: 3.5rem;
    }
}

@media (min-width: 1400px) {
    .hero-title-minimal {
        font-size: 4rem;
    }
}

.hero-title-minimal .highlight {
    color: var(--primary);
    position: relative;
}

.hero-text-minimal {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 75%;
}

@media (min-width: 992px) {
    .hero-text-minimal {
        font-size: 1.125rem;
    }
}

.stats-minimal {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-minimal .cta-minimal {
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.hero-minimal .cta-minimal .btn-primary-minimal {
    margin-top: 0.5rem;
}

.stat-minimal {
    text-align: left;
}

.stat-value-minimal {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 0.5rem;
    transition: color 0.6s ease;
}

.stat-value-minimal.dynamic-updating {
    background: linear-gradient(90deg, var(--primary), #9d94ff, var(--primary));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: colorShift 2s ease-in-out infinite;
}

@keyframes colorShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@media (min-width: 992px) {
    .stat-value-minimal {
        font-size: 2rem;
    }
}

.stat-label-minimal {
    font-size: 0.875rem;
    color: var(--text-medium);
    font-weight: 500;
}

.btn-primary-minimal {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-primary-minimal:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-primary-minimal.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.btn-primary-minimal.w-100 {
    width: 100%;
    justify-content: center;
}

.hero-image-minimal {
    position: relative;
    z-index: 1;
    background: none;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 0;
}

@media (min-width: 992px) {
    .hero-image-minimal {
        padding-left: 2rem;
        align-items: center;
        justify-content: center;
    }
}

.screenshot-minimal {
    width: 100%;
    height: auto;
    display: block;
    /* border-radius: 2rem; - убрано, т.к. картинка уже имеет скругление */
    box-shadow: none;
    background: transparent;
}

.hero-image-minimal .screenshot-minimal {
    width: 100%;
    max-width: 100%;
    transform: none;
    transform-origin: center center;
    background: none;
    border: none;
    box-shadow: none;
    outline: none;
}

@media (min-width: 992px) {
    .hero-image-minimal .screenshot-minimal {
        width: 120%;
        max-width: 120%;
        margin-left: -10%;
    }
}

@media (min-width: 1400px) {
    .hero-image-minimal .screenshot-minimal {
        width: 130%;
        max-width: 130%;
        margin-left: -15%;
    }
}

/* ========================================
   Features Section
   ======================================== */

.features-minimal {
    padding: 6rem 0;
    background: transparent;
    position: relative;
    z-index: 1;
}

.section-header-minimal {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.section-title-minimal {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-text-minimal {
    font-size: 1.125rem;
    color: var(--text-medium);
    line-height: 1.7;
}

.feature-card-minimal {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.feature-card-minimal:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(181, 174, 255, 0.3);
}

/* Modern Feature Cards */
.feature-card-modern {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.feature-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, currentColor, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    border-color: transparent;
}

.feature-card-modern:hover::before {
    opacity: 1;
}

.feature-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.feature-card-modern:hover .feature-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.feature-card-purple {
    --card-color: #B5AEFF;
}

.feature-card-purple .feature-icon-wrapper {
    background: linear-gradient(135deg, rgba(181, 174, 255, 0.15) 0%, rgba(181, 174, 255, 0.08) 100%);
    color: #9d94ff;
}

.feature-card-purple::before {
    background: linear-gradient(90deg, transparent, #B5AEFF, transparent);
}

.feature-card-blue {
    --card-color: #3b82f6;
}

.feature-card-blue .feature-icon-wrapper {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
    color: #3b82f6;
}

.feature-card-blue::before {
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
}

.feature-card-orange {
    --card-color: #f97316;
}

.feature-card-orange .feature-icon-wrapper {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1) 0%, rgba(249, 115, 22, 0.05) 100%);
    color: #f97316;
}

.feature-card-orange::before {
    background: linear-gradient(90deg, transparent, #f97316, transparent);
}

.feature-card-green {
    --card-color: #10b981;
}

.feature-card-green .feature-icon-wrapper {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    color: #10b981;
}

.feature-card-green::before {
    background: linear-gradient(90deg, transparent, #10b981, transparent);
}

.feature-card-pink {
    --card-color: #ec4899;
}

.feature-card-pink .feature-icon-wrapper {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1) 0%, rgba(236, 72, 153, 0.05) 100%);
    color: #ec4899;
}

.feature-card-pink::before {
    background: linear-gradient(90deg, transparent, #ec4899, transparent);
}

.feature-card-indigo {
    --card-color: #6366f1;
}

.feature-card-indigo .feature-icon-wrapper {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(99, 102, 241, 0.05) 100%);
    color: #6366f1;
}

.feature-card-indigo::before {
    background: linear-gradient(90deg, transparent, #6366f1, transparent);
}

.feature-title-modern {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.feature-text-modern {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.6;
    margin: 0;
}

.feature-image-minimal {
    width: 120px;
    height: 120px;
    margin-bottom: 1.5rem;
}

.feature-image-minimal img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-icon-minimal {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(181, 174, 255, 0.15);
    border-radius: var(--radius-md);
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.feature-title-minimal {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.feature-text-minimal {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   Conversion Section
   ======================================== */

.conversion-minimal {
    padding: 6rem 0;
    background: transparent;
    position: relative;
    z-index: 1;
}

.conversion-image-minimal {
    position: relative;
    background: transparent;
    overflow: hidden;
}

.highlight {
    color: var(--primary);
    font-weight: 700;
    transition: color 0.6s ease;
}

.highlight.dynamic-updating {
    background: linear-gradient(90deg, var(--primary), #9d94ff, var(--primary));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: colorShift 2s ease-in-out infinite;
}

.benefit-list-minimal {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item-minimal {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    color: var(--text-dark);
}

.benefit-item-minimal svg {
    flex-shrink: 0;
}

/* ========================================
   Pricing Section
   ======================================== */

.pricing-minimal {
    padding: 6rem 0;
    background: transparent;
    position: relative;
    z-index: 1;
}

.pricing-card-minimal {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.pricing-badge-minimal {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(181, 174, 255, 0.2);
    color: var(--primary-dark);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.pricing-title-minimal {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.pricing-text-minimal {
    font-size: 1.125rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.pricing-features-minimal {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pricing-feature-minimal {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--text-dark);
}

.pricing-box-minimal {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
}

.price-minimal {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.price-currency {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-medium);
    margin-top: 0.5rem;
}

.price-amount {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

.price-label-minimal {
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.pricing-note-minimal {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* ========================================
   Analytics Section
   ======================================== */

.analytics-minimal {
    padding: 6rem 0;
    background: transparent;
    position: relative;
    z-index: 1;
}

.analytics-image-minimal {
    position: relative;
    background: transparent;
    overflow: hidden;
}

.analytics-list-minimal {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.analytics-item-minimal {
    display: flex;
    gap: 1.5rem;
}

.analytics-icon-minimal {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(181, 174, 255, 0.15);
    border-radius: var(--radius-md);
}

.analytics-item-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.analytics-item-text {
    font-size: 1rem;
    color: var(--text-medium);
    margin: 0;
}

/* ========================================
   CTA Section
   ======================================== */

.cta-minimal {
    padding: 6rem 0;
    background: transparent;
    position: relative;
    z-index: 1;
}

.cta-content-minimal {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-title-minimal {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.cta-text-minimal {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* ========================================
   Footer
   ======================================== */

.footer-main {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
    position: relative;
    z-index: 1;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.footer-description {
    color: var(--text-medium);
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-medium);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

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

.footer-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 2rem 0;
}

.footer-copyright {
    color: var(--text-medium);
    font-size: 0.875rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-gray);
    border-radius: 50%;
    color: var(--text-medium);
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-link:hover {
    background: var(--primary);
    color: white;
}

/* ========================================
   404 Page
   ======================================== */

.error-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
}

.error-content {
    text-align: center;
}

.error-code {
    font-size: 6rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1;
    margin-bottom: 1rem;
}

.error-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
}

.error-description {
    font-size: 1.125rem;
    color: var(--text-medium);
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 991px) {
    .hero-minimal {
        padding: 6rem 0 4rem;
        min-height: auto;
    }
    
    .hero-image-minimal {
        margin-top: 3rem;
    }
    
    .hero-title-minimal {
        font-size: 2.5rem;
    }
    
    .hero-text-minimal {
        font-size: 1rem;
    }
    
    .stats-minimal {
        gap: 1.5rem;
    }
    
    .stat-value-minimal {
        font-size: 1.5rem;
    }
    
    .section-title-minimal {
        font-size: 2rem;
    }
    
    .cta-title-minimal {
        font-size: 2rem;
    }
    
    .pricing-card-minimal {
        padding: 2rem;
    }
    
    .pricing-box-minimal {
        margin-top: 2rem;
    }
}

@media (max-width: 767px) {
    .hero-minimal {
        padding: 5rem 0 3rem;
        min-height: auto;
    }
    
    .hero-title-minimal {
        font-size: 2rem;
    }
    
    .hero-text-minimal {
        font-size: 0.9375rem;
        margin-bottom: 1.5rem;
    }
    
    .stats-minimal {
        gap: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .stat-value-minimal {
        font-size: 1.5rem;
    }
    
    .badge-minimal {
        margin-bottom: 1.25rem;
    }
    
    .section-title-minimal {
        font-size: 1.75rem;
    }
    
    .section-text-minimal {
        font-size: 1rem;
    }
    
    .features-minimal,
    .conversion-minimal,
    .pricing-minimal,
    .analytics-minimal,
    .cta-minimal {
        padding: 4rem 0;
    }
    
    .feature-image-minimal {
        width: 80px;
        height: 80px;
    }
    
    .feature-card-modern {
        padding: 1.5rem;
    }
    
    .feature-icon-wrapper {
        width: 48px;
        height: 48px;
        margin-bottom: 1.25rem;
    }
    
    .feature-icon-wrapper svg {
        width: 24px;
        height: 24px;
    }
    
    .pricing-title-minimal {
        font-size: 1.5rem;
    }
    
    .price-amount {
        font-size: 3rem;
    }
    
    .cta-title-minimal {
        font-size: 1.75rem;
    }
    
    .cta-text-minimal {
        font-size: 1rem;
    }
    
    .footer-social {
        justify-content: center;
        margin-top: 1rem;
    }
}

/* ========================================
   Animations
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth transitions */
* {
    transition: background-color 0.2s ease, color 0.2s ease;
}

a, button {
    transition: all 0.2s ease;
}
