/* ============================================
   Layout & Sections - Beleza Marcada Admin Hotsite
   ============================================ */

/* ============================================
   Hero Section
   ============================================ */

.hero {
    min-height: 100vh;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: var(--space-lg) var(--space-md);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(254, 61, 106, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(25, 184, 176, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(254, 162, 41, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: rgba(254, 61, 106, 0.2);
    border: 1px solid rgba(254, 61, 106, 0.3);
    border-radius: var(--radius-full);
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    color: var(--pink-light);
    margin-bottom: var(--space-md);
    animation: fade-up 0.6s var(--ease-out-expo) forwards;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--pink-primary);
    border-radius: 50%;
    animation: glow-pulse 2s ease-in-out infinite;
}

.hero-title {
    color: var(--white);
    margin-bottom: var(--space-md);
    animation: fade-up 0.8s var(--ease-out-expo) 0.1s forwards;
    opacity: 0;
}

.hero-title .highlight {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
    animation: fade-up 0.8s var(--ease-out-expo) 0.2s forwards;
    opacity: 0;
}

.hero-cta {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    animation: fade-up 0.8s var(--ease-out-expo) 0.3s forwards;
    opacity: 0;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    animation: fade-in 1s var(--ease-out-expo) 0.5s forwards;
    opacity: 0;
}

.hero-visual .dashboard-preview {
    animation: dashboard-float 6s ease-in-out infinite;
    transform: perspective(1000px) rotateX(2deg) rotateY(-2deg);
}

/* Floating Elements in Hero */
.hero-float {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    pointer-events: none;
}

.hero-float-1 {
    width: 100px;
    height: 100px;
    background: rgba(254, 61, 106, 0.3);
    top: 10%;
    left: 5%;
    animation: float-slow 15s ease-in-out infinite;
}

.hero-float-2 {
    width: 60px;
    height: 60px;
    background: rgba(25, 184, 176, 0.3);
    bottom: 20%;
    right: 10%;
    animation: float-medium 12s ease-in-out infinite;
}

.hero-float-3 {
    width: 40px;
    height: 40px;
    background: rgba(254, 162, 41, 0.3);
    top: 30%;
    right: 20%;
    animation: float-slow 18s ease-in-out infinite reverse;
}

/* ============================================
   Stats Section
   ============================================ */

.stats-section {
    background: var(--white);
    padding: var(--space-xl) 0;
    border-bottom: 1px solid var(--gray-200);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    max-width: 1000px;
    margin: 0 auto;
}

/* ============================================
   Features Section
   ============================================ */

.features-section {
    background: var(--gray-50);
    padding: var(--space-2xl) 0;
}

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

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

.section-header p {
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ============================================
   How It Works Section
   ============================================ */

.how-it-works {
    background: var(--white);
    padding: var(--space-2xl) 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.steps-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.steps-image {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 4/3;
    background: var(--gradient-dark);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.steps-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 70%, rgba(254, 61, 106, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(25, 184, 176, 0.2) 0%, transparent 50%);
}

.steps-image .logo {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    animation: logo-float 4s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

/* ============================================
   Testimonials Section
   ============================================ */

.testimonials-section {
    background: var(--gray-50);
    padding: var(--space-2xl) 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ============================================
   CTA Section
   ============================================ */

.cta-section {
    background: var(--gradient-dark);
    padding: var(--space-2xl) 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(254, 61, 106, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 50%, rgba(25, 184, 176, 0.15) 0%, transparent 40%);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 var(--space-md);
}

.cta-title {
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.cta-title .highlight {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-lg);
}

.cta-buttons {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--navy-dark);
    padding: var(--space-lg) 0;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.footer-logo {
    width: 60px;
    height: auto;
    margin: 0 auto var(--space-md);
}

.footer p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-md);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: color var(--duration-fast) var(--ease-smooth);
}

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

/* ============================================
   Responsive Styles
   ============================================ */

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-lg);
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-visual {
        max-width: 600px;
        margin: 0 auto;
    }

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

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .steps-visual {
        order: -1;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: var(--space-xl) var(--space-sm);
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

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

    .features-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-content {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        display: none;
    }

    .scroll-indicator {
        display: none;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-sm);
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

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

    .step-card {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin: 0 auto;
    }
}
