/* ═══════════════════════════════════════════
   EVENTO — Premium Design System
   ═══════════════════════════════════════════ */

:root {
    --background: 150 10% 5%;
    --foreground: 0 0% 98%;
    --card: 150 8% 10%;
    --card-foreground: 0 0% 98%;
    --popover: 150 8% 10%;
    --popover-foreground: 0 0% 98%;
    --primary: 142 71% 45%;
    --primary-foreground: 0 0% 2%;
    --secondary: 150 8% 15%;
    --secondary-foreground: 0 0% 98%;
    --muted: 150 6% 18%;
    --muted-foreground: 150 5% 60%;
    --accent: 142 71% 45%;
    --accent-foreground: 0 0% 2%;
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 210 40% 98%;
    --border: 150 8% 20%;
    --input: 150 8% 20%;
    --ring: 142 71% 45%;
    --radius: 0.75rem;
    --gradient-brand: linear-gradient(135deg, hsl(142 71% 45%), hsl(160 60% 35%));
    --gradient-dark: linear-gradient(180deg, hsl(150 10% 5%), hsl(150 10% 8%));
    --shadow-glow: 0 0 30px hsl(142 71% 45% / 0.2);
    --shadow-card: 0 8px 32px hsl(0 0% 0% / 0.3);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Bebas Neue', sans-serif; }

/* ── Navbar ──────────────────────────────── */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 1rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.navbar.scrolled {
    background: hsl(var(--background) / 0.85);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid hsl(var(--border) / 0.5);
    padding: 0.75rem 2rem;
}
.navbar-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.nav-logo img { width: 36px; height: 36px; border-radius: 8px; }
.nav-logo span {
    font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem;
    letter-spacing: 0.15em; color: hsl(var(--foreground));
}
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
    text-decoration: none; font-size: 0.875rem; font-weight: 500;
    color: hsl(var(--muted-foreground)); transition: color 0.3s;
    position: relative;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: hsl(var(--primary));
    transition: width 0.3s;
}
.nav-links a:hover { color: hsl(var(--foreground)); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
    display: inline-flex; align-items: center;
    background: hsl(var(--primary)); color: hsl(var(--primary-foreground));
    padding: 0.5rem 1.25rem; border-radius: 8px; font-weight: 600;
    font-size: 0.875rem; text-decoration: none; transition: all 0.3s;
    border: none; cursor: pointer;
}
.nav-cta:hover { opacity: 0.9; box-shadow: var(--shadow-glow); }

/* Mobile menu */
.mobile-toggle {
    display: none; background: none; border: none; cursor: pointer;
    color: hsl(var(--foreground)); padding: 0.5rem; z-index: 101;
}
.mobile-toggle span {
    display: block; width: 24px; height: 2px;
    background: currentColor; margin: 5px 0;
    transition: all 0.3s;
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: hsl(var(--background) / 0.97); backdrop-filter: blur(20px);
    z-index: 99; flex-direction: column; align-items: center;
    justify-content: center; gap: 2rem;
}
.mobile-menu.active { display: flex; }
.mobile-menu a {
    text-decoration: none; font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem; letter-spacing: 0.1em;
    color: hsl(var(--muted-foreground)); transition: color 0.3s;
}
.mobile-menu a:hover { color: hsl(var(--primary)); }

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-cta { display: none; }
    .mobile-toggle { display: block; }
}

/* ── Text Gradient ───────────────────────── */
.text-gradient {
    background-clip: text; -webkit-background-clip: text;
    color: transparent; background-image: var(--gradient-brand);
}

/* ── Glow ─────────────────────────────────── */
.glow { box-shadow: var(--shadow-glow); }

/* ── Hero Section ────────────────────────── */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; padding: 6rem 2rem 4rem;
}
.hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0.35;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg,
        hsl(var(--background) / 0.4) 0%,
        hsl(var(--background) / 0.7) 50%,
        hsl(var(--background)) 100%
    );
}
.hero-content {
    position: relative; z-index: 10;
    max-width: 900px; margin: 0 auto; text-align: center;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: hsl(var(--primary) / 0.1);
    border: 1px solid hsl(var(--primary) / 0.3);
    padding: 0.4rem 1rem; border-radius: 50px;
    font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em;
    text-transform: uppercase; color: hsl(var(--primary));
    margin-bottom: 2rem;
}
.hero-badge .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: hsl(var(--primary));
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}
.hero-title {
    font-size: clamp(3.5rem, 10vw, 8rem);
    line-height: 0.95; letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}
.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    color: hsl(var(--muted-foreground));
    max-width: 600px; margin: 0 auto 1rem;
    line-height: 1.6;
}
.hero-tagline {
    font-size: 0.875rem; color: hsl(var(--muted-foreground) / 0.7);
    margin-bottom: 2.5rem;
}
.hero-actions {
    display: flex; gap: 1rem;
    justify-content: center; flex-wrap: wrap;
}
.btn-primary {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: hsl(var(--primary)); color: hsl(var(--primary-foreground));
    font-weight: 600; padding: 0.875rem 2rem; border-radius: 12px;
    text-decoration: none; font-size: 0.95rem;
    transition: all 0.3s; border: none; cursor: pointer;
}
.btn-primary:hover { box-shadow: var(--shadow-glow); transform: translateY(-2px); }
.btn-secondary {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: hsl(var(--secondary)); color: hsl(var(--foreground));
    font-weight: 600; padding: 0.875rem 2rem; border-radius: 12px;
    text-decoration: none; font-size: 0.95rem;
    border: 1px solid hsl(var(--border)); transition: all 0.3s; cursor: pointer;
}
.btn-secondary:hover { border-color: hsl(var(--primary) / 0.5); transform: translateY(-2px); }

.hero-scroll-indicator {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.scroll-mouse {
    width: 24px; height: 38px; border: 2px solid hsl(var(--muted-foreground) / 0.4);
    border-radius: 12px; position: relative;
}
.scroll-mouse::after {
    content: ''; position: absolute; top: 6px; left: 50%;
    transform: translateX(-50%); width: 4px; height: 8px;
    background: hsl(var(--primary)); border-radius: 2px;
    animation: scroll-bounce 2s infinite;
}
@keyframes scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 0.3; }
}
.scroll-text {
    font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: hsl(var(--muted-foreground) / 0.4);
}

/* ── Section Common ──────────────────────── */
.section { padding: 6rem 2rem; }
.section-alt { background: hsl(var(--secondary) / 0.3); }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-label {
    display: inline-block; font-size: 0.75rem; font-weight: 600;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: hsl(var(--primary)); margin-bottom: 1rem;
}
.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: 0.05em; line-height: 1;
    margin-bottom: 1rem;
}
.section-desc {
    font-size: 1.05rem; color: hsl(var(--muted-foreground));
    max-width: 600px; margin: 0 auto; line-height: 1.7;
}

/* ── Problem Cards ───────────────────────── */
.problem-grid {
    display: grid; gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.problem-card {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 16px; padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative; overflow: hidden;
}
.problem-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 3px; background: var(--gradient-brand);
    transform: scaleX(0); transition: transform 0.4s;
    transform-origin: left;
}
.problem-card:hover { transform: translateY(-4px); border-color: hsl(var(--primary) / 0.3); }
.problem-card:hover::before { transform: scaleX(1); }
.problem-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: hsl(var(--primary) / 0.1);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem; transition: background 0.3s;
}
.problem-card:hover .problem-icon { background: hsl(var(--primary) / 0.2); }
.problem-icon i { color: hsl(var(--primary)); }
.problem-card h3 {
    font-size: 1.5rem; letter-spacing: 0.05em; margin-bottom: 0.5rem;
}
.problem-card p { font-size: 0.9rem; color: hsl(var(--muted-foreground)); line-height: 1.6; }

/* ── Innovation / Features ───────────────── */
.features-grid {
    display: grid; gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.feature-card {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 16px; padding: 2rem; text-align: center;
    transition: all 0.4s; position: relative; overflow: hidden;
}
.feature-card:hover { border-color: hsl(var(--primary) / 0.5); transform: translateY(-4px); }
.feature-icon {
    width: 56px; height: 56px; border-radius: 50%;
    background: hsl(var(--primary) / 0.1);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.25rem; transition: all 0.3s;
}
.feature-card:hover .feature-icon {
    background: hsl(var(--primary) / 0.2);
    box-shadow: 0 0 20px hsl(var(--primary) / 0.2);
}
.feature-icon i { color: hsl(var(--primary)); }
.feature-card h3 { font-size: 1.25rem; letter-spacing: 0.03em; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.85rem; color: hsl(var(--muted-foreground)); line-height: 1.5; }

/* ── Blockquote ──────────────────────────── */
.stylish-quote {
    position: relative;
    background: linear-gradient(to right, hsl(var(--primary) / 0.1), transparent);
    border-left: 4px solid hsl(var(--primary));
    padding: 2.5rem 2rem; border-radius: 0 1rem 1rem 0;
    overflow: hidden; max-width: 700px; margin: 3rem auto 0;
}
.stylish-quote::before {
    content: '"'; position: absolute; top: -1rem; left: 0.5rem;
    font-size: 8rem; font-family: 'Bebas Neue', sans-serif;
    color: hsl(var(--primary)); opacity: 0.1; line-height: 1;
}
.stylish-quote p {
    position: relative; z-index: 1; font-style: italic;
    text-shadow: 0 2px 10px hsl(0 0% 0% / 0.5);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem; letter-spacing: 0.1em;
}

/* ── Impact / How-It-Works ───────────────── */
.impact-layout {
    display: grid; gap: 4rem;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.impact-block h3 {
    font-size: 2rem; letter-spacing: 0.05em; margin-bottom: 0.5rem;
}
.impact-bar {
    width: 48px; height: 3px; background: hsl(var(--primary));
    border-radius: 2px; margin-bottom: 1.5rem;
}
.impact-list { list-style: none; padding: 0; margin: 0; }
.impact-item {
    display: flex; align-items: flex-start; gap: 1rem;
    padding: 0.75rem 0;
}
.impact-dot {
    width: 36px; height: 36px; border-radius: 10px;
    background: hsl(var(--primary) / 0.1);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.impact-dot i { color: hsl(var(--primary)); width: 18px; height: 18px; }
.impact-item p {
    font-size: 0.9rem; color: hsl(var(--muted-foreground));
    line-height: 1.5; padding-top: 0.4rem;
}

/* ── Stats Section ───────────────────────── */
.stats-strip {
    display: grid; gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    text-align: center; padding: 3rem 0;
}
.stat-item h3 {
    font-size: 3rem; letter-spacing: 0.02em;
    background-clip: text; -webkit-background-clip: text;
    color: transparent; background-image: var(--gradient-brand);
}
.stat-item p { font-size: 0.8rem; color: hsl(var(--muted-foreground)); letter-spacing: 0.1em; text-transform: uppercase; }

/* ── Founders Section ────────────────────── */
.founders-grid {
    display: grid; gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    max-width: 800px; margin: 0 auto;
}
.founder-card {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 20px; padding: 2rem;
    transition: all 0.4s; position: relative; overflow: hidden;
}
.founder-card::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 3px; background: var(--gradient-brand);
    transform: scaleX(0); transition: transform 0.4s;
}
.founder-card:hover { transform: translateY(-4px); }
.founder-card:hover::after { transform: scaleX(1); }
.founder-header { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.5rem; }
.founder-avatar {
    width: 64px; height: 72px; border-radius: 12px; overflow: hidden;
    flex-shrink: 0; border: 2px solid hsl(var(--primary) / 0.3);
}
.founder-avatar img { width: 100%; height: 100%; object-fit: cover; }
.founder-name { font-size: 1.5rem; letter-spacing: 0.05em; line-height: 1.2; }
.founder-role { font-size: 0.85rem; color: hsl(var(--primary)); font-weight: 500; }
.founder-links { display: flex; flex-direction: column; gap: 0.5rem; }
.founder-link {
    display: flex; align-items: center; gap: 0.5rem;
    text-decoration: none; font-size: 0.85rem;
    color: hsl(var(--muted-foreground)); transition: color 0.3s;
}
.founder-link:hover { color: hsl(var(--foreground)); }
.founder-link i { color: hsl(var(--primary)); width: 16px; height: 16px; }
.founder-link-icon { fill: hsl(var(--primary)); flex-shrink: 0; }

/* ── Footer ──────────────────────────────── */
.footer {
    border-top: 1px solid hsl(var(--border));
    padding: 3rem 2rem;
}
.footer-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 1rem;
}
.footer-brand { display: flex; align-items: center; gap: 0.5rem; }
.footer-brand img { width: 24px; height: 24px; border-radius: 6px; }
.footer-brand span {
    font-family: 'Bebas Neue', sans-serif; font-size: 1.1rem;
    letter-spacing: 0.1em; color: hsl(var(--foreground));
}
.footer-copy { font-size: 0.75rem; color: hsl(var(--muted-foreground)); }

/* ── Scroll Animations ───────────────────── */
.reveal {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Logo Container ──────────────────────── */
.logo-container {
    position: relative; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}
.logo-container::before {
    content: ''; position: absolute; inset: 0;
    opacity: 0; transition: opacity 0.3s ease; z-index: -1;
}
.logo-container:hover { transform: scale(1.05) rotate(3deg); }
.logo-container img {
    width: 90%; height: 90%; object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

/* ── Particle Canvas ─────────────────────── */
#particle-canvas {
    position: absolute; inset: 0; z-index: 1;
    pointer-events: none;
}

/* ── Floating Gradient Orbs ──────────────── */
.orb {
    position: absolute; border-radius: 50%;
    filter: blur(80px); opacity: 0.15; pointer-events: none;
}
.orb-1 {
    width: 400px; height: 400px; top: -100px; right: -100px;
    background: hsl(142 71% 45%);
    animation: float-orb 8s ease-in-out infinite;
}
.orb-2 {
    width: 300px; height: 300px; bottom: -50px; left: -50px;
    background: hsl(160 60% 35%);
    animation: float-orb 10s ease-in-out infinite reverse;
}
@keyframes float-orb {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

/* ── Custom Scrollbar ────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: hsl(var(--background)); }
::-webkit-scrollbar-thumb { background: hsl(var(--muted)); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: hsl(var(--primary)); }

/* ── Responsive ──────────────────────────── */
@media (max-width: 768px) {
    .hero { padding: 5rem 1.25rem 3rem; }
    .hero-title { font-size: clamp(2.8rem, 12vw, 4.5rem); }
    .section { padding: 4rem 1.25rem; }
    .section-header { margin-bottom: 2.5rem; }
    .section-title { font-size: clamp(2rem, 6vw, 3rem); }
    .problem-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .feature-card { padding: 1.25rem; }
    .impact-layout { grid-template-columns: 1fr; gap: 3rem; }
    .founders-grid { grid-template-columns: 1fr; }
    .stats-strip { grid-template-columns: repeat(2, 1fr); }
    .stat-item p { font-size: 0.75rem; }
    .footer-inner { flex-direction: column; text-align: center; }
    .stylish-quote { margin-top: 2rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .btn-primary, .btn-secondary { width: 100%; max-width: 280px; justify-content: center; }
}

@media (max-width: 480px) {
    .features-grid { grid-template-columns: 1fr; }
    .stats-strip { grid-template-columns: 1fr; }
    .navbar { padding: 0.75rem 1rem; }
}

@media (min-width: 1200px) {
    .hero-content { max-width: 1000px; }
}
