/* Variables */
:root {
    --bg-primary: #0a0a0b;
    --bg-secondary: #111113;
    --bg-card: #16161a;
    --gold: #c9a962;
    --gold-light: #e4d4a5;
    --gold-dark: #a08840;
    --text-primary: #f5f5f5;
    --text-secondary: #a0a0a5;
    --text-muted: #6b6b70;
    --border: rgba(201, 169, 98, 0.15);
    --border-hover: rgba(201, 169, 98, 0.4);
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background pattern */
.background-pattern {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(201, 169, 98, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(201, 169, 98, 0.02) 0%, transparent 40%),
        radial-gradient(circle at 40% 80%, rgba(201, 169, 98, 0.02) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

/* Container */
.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Header */
.header {
    text-align: center;
    padding: 0.5rem 0;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.logo-tagline {
    font-size: 0.875rem;
    color: var(--text-secondary);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 300;
}

/* Hero */
.hero {
    text-align: center;
    padding: 1.5rem 0 2rem;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.75rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 300;
}

/* Services */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 1rem 0;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.5rem 1.5rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card.active {
    cursor: pointer;
}

.service-card.active:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(201, 169, 98, 0.05);
}

.service-card.active:hover::before {
    opacity: 1;
}

.service-card.coming-soon {
    opacity: 0.6;
}

.coming-soon-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(201, 169, 98, 0.15);
    color: var(--gold);
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.service-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--gold);
}

.service-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.service-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: gap 0.3s ease;
}

.service-card.active:hover .service-cta {
    gap: 0.75rem;
}

.arrow {
    transition: transform 0.3s ease;
}

.service-card.active:hover .arrow {
    transform: translateX(4px);
}

.service-status {
    display: inline-block;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-style: italic;
}

/* Service actions */
.service-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.demo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: transparent;
    color: var(--gold);
    font-size: 0.8125rem;
    font-weight: 400;
    text-decoration: none;
    border: 1px solid var(--border);
    border-radius: 2rem;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}

.demo-link:hover {
    border-color: var(--gold);
    background: rgba(201, 169, 98, 0.08);
}

/* Footer */
.footer {
    text-align: center;
    padding: 1.5rem 0 0.5rem;
    margin-top: auto;
}

.footer p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

/* Responsive */
@media (max-width: 768px) {
    .logo-text {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .services {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1.5rem 1rem;
    }

    .logo-text {
        font-size: 1.75rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .service-icon {
        width: 3rem;
        height: 3rem;
    }

    .service-title {
        font-size: 1.5rem;
    }
}

/* Animation d'entrée */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header {
    animation: fadeInUp 0.6s ease-out;
}

.hero {
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.service-card:nth-child(1) {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.service-card:nth-child(2) {
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.service-card:nth-child(3) {
    animation: fadeInUp 0.6s ease-out 0.4s both;
}
