/* 
   Linkchai Design System
   Modern SaaS Aesthetic
*/

:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #3b82f6;
    --accent-purple: #8b5cf6;
    --gradient-brand: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-600: #475569;
    --gray-900: #0f172a;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius: 0.75rem;
    --radius-lg: 1.25rem;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --container: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--white);
    color: var(--gray-900);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    color: var(--primary);
    line-height: 1.2;
    font-weight: 700;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    gap: 0.5rem;
    font-size: 1rem;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    filter: brightness(1.1);
}

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

.btn-outline:hover {
    border-color: var(--primary);
    background-color: var(--gray-50);
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-100);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    overflow: hidden;
}

.logo img {
    height: 180px; /* Largeur de votre logo */
    width: auto;
    max-height: 180px; /* Limiter la taille maximale */
    margin-top: 10px; /* Ajuster la position verticale si le logo déborde trop en haut */
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--gray-600);
}

.nav-link:hover {
    color: var(--accent);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero */
.hero {
    background: radial-gradient(circle at top right, #f1f5f9 0%, #ffffff 100%);
    padding: 8rem 0 6rem;
    text-align: center;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gray-200);
}

.card-icon {
    width: 3rem;
    height: 3rem;
    background: var(--gray-50);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.card-title {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.card-text {
    color: var(--gray-600);
    font-size: 1rem;
}

/* Footer */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    height: 80px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.footer-logo img {
    height: 200px;
    width: auto;
}

.footer-text {
    color: var(--gray-300);
    max-width: 300px;
}

.footer-title {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: var(--gray-300);
    font-size: 0.95rem;
}

.footer-link:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid var(--primary-light);
    padding-top: 2rem;
    text-align: center;
    color: var(--gray-300);
    font-size: 0.875rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .hero {
        padding: 6rem 0 4rem;
    }
}

/* Page Specifics */
.page-header {
    background: var(--primary);
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    color: var(--gray-300);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.125rem;
}

.content-page {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

.content-page h2 {
    margin: 2.5rem 0 1rem;
}

.content-page p {
    margin-bottom: 1.5rem;
    color: var(--gray-600);
}

.disclaimer-box {
    background: var(--gray-50);
    border-left: 4px solid var(--accent);
    padding: 2rem;
    border-radius: var(--radius);
    margin: 3rem 0;
}

.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 4rem;
    border-radius: var(--radius-lg);
    text-align: center;
    color: var(--white);
    margin: 4rem 0;
}

.cta-banner h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}
