/*
Theme Name: Axion AI
Theme URI: https://axionai.dev
Author: Axion AI Team
Author URI: https://axionai.dev
Description: Professional, modern, futuristic WordPress theme for AI-powered development studios. Dark theme with blue accents, built for performance, SEO, and stunning visual experience. Calibrated to match exact Lovable design specifications.
Version: 1.0.5
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: axion-ai
Tags: dark, modern, futuristic, portfolio, business, ai, technology, one-column, custom-colors, custom-menu, featured-images, full-width-template, theme-options, threaded-comments, translation-ready
*/

/* ========================================
   CALIBRATED TO LOVABLE DESIGN
   Updated: 2025-10-13
======================================== */

/* ========================================
   GLOBAL RESET & BASE
======================================== */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0f1629;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: #3b82f6;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover,
a:focus {
    color: #60a5fa;
    outline: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

/* ========================================
   CSS VARIABLES (Lovable Design System)
======================================== */

:root {
    /* Colors from Lovable */
    --primary-blue: #3b82f6;
    --primary-hover: #2563eb;
    --accent-blue: #60a5fa;
    --dark-bg: #0f1629;
    --dark-card: #1a1f3a;
    --dark-card-hover: #232844;
    --text-white: #ffffff;
    --text-gray: #9ca3af;
    --text-light-gray: #6b7280;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px;
    
    /* Transitions */
    --transition: 0.3s ease;
}

/* ========================================
   TYPOGRAPHY
======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-white);
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
}

p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* ========================================
   LAYOUT
======================================== */

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-white);
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   HEADER & NAVIGATION (Minimal/Hidden)
======================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition);
}

.site-header.scrolled {
    background: rgba(15, 22, 41, 0.95);
    backdrop-filter: blur(10px);
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
}

.nav-menu {
    display: none; /* Hidden in Lovable design */
}

/* ========================================
   HERO SECTION (Exact Lovable Match)
======================================== */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--dark-bg); /* Fallback color */
    
    /* --- ✅ NEW: BACKGROUND IMAGE --- */
    background-image: url('assets/images/hero-background.jpg');
    background-size: cover;
    background-position: center center;
    
    position: relative;
    overflow: hidden;
    padding: 120px 24px 80px;
}

/* --- ✅ NEW: OVERLAY FOR READABILITY --- */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(15, 22, 41, 0.75); /* Dark blue overlay with 75% opacity */
    z-index: 1;
}

/* --- ❌ DELETED: Particle animation removed as it conflicts with the image --- */

/* --- ✅ UPDATED: Hero content now needs a higher z-index --- */
.hero-content {
    position: relative;
    z-index: 2; /* Content must be ABOVE the overlay */
    max-width: 900px;
    margin: 0 auto;
}


.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.6;
    color: #d1d5db; /* Made slightly lighter to improve contrast on the new background */
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: #3b82f6;
    color: #ffffff;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.hero-cta:hover,
.hero-cta:focus {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    color: #ffffff;
}

.hero-cta i {
    font-size: 18px;
    transition: transform var(--transition);
}

.hero-cta:hover i {
    transform: translateX(4px);
}

/* ========================================
   TECHNOLOGY SHOWCASE
======================================== */

.tech-section {
    background: #0f1629;
    padding: 80px 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.tech-item {
    background: #1a1f3a;
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    transition: all var(--transition);
}

.tech-item:hover {
    background: #232844;
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-4px);
}

.tech-item img {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    opacity: 0.8;
    filter: brightness(0) invert(1);
    transition: all var(--transition);
}

.tech-item:hover img {
    opacity: 1;
    filter: none;
    transform: scale(1.1);
}

.tech-item span {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
}

/* ========================================
   PROBLEM/SOLUTION SECTION
======================================== */

.solutions-section {
    background: #0f1629;
    padding: 80px 0;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.solution-card {
    background: #1a1f3a;
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 16px;
    padding: 40px 32px;
    transition: all var(--transition);
}

.solution-card:hover {
    background: #232844;
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-4px);
}

.solution-icon {
    font-size: 48px;
    color: #3b82f6;
    margin-bottom: 24px;
}

.solution-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
}

.solution-description {
    font-size: 14px;
    line-height: 1.7;
}

.solution-problem {
    color: #9ca3af;
    margin-bottom: 12px;
}

.solution-problem strong {
    color: #ffffff;
}

.solution-answer {
    color: #9ca3af;
}

.solution-answer strong {
    color: #3b82f6;
}

/* ========================================
   PORTFOLIO SECTION
======================================== */

.portfolio-section {
    background: #0f1629;
    padding: 80px 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.portfolio-card {
    background: #1a1f3a;
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%; /* ✅ Все карточки одинаковой высоты */
}

.portfolio-card:hover {
    background: #232844;
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-4px);
}

.portfolio-image {
    width: 100%;
    height: 280px;
    min-height: 280px; /* ✅ ВАЖНО: минимальная высота */
    max-height: 280px; /* ✅ ВАЖНО: максимальная высота */
    object-fit: cover;
    object-position: center;
    background: linear-gradient(135deg, #d1d5db 0%, #f3f4f6 100%);
    display: block;
    flex-shrink: 0; /* ✅ Изображение не сжимается */
}

/* ✅ Если изображение - это <img> тег */
.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.portfolio-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* ✅ Распределяет контент */
}

.portfolio-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
}

.portfolio-description {
    font-size: 14px;
    line-height: 1.6;
    color: #9ca3af;
    margin-bottom: 16px;
    flex-grow: 1; /* ✅ Описание растягивается */
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #3b82f6;
    font-size: 14px;
    font-weight: 600;
    transition: all var(--transition);
    margin-top: auto; /* ✅ Ссылка всегда внизу */
}

.portfolio-link:hover {
    color: #60a5fa;
    gap: 10px;
}

.portfolio-link i {
    font-size: 14px;
    transition: transform var(--transition);
}

.portfolio-link:hover i {
    transform: translateX(4px);
}
/* ========================================
   WHY US SECTION
======================================== */

.why-us-section {
    background: #0f1629;
    padding: 80px 0;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.why-us-item {
    background: #1a1f3a;
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    transition: all var(--transition);
}

.why-us-item:hover {
    background: #232844;
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-4px);
}

.why-us-icon {
    font-size: 48px;
    color: #3b82f6;
    margin-bottom: 24px;
}

.why-us-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
}

.why-us-description {
    font-size: 14px;
    line-height: 1.7;
    color: #9ca3af;
}

/* ========================================
   FOOTER
======================================== */

.site-footer {
    background: #0f1629;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 16px;
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
    color: #9ca3af;
    margin-bottom: 24px;
    max-width: 300px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #9ca3af;
    font-size: 14px;
    transition: color var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-column a:hover {
    color: #ffffff;
}

.footer-column a i {
    color: #3b82f6;
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
}

.footer-copyright {
    font-size: 14px;
    color: #6b7280;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */

@media (max-width: 1024px) {
    .tech-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .solutions-grid,
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .solutions-grid,
    .portfolio-grid,
    .why-us-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .hero-section {
        padding: 100px 20px 60px;
    }
}

/* ========================================
   ACCESSIBILITY
======================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* ============================================
   SINGLE POST STYLES
   ============================================ */

.single-post-main {
    padding: 80px 0;
    background: var(--dark-bg);
    min-height: 100vh;
}

.single-post-layout {
    max-width: 900px;
    margin: 0 auto;
}

/* Article */
.single-post-article {
    background: var(--dark-card);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 40px;
}

/* Entry Header */
.entry-header {
    padding: 60px 60px 40px;
}

.entry-category {
    margin-bottom: 20px;
}

.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-blue);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-badge:hover {
    background: rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

.entry-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin: 0 0 24px;
}

.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    font-size: 14px;
    color: var(--text-gray);
}

.entry-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.entry-meta i {
    color: var(--primary-blue);
}

.entry-meta a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.entry-meta a:hover {
    color: var(--primary-blue);
}

/* Featured Image */
.entry-thumbnail {
    width: 100%;
    line-height: 0;
}

.single-post-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Content */
.entry-content {
    padding: 60px;
    font-size: 18px;
    line-height: 1.8;
    color: #e5e7eb;
}

.entry-content p {
    margin-bottom: 24px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: #ffffff;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
}

.entry-content h2 {
    font-size: 36px;
}

.entry-content h3 {
    font-size: 28px;
}

.entry-content h4 {
    font-size: 22px;
}

.entry-content a {
    color: var(--primary-blue);
    text-decoration: none;
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.entry-content a:hover {
    border-bottom-color: var(--primary-blue);
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 24px;
    padding-left: 30px;
}

.entry-content li {
    margin-bottom: 12px;
}

.entry-content blockquote {
    margin: 32px 0;
    padding: 24px 32px;
    background: rgba(59, 130, 246, 0.05);
    border-left: 4px solid var(--primary-blue);
    font-style: italic;
    color: #e5e7eb;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 32px 0;
}

.entry-content code {
    padding: 4px 8px;
    background: rgba(15, 22, 41, 0.5);
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    color: var(--primary-blue);
}

.entry-content pre {
    background: rgba(15, 22, 41, 0.5);
    padding: 24px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 32px 0;
}

.entry-content pre code {
    padding: 0;
    background: transparent;
}

/* Page Links */
.page-links {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.page-links-title {
    color: #ffffff;
    font-weight: 600;
    margin-right: 12px;
}

.page-number {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-blue);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-number:hover,
.page-links > span > .page-number {
    background: var(--primary-blue);
    color: #ffffff;
}

/* Tags */
.entry-footer {
    padding: 40px 60px 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.entry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.entry-tags i {
    color: var(--primary-blue);
    font-size: 18px;
}

.tag-link {
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--text-gray);
    border-radius: 6px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag-link:hover {
    background: var(--primary-blue);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Post Navigation */
.post-navigation {
    margin-bottom: 40px;
}

.post-navigation .nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.post-navigation .nav-link {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 32px;
    background: var(--dark-card);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.post-navigation .nav-link:hover {
    background: rgba(26, 31, 58, 0.8);
    border-color: var(--primary-blue);
    transform: translateY(-4px);
}

.post-navigation .nav-subtitle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 500;
}

.post-navigation .nav-subtitle i {
    color: var(--primary-blue);
}

.post-navigation .nav-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.4;
}

.post-navigation .nav-next {
    text-align: right;
}

.post-navigation .nav-next .nav-subtitle {
    justify-content: flex-end;
}

/* Single column when only one nav */
.post-navigation .nav-links:has(.nav-previous):not(:has(.nav-next)) {
    grid-template-columns: 1fr;
}

.post-navigation .nav-links:has(.nav-next):not(:has(.nav-previous)) {
    grid-template-columns: 1fr;
}

/* Author Bio */
.author-bio-section {
    margin-bottom: 40px;
}

.author-bio-card {
    display: flex;
    gap: 32px;
    padding: 40px;
    background: var(--dark-card);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.author-avatar {
    flex-shrink: 0;
}

.author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--primary-blue);
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 12px;
}

.author-description {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 16px;
}

.author-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.author-link:hover {
    gap: 12px;
}

/* ============================================
   RESPONSIVE - SINGLE POST
   ============================================ */

@media (max-width: 768px) {
    .single-post-main {
        padding: 40px 0;
    }

    .entry-header {
        padding: 40px 24px 24px;
    }

    .entry-title {
        font-size: 32px;
    }

    .entry-content {
        padding: 40px 24px;
        font-size: 16px;
    }

    .entry-content h2 {
        font-size: 28px;
    }

    .entry-content h3 {
        font-size: 22px;
    }

    .entry-content h4 {
        font-size: 18px;
    }

    .entry-footer {
        padding: 24px;
    }

    .post-navigation .nav-links {
        grid-template-columns: 1fr;
    }

    .post-navigation .nav-next {
        text-align: left;
    }

    .post-navigation .nav-next .nav-subtitle {
        justify-content: flex-start;
    }

    .author-bio-card {
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        text-align: center;
    }

    .author-avatar {
        margin: 0 auto;
    }
}
/* ============================================
   FIX: Убираем лишние иконки из ссылок
   ============================================ */

/* Убираем иконки Font Awesome из обычных ссылок */
.entry-category a:before,
.entry-meta a:before,
.category-badge:before,
.tag-link:before,
.author-link:before,
.nav-link:before {
    content: none !important;
    display: none !important;
}

/* Также убираем из всех ссылок внутри entry-header и entry-meta */
.entry-header a:not(.category-badge):before,
.entry-meta span a:before {
    content: none !important;
    display: none !important;
}
/* Убираем лишние иконки только из Entry Meta на single.php */
.entry-category a:before,
.entry-meta a:before,
.category-badge:before,
.tag-link:before,
.author-link:before,
.nav-link:before,
.entry-header a:not(.category-badge):before,
.entry-meta span a:before {
    content: none !important;
    display: none !important;
}
/* ============================================
   PAGE TEMPLATE STYLES
   ============================================ */

.page-main {
    padding: 100px 0 80px;
    background: var(--dark-bg);
    min-height: 100vh;
}

.page-layout {
    max-width: 1000px;
    margin: 0 auto;
}

/* Page Article */
.page-article {
    background: var(--dark-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

/* Page Header */
.page-header {
    padding: 60px 60px 40px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin: 0 0 20px;
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-excerpt {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Featured Image */
.page-thumbnail {
    width: 100%;
    line-height: 0;
}

.page-featured-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Page Content */
.page-content {
    padding: 60px;
    font-size: 18px;
    line-height: 1.8;
    color: #e5e7eb;
}

.page-content > *:first-child {
    margin-top: 0;
}

.page-content > *:last-child {
    margin-bottom: 0;
}

.page-content p {
    margin-bottom: 24px;
}

.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
    color: #ffffff;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-content h2 {
    font-size: 36px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(59, 130, 246, 0.2);
}

.page-content h3 {
    font-size: 28px;
}

.page-content h4 {
    font-size: 22px;
}

.page-content h5 {
    font-size: 18px;
}

.page-content h6 {
    font-size: 16px;
}

.page-content a {
    color: var(--primary-blue);
    text-decoration: none;
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.page-content a:hover {
    border-bottom-color: var(--primary-blue);
    color: var(--accent-blue);
}

.page-content ul,
.page-content ol {
    margin-bottom: 24px;
    padding-left: 30px;
}

.page-content li {
    margin-bottom: 12px;
}

.page-content ul li {
    list-style-type: disc;
}

.page-content ol li {
    list-style-type: decimal;
}

.page-content blockquote {
    margin: 32px 0;
    padding: 24px 32px;
    background: rgba(59, 130, 246, 0.05);
    border-left: 4px solid var(--primary-blue);
    font-style: italic;
    color: #e5e7eb;
}

.page-content blockquote p:last-child {
    margin-bottom: 0;
}

.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 32px 0;
}

.page-content figure {
    margin: 32px 0;
}

.page-content figcaption {
    margin-top: 12px;
    font-size: 14px;
    color: var(--text-gray);
    text-align: center;
    font-style: italic;
}

.page-content table {
    width: 100%;
    margin: 32px 0;
    border-collapse: collapse;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-content table th,
.page-content table td {
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.page-content table th {
    background: rgba(59, 130, 246, 0.1);
    color: #ffffff;
    font-weight: 600;
}

.page-content table tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

.page-content code {
    padding: 4px 8px;
    background: rgba(15, 22, 41, 0.5);
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    color: var(--primary-blue);
}

.page-content pre {
    background: rgba(15, 22, 41, 0.5);
    padding: 24px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 32px 0;
}

.page-content pre code {
    padding: 0;
    background: transparent;
}

.page-content hr {
    margin: 40px 0;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* WordPress Blocks Support */
.page-content .wp-block-image {
    margin: 32px 0;
}

.page-content .wp-block-quote {
    margin: 32px 0;
    padding: 24px 32px;
    background: rgba(59, 130, 246, 0.05);
    border-left: 4px solid var(--primary-blue);
}

.page-content .wp-block-button__link {
    display: inline-block;
    padding: 12px 32px;
    background: var(--primary-blue);
    color: #ffffff !important;
    border-radius: 8px;
    font-weight: 600;
    border: none !important;
    transition: all 0.3s ease;
}

.page-content .wp-block-button__link:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

/* Page Links (pagination) */
.page-content .page-links {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.page-content .page-links-title {
    color: #ffffff;
    font-weight: 600;
    margin-right: 12px;
}

.page-content .page-number {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-blue);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-content .page-number:hover,
.page-content .page-links > span > .page-number {
    background: var(--primary-blue);
    color: #ffffff;
}

/* Page Footer (Edit Link) */
.page-footer {
    padding: 24px 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.edit-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-blue);
    border-radius: 6px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.edit-link:hover {
    background: rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

.edit-link i {
    font-size: 14px;
}

/* ============================================
   RESPONSIVE - PAGE TEMPLATE
   ============================================ */

@media (max-width: 768px) {
    .page-main {
        padding: 80px 0 60px;
    }

    .page-header {
        padding: 40px 24px 24px;
    }

    .page-title {
        font-size: 32px;
    }

    .page-excerpt {
        font-size: 16px;
    }

    .page-content {
        padding: 40px 24px;
        font-size: 16px;
    }

    .page-content h2 {
        font-size: 28px;
    }

    .page-content h3 {
        font-size: 22px;
    }

    .page-content h4 {
        font-size: 18px;
    }

    .page-footer {
        padding: 24px;
    }

    /* Better table handling on mobile */
    .page-content table {
        font-size: 14px;
    }

    .page-content table th,
    .page-content table td {
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 28px;
    }

    .page-content {
        padding: 32px 16px;
    }

    /* Stack table on very small screens */
    .page-content table,
    .page-content table thead,
    .page-content table tbody,
    .page-content table th,
    .page-content table td,
    .page-content table tr {
        display: block;
    }

    .page-content table thead {
        display: none;
    }

    .page-content table tr {
        margin-bottom: 16px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
    }

    .page-content table td {
        text-align: right;
        padding-left: 50%;
        position: relative;
    }

    .page-content table td:before {
        content: attr(data-label);
        position: absolute;
        left: 12px;
        font-weight: 600;
        color: #ffffff;
        text-align: left;
    }
}
/* ============================================
   404 ERROR PAGE STYLES - CENTERED VERSION
   ============================================ */

.error-404-main {
    padding: 120px 0 80px;
    background: var(--dark-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-404-main .container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.error-404-layout {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.error-404-content {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 404 Number Animation */
.error-404-number {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
    width: 100%;
}

.error-digit {
    font-size: 120px;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: float 2s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.error-digit:nth-child(1) {
    animation-delay: 0s;
}

.error-digit:nth-child(2) {
    animation-delay: 0.2s;
    font-size: 150px;
    animation: floatBig 2s ease-in-out infinite;
}

.error-digit:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-25px) scale(1.05);
    }
}

@keyframes floatBig {
    0%, 100% {
        transform: translateY(0px) scale(1) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) scale(1.1) rotate(5deg);
    }
}

/* Error Icon */
.error-404-icon {
    margin-bottom: 24px;
    width: 100%;
}

.error-404-icon i {
    font-size: 80px;
    color: var(--primary-blue);
    animation: strongPulse 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.5));
}

@keyframes strongPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.15);
    }
}

/* Error Text */
.error-404-title {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    width: 100%;
}

.error-404-description {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 48px;
    max-width: 600px;
    width: 100%;
}

/* Action Buttons */
.error-404-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 64px;
    flex-wrap: wrap;
    width: 100%;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary-blue);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    color: #ffffff;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-secondary:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
    color: var(--primary-blue);
}

.btn-primary i,
.btn-secondary i {
    font-size: 16px;
}

/* Search Section */
.error-404-search {
    background: var(--dark-card);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 64px;
    width: 100%;
    max-width: 700px;
}

.search-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.search-title i {
    color: var(--primary-blue);
}

.search-form-404 {
    width: 100%;
}

.search-form-wrapper {
    position: relative;
    display: flex;
    width: 100%;
}

.search-field {
    width: 100%;
    padding: 18px 70px 18px 24px;
    background: rgba(15, 22, 41, 0.5);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-field:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: rgba(15, 22, 41, 0.8);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.search-field::placeholder {
    color: var(--text-gray);
}

.search-submit {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: var(--primary-blue);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-submit:hover {
    background: var(--primary-hover);
    transform: translateY(-50%) scale(1.05);
}

.search-submit i {
    font-size: 18px;
}

/* Helpful Links */
.error-404-links {
    background: var(--dark-card);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 16px;
    padding: 32px 40px;
    width: 100%;
    max-width: 700px;
}

.links-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    text-align: center;
}

.helpful-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.helpful-links li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.helpful-links li a:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--primary-blue);
    color: #ffffff;
    transform: translateX(4px);
}

.helpful-links li a i {
    color: var(--primary-blue);
    font-size: 12px;
    transition: transform 0.3s ease;
}

.helpful-links li a:hover i {
    transform: translateX(4px);
}

/* Screen Reader Only */
.error-404-main .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ============================================
   RESPONSIVE - 404 PAGE
   ============================================ */

@media (max-width: 768px) {
    .error-404-main {
        padding: 80px 0 60px;
    }

    .error-digit {
        font-size: 80px;
    }

    .error-digit:nth-child(2) {
        font-size: 100px;
    }

    .error-404-icon i {
        font-size: 60px;
    }

    .error-404-title {
        font-size: 28px;
    }

    .error-404-description {
        font-size: 16px;
    }

    .error-404-search {
        padding: 32px 24px;
    }

    .search-title {
        font-size: 18px;
    }

    .error-404-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }

    .error-404-links {
        padding: 24px 16px;
    }

    .helpful-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .error-404-number {
        gap: 8px;
    }

    .error-digit {
        font-size: 60px;
    }

    .error-digit:nth-child(2) {
        font-size: 80px;
    }

    .error-404-icon i {
        font-size: 50px;
    }

    .error-404-title {
        font-size: 24px;
    }

    .search-field {
        padding: 14px 56px 14px 20px;
        font-size: 14px;
    }

    .search-submit {
        width: 40px;
        height: 40px;
    }
}
/* ============================================
   404 FIX - FORCE DISPLAY
   ============================================ */

/* Показываем кнопки принудительно */
.error-404-actions {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 16px !important;
    margin: 0 auto 64px !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    max-width: 700px !important;
}

.btn-primary,
.btn-secondary {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Центрируем ВСЁ */
.error-404-content > * {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Убираем кружок */
.error-404 .particle,
body.error-404::before,
body.error-404::after,
.error-404-main::before,
.error-404-main::after {
    display: none !important;
}
/* Фикс иконки робота на 404 */
.error-404-icon {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 auto 24px !important;
    width: 100% !important;
}

.error-404-icon i {
    display: inline-block !important;
    font-size: 80px !important;
    color: var(--primary-blue) !important;
}
/* ============================================
   HERO GRADIENT ANIMATION
   ============================================ */

.hero-section {
    background: 
        linear-gradient(
            135deg,
            #0f1629 0%,
            #1a2340 20%,
            #1a1f3a 40%,
            #0f1629 60%,
            #1a2340 80%,
            #0f1629 100%
        ),
        url('assets/images/hero-background.jpg');
    background-size: 300% 300%, cover;
    background-position: 0% 50%, center;
    background-blend-mode: overlay;
    animation: heroGradientFlow 20s ease-in-out infinite;
}

@keyframes heroGradientFlow {
    0% { 
        background-position: 0% 50%, center; 
    }
    25% { 
        background-position: 100% 50%, center; 
    }
    50% { 
        background-position: 100% 100%, center; 
    }
    75% { 
        background-position: 0% 100%, center; 
    }
    100% { 
        background-position: 0% 50%, center; 
    }
}

/* Отключаем на мобильных (экономия батареи) */
@media (max-width: 768px) {
    .hero-section {
        animation: none;
        background-size: cover;
    }
}

/* Accessibility: уважаем настройки пользователя */
@media (prefers-reduced-motion: reduce) {
    .hero-section {
        animation: none !important;
    }
}

/* Пауза при hover (optional - для интерактивности) */
.hero-section:hover {
    animation-play-state: paused;
}
/* ============================================
   ARCHIVE PAGE STYLES
   ============================================ */

/* Archive Header */
.archive-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #0f1629 0%, #1a1f3a 100%);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.archive-title-wrapper {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.archive-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.archive-description {
    font-size: 1.125rem;
    color: #9ca3af;
    line-height: 1.8;
}

/* Archive Posts Section */
.archive-posts {
    padding: 80px 0;
    background-color: #0f1629;
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Post Card */
.post-card {
    background-color: #1a1f3a;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-4px);
    border-color: #3b82f6;
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.2);
}

/* Post Thumbnail */
.post-thumbnail {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

/* Post Content */
.post-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Post Meta */
.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #9ca3af;
}

.post-meta i {
    margin-right: 0.25rem;
    color: #3b82f6;
}

.post-category a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-category a:hover {
    color: #3b82f6;
}

/* Post Title */
.post-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.post-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #3b82f6;
}

/* Post Excerpt */
.post-excerpt {
    color: #9ca3af;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Read More Button */
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #3b82f6;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.read-more:hover {
    color: #60a5fa;
    gap: 0.75rem;
}

.read-more i {
    font-size: 0.875rem;
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.pagination {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 1rem;
    background-color: #1a1f3a;
    color: #ffffff;
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-numbers:hover,
.page-numbers.current {
    background-color: #3b82f6;
    border-color: #3b82f6;
    color: #ffffff;
}

.page-numbers.dots {
    border: none;
    background: transparent;
}

.page-numbers i {
    font-size: 0.875rem;
}

/* No Posts Found */
.no-posts-found {
    text-align: center;
    padding: 4rem 2rem;
}

.no-posts-content {
    max-width: 600px;
    margin: 0 auto;
}

.no-posts-content i {
    font-size: 4rem;
    color: #3b82f6;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.no-posts-content h2 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.no-posts-content p {
    color: #9ca3af;
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* ============================================
   RESPONSIVE - ARCHIVE
   ============================================ */

@media (max-width: 768px) {
    .archive-header {
        padding: 80px 0 40px;
    }
    
    .archive-posts {
        padding: 60px 0;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .post-thumbnail {
        height: 200px;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 0.375rem;
    }
    
    .page-numbers {
        min-width: 40px;
        height: 40px;
        padding: 0 0.75rem;
        font-size: 0.875rem;
    }
}
/* ============================================
   SEARCH PAGE STYLES
   ============================================ */

/* Search Header */
.search-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #0f1629 0%, #1a1f3a 100%);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.search-title-wrapper {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.search-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.search-query {
    display: block;
    margin-top: 0.5rem;
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: clamp(2rem, 5vw, 3rem);
}

.search-count {
    font-size: 1rem;
    color: #9ca3af;
    margin-bottom: 2rem;
}

/* Search Form */
.search-form-wrapper {
    margin-top: 2rem;
}

.search-form {
    max-width: 600px;
    margin: 0 auto;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background-color: #1a1f3a;
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.search-input-wrapper:focus-within {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.search-field {
    flex: 1;
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1rem;
    outline: none;
}

.search-field::placeholder {
    color: #9ca3af;
}

.search-submit {
    padding: 1rem 1.75rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-submit:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.search-submit i {
    font-size: 1.125rem;
}

/* Search Results Section */
.search-results {
    padding: 80px 0;
    background-color: #0f1629;
}

/* Post Type Badge */
.post-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background-color: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #3b82f6;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.post-type-badge i {
    font-size: 0.875rem;
}

/* No Results Found */
.no-results-found {
    text-align: center;
    padding: 4rem 2rem;
}

.no-results-content {
    max-width: 600px;
    margin: 0 auto;
}

.no-results-content i {
    font-size: 4rem;
    color: #3b82f6;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.no-results-content h2 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.no-results-content > p {
    color: #9ca3af;
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Search Suggestions */
.search-suggestions {
    background-color: #1a1f3a;
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: left;
}

.search-suggestions h3 {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.search-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-suggestions li {
    color: #9ca3af;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.search-suggestions li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: bold;
}

/* Screen Reader Text */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ============================================
   RESPONSIVE - SEARCH
   ============================================ */

@media (max-width: 768px) {
    .search-header {
        padding: 80px 0 40px;
    }
    
    .search-results {
        padding: 60px 0;
    }
    
    .search-query {
        font-size: clamp(1.5rem, 8vw, 2rem);
    }
    
    .search-field {
        padding: 0.875rem 1.25rem;
        font-size: 0.9375rem;
    }
    
    .search-submit {
        padding: 0.875rem 1.25rem;
    }
    
    .search-suggestions {
        padding: 1.5rem;
    }
}
/* ============================================
   PRICE COMPARISON SECTION
   ============================================ */

.price-comparison-section {
    background: linear-gradient(135deg, #0f1629 0%, #1a1f3a 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.price-comparison-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(96, 165, 250, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.price-comparison-section .container {
    position: relative;
    z-index: 1;
}

/* Price Cards Grid */
.price-comparison-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 60px 0 80px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* Individual Price Card */
.price-card {
    background: var(--dark-card);
    border: 2px solid rgba(59, 130, 246, 0.1);
    border-radius: 20px;
    padding: 32px 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.price-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.2);
}

.price-card:hover::before {
    transform: scaleX(1);
}

/* Featured Card */
.price-card.featured {
    border-color: var(--primary-blue);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(26, 31, 58, 1) 100%);
    transform: scale(1.02);
}

.price-card.featured::before {
    transform: scaleX(1);
}

.price-card.featured:hover {
    transform: translateY(-8px) scale(1.02);
}

/* Badge */
.price-card .badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

/* Service Name */
.price-card .service-name {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    padding-right: 100px;
}

.price-card.featured .service-name {
    padding-right: 120px;
}

/* Price Row */
.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.agency-price,
.axion-price {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 110px;
}

.agency-price .label,
.axion-price .label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.agency-price .label {
    color: #6b7280;
}

.axion-price .label {
    color: var(--primary-blue);
}

.agency-price .amount {
    font-size: 16px;
    font-weight: 600;
    color: #9ca3af;
    text-decoration: line-through;
    opacity: 0.7;
}

.axion-price .amount {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
}

.axion-price .amount.highlight {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.axion-price .bonus {
    font-size: 12px;
    color: #10b981;
    font-weight: 600;
    display: inline-block;
    margin-left: 4px;
}

/* Arrow */
.price-row .arrow {
    font-size: 24px;
    color: var(--primary-blue);
    font-weight: 700;
    animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
    0%, 100% {
        transform: translateX(0);
        opacity: 1;
    }
    50% {
        transform: translateX(4px);
        opacity: 0.7;
    }
}

/* Savings */
.savings {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    margin-top: 20px;
}

.savings i {
    color: #10b981;
    font-size: 18px;
}

.savings span {
    color: #d1fae5;
    font-size: 14px;
    font-weight: 500;
}

.savings strong {
    color: #10b981;
    font-weight: 700;
    font-size: 16px;
}

/* Pricing Explanation */
.pricing-explanation {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

.explanation-card {
    background: var(--dark-card);
    border: 2px solid rgba(59, 130, 246, 0.1);
    border-radius: 20px;
    padding: 40px 32px;
    transition: all 0.3s ease;
}

.explanation-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-4px);
}

.explanation-card.highlight {
    border-color: var(--primary-blue);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(26, 31, 58, 1) 100%);
}

.explanation-icon {
    width: 64px;
    height: 64px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.explanation-icon i {
    font-size: 28px;
    color: var(--primary-blue);
}

.explanation-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.4;
}

.explanation-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.explanation-card ul li {
    color: #9ca3af;
    font-size: 15px;
    line-height: 1.8;
    padding-left: 28px;
    position: relative;
    margin-bottom: 12px;
}

.explanation-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-size: 24px;
    line-height: 1;
    top: -2px;
}

.explanation-card.highlight ul li {
    color: #d1d5db;
}

.explanation-card.highlight ul li::before {
    content: '✓';
    font-weight: 700;
    font-size: 18px;
}

/* Pricing CTA */
.pricing-cta {
    text-align: center;
    padding: 40px;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 20px;
    border: 2px solid rgba(59, 130, 246, 0.2);
}

.cta-text {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.4;
}

/* ============================================
   RESPONSIVE - PRICE COMPARISON
   ============================================ */

@media (max-width: 1400px) {
    .price-comparison-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        max-width: 1200px;
    }

    .pricing-explanation {
        gap: 24px;
    }
}

@media (max-width: 1100px) {
    .price-comparison-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    .price-comparison-section {
        padding: 60px 0;
    }

    .price-comparison-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 40px 0 60px;
        max-width: 500px;
    }

    .price-card.featured {
        transform: scale(1);
    }

    .price-card.featured:hover {
        transform: translateY(-8px) scale(1);
    }

    .price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .price-row .arrow {
        transform: rotate(90deg);
        align-self: center;
    }

    .agency-price,
    .axion-price {
        width: 100%;
    }

    .pricing-explanation {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }

    .explanation-card {
        padding: 32px 24px;
    }

    .pricing-cta {
        padding: 32px 24px;
    }

    .cta-text {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .price-card .service-name {
        font-size: 18px;
        padding-right: 0;
        margin-bottom: 36px;
    }

    .price-card.featured .service-name {
        padding-right: 0;
    }

    .price-card .badge {
        position: static;
        display: inline-block;
        margin-bottom: 16px;
    }

    .axion-price .amount {
        font-size: 20px;
    }

    .savings {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px 16px;
    }
}
/* ============================================
   SERVICES OVERVIEW SECTION
   ============================================ */

.services-section {
    background: #0f1629;
    padding: 100px 0;
    position: relative;
}

/* Service Category */
.service-category {
    margin-bottom: 80px;
}

.service-category:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.category-title i {
    color: var(--primary-blue);
    font-size: 32px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.services-grid.single-column {
    grid-template-columns: 1fr;
    max-width: 900px;
    margin: 0 auto;
}

.services-grid.addon-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Service Card */
.service-card {
    background: var(--dark-card);
    border: 2px solid rgba(59, 130, 246, 0.1);
    border-radius: 20px;
    padding: 40px 32px;
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.2);
}

/* Featured Card */
.service-card.featured {
    border-color: var(--primary-blue);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(26, 31, 58, 1) 100%);
}

.service-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 20px 20px 0 0;
}

/* Highlight Card */
.service-card.highlight {
    border-color: #10b981;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(26, 31, 58, 1) 100%);
}

.service-card.highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #34d399);
    border-radius: 20px 20px 0 0;
}

/* Service Badge */
.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.service-card.highlight .service-badge {
    background: linear-gradient(135deg, #10b981, #059669);
}

/* Service Header */
.service-header {
    margin-bottom: 20px;
}

.service-name {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    padding-right: 80px;
}

.service-card.featured .service-name,
.service-card.highlight .service-name {
    padding-right: 100px;
}

.service-price {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Service Description */
.service-description {
    color: #d1d5db;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
}

/* Service Features */
.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    flex-grow: 1;
}

.service-features li {
    color: #9ca3af;
    font-size: 14px;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li i {
    color: var(--primary-blue);
    font-size: 14px;
    flex-shrink: 0;
}

/* Horizontal Features (for Market Killer) */
.service-features.horizontal {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.service-features.horizontal li {
    border-bottom: none;
    padding: 8px 0;
}

/* Service CTA */
.service-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: rgba(59, 130, 246, 0.1);
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: auto;
}

.service-cta:hover {
    background: var(--primary-blue);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.service-cta.primary {
    background: var(--primary-blue);
    color: #ffffff;
}

.service-cta.primary:hover {
    background: var(--primary-hover);
}

.service-cta i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.service-cta:hover i {
    transform: translateX(4px);
}

/* Add-On Cards */
.addon-card {
    background: var(--dark-card);
    border: 2px solid rgba(59, 130, 246, 0.1);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.addon-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.15);
}

.addon-icon {
    width: 64px;
    height: 64px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.addon-icon i {
    font-size: 28px;
    color: var(--primary-blue);
}

.addon-name {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.addon-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.addon-description {
    color: #9ca3af;
    font-size: 14px;
    line-height: 1.6;
}

/* ============================================
   RESPONSIVE - SERVICES SECTION
   ============================================ */

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .services-grid.addon-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 60px 0;
    }

    .service-category {
        margin-bottom: 60px;
    }

    .category-title {
        font-size: 24px;
        margin-bottom: 32px;
    }

    .category-title i {
        font-size: 28px;
    }

    .services-grid,
    .services-grid.addon-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 32px 24px;
    }

    .service-name {
        font-size: 20px;
        padding-right: 0;
        margin-bottom: 32px;
    }

    .service-card.featured .service-name,
    .service-card.highlight .service-name {
        padding-right: 0;
    }

    .service-badge {
        position: static;
        display: inline-block;
        margin-bottom: 20px;
    }

    .service-features.horizontal {
        grid-template-columns: 1fr;
    }

    .addon-card {
        padding: 28px 20px;
    }
}

@media (max-width: 480px) {
    .service-price {
        font-size: 24px;
    }

    .service-cta {
        padding: 12px 24px;
        font-size: 14px;
    }
}
/* ============================================
   FINAL CTA SECTION
   ============================================ */

.final-cta-section {
    background: linear-gradient(135deg, #0f1629 0%, #1a2340 50%, #0f1629 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.final-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.final-cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 40px;
    background: rgba(26, 31, 58, 0.6);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 24px;
    backdrop-filter: blur(10px);
}

.final-cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #d1d5db 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.final-cta-text {
    font-size: 18px;
    line-height: 1.7;
    color: #d1d5db;
    margin-bottom: 40px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Buttons */
.final-cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    white-space: nowrap;
}

.cta-button i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

/* Primary Button */
.cta-button.primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.cta-button.primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5);
    color: #ffffff;
}

.cta-button.primary:hover i {
    transform: scale(1.1);
}

/* Secondary Button */
.cta-button.secondary {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-3px);
}

.cta-button.secondary:hover i {
    transform: translateX(4px);
}

/* ============================================
   RESPONSIVE - FINAL CTA
   ============================================ */

@media (max-width: 768px) {
    .final-cta-section {
        padding: 60px 0;
    }

    .final-cta-content {
        padding: 40px 24px;
        border-radius: 20px;
    }

    .final-cta-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
        margin-bottom: 20px;
    }

    .final-cta-text {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .final-cta-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .cta-button {
        width: 100%;
        max-width: 320px;
        padding: 14px 28px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .final-cta-content {
        padding: 32px 20px;
    }

    .final-cta-title {
        margin-bottom: 16px;
    }

    .final-cta-text {
        font-size: 15px;
        margin-bottom: 28px;
    }

    .cta-button {
        padding: 12px 24px;
        font-size: 14px;
    }

    .cta-button i {
        font-size: 16px;
    }
}