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

/* Background decoration */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(157, 124, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(160, 196, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
    min-height: calc(100vh - 72px);
    padding: var(--space-lg) var(--space-md);
}

/* Hero Image */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 520px;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

[data-theme="light"] .hero-image-wrapper {
    background-color: var(--hero-bg);
    border: 2px solid var(--color-border);
    border-radius: 80px;
    box-shadow: rgba(50, 50, 50, 0.5) 0px 5px 15px;
    overflow: hidden;
}

.hero-image-wrapper .moon-loader-wrapper {
    position: relative;
    z-index: 10;
    transform: rotate(-20deg);
}

/* Glow effect behind image */
.hero-image-wrapper::before {
    content: '';
    position: absolute;
    inset: -20px;
    background-image: radial-gradient(circle, var(--hero-glow) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* Decorative stars */
.hero-image-wrapper .star-decoration {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    width: 4px;
    height: 4px;
    background-color: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-primary);
    animation: twinkle 30s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1.5);
        box-shadow: 0 0 15px var(--color-primary-light), 0 0 30px var(--color-primary-light);
    }
    50% {
        opacity: 0.3;
        transform: scale(1);
        box-shadow: 0 0 5px var(--color-primary-light);
    }
}

/* Hero Content */
.hero-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(200, 182, 255, 0.08);
    border: 1px solid var(--color-border);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-primary);
    width: fit-content;
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 600;
    line-height: 1.1;
    color: var(--color-text-muted);
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    max-width: 50ch;
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-top: var(--space-xs);
}


@media (max-width: 870px) {
    .hero-inner {
        grid-template-columns: 1fr; /* Muda de 2 colunas para apenas 1 (empilha verticalmente) */
        min-height: auto; /* Opcional: remove a altura de 100vh para que a dobra se ajuste ao conteúdo no celular */
        gap: var(--space-md); /* Opcional: reduz o espaçamento entre o texto e a imagem */
        padding: var(--space-md) var(--space-sm); /* Opcional: reduz o recuo interno em telas menores */
    }
}

/* ---------- Section Base ---------- */
.section {
    padding: var(--space-xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-lg);
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.section-title {
    margin-bottom: var(--space-sm);
}

.section-description {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin: auto;
}

/* ---------- Products Section ---------- */
.products-section {
    background: var(--color-bg-dark);
    border-top: 1px solid var(--color-border);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-md);
}

/* Product Card */
.product-card {
    position: relative;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: var(--space-md);
    transition: all var(--transition-base);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-border-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.product-card:hover::before {
    opacity: 1;
}

.product-card.coming-soon {
    opacity: 0.7;
}

.product-card.coming-soon:hover {
    opacity: 0.85;
}

.product-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
    width: fit-content;
}

.status-live {
    background: rgba(129, 199, 132, 0.12);
    color: #81C784;
    border: 1px solid rgba(129, 199, 132, 0.2);
}

.status-soon {
    background: rgba(255, 214, 165, 0.12);
    color: var(--color-accent);
    border: 1px solid rgba(255, 214, 165, 0.2);
}

.product-card h3 {
    margin-bottom: var(--space-xs);
    font-size: 1.5rem;
    margin: 0.8rem 0;
}

.product-card p {
    margin-bottom: var(--space-md);
    font-size: 0.95rem;
    line-height: 1.7;
}

.product-meta {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-bottom: var(--space-sm);
}

.meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: var(--color-primary);
}

.meta-tag svg {
    width: 14px;
    height: 14px;
}

/* ---------- Features Section ---------- */
.features-section {
    background: var(--color-bg-deep);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-md);
}

.feature-item {
    text-align: center;
    padding: var(--space-md);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--color-primary);
}

[data-theme="light"] .feature-icon {
    background: var(--color-primary-dark);
}

[data-theme="light"] .feature-icon svg {
    stroke: var(--color-bg-deep);
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: var(--space-xs);
}

.feature-item p {
    font-size: 0.9rem;
    margin: 0 auto;
}
