/* style.css - Premium Landing Page Styles */

:root {
    /* Color Palette - Light Health Theme & Urgency */
    --bg-dark: #f8fafc; /* Clean Light Background */
    --bg-card: rgba(255, 255, 255, 0.85); /* White cards */
    --primary: #0ea5e9; /* Health/Pro Vida Blue */
    --primary-hover: #0284c7;
    --urgent: #ef4444; /* Urgent Red */
    --urgent-hover: #dc2626;
    --text-main: #0f172a; /* Dark Navy Text */
    --text-muted: #475569; /* Slate Gray Text */
    --border-color: rgba(0, 0, 0, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 1);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Accessibility Focus States */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography Utilities */
h1, h2, h3 {
    font-family: var(--font-heading);
    line-height: 1.2;
}

.highlight {
    color: var(--primary);
}

.highlight-text {
    background: linear-gradient(135deg, var(--urgent), #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
}

.logo-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    line-height: 1;
    color: #1e293b;
}

.logo-subtitle {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.65rem;
    color: #1d4ed8;
    background-color: transparent;
    padding: 0;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1;
}

.logo img.brand-logo {
    height: 44px;
    width: auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background: rgba(0,0,0,0.05);
    border-color: var(--text-main);
}

.btn-primary {
    background: var(--urgent);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(239, 68, 68, 0.39);
}

.btn-primary:hover {
    background: var(--urgent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5);
}

.btn-block {
    width: 100%;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: var(--text-muted) !important;
    box-shadow: none !important;
    transform: none !important;
}

.pulse-effect {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(239, 68, 68, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 150px;
    padding-bottom: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 20% 80%, rgba(239, 68, 68, 0.1) 0%, transparent 40%);
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(239, 68, 68, 0.1);
    color: var(--urgent);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

/* Signature Counter */
.signature-counter {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.avatars {
    display: flex;
    align-items: center;
}

.avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--bg-dark);
    margin-left: -12px;
    object-fit: cover;
}

.avatars img:first-child {
    margin-left: 0;
}

.avatar-more {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--bg-dark);
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    z-index: 1;
}

.signature-counter p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

.counter-highlight {
    color: var(--text-main);
    font-size: 1.1rem;
    font-family: var(--font-heading);
}

/* Video Mockup */
.video-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border: 1px solid var(--glass-border);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.video-thumbnail {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(20%) contrast(110%);
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    z-index: 2;
}

.play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.9);
    border: none;
    color: white;
    font-size: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.play-btn:hover {
    transform: scale(1.1);
    background: var(--urgent);
}

.video-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 1px;
    color: white;
}

.speaker-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 3;
    padding: 1rem 1.5rem;
    border-radius: 12px;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.speaker-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
}

.speaker-role {
    font-size: 0.85rem;
    color: #cbd5e1;
}

/* Evidence Section */
.evidence {
    padding: 6rem 0;
    background: #f1f5f9;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.section-intro {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.glass-card:hover::before {
    transform: translateX(100%);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.card-icon.danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--urgent);
}

.glass-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.glass-card p {
    color: var(--text-muted);
}

.glass-card strong {
    color: var(--text-main);
}

/* Petition Section */
.petition {
    padding: 8rem 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.8) 0%, #e2e8f0 100%);
}

.petition-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.petition-info h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.petition-context {
    font-size: 1.1rem;
    color: var(--text-main);
}

.petition-context p {
    margin-bottom: 1.5rem;
}

.demands-list {
    list-style: none;
    margin: 2rem 0;
}

.demands-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.demands-list i {
    color: var(--primary);
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.legal-note {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(0,0,0,0.03);
    border-left: 4px solid var(--primary);
    border-radius: 0 8px 8px 0;
    align-items: center;
}

.legal-note i {
    font-size: 2rem;
    color: var(--primary);
}

.legal-note p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Form */
.glass-form {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--text-muted);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
    padding: 1rem;
    background: rgba(255,255,255,0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}

.checkbox-group {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.checkbox-group input {
    margin-top: 0.3rem;
    width: 1.2rem;
    height: 1.2rem;
    accent-color: var(--primary);
}

.checkbox-group label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.privacy-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 1.5rem;
}

/* Share Buttons */
.share-box {
    margin-top: 3rem;
    text-align: center;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2rem;
}

.share-box p {
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.share-btn i {
    font-size: 1.2rem;
}

.share-btn.whatsapp {
    background-color: #25D366;
}
.share-btn.whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.share-btn.facebook {
    background-color: #1877F2;
}
.share-btn.facebook:hover {
    background-color: #166FE5;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(24, 119, 242, 0.4);
}

.share-btn.twitter {
    background-color: #0f172a;
    border: 1px solid rgba(0,0,0,0.1);
}
.share-btn.twitter:hover {
    background-color: #111;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.1);
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
    background: #f1f5f9;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
}

.footer-logo img.brand-logo {
    height: 44px;
    width: auto;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--text-main);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary);
}

/* Animations - Reveal on Scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive Design */
@media (max-width: 992px) {
    .hero-container,
    .petition-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }

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

    .section-header h2,
    .petition-info h2 {
        font-size: 2.2rem;
    }

    .glass-form {
        padding: 2rem;
    }
}
