/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@500;700;800&display=swap');

:root {
    /* Veiga Lovable Tokens (HSL) */
    --background: 220 30% 6%;
    /* Navy Profundo */
    --foreground: 210 20% 98%;

    --card: 220 25% 10%;
    /* Slightly lighter than bg */
    --card-foreground: 210 20% 98%;

    --primary: 220 70% 45%;
    /* Rich Blue */
    --primary-foreground: 0 0% 100%;

    --muted: 220 20% 14%;
    --muted-foreground: 215 15% 65%;

    --accent: 40 75% 55%;
    /* Gold */
    --accent-foreground: 220 30% 6%;

    --border: 220 20% 18%;
    --input: 220 20% 18%;
    --ring: 220 70% 45%;

    --radius: 0.5rem;
    --radius-full: 9999px;

    --gold: 40 75% 55%;

    /* Spacing Scale */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 5rem;
    /* More generous */

    /* Effects */
    --glass-blur: blur(16px);
    --shadow-gold: 0 4px 20px -5px hsl(var(--gold) / 0.3);
    --shadow-card: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    --transition-default: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border-color: hsl(var(--border));
}

body {
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    color: hsl(var(--foreground));
    margin-bottom: var(--spacing-sm);
    line-height: 1.1;
    font-weight: 700;
}

h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
}

a {
    color: hsl(var(--foreground));
    text-decoration: none;
    transition: var(--transition-default);
}

a:hover {
    color: hsl(var(--gold));
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Header */
.site-header {
    background-color: hsl(var(--background) / 0.8);
    height: 80px;
    /* Increased height */
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid hsl(var(--border) / 0.5);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo a {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: hsl(var(--foreground));
}

.logo-text-gradient {
    background: linear-gradient(135deg, hsl(var(--foreground)), hsl(var(--gold)));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.site-header nav {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.site-header nav a {
    color: hsl(var(--muted-foreground));
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.site-header nav a:hover,
.site-header nav a.active {
    color: hsl(var(--foreground));
}

/* Active link gold line */
.site-header nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, hsl(var(--gold)), transparent);
    transition: var(--transition-default);
}

.site-header nav a:hover::after,
.site-header nav a.active::after {
    width: 100%;
}

.lang-selector select {
    background: transparent;
    border: 1px solid hsl(var(--border));
    color: hsl(var(--muted-foreground));
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: 0.85rem;
}

.lang-selector select:hover {
    border-color: hsl(var(--gold));
    color: hsl(var(--gold));
}

/* Hero Section */
.hero {
    padding: var(--spacing-xl) 0;
    min-height: 90vh;
    /* 90vh as requested */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Ambient Light */
.ambient-light {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, hsl(var(--primary) / 0.15), transparent 70%);
    top: -200px;
    right: -200px;
    z-index: -1;
    filter: blur(80px);
}

.ambient-gold {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, hsl(var(--gold) / 0.08), transparent 70%);
    bottom: -100px;
    left: -100px;
    z-index: -1;
    filter: blur(60px);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.hero-content {
    z-index: 1;
}

.hero-visual {
    display: flex;
    justify-content: center;
    justify-content: flex-end;
    /* Align right */
}

/* Badge Pill */
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: hsl(var(--gold) / 0.1);
    border: 1px solid hsl(var(--gold) / 0.2);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    color: hsl(var(--gold));
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: hsl(var(--gold));
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 hsl(var(--gold) / 0.4);
    }

    70% {
        box-shadow: 0 0 0 6px transparent;
    }

    100% {
        box-shadow: 0 0 0 0 transparent;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background-color: hsl(var(--gold));
    color: hsl(var(--accent-foreground));
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    border-radius: var(--radius-full);
    transition: var(--transition-default);
    cursor: pointer;
    border: none;
    box-shadow: var(--shadow-gold);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -5px hsl(var(--gold) / 0.4);
    background-color: hsl(var(--gold));
    /* Maintain color */
}

.btn-outline {
    background: transparent;
    border: 1px solid hsl(var(--border));
    color: hsl(var(--foreground));
    box-shadow: none;
}

.btn-outline:hover {
    border-color: hsl(var(--gold) / 0.5);
    background: hsl(var(--gold) / 0.05);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

/* Cards */
.card {
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 1rem;
    /* More rounded */
    padding: var(--spacing-md);
    transition: var(--transition-default);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Card Hover Glow */
.card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), hsl(var(--gold) / 0.05), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.card:hover::after {
    opacity: 1;
}

.card:hover {
    border-color: hsl(var(--gold) / 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.card h3 {
    color: hsl(var(--foreground));
    margin-top: 0;
}

.card p {
    color: hsl(var(--muted-foreground));
    flex-grow: 1;
}

/* Sections */
section {
    position: relative;
    padding: var(--spacing-xl) 0;
}

.bg-alt {
    background-color: hsl(var(--card) / 0.3);
    /* Distinct alternate bg */
}

/* Footer */
footer {
    background-color: hsl(var(--background));
    padding: 4rem 0;
    /* py-16 */
    border-top: 1px solid transparent;
    position: relative;
}

/* Top Gradient Line */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, hsl(var(--gold)), transparent);
}

.footer-links {
    margin-top: var(--spacing-md);
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
}

.footer-links a {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    color: hsl(var(--muted-foreground));
    font-weight: 600;
}

.footer-links a:hover {
    color: hsl(var(--gold));
}

.tagline {
    color: hsl(var(--muted-foreground));
    margin-top: var(--spacing-xs);
    font-size: 0.9rem;
}

/* Utilities */
.text-gold {
    color: hsl(var(--gold));
}

.text-gradient-gold {
    background: linear-gradient(135deg, #fff, hsl(var(--gold)));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-highlight {
    color: hsl(var(--primary));
}

.text-muted {
    color: hsl(var(--muted-foreground));
}

.mb-1 {
    margin-bottom: var(--spacing-sm);
}

.mb-2 {
    margin-bottom: var(--spacing-md);
}

.grid-cols-3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-md);
}

/* Consent Banner */
#consent-banner {
    background-color: hsl(var(--background) / 0.95) !important;
    border-top: 1px solid hsl(var(--gold) / 0.3) !important;
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
}

/* Responsive */
@media (max-width: 768px) {
    .site-header nav {
        display: none;
    }

    /* Hamburger TODO */
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        justify-content: center;
        margin-top: var(--spacing-md);
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .grid-cols-3 {
        grid-template-columns: 1fr;
    }
}