/*
Theme Name: AlienWeb SEO Optimized
Template: generatepress
Version: 6.1.0
*/

@import url("../generatepress/style.css");

/* Optimized Font Loading */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('https://fonts.gstatic.com/s/inter/v12/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuLyfAZ9hiA.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('https://fonts.gstatic.com/s/poppins/v20/pxiByp8kv8JHgFVrLEj6Z1xlFd2JQEk.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* CSS Variables */
:root {
    --primary-color: #760167;
    --secondary-color: #1a0012;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --navbar-bg: #f3f4f6;
    --hero-bg: var(--bg-primary);
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(44, 0, 30, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(44, 0, 30, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-light: #94a3b8;
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --navbar-bg: #1e293b;
    --hero-bg: var(--bg-primary);
    --border-color: #334155;
}

/* Critical CSS - Above the fold */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: var(--transition);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Text Selection */
::selection {
    background: var(--primary-color);
    color: white;
}

.container-final {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Social Top Bar */
.social-bar-final {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    position: relative;
    z-index: 1001;
}

.social-content-final {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.social-icons-final {
    display: flex;
    gap: 1rem;
}

.social-icon-final {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition);
    will-change: transform;
}

.social-icon-final:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.top-info-final {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.email-final {
    color: white;
}

.theme-toggle-final {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.theme-toggle-final:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Header */
.header-final {
    background: var(--navbar-bg);
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1000;
}

.navbar-final {
    padding: 1rem 0;
}

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

.logo-final .logo-link-final {
    text-decoration: none;
    display: flex;
    align-items: baseline;
}

.logo-text-final {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-dot-final {
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: 600;
}

.nav-menu-final {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link-final {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link-final:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

.dropdown-final {
    position: relative;
}

.dropdown-arrow-final {
    font-size: 0.8rem;
    transition: var(--transition);
}

.dropdown-final:hover .dropdown-arrow-final {
    transform: rotate(180deg);
}

.dropdown-menu-final {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-primary);
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    list-style: none;
    padding: 0.5rem 0;
    border: 1px solid var(--border-color);
}

.dropdown-final:hover .dropdown-menu-final {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu-final a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.dropdown-menu-final a:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

.nav-actions-final {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-final {
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    border-radius: 25px;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
}

.search-input-final {
    border: none;
    background: transparent;
    padding: 0.25rem;
    color: var(--text-primary);
    width: 150px;
}

.search-input-final:focus {
    outline: none;
}

.search-input-final::placeholder {
    color: var(--text-light);
}

.search-btn-final {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
}

.mobile-toggle-final {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 3px;
}

.mobile-toggle-final span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* Hero Section */
.hero-final {
    background: var(--hero-bg);
    padding: 3rem 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.hero-content-final {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-title-final {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.hero-subtitle-final {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 400;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.rotating-text-final {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-block;
    min-width: 200px;
    text-align: left;
}

.rotating-text-final::after {
    content: '|';
    animation: blink 0.8s infinite;
    color: var(--primary-color);
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-buttons-final {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-final {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 25px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    will-change: transform;
}

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

.btn-final.primary:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
}

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

.btn-final.secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Layout */
.full-width-layout {
    width: 100%;
    max-width: 100%;
}

.content-layout-final {
    display: grid;
    grid-template-columns: 300px 1fr 300px;
    gap: 2rem;
    max-width: 1600px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.main-content-final {
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    position: relative;
}

/* Sidebars */
.sidebar-final {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.widget-final {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.widget-final h3 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.ad-final img {
    width: 100%;
    border-radius: 8px;
    height: auto;
    loading: lazy;
}

.links-final, .categories-final, .updates-final {
    list-style: none;
}

.links-final li, .categories-final li, .updates-final li {
    margin-bottom: 0.5rem;
}

.links-final a, .categories-final a, .updates-final a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem;
    display: block;
    border-radius: 6px;
    transition: var(--transition);
    font-size: 0.9rem;
}

.links-final a:hover, .categories-final a:hover, .updates-final a:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

.newsletter-final {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-final input {
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.newsletter-final button {
    padding: 0.8rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-final button:hover {
    background: var(--secondary-color);
}

.newsletter-note {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.tags-final {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-final {
    padding: 0.3rem 0.8rem;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.8rem;
    transition: var(--transition);
}

.tag-final:hover {
    background: var(--primary-color);
    color: white;
}

/* Section Styles */
.section-title-final {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

/* Content Ad */
.content-ad {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin: 2rem 0;
    text-align: center;
}

.content-ad img {
    max-width: 100%;
    border-radius: 8px;
    height: auto;
    loading: lazy;
}

/* Services */
.services-final {
    margin-bottom: 3rem;
}

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

.service-card-final {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    will-change: transform;
}

.service-card-final:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
    color: inherit;
}

.service-icon-final {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-card-final h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.service-card-final p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Stats */
.stats-final {
    padding: 2rem;
    background: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    margin-bottom: 3rem;
}

.stats-grid-final {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    text-align: center;
}

.stat-number-final {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label-final {
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Blog */
.blog-final {
    margin-bottom: 3rem;
}

.blog-grid-final {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.blog-card-final {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    will-change: transform;
}

.blog-card-final:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.blog-image-final {
    position: relative;
    overflow: hidden;
}

.blog-image-final img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
    loading: lazy;
}

.blog-overlay-final {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 0, 30, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.blog-image-final:hover .blog-overlay-final {
    opacity: 1;
}

.blog-image-final:hover img {
    transform: scale(1.05);
}

.blog-title-final {
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    padding: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Testimonials */
.testimonials-final {
    margin-bottom: 3rem;
}

.testimonials-grid-final {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-final {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid var(--border-color);
}

.testimonial-final p {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.testimonial-final strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.3rem;
}

.testimonial-final span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* SEO Breadcrumbs */
.breadcrumbs {
    background: var(--bg-secondary);
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
}

.breadcrumbs ol {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumbs li:not(:last-child)::after {
    content: '›';
    margin-left: 0.5rem;
    color: var(--text-light);
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
}

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

/* Responsive Design */
@media (max-width: 1200px) {
    .content-layout-final {
        grid-template-columns: 280px 1fr 280px;
    }
}

@media (max-width: 968px) {
    .social-content-final {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .nav-menu-final {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--navbar-bg);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--border-color);
        z-index: 999;
    }
    
    .nav-menu-final.active {
        display: flex;
    }
    
    .mobile-toggle-final {
        display: flex;
    }
    
    .search-input-final {
        width: 120px;
    }
    
    .hero-final {
        padding: 2rem 0;
    }
    
    .content-layout-final {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 1rem;
    }
    
    .main-content-final {
        order: 1;
        width: 100%;
        max-width: 100%;
    }
    
    .sidebar-final {
        order: 2;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1rem;
    }
    
    .hero-buttons-final {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-final {
        width: 200px;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .container-final {
        padding: 0 0.5rem;
    }
    
    .content-layout-final {
        padding: 0 0.5rem;
    }
    
    .hero-content-final {
        padding: 0 0.5rem;
    }
    
    .rotating-text-final {
        min-width: 150px;
    }
    
    .main-content-final {
        padding: 1.5rem;
    }
    
    .services-grid-final,
    .blog-grid-final {
        grid-template-columns: 1fr;
    }
    
    .stats-grid-final {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sidebar-final {
        grid-template-columns: 1fr;
    }
    
    .social-icons-final {
        gap: 0.5rem;
    }
}

/* Performance Optimizations */
.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy.loaded {
    opacity: 1;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --border-color: #000000;
        --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    }
}
