:root {
    --bg-dark: #050508;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent-1: #6366f1; /* Indigo */
    --accent-2: #ec4899; /* Pink */
    --accent-3: #14b8a6; /* Teal */
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

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

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

/* Background Blobs */
.bg-blur {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.5;
    animation: drift 20s infinite alternate;
}
.blob-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99,102,241,0.8) 0%, transparent 70%);
    top: -200px;
    left: -200px;
}
.blob-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(236,72,153,0.6) 0%, transparent 70%);
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

/* Glassmorphism utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Navbar */
.navbar {
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(5, 5, 8, 0.5);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}
.logo span {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 99px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
}
.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.4);
}
.btn-primary.large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

/* Hero Section */
.hero {
    padding: 14rem 0 8rem;
    text-align: center;
}
.hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
}
.text-gradient {
    background: linear-gradient(135deg, var(--accent-2), var(--accent-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero .subtitle {
    font-size: 1.35rem;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto 5rem;
    font-weight: 300;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.stat-card {
    padding: 3.5rem 2rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.2);
}
.stat-card:hover::before {
    opacity: 1;
}
.stat-card h2 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(to bottom, #fff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    justify-content: center;
    align-items: baseline;
    letter-spacing: -2px;
}
.stat-card h2 .suffix {
    font-size: 2.5rem;
    background: linear-gradient(to bottom, #a5b4fc, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-card p {
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
}
.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}
.section-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
    font-weight: 300;
}

/* Portals Section */
.portals-section {
    padding: 8rem 0;
    position: relative;
}
.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(320px, auto);
    gap: 2rem;
}
.bento-link {
    text-decoration: none;
    color: inherit;
    display: block;
    outline: none;
}
.bento-item {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}
.bento-item::after {
    content: '';
    position: absolute;
    right: -20%;
    bottom: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--accent-1) 0%, transparent 70%);
    filter: blur(40px);
    opacity: 0.1;
    transition: opacity 0.3s ease;
}
.bento-item:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
.bento-item:hover::after {
    opacity: 0.3;
}

.portal-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.4s ease;
}
.bento-item:hover .portal-img {
    transform: translateY(-5px);
}

/* All items are equal size now */

.portal-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-3);
    font-weight: 800;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(20, 184, 166, 0.1);
    border-radius: 99px;
    border: 1px solid rgba(20, 184, 166, 0.2);
}
.bento-item h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}
.bento-item p {
    color: var(--text-muted);
    flex-grow: 1;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    font-weight: 300;
}
.portal-metrics {
    display: flex;
    gap: 2.5rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
    position: relative;
    z-index: 2;
}
.portal-metrics span {
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}
.portal-metrics span::before {
    content: "Métrica";
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 0.2rem;
}
.portal-metrics span:first-child::before {
    content: "Cliques Mensais";
}
.portal-metrics span:last-child::before {
    content: "Impressões";
}

/* Why Us Section */
.why-us {
    padding: 8rem 0;
}
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}
.why-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}
.why-content > p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 4rem;
    font-weight: 300;
}
.benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
.benefits li {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}
.benefits .icon {
    font-size: 2.5rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    border: 1px solid var(--glass-border);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    flex-shrink: 0;
    box-shadow: inset 0 0 20px rgba(255,255,255,0.02);
}
.benefits strong {
    display: block;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}
.benefits span {
    color: var(--text-muted);
    font-weight: 300;
    font-size: 1.05rem;
}

.why-image {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    position: relative;
}
.why-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(99,102,241,0.1) 0%, transparent 70%);
    z-index: -1;
}
.mockup-chart {
    display: flex;
    align-items: stretch; /* Change to stretch so wrappers take full height */
    justify-content: space-between;
    gap: 1rem;
    height: 250px;
    width: 100%;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--glass-border);
    position: relative;
}
.mockup-chart::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.05);
    border-top: 1px dashed rgba(255,255,255,0.1);
}
.bar-wrapper {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}
.bar-value {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-main);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease 1s;
}
.reveal-up.active .bar-value {
    opacity: 1;
    transform: translateY(0);
}
.mockup-chart .bar {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px 8px 0 0;
    transition: height 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: growBar 2s ease-out forwards;
    transform-origin: bottom;
}
.mockup-chart .bar.highlight {
    background: linear-gradient(to top, var(--accent-1), var(--accent-2));
    border: none;
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.3);
}
@keyframes growBar {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}
.chart-label {
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

/* Traffic Profile Component */
.traffic-profile {
    margin-top: 4rem;
    padding: 3rem;
    display: flex;
    gap: 3rem;
    align-items: center;
    border-radius: 16px;
}
.profile-item {
    flex: 1;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}
.profile-icon {
    font-size: 3rem;
    line-height: 1;
}
.profile-data h4 {
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}
.profile-data p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}
.profile-divider {
    width: 2px;
    height: 80px;
    background: rgba(255,255,255,0.1);
}
.search-terms {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
}
.search-terms span {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--accent-1);
    font-weight: 600;
}

/* Formatos Comerciais */
.formats-section {
    padding: 8rem 0;
    position: relative;
}
.formats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.format-card {
    padding: 2.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}
.format-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.05);
}
.format-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--accent-2), var(--accent-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.format-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}
.format-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
}

/* CTA Section */
.cta-section {
    padding: 8rem 0;
}
.cta-section .container.glass {
    padding: 6rem 3rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(236,72,153,0.05));
    border-color: rgba(255,255,255,0.15);
    position: relative;
    overflow: hidden;
}
.cta-section .container.glass::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.cta-section h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}
.cta-section p {
    color: var(--text-main);
    opacity: 0.8;
    font-size: 1.3rem;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

/* Footer */
footer {
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-weight: 300;
}
footer p {
    margin-bottom: 0.5rem;
}

/* Animations & Utilities */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.165, 0.84, 0.44, 1), transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .formats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .traffic-profile {
        flex-direction: column;
        gap: 2rem;
    }
    .profile-divider {
        width: 100%;
        height: 2px;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .why-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .formats-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .stat-card h2 {
        font-size: 3.5rem;
    }
    .cta-section h2 {
        font-size: 2.5rem;
    }
}
