/* Framela Design System */

:root {
    --gold-glow: 0 0 40px rgba(201, 162, 39, 0.15);
    --border-soft: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.18);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0C1B36;
    color: #F0E9D8;
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection */
::selection {
    background: rgba(201, 162, 39, 0.3);
    color: #FAF6EE;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #122341; }
::-webkit-scrollbar-thumb { background: #1F3357; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #2A4168; }

/* Focus ring */
*:focus-visible {
    outline: 2px solid #C9A227;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Anchor scroll offset for fixed navbar */
[id] {
    scroll-margin-top: 100px;
}

/* ============================================
   Utility classes
   ============================================ */

.text-gradient-gold {
    background: linear-gradient(135deg, #E0C470 0%, #C9A227 50%, #B08D1F 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.divider-gold {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

/* ============================================
   Cards — with white border line
   ============================================ */

.card-premium {
    background: linear-gradient(180deg, rgba(23, 42, 79, 0.55) 0%, rgba(18, 35, 65, 0.75) 100%);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.card-premium:hover {
    border-color: var(--border-hover);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.04), var(--gold-glow);
    transform: translateY(-2px);
}

/* ============================================
   Buttons
   ============================================ */

.btn-primary {
    background: linear-gradient(135deg, #D4B44A 0%, #C9A227 100%);
    color: #0C1B36;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 10px;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #E0C470 0%, #D4B44A 100%);
    box-shadow: 0 8px 24px rgba(201, 162, 39, 0.3);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: #F0E9D8;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-weight: 500;
    padding: 14px 28px;
    border-radius: 10px;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.35);
    color: #E0C470;
    background: rgba(255, 255, 255, 0.04);
}

/* ============================================
   Sections & Backgrounds
   ============================================ */

.section {
    padding: 96px 0;
}

@media (max-width: 768px) {
    .section { padding: 64px 0; }
}

/* Grid pattern background */
.bg-grid {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* ============================================
   Status badges
   ============================================ */

.badge-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10B981;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-partner {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid rgba(201, 162, 39, 0.3);
    color: #C9A227;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-planned {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #B8AE96;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   Animations
   ============================================ */

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}