/* Global Styles */
:root {
    --primary-color: #2d3436;       /* Changed from gold to black */
    --secondary-color: #74b9ff;     /* Light blue from the hologram */
    --accent-color: #e1e1e1;        /* Light gray/white from the hologram */
    --ai-color: #7ED6DF;            /* Brighter blue for AI letters */
    --text-color: #2d3436;          /* Dark gray for text */
    --light-color: #f5f7fa;         /* Light gray/white */
    --dark-color: #2d3436;          /* Dark color for contrast */
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    --background-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

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

section {
    padding: 80px 0;
}

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

p {
    margin-bottom: 1rem;
}

.highlight {
    color: var(--primary-color);
}

.ai-letters {
    color: var(--ai-color);
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.ai-letters::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--ai-color);
    opacity: 0.7;
}

/* Button Styles */
.primary-btn, .secondary-btn, .telegram-btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.primary-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    background-color: var(--dark-color);
    color: white;
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
}

.primary-btn:hover {
    background-color: #485460;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.primary-btn .ai-letters {
    color: var(--ai-color);
    text-shadow: 0 0 5px rgba(126, 214, 223, 0.5);
}

.primary-btn .ai-letters::after {
    background-color: var(--ai-color);
}

.secondary-btn {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    margin-left: 12px;
}

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

.telegram-btn {
    background-color: var(--secondary-color);
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    box-shadow: var(--box-shadow);
}

.telegram-btn:hover {
    background-color: #3498db;
    transform: translateY(-3px);
}

.telegram-btn i {
    font-size: 1.2rem;
}

.cta-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background-color: rgba(45, 52, 54, 0.9);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

header.scrolled .logo,
header.scrolled .nav-links a {
    color: white;
}

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

.nav-links a {
    font-weight: 500;
    position: relative;
    color: white;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

header.scrolled .hamburger .line {
    background-color: white;
}

/* Hero Section */
.hero {
    padding-top: 0;
    padding-bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7)), url('images/photo_2025-05-03_22-16-30.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    overflow: hidden;
}

.hero .container {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    position: relative;
    z-index: 2;
    padding: 0 40px 40px 0;
}

.hero-content {
    max-width: 450px;
    width: auto;
    padding: 20px 25px;
    color: white;
    text-align: left;
    border-radius: 10px;
    background-color: rgba(45, 52, 54, 0.5);
    box-shadow: var(--box-shadow);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-left: 4px solid var(--primary-color);
    margin-left: auto;
    display: inline-block;
}

.hero-content h1 {
    margin-bottom: 0;
    font-size: 2.6rem;
    line-height: 1.2;
    color: white;
}

.hero-content h1 .highlight {
    color: var(--ai-color);
    text-shadow: 0 0 10px rgba(126, 214, 223, 0.8);
    font-weight: 700;
}

.hero-content p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 100%;
}

/* Hero Sub Section */
.hero-sub {
    padding: 40px 0;
    background-color: var(--light-color);
    text-align: center;
    border-bottom: 1px solid rgba(45, 52, 54, 0.1);
}

.hero-sub p {
    font-size: 1.4rem;
    color: var(--dark-color);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-sub .cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
}

/* Statistics Section */
.statistics {
    background-color: #f5f6fa;
    padding: 80px 0;
}

.statistics h2 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.source {
    text-align: center;
    margin-bottom: 40px;
    font-style: italic;
    color: #666;
}

.source a {
    color: var(--ai-color);
    text-decoration: underline;
}

.stats-grid {
    display: flex;
    flex-direction: column;
    max-width: 900px;
    margin: 2rem auto 0;
    gap: 30px;
}

.stat-card {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-content {
    flex: 1;
    padding-right: 30px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.1;
    white-space: nowrap;
}

.stat-card p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.stat-source {
    display: inline-block;
    margin-bottom: 0;
    color: var(--ai-color);
    font-weight: 500;
}

.stat-graph {
    width: 200px;
    height: 150px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.bar-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 120px;
    gap: 20px;
}

.bar {
    width: 60px;
    background-color: #aaaaaa;
    border-radius: 5px 5px 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    transition: height 1s ease, transform 0.3s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bar:hover {
    transform: translateY(-3px);
}

.bar.active {
    background-color: var(--primary-color);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 3px 6px rgba(0, 0, 0, 0.2);
}

.graph-labels {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.graph-labels span {
    width: 60px;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
}

.statistics-footer {
    text-align: center;
    max-width: 800px;
    margin: 50px auto 0;
    font-size: 1.3rem;
    color: var(--text-color);
    line-height: 1.6;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border-left: 3px solid var(--primary-color);
    font-weight: 500;
    animation: fadeInUp 1s ease forwards;
    animation-iteration-count: 1;
    position: relative;
}

.statistics-footer::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
    border-radius: 3px;
}

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

/* How It Works Section */
.how-it-works {
    background: white;
    padding: 80px 0;
}

.how-it-works h2 {
    margin-bottom: 60px;
}

.steps {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 24px;
    width: 2px;
    background-color: var(--primary-color);
}

.step {
    display: flex;
    margin-bottom: 50px;
    position: relative;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
    z-index: 2;
    box-shadow: 0 0 0 5px white, 0 0 0 6px rgba(45, 52, 54, 0.2);
}

.step-content {
    margin-left: 30px;
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    flex: 1;
    border-left: 3px solid var(--primary-color);
}

.step-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.step-content p {
    color: var(--text-color);
    margin-bottom: 0;
}

/* FAQ Section */
.faq {
    background-color: #f5f6fa;
    padding: 80px 0;
}

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

.accordion-item {
    background-color: white;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    border-left: 3px solid var(--primary-color);
}

.accordion-header {
    width: 100%;
    background-color: white;
    padding: 20px;
    text-align: left;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: #f8f9fa;
}

.accordion-header i {
    transition: transform 0.3s ease;
}

.accordion-header.active i {
    transform: rotate(-180deg);
}

.accordion-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    padding: 0 20px 20px;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
}

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

.social-links a {
    background-color: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 900px) {
    .hero {
        min-height: 80vh;
    }
    
    .hero .container {
        padding: 0 20px 30px 0;
    }
    
    .hero-content {
        max-width: 400px;
        padding: 15px 20px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
    
    .primary-btn {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .hero-sub p {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    section {
        padding: 60px 0;
    }
    
    .stats-grid {
        max-width: 95%;
        gap: 25px;
    }
    
    .stat-card {
        padding: 25px 20px;
        flex-direction: column;
    }
    
    .stat-content {
        padding-right: 0;
        padding-bottom: 20px;
        text-align: center;
        width: 100%;
    }
    
    .stat-number {
        font-size: 2.7rem;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 250px;
        background-color: rgba(45, 52, 54, 0.9);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        z-index: 1001;
    }

    .nav-links a {
        margin: 15px 0;
        font-size: 1.1rem;
    }

    .nav-links.active {
        right: 0;
    }
    
    .step {
        flex-direction: column;
    }
    
    .step-content {
        margin-left: 0;
        margin-top: 15px;
    }
    
    .steps::before {
        display: none;
    }
    
    .step-number {
        margin-left: 10px;
    }
    
    .stat-graph {
        width: 100%;
    }

    .bar {
        width: 55px;
        font-size: 1.1rem;
    }
    
    .graph-labels span {
        font-size: 0.95rem;
    }

    .statistics-footer {
        margin-top: 40px;
        font-size: 1.2rem;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 70vh;
    }

    .hero .container {
        justify-content: center;
        padding: 0 0 30px 0;
    }
    
    .hero-content {
        max-width: 85%;
        padding: 15px;
        margin: 0 auto;
    }
    
    .hero-content h1 {
        font-size: 1.7rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .primary-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .hero-sub p {
        font-size: 1.1rem;
    }
    
    .stat-card {
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 2.2rem;
        white-space: normal;
    }
    
    .stat-content {
        padding-bottom: 15px;
    }
    
    .stat-graph {
        height: 130px;
    }
    
    .bar-container {
        height: 100px;
    }
    
    .statistics-footer {
        margin-top: 35px;
        font-size: 1.1rem;
        padding: 15px 10px;
    }

    .bar {
        width: 50px;
        font-size: 1rem;
    }
    
    .graph-labels span {
        font-size: 0.9rem;
    }
}

/* Animation styles */
.fade-in {
    animation: fadeIn 0.6s ease-in both;
}

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

.feature-card, .subscribe-content, .accordion-item {
    opacity: 0;
}

.primary-btn .ai-letters {
    color: var(--ai-color);
    text-shadow: 0 0 5px rgba(126, 214, 223, 0.5);
}

.primary-btn .ai-letters::after {
    background-color: var(--ai-color);
} 
/* ==============================================
  Article Page & Blog Preview Styles
==============================================
*/

/* --- Стили для страницы статьи --- */
.article-page {
    background-color: white;
    padding: 30px 0 30px 0; /* Больше отступ сверху из-за фиксированной шапки */
}

.article-container {
    max-width: 800px;
}

.article-page h1 {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 15px;
}

.article-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.article-page p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.article-page h2 {
    font-size: 1.8rem;
    text-align: left;
    margin-top: 40px;
    margin-bottom: 20px;
}

.article-page ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 25px;
}

.article-page ul li {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 10px;
}

.article-cta {
    background-color: var(--light-color);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    margin: 40px 0;
    border-left: 4px solid var(--ai-color);
}

.article-cta p {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.article-cta-final {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background-color: var(--dark-color);
    color: white;
    border-radius: 15px;
}

.article-cta-final h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: white;
}

.article-cta-final p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
}

/* --- Стили для блока "Наш блог" на главной --- */

.blog-preview {
    background-color: var(--light-color);
    padding: 80px 0;
}

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

.article-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.article-card-content {
    padding: 25px;
}

.article-card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.article-card-content p {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #6c757d;
}

.article-read-more {
    font-weight: 600;
    color: var(--ai-color);
    text-decoration: none;
}

.article-read-more:hover {
    text-decoration: underline;
}

/* Секция для последнего CTA */
.final-cta {
    background-color: white;
    padding: 60px 0;
}

/* Медиа-запросы для адаптивности */
@media (max-width: 768px) {
    .article-page h1 {
        font-size: 1.8rem;
    }
    .article-page h2 {
        font-size: 1.5rem;
    }
}