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

:root {
    --primary-color: #667eea;
    --primary-dark: #5a67d8;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --text-color: #2d3748;
    --text-light: #718096;
    --bg-color: #ffffff;
    --bg-light: #f7fafc;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

html { height: 100%; }

main { flex: 1 0 auto; }

footer { flex-shrink: 0; }

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

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    height: 24px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-icon:hover {
    transform: scale(1.05);
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.3rem;
    font-weight: 700;
    transform: translateY(0);
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    border: none;
    border-radius: 12px;
    background: white;
    color: var(--primary-color);
}

.btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.35);
    background: #f8f9fa;
    color: var(--primary-dark);
}

/* Pricing buttons with gradient */
.btn-pricing {
    padding: 20px 40px;
    font-size: 1.3rem;
    font-weight: 700;
    transform: translateY(0);
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    display: inline-block;
}

.btn-pricing:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    text-decoration: none;
    color: white;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-logo {
    max-width: 450px;
    width: 100%;
    height: auto;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: var(--bg-light);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature-card p {
    color: var(--text-light);
}

/* How It Works */
.how-it-works {
    padding: 4rem 0;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--text-light);
}

/* Use Cases */
.use-cases {
    padding: 4rem 0;
    background: var(--bg-light);
}

.use-cases h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.use-case {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.use-case h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.use-case p {
    color: var(--text-light);
}

/* Pricing Section */
.pricing {
    padding: 4rem 0;
    background: white;
}

.pricing h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.pricing-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* Payment Method Tabs */
.payment-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.tab-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.tab-icon {
    font-size: 1.2rem;
}

/* Pricing Content */
.pricing-content {
    display: none;
}

.pricing-content.active {
    display: block;
}

/* Pricing Tables */
.pricing-table-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.pricing-table {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    min-width: 500px;
    border: 2px solid var(--border-color);
}

.pricing-table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.pricing-table th {
    padding: 1.5rem 2rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.pricing-table th:first-child {
    border-top-left-radius: 14px;
}

.pricing-table th:last-child {
    border-top-right-radius: 14px;
}

.pricing-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.pricing-table tbody tr:hover {
    background-color: rgba(102, 126, 234, 0.05);
}

.pricing-table tbody tr:last-child {
    border-bottom: none;
}

.pricing-table td {
    padding: 1.5rem 2rem;
    text-align: center;
    font-size: 1rem;
}

.discount-row {
    background-color: rgba(102, 126, 234, 0.02);
}

.discount-badge {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.old-price-table {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    text-decoration: line-through;
    margin-bottom: 0.3rem;
}

.pricing-table strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Payment Info */
.payment-info {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.payment-info-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 2px solid var(--border-color);
}

.payment-info-card h4 {
    color: var(--text-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.payment-info-card p {
    margin-bottom: 0.8rem;
    color: var(--text-color);
    line-height: 1.6;
}

.payment-info-card p:last-child {
    margin-bottom: 0;
}

/* Mobile Responsiveness for Pricing */
@media (max-width: 768px) {
    .pricing {
        padding: 3rem 0;
    }
    
    .pricing h2 {
        font-size: 2rem;
    }
    
    .payment-tabs {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .pricing-table-wrapper {
        overflow-x: auto;
        margin: 0 -1rem 3rem -1rem;
        padding: 0 1rem;
    }
    
    .pricing-table {
        min-width: 450px;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .pricing-table th {
        font-size: 1rem;
    }
    
    .discount-badge {
        font-size: 0.8rem;
        padding: 0.2rem 0.6rem;
    }
    
    .payment-info-card {
        margin: 0 1rem;
        padding: 1.5rem;
    }
}

.pricing-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.benefit-card {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.first-time {
    background: linear-gradient(135deg, #fff7ed, #fef3c7);
    border-color: #f59e0b;
}

.first-time::before {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.daily-bonus {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-color: #0ea5e9;
}

.daily-bonus::before {
    background: linear-gradient(90deg, #0ea5e9, #38bdf8);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.benefit-card h4 {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.benefit-card p {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.benefit-card p:last-child {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.pricing-footer {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #fff7ed, #fef3c7);
    border-radius: var(--border-radius);
    border: 1px solid #fbbf24;
}

.pricing-footer p {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.pricing-footer p:last-child {
    margin-bottom: 0;
    color: var(--text-light);
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.bot-link {
    margin-top: 2.5rem;
}

.bot-instruction {
    margin-top: 1.5rem;
    opacity: 0.9;
    font-size: 1rem;
    font-weight: 500;
}

/* Footer */
footer {
    background: var(--text-color);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section a {
    display: block;
    color: #cbd5e0;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #4a5568;
    color: #cbd5e0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 2rem 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .logo h1 {
        font-size: 1.1rem;
    }
    
    .logo-icon {
        height: 20px;
    }
    
    .features-grid,
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .pricing-benefits {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem 0;
    }
    
    .benefit-card {
        padding: 1.5rem;
    }
    
    .benefit-icon {
        font-size: 2.5rem;
    }
    
    /* Privacy Policy Mobile Styles */
    .privacy-policy {
        padding: 2rem 1rem;
    }
    
    .privacy-title-desktop {
        display: none !important;
    }
    
    .privacy-title-mobile {
        display: block !important;
        font-size: 1.6rem;
        line-height: 1.1;
        padding: 0;
        word-wrap: break-word;
        hyphens: auto;
        text-align: center;
    }
    
    .privacy-policy h2 {
        font-size: 1.4rem;
        margin-top: 2rem;
    }
    
    .privacy-policy h3 {
        font-size: 1.1rem;
        margin-left: 0.5rem;
    }
    
    .privacy-policy p {
        margin-left: 0.5rem;
        font-size: 0.95rem;
    }
    
    .privacy-policy ul {
        margin-left: 1rem;
        padding-left: 0.5rem;
    }
    
    .summary-box {
        margin: 2rem 0.5rem;
        padding: 1.5rem;
    }
}

/* Privacy Policy Styles */
.privacy-policy {
    margin-top: 80px;
    padding: 4rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.privacy-policy h1 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    text-align: center;
}

/* По умолчанию показываем полный заголовок на десктопе */
.privacy-title-mobile {
    display: none;
}

.privacy-title-desktop {
    display: block;
}

.last-updated {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-style: italic;
}

.privacy-policy h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-top: 3rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.privacy-policy h3 {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    margin-left: 1rem;
}

.privacy-policy p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-left: 1rem;
}

.privacy-policy ul {
    margin-bottom: 1.5rem;
    margin-left: 2rem;
    padding-left: 1rem;
}

.privacy-policy li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: var(--text-color);
}

.summary-box {
    background: linear-gradient(135deg, var(--bg-light), #f0f4ff);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 3rem 0;
    box-shadow: var(--shadow);
}

.summary-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    margin-left: 0;
}

.summary-box ul {
    margin-left: 0;
    padding-left: 1.5rem;
}

.summary-box li {
    margin-bottom: 0.8rem;
    font-weight: 500;
}

/* Cookie Notice Banner */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    padding: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-notice.show {
    transform: translateY(0);
}

.cookie-notice-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-color);
}

.cookie-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.cookie-text a:hover {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.cookie-btn-decline {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--border-color);
}

.cookie-btn-decline:hover {
    background: var(--bg-light);
    color: var(--text-color);
}

.cookie-btn-settings {
    background: var(--bg-light);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.cookie-btn-settings:hover {
    background: var(--border-color);
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.cookie-settings-modal.show {
    display: flex;
}

.cookie-settings-content {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.cookie-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.cookie-close:hover {
    background: var(--bg-light);
    color: var(--text-color);
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.cookie-toggle {
    position: relative;
    width: 50px;
    height: 24px;
    background: var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s;
}

.cookie-toggle.active {
    background: var(--primary-color);
}

.cookie-toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: left 0.3s;
}

.cookie-toggle.active::after {
    left: 28px;
}

.cookie-toggle.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cookie-notice-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cookie-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .cookie-settings-content {
        margin: 1rem;
        padding: 1.5rem;
    }
}