/* ===================================
   OMEGA ECOSYSTEM - PREMIUM STYLES
   Thème: Violet (#9333EA) & Or (#F59E0B)
   =================================== */

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-violet: #9333EA;
    --primary-gold: #F59E0B;
    --dark-bg: #0F0A1E;
    --dark-card: #1A1330;
    --text-light: #E5E7EB;
    --text-muted: #9CA3AF;
    --gradient-primary: linear-gradient(135deg, #9333EA 0%, #F59E0B 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }

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

/* === NAVIGATION === */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 10, 30, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(147, 51, 234, 0.2);
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s;
}

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

.nav-links a.active {
    color: var(--primary-gold);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: rgba(15, 10, 30, 0.98);
        width: 100%;
        padding: 2rem;
        transition: left 0.3s;
    }

    .nav-links.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: block;
    }
}

/* === CONTAINER === */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* === HERO SECTION === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--primary-violet);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--primary-gold);
    bottom: 10%;
    right: 10%;
    animation-delay: 5s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(30px, -30px); }
    66% { transform: translate(-20px, 20px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
}

.hero h1 {
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.badge {
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid;
}

.badge-violet {
    border-color: var(--primary-violet);
    color: var(--primary-violet);
}

.badge-gold {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.4);
}

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

.btn-outline:hover {
    background: var(--primary-violet);
    color: white;
}

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

/* === SECTIONS === */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* === STATS GRID === */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-card {
    background: var(--dark-card);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(147, 51, 234, 0.2);
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-violet);
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.2);
}

.stat-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.stat-card .label {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* === FEATURE CARDS === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--dark-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(147, 51, 234, 0.2);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-gold);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.2);
}

.feature-card .icon {
    font-size: 2rem;
    color: var(--primary-violet);
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-gold);
}

.feature-card p {
    color: var(--text-muted);
}

/* === BRANCH CARDS === */
.branch-card {
    background: var(--dark-card);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(147, 51, 234, 0.2);
    transition: all 0.3s;
}

.branch-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-violet);
}

.branch-card .category-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.branch-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.branch-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Frozen Branches (Gelées) */
.branch-card.frozen {
    opacity: 0.6;
    background: linear-gradient(135deg, rgba(26, 19, 48, 0.5) 0%, rgba(15, 10, 30, 0.8) 100%);
    border: 1px dashed rgba(147, 51, 234, 0.3);
    position: relative;
}

.branch-card.frozen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(147, 51, 234, 0.03) 10px,
        rgba(147, 51, 234, 0.03) 20px
    );
    border-radius: 12px;
    pointer-events: none;
}

.branch-card.frozen:hover {
    transform: translateY(-2px);
    opacity: 0.75;
    border-color: rgba(147, 51, 234, 0.4);
}

.status-badge.frozen-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    color: #60A5FA;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    backdrop-filter: blur(10px);
    z-index: 2;
}

.branch-card.frozen h3 {
    color: rgba(229, 231, 235, 0.7);
}

.branch-card.frozen p {
    color: rgba(156, 163, 175, 0.6);
}

.branch-card.frozen small {
    display: block;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px dashed rgba(147, 51, 234, 0.2);
    color: #60A5FA;
    font-size: 0.8rem;
    font-style: italic;
}

/* === FILTERS === */
.filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid rgba(147, 51, 234, 0.3);
    background: transparent;
    color: var(--text-light);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--primary-violet);
    background: var(--primary-violet);
    color: white;
}

/* === TABLE === */
.comparison-table {
    width: 100%;
    background: var(--dark-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(147, 51, 234, 0.2);
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 1.25rem;
    text-align: left;
    border-bottom: 1px solid rgba(147, 51, 234, 0.1);
}

.comparison-table th {
    background: rgba(147, 51, 234, 0.1);
    color: var(--primary-gold);
    font-weight: 600;
}

.comparison-table tr:hover {
    background: rgba(147, 51, 234, 0.05);
}

.check-icon {
    color: #10B981;
    font-size: 1.2rem;
}

/* === TIMELINE === */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--gradient-primary);
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
}

.timeline-content {
    background: var(--dark-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(147, 51, 234, 0.2);
    width: 45%;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 2rem;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-gold);
    border: 4px solid var(--dark-bg);
    z-index: 1;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 0;
    }

    .timeline-content {
        width: 100%;
        margin-left: 2rem !important;
    }

    .timeline-dot {
        left: 0;
        transform: translateX(-50%);
    }
}

/* === FORM === */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--dark-card);
    border: 1px solid rgba(147, 51, 234, 0.3);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-violet);
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-error {
    color: #EF4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #EF4444;
}

.form-group.error .form-error {
    display: block;
}

/* === FOOTER === */
footer {
    background: var(--dark-card);
    border-top: 1px solid rgba(147, 51, 234, 0.2);
    padding: 3rem 0 1.5rem;
    margin-top: 6rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--primary-gold);
}

.footer-section p,
.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: var(--primary-violet);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid;
}

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

.social-btn.linkedin {
    border-color: #0A66C2;
    color: #0A66C2;
}

.social-btn.linkedin:hover {
    background: #0A66C2;
    color: white;
}

.social-btn.github {
    border-color: #6e5494;
    color: #6e5494;
}

.social-btn.github:hover {
    background: #6e5494;
    color: white;
}

.social-btn.twitter {
    border-color: #1DA1F2;
    color: #1DA1F2;
}

.social-btn.twitter:hover {
    background: #1DA1F2;
    color: white;
}

.social-btn.email {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

.social-btn.email:hover {
    background: var(--primary-gold);
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(147, 51, 234, 0.1);
    color: var(--text-muted);
}

/* === UTILITIES === */
.text-center { text-align: center; }
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

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

.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.6s forwards;
}

/* === CHARTS === */
.chart-container {
    position: relative;
    height: 400px;
    margin: 2rem 0;
    background: var(--dark-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(147, 51, 234, 0.2);
}

@media (max-width: 768px) {
    .chart-container {
        height: 300px;
        padding: 1rem;
    }
}
