@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Палитра из скриншота: глубокий зеленый/изумрудный и бирюзовый акцент */
    --bg-main: #06110F;        /* Очень темный зеленый фон */
    --bg-card: #0A1E1B;        /* Фон карточек (чуть светлее фона) */
    --bg-header: transparent;  /* Прозрачный хедер */
    
    --accent: #00D09C;         /* Бирюзовый / неоновый зеленый */
    --accent-hover: #00F0B5;
    
    --text-white: #FFFFFF;
    --text-gray: #8A9D9B;      /* Приглушенный серо-зеленый текст */
    --border-color: #0F2D29;   /* Еле заметные рамки */
    
    /* Современный геометрический шрифт */
    --font-main: 'Outfit', sans-serif;
}

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

body { 
    font-family: var(--font-main); 
    background-color: var(--bg-main); 
    color: var(--text-gray); 
    line-height: 1.6; 
    display: flex; 
    flex-direction: column; 
    min-height: 100vh; 
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
}

/* Создаем эффект абстрактного бирюзового свечения (как жидкость на фоне в скрине) */
body::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 900px;
    background: 
        radial-gradient(ellipse at 20% 10%, rgba(0, 208, 156, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(5, 100, 80, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(0, 150, 120, 0.08) 0%, transparent 60%);
    z-index: -1; pointer-events: none;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
a:hover { opacity: 0.8; }
h1, h2, h3, h4 { color: var(--text-white); font-weight: 600; letter-spacing: -0.5px; }

.container { max-width: 1300px; margin: 0 auto; padding: 0 30px; width: 100%; }

/* --- HEADER --- */
.site-header { background: var(--bg-header); border-bottom: none; padding-top: 15px; }
.header-top { display: flex; justify-content: space-between; align-items: center; padding: 20px 30px; max-width: 1300px; margin: 0 auto; }
.header-left { display: flex; align-items: center; gap: 10px; color: var(--text-white); cursor: pointer; }
.header-left svg { display: none; }
.logo { font-size: 1.6rem; font-weight: 700; color: var(--text-white); letter-spacing: 0; text-transform: none; }
.header-right { color: var(--text-white); font-weight: 500; font-size: 0.95rem; }
.header-right svg { display: none; }

.header-nav { border-top: none; background: transparent; margin-top: -65px; pointer-events: none; }
.nav-links { display: flex; justify-content: center; gap: 40px; padding: 15px 20px; max-width: 1300px; margin: 0 auto; pointer-events: auto; }
.nav-links a { color: var(--text-gray); font-weight: 400; font-size: 1rem; }
.nav-links a:hover { color: var(--text-white); }

/* --- TAG CLOUD --- */
.tag-cloud-wrapper { margin: 20px auto 40px; max-width: 1300px; padding: 0 30px; }
.tag-cloud-title { display: none; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tag-item { 
    background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); color: var(--text-gray); 
    padding: 8px 18px; border-radius: 4px; font-size: 0.9rem; font-weight: 400; display: inline-flex; align-items: center; gap: 8px;
}
.tag-item:hover { background: var(--accent); color: #000; border-color: var(--accent); transform: none; }
.tag-count { background: transparent; padding: 0; font-size: 0.8rem; opacity: 0.6; color: inherit; }

/* --- HERO GRID SECTION (Магия перестроения макета) --- */
/* Делаем блок обычным потоковым, чтобы Hero-Left стал 100% ширины сверху */
.hero-grid { display: block; margin: 40px auto 60px; max-width: 1300px; padding: 0 30px; }

/* --- HERO LEFT: Превращаем в огромный заголовок с кнопкой из скриншота --- */
.hero-left { margin-bottom: 80px; }
.hero-left .post-thumb-card { 
    height: auto; min-height: 40vh; 
    background: transparent !important; border: none; padding: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.hero-left .post-thumb-title { 
    font-size: 4.5rem; line-height: 1.1; font-weight: 600; color: var(--text-white); 
    max-width: 900px; margin: 0 auto; text-shadow: none; order: 1; letter-spacing: -1.5px;
}
/* Превращаем бейдж категории в главную кнопку "Explore Project" */
.hero-left .cat-badge { 
    background: var(--accent); color: #041412; 
    padding: 14px 35px; font-size: 1rem; font-weight: 600; 
    text-transform: none; border-radius: 4px; display: inline-block; 
    margin-top: 40px; margin-bottom: 0; letter-spacing: 0; order: 2; transition: 0.3s;
}
.hero-left .cat-badge:hover { background: var(--accent-hover); transform: translateY(-2px); }

/* --- HERO RIGHT & BOTTOM GRID: Превращаем в 3-колоночную сетку услуг --- */
.hero-right { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 992px) { .hero-right { grid-template-columns: repeat(2, 1fr); } .hero-left .post-thumb-title { font-size: 3rem; } }
@media (max-width: 600px) { .hero-right { grid-template-columns: 1fr; } .hero-left .post-thumb-title { font-size: 2.2rem; } }

.bg-gradient-1, .bg-gradient-2, .bg-gradient-3 { background: var(--bg-card) !important; }

.hero-right .post-thumb-card, .bottom-grid .post-thumb-card { 
    background: var(--bg-card) !important; border-radius: 4px; overflow: hidden; 
    display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start;
    padding: 35px 30px; transition: all 0.3s ease; border: 1px solid rgba(255,255,255,0.02); height: 240px;
}
.hero-right .post-thumb-card:hover, .bottom-grid .post-thumb-card:hover { transform: translateY(-4px); background: #0D2623 !important; }

/* CSS-Хакинг: превращаем текстовый бейдж в круглую иконку */
.hero-right .cat-badge, .bottom-grid .cat-badge { 
    width: 44px; height: 44px; border-radius: 50%; 
    background: rgba(0, 208, 156, 0.1); color: transparent; /* Скрываем оригинальный текст */
    display: flex; align-items: center; justify-content: center; 
    margin-bottom: 25px; position: relative; padding: 0; overflow: hidden;
}
.hero-right .cat-badge::after, .bottom-grid .cat-badge::after {
    content: '✦'; /* Вставляем звезду как иконку */
    position: absolute; color: var(--accent); font-size: 1.2rem;
}

.hero-right .post-thumb-title, .bottom-grid .post-thumb-title { 
    color: var(--text-white); font-size: 1.3rem; line-height: 1.3; font-weight: 500; text-shadow: none; margin-bottom: 15px;
}
/* Добавляем подзаголовок карточки через ::after */
.hero-right .post-thumb-title::after, .bottom-grid .post-thumb-title::after {
    content: 'Creating a cohesive and impactful experience for your digital business.';
    display: block; font-size: 0.95rem; color: var(--text-gray); font-weight: 300; margin-top: 10px; line-height: 1.5;
}


/* --- BOTTOM POST GRID --- */
.section-header { 
    display: flex; flex-direction: column; align-items: flex-start; 
    border-bottom: none; padding-bottom: 0; margin-bottom: 40px; max-width: 800px;
}
.section-header h3 { 
    font-size: 2.8rem; font-weight: 500; text-transform: none; letter-spacing: -1px; 
    color: var(--text-white); display: flex; flex-direction: column; gap: 15px; line-height: 1.2;
}
/* Стилизуем маленькую зеленую надпись над заголовком */
.section-header h3::before { 
    content: 'Our Delightful Services'; display: block; width: auto; height: auto; 
    background: none; color: var(--accent); font-size: 1rem; font-weight: 500; border-radius: 0; letter-spacing: 0;
}

.bottom-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 24px; margin-bottom: 80px; }

/* --- POST ARTICLE --- */
.post-container { max-width: 900px; margin: 40px auto 80px; background: var(--bg-card); padding: 60px; border-radius: 8px; border: 1px solid var(--border-color); }
@media(max-width: 768px) { .post-container { padding: 30px 20px; } }
.post-header { margin-bottom: 40px; }
.post-h1 { font-size: 3rem; line-height: 1.2; margin-bottom: 25px; color: var(--text-white); letter-spacing: -1px; }
.post-meta-info { display: flex; align-items: center; gap: 15px; color: var(--text-gray); font-size: 0.95rem; border-top: 1px solid var(--border-color); padding-top: 25px; }
.post-meta-info img { width: 45px; height: 45px; border-radius: 50%; opacity: 0.8; }
.post-meta-text strong { color: var(--text-white); display: block; font-size: 1rem; font-weight: 500;}

/* POST CONTENT */
.post-content { font-size: 1.1rem; line-height: 1.8; color: var(--text-gray); font-weight: 300;}
.post-content p { margin-bottom: 25px; }
.post-content h2 { font-size: 2rem; margin: 50px 0 20px; color: var(--text-white); border-bottom: none; font-weight: 500; }
.post-content h3 { font-size: 1.5rem; margin: 30px 0 15px; color: var(--text-white); font-weight: 500;}
.post-content ul, .post-content ol { margin: 0 0 25px 20px; padding-left: 20px; }
.post-content li { margin-bottom: 10px; }
.post-content blockquote { font-style: normal; font-size: 1.2rem; border-left: 2px solid var(--accent); padding: 25px 30px; margin: 40px 0; background: rgba(0, 208, 156, 0.03); color: var(--text-white); border-radius: 0 8px 8px 0; }
.post-content table { width: 100%; border-collapse: collapse; margin: 40px 0; border: 1px solid var(--border-color); }
.post-content th, .post-content td { padding: 18px; border: 1px solid var(--border-color); text-align: left; }
.post-content th { background: rgba(0, 208, 156, 0.05); font-weight: 500; color: var(--accent); }
.post-content a { color: var(--accent); font-weight: 400; text-decoration: none; border-bottom: 1px solid rgba(0, 208, 156, 0.3); padding-bottom: 2px;}
.post-content a:hover { border-bottom-color: var(--accent); }

/* FAQ BLOCK */
.faq-block { background: rgba(0,0,0,0.2); padding: 30px; margin: 30px 0; border-radius: 8px; border: 1px solid var(--border-color); border-left: 3px solid var(--accent);}
.faq-question { font-weight: 500; font-size: 1.25rem; margin-bottom: 10px; color: var(--text-white); }
.faq-answer { font-size: 1rem; color: var(--text-gray); font-weight: 300;}

/* --- PAGINATION (Стилизуем под кнопку 'See All' со скриншота) --- */
.pagination { display: flex; justify-content: center; gap: 10px; margin: 40px 0 80px; }
.page-link { display: inline-flex; align-items: center; justify-content: center; width: auto; min-width: 45px; padding: 0 15px; height: 45px; border: 1px solid var(--border-color); border-radius: 4px; font-size: 1rem; color: var(--text-white); background: transparent; transition: 0.3s; }
.page-link:hover, .page-link.active { background: var(--bg-card); border-color: var(--accent); color: var(--accent); }

/* --- FOOTER --- */
.site-footer { background: var(--bg-main); border-top: 1px solid var(--border-color); padding: 80px 0 30px; margin-top: auto; }
.footer-container { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media(min-width: 768px) { .footer-container { grid-template-columns: 1.5fr 1fr 1fr; } }
.footer-logo { font-size: 1.8rem; font-weight: 600; color: var(--text-white); margin-bottom: 15px; display: inline-block; letter-spacing: -0.5px;}
.footer-text { color: var(--text-gray); font-size: 0.95rem; line-height: 1.7; margin-bottom: 20px; font-weight: 300; }
.footer-title { color: var(--text-white); font-size: 1.1rem; margin-bottom: 25px; font-weight: 500; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 15px; }
.footer-links a { color: var(--text-gray); transition: color 0.3s; font-size: 0.95rem; font-weight: 300;}
.footer-links a:hover { color: var(--accent); }
.contact-info { list-style: none; color: var(--text-gray); font-size: 0.95rem; font-weight: 300;}
.contact-info li { margin-bottom: 15px; display: flex; align-items: flex-start; gap: 10px; }
.footer-bottom { text-align: left; margin-top: 60px; padding-top: 25px; border-top: 1px solid var(--border-color); font-size: 0.85rem; color: var(--text-gray); font-weight: 300;}