@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ─── Design Tokens ─────────────────────────────────────── */
:root {
    --brand-primary: #C8943E; /* Amber */
    --brand-red:     #A0522D; /* Sienna/Rust */
    --brand-yellow:  #D4A937; /* Gold */
    --brand-green:   #5F6D45; /* Muted Olive/Sage */
    --brand-copper:  #B87333; /* Copper */
    --brand-teal:    #485B55; /* Muted Slate/Sage (less blue) */
    --bg-dark:       #1A1209;
    --bg-darker:     #0F0B05;
}

.text-brand-primary { color: var(--brand-primary); }
.text-brand-red     { color: var(--brand-red); }
.text-brand-yellow  { color: var(--brand-yellow); }
.text-brand-green   { color: var(--brand-green); }
.text-brand-copper  { color: var(--brand-copper); }
.text-brand-teal    { color: var(--brand-teal); }

.bg-brand-primary-20 { background-color: rgba(200, 148, 62, 0.2); }
.bg-brand-red-20     { background-color: rgba(160, 82, 45, 0.2); }
.bg-brand-yellow-20  { background-color: rgba(212, 169, 55, 0.2); }
.bg-brand-green-20   { background-color: rgba(95, 109, 69, 0.2); }
.bg-brand-copper-20  { background-color: rgba(184, 115, 51, 0.2); }
.bg-brand-teal-20    { background-color: rgba(61, 107, 100, 0.2); }

/* ─── Base ──────────────────────────────────────────────── */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-dark);
    background-image: url('main.jpeg');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: #E8D5B5;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(26, 18, 9, 0.88);
    z-index: 0;
    pointer-events: none;
}

h1, h2, h3, h4, .font-display {
    font-family: 'Outfit', sans-serif;
}

/* ─── Utilities ─────────────────────────────────────────── */
.gradient-text {
    background: linear-gradient(90deg, #C8943E 0%, #F5E6CB 30%, #D4A937 60%, #B87333 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 15px rgba(200, 148, 62, 0.2));
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at center, rgba(200, 148, 62, 0.15) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

@keyframes float-tech {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.tech-icon-float {
    animation: float-tech 10s ease-in-out infinite;
    opacity: 0.1;
    pointer-events: none;
}

.gradient-bg {
    background: linear-gradient(135deg, rgba(200,148,62,0.1) 0%, rgba(184,115,51,0.1) 100%);
}

.glass-panel {
    background: rgba(26, 18, 9, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(200, 148, 62, 0.12);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.card-hover {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -15px rgba(200, 148, 62, 0.3);
    border-color: rgba(200, 148, 62, 0.3);
    background: rgba(40, 28, 12, 0.8);
}

/* ─── Ambient Glows ─────────────────────────────────────── */
.glow-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    z-index: -1;
    animation: float 20s ease-in-out infinite;
}

.glow-primary {
    background: var(--brand-copper);
    width: 400px; height: 400px;
    top: -100px; right: -100px;
}

.glow-red {
    background: var(--brand-yellow);
    width: 300px; height: 300px;
    bottom: -50px; left: -100px;
    animation-delay: -5s;
}

.glow-green {
    background: var(--brand-teal);
    width: 350px; height: 350px;
    top: 40%; left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.15;
    animation-delay: -10s;
}

@media (max-width: 768px) {
    .glow-primary { width: 180px; height: 180px; top: -60px; right: -40px; }
    .glow-red     { width: 140px; height: 140px; left: -40px; }
    .glow-green   { width: 160px; height: 160px; }
    .glow-circle  { filter: blur(50px); }
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50%       { transform: translateY(-30px) scale(1.05); }
}

/* ─── Stats Grid ────────────────────────────────────────── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
}

/* ─── Pricing Table ─────────────────────────────────────── */
table.pricing-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 2rem;
}

.pricing-table th,
.pricing-table td {
    padding: 1.25rem 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-table th {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: #cbd5e1;
}

.pricing-table tr:hover td { background: rgba(255, 255, 255, 0.02); }

.check-icon { color: #34A853; font-weight: bold; }
.dash-icon  { color: #475569; }

.tier-silver  { color: #94A3B8; }
.tier-gold    { color: #FBBF24; }
.tier-premium { color: #A78BFA; }

.tab-brand-border-silver  { border-top: 4px solid #94A3B8; }
.tab-brand-border-gold    { border-top: 4px solid #FBBF24; }
.tab-brand-border-premium { border-top: 4px solid #A78BFA; position: relative; }

.tab-brand-border-premium::after {
    content: 'Limité à 1';
    position: absolute;
    top: -12px; right: 10px;
    background: #A78BFA;
    color: #000;
    font-size: 0.6rem;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 800;
}

/* ─── Language Switcher ─────────────────────────────────── */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1.5px solid rgba(200, 148, 62, 0.4);
    background: rgba(26, 18, 9, 0.6);
    color: #E8D5B5;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(8px);
    user-select: none;
    pointer-events: auto;
    cursor: pointer;
}

.lang-switcher:hover {
    border-color: rgba(200, 148, 62, 0.8);
    background: rgba(200, 148, 62, 0.1);
    color: #F5E6CB;
}

.lang-switcher .flag {
    font-size: 1.1rem;
    line-height: 1;
}
