/* 
  NexCommunity Premium Design System
  Focus: High Conversion, Sleek Dark Mode, Fluid Responsiveness
*/

:root {
    /* Color Palette */
    --bg-deep: #030305;
    --bg-surface: #0a0a12;
    --bg-card: rgba(15, 15, 28, 0.6);
    --bg-glass: rgba(10, 10, 20, 0.7);
    
    --primary: #10b981;
    --primary-glow: #00ffaa;
    --primary-dark: #065f46;
    --primary-soft: rgba(16, 185, 129, 0.1);
    
    --secondary: #6366f1; /* Indigo accent for contrast */
    
    --text-main: #f8fafc;
    --text-dim: #94a3b8;
    --text-muted: #64748b;
    
    --border-light: rgba(255, 255, 255, 0.08);
    --border-primary: rgba(16, 185, 129, 0.3);
    
    /* Layout */
    --container-max: 1200px;
    --section-pad: 80px;
    --section-pad-mobile: 40px;
    
    /* Shadows & Effects */
    --shadow-premium: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
    --glow-primary: 0 0 30px rgba(16, 185, 129, 0.2);
    
    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-base: 0.4s var(--ease-out);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-deep);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* Background Effects */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.5;
}

.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    animation: blob-float 20s infinite alternate;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    right: -100px;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    bottom: -50px;
    left: -50px;
    animation-delay: -5s;
}

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

/* Layout Utilities */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: var(--section-pad) 0;
}

@media (max-width: 768px) {
    section { padding: var(--section-pad-mobile) 0; }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    background: rgba(3, 3, 5, 0.7);
    border-bottom: 1px solid var(--border-light);
    height: 64px;
    display: flex;
    align-items: center;
    transition: var(--transition-base);
}

.navbar.scrolled {
    height: 64px;
    background: rgba(3, 3, 5, 0.9);
}

.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-main);
    font-size: 1.2rem;
    font-weight: 800;
}

.logo-icon img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

/* Typography & Sales Elements */
.highlight {
    background: linear-gradient(135deg, var(--primary-glow), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-dim);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
}

/* Buttons - Startup Gringa Style (Standardized) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    user-select: none;
}

.btn-primary {
    background: #ffffff;
    color: #000000;
}

.btn-primary:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(16, 185, 129, 0.5);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25d366;
    color: #000000;
}

.btn-whatsapp:hover {
    background: #128c7e;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(37, 211, 102, 0.5);
}

/* Common Shine Effect */
.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
}

.btn:hover::after {
    left: 100%;
}

/* Nav specific compact button */
.nav-actions .btn {
    padding: 10px 24px;
    font-size: 0.85rem;
}

/* Hero Section */
.hero {
    min-height: auto;
    display: flex;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 30px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    animation: fadeIn 1s var(--ease-out);
}

.hero-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-soft);
    border: 1px solid var(--border-primary);
    border-radius: 100px;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin-bottom: 16px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-bottom: 30px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-main {
    width: 100%;
    max-width: 400px;
    filter: drop-shadow(0 0 50px rgba(16, 185, 129, 0.2));
    animation: float 6s ease-in-out infinite;
}

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

/* Stats Section */
.stats {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 30px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-card {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    color: var(--text-dim);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Carousel */
.carousel-section {
    padding: 30px 0;
    background: #05050a;
}

.carousel-track-container {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.carousel-track {
    display: flex;
    gap: 80px; /* Increased gap */
    width: max-content;
    animation: scroll 20s linear infinite; /* Faster and smoother */
}

.carousel-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dim);
    font-weight: 500;
    flex-shrink: 0;
}

.carousel-item svg {
    width: 24px;
    height: 24px;
    fill: var(--primary);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

#beneficios, #oferta, footer {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    position: relative;
    z-index: 1;
}

#depoimentos {
    background-color: #0a0a14; /* Distinct shade */
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    position: relative;
    z-index: 1;
}

#faq {
    background-color: #080a08; /* Distinct shade */
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    position: relative;
    z-index: 1;
}

.benefit-card {
    background: #0f0f1c; /* Solid opaque color */
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 40px;
    transition: var(--transition-base);
}

.benefit-card:hover {
    border-color: var(--border-light);
    transform: none;
    background: #0f0f1c;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-soft);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.benefit-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--primary);
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.benefit-card p {
    color: var(--text-dim);
}

/* Video Section */
.video-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-light);
    box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}

.video-placeholder {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #0a0a1a, #030305);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.play-btn {
    width: 90px;
    height: 90px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition-base);
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.4);
}

.video-placeholder:hover .play-btn {
    transform: scale(1.1);
    box-shadow: 0 0 60px rgba(16, 185, 129, 0.6);
}

/* Urgency / Checklist */
.urgency-box {
    background: rgba(16, 185, 129, 0.03);
    border: 1px solid var(--border-primary);
    border-radius: 40px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 50px rgba(16, 185, 129, 0.05);
}

.checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.9rem; /* Reduced from 1.15rem */
    color: var(--text-main);
    width: fit-content;
    text-align: left;
}

.checklist li svg {
    width: 20px; /* Reduced from 28px */
    height: 20px;
    fill: var(--primary);
    filter: drop-shadow(0 0 5px var(--primary));
    flex-shrink: 0;
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.whatsapp-bubble {
    background: #dcf8c6;
    color: #1a1a1a;
    padding: 20px;
    border-radius: 20px;
    position: relative;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.whatsapp-bubble::after {
    content: '';
    position: absolute;
    left: -10px;
    top: 20px;
    border-width: 10px 10px 10px 0;
    border-style: solid;
    border-color: transparent #dcf8c6 transparent transparent;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 45px;
    height: 45px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Offer Box */
.offer-section {
    position: relative;
}

.combined-offer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 900px; /* Reduced from 1200px */
    margin: 0 auto;
}

.combined-offer-grid h2 {
    font-size: 1.8rem; /* Reduced size */
}

.combined-offer-grid p {
    font-size: 0.95rem; /* Reduced size */
}

.offer-card {
    background: #0f0f1c;
    border: 2px solid var(--primary);
    border-radius: 30px; /* Smaller radius */
    padding: 30px; /* Reduced from 50px */
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.6);
}

.offer-card .section-title {
    font-size: 1.5rem; /* Smaller title */
}

.offer-card .section-subtitle {
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.offer-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
}

.old-price {
    font-size: 1.5rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.new-price {
    font-size: 2.8rem; /* Reduced from 5rem */
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin: 5px 0 20px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
}

.timer-item {
    background: rgba(255,255,255,0.05);
    padding: 8px;
    border-radius: 12px;
    min-width: 55px;
}

.timer-val {
    font-size: 1.4rem;
    font-weight: 800;
    display: block;
    color: var(--primary);
}

.timer-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* FAQ Card Style */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.faq-card {
    background: #0f0f1c;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 30px;
    transition: var(--transition-base);
    text-align: left;
}

.faq-card:hover {
    border-color: var(--border-light);
    transform: none;
}

.faq-question-card {
    color: var(--primary);
    font-size: 1.15rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.faq-answer-card {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Footer */
footer {
    padding: 60px 0;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.footer-links {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-grid, .combined-offer-grid { 
        grid-template-columns: 1fr; 
        text-align: center; 
        gap: 30px;
    }
    .urgency-column {
        text-align: center;
    }
    .urgency-column .checklist {
        align-items: center !important;
    }
    .combined-offer-grid .urgency-column h2, 
    .combined-offer-grid .urgency-column p {
        text-align: center !important;
    }
    .hero-content { 
        display: flex; 
        flex-direction: column; 
        align-items: center; 
        order: 2;
    }
    .hero-image-container {
        order: 1;
        margin-bottom: 10px;
    }
    .hero-logo-main {
        max-width: 120px; /* Reduced to ~1/5th of original mobile impact */
    }
    .hero-subtitle { 
        margin-left: auto; 
        margin-right: auto; 
    }
    .hero-actions {
        justify-content: center;
    }
    .urgency-box { 
        grid-template-columns: 1fr; 
        text-align: center;
        padding: 40px 20px;
    }
    .urgency-image {
        order: -1;
    }
    .checklist li {
        justify-content: flex-start;
        text-align: left;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        max-width: 280px; /* Force consistent alignment */
    }
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }

@media (max-width: 600px) {
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; }
    .new-price { font-size: 3.2rem; }
    .stats-grid { 
        grid-template-columns: repeat(3, 1fr); /* Force 3 columns on mobile */
        gap: 10px;
    }
    .stats-grid .stat-number {
        font-size: 1.2rem; /* Shrink font for mobile row */
    }
    .stats-grid .stat-label {
        font-size: 0.65rem; /* Shrink label for mobile row */
    }
    .section-title { font-size: 1.8rem; }
    .btn {
        width: 100%; /* Full width buttons on very small screens */
        padding: 12px 20px;
        font-size: 0.85rem;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .timer-item {
        min-width: 65px;
        padding: 10px;
    }
    .timer-val { font-size: 1.5rem; }
}
