/*
Theme Name: XBorg Theme
Description: Un thème WordPress moderne inspiré de XBorg - L'infrastructure IA pour des expériences personnalisées. Ce thème offre un design futuriste et technologique parfait pour les entreprises d'IA et de technologie.
Author: Votre Nom
Version: 1.0
Tags: modern, tech, ai, futuristic, responsive, dark-theme
Text Domain: xborg-theme
*/

/* === RESET & BASE STYLES === */
* {
    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: #F7F7FE;
    background-color: #18181F;
    overflow-x: hidden;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-family: "Söhne Breit Dreiviertelfett", "Inter", sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    background: linear-gradient(135deg, #72F1FE 0%, #E6E5EC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #E6E5EC;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #E6E5EC;
}

p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #B4B4B8;
}

a {
    color: #72F1FE;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #E6E5EC;
    text-decoration: underline;
}

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

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* === HEADER === */
.site-header {
    background: rgba(24, 24, 31, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(230, 229, 236, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #72F1FE;
    text-decoration: none;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-navigation a {
    color: #E6E5EC;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-navigation a:hover {
    color: #72F1FE;
    text-decoration: none;
}

/* === HERO SECTION === */
.hero-section {
    background: linear-gradient(135deg, #18181F 0%, #1a1a27 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(114, 241, 254, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(230, 229, 236, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-description {
    font-size: 1.3rem;
    color: #B4B4B8;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #72F1FE 0%, #4ecde8 100%);
    color: #18181F;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.4s both;
    box-shadow: 0 10px 30px rgba(114, 241, 254, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(114, 241, 254, 0.4);
    color: #18181F;
    text-decoration: none;
}

/* === SECTIONS === */
.content-section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

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

.feature-card {
    background: rgba(230, 229, 236, 0.05);
    border: 1px solid rgba(230, 229, 236, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(114, 241, 254, 0.3);
    box-shadow: 0 20px 40px rgba(114, 241, 254, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #72F1FE 0%, #E6E5EC 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
}

/* === FOOTER === */
.site-footer {
    background: #0F0F16;
    border-top: 1px solid rgba(230, 229, 236, 0.1);
    padding: 3rem 0 1rem;
    margin-top: auto;
}

.footer-content {
    text-align: center;
}

.footer-text {
    color: #65656B;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: #B4B4B8;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #72F1FE;
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* === UTILITIES === */
.text-center {
    text-align: center;
}

.text-gradient {
    background: linear-gradient(135deg, #72F1FE 0%, #E6E5EC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .hero-section {
        padding: 120px 0 80px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* === WORDPRESS SPECIFIC STYLES === */
.wp-post {
    background: rgba(230, 229, 236, 0.05);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(230, 229, 236, 0.1);
}

.wp-post-title {
    color: #E6E5EC;
    margin-bottom: 1rem;
}

.wp-post-meta {
    color: #65656B;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.wp-post-content {
    line-height: 1.7;
}

.wp-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* === ARTICLES AVEC SYSTÈME FRAMER === */
.framer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.framer-article {
    position: relative;
}

.framer-post-card {
    height: 450px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.framer-post-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(
        to top,
        rgba(24, 24, 31, 0.95) 0%,
        rgba(24, 24, 31, 0.8) 60%,
        transparent 100%
    );
    border-radius: inherit;
    z-index: 5;
}

.framer-post-content .post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.framer-post-content .post-date {
    color: #72F1FE;
    font-weight: 500;
}

.framer-post-content .post-category {
    color: #B4B4B8;
    padding: 0.25rem 0.75rem;
    background: rgba(114, 241, 254, 0.1);
    border-radius: 12px;
    font-size: 0.8rem;
}

.framer-post-title {
    color: #F7F7FE;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.framer-post-title a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.framer-post-title a:hover {
    background: linear-gradient(135deg, #72F1FE, #E6E5EC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.framer-post-excerpt {
    color: #B4B4B8;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.framer-post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.framer-read-more {
    color: #72F1FE;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(114, 241, 254, 0.1);
    border: 1px solid rgba(114, 241, 254, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.framer-read-more:hover {
    background: rgba(114, 241, 254, 0.2);
    border-color: rgba(114, 241, 254, 0.4);
    transform: translateX(5px);
}

.framer-read-more svg {
    width: 14px;
    height: 14px;
    transition: all 0.3s ease;
}

.framer-read-more:hover svg {
    transform: translateX(3px);
}

.reading-time {
    color: #B4B4B8;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reading-time::before {
    content: '📖';
    font-size: 0.8rem;
}

/* Effets hover spéciaux pour les articles Framer */
.framer-post-card:hover .framer-post-content {
    background: linear-gradient(
        to top,
        rgba(24, 24, 31, 0.98) 0%,
        rgba(24, 24, 31, 0.9) 70%,
        rgba(114, 241, 254, 0.1) 100%
    );
}

/* Responsive pour les articles Framer */
@media (max-width: 768px) {
    .framer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .framer-post-card {
        height: 400px;
    }
    
    .framer-post-content {
        padding: 1.5rem;
    }
    
    .framer-post-title {
        font-size: 1.2rem;
    }
    
    .framer-post-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

/* Navigation pour les pages */
.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 3rem 0;
}

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

/* Sidebar si nécessaire */
.sidebar {
    background: rgba(230, 229, 236, 0.05);
    border-radius: 15px;
    padding: 2rem;
}

.widget {
    margin-bottom: 2rem;
}

.widget-title {
    color: #E6E5EC;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}