/* ==========================================================================
   Design System & Variables
   ========================================================================== */
:root {
    /* Colors */
    --bg-darker: #08080A;
    --bg-dark: #121216;
    --bg-card: #18181D;
    
    --text-main: #F9FAF5;
    --text-muted: #9CA3AF;
    --text-dark: #111827;
    
    --accent-primary: #E0007A;
    --accent-hover: #C00068;
    --accent-gradient: linear-gradient(135deg, #8A004B, #E0007A, #FF3D9E);
    
    --border-color: #27272A;
    --border-hover: #E0007A;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --container-width: 1200px;
    --nav-height: 80px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
.text-fuchsia { color: var(--accent-primary); }
.text-highlight { 
    color: var(--accent-primary);
    position: relative;
    display: inline-block;
}
.text-center { text-align: center; }
.w-full { width: 100%; }
.bg-dark { background-color: var(--bg-dark); }

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

.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    margin-bottom: 60px;
    max-width: 800px;
}

.section-header.text-center {
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

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

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: var(--text-main);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px var(--accent-primary);
}

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

.btn-outline:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background-color: rgba(224, 0, 122, 0.05);
}

/* ==========================================================================
   Header & Nav
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(8, 8, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background var(--transition-normal);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-highlight {
    color: var(--accent-primary);
    font-weight: 400;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-list {
    display: flex;
    gap: 24px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    padding: 8px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(224, 0, 122, 0.15) 0%, rgba(8, 8, 10, 0) 70%);
    filter: blur(100px);
    z-index: -1;
}

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

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 90%;
}

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

/* Mockup Visual CSS */
.hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mockup-container {
    position: relative;
    width: 280px;
    height: 580px;
    perspective: 1000px;
}

.mockup {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 40px;
}

.mockup-back {
    background: var(--accent-gradient);
    transform: rotate(5deg) translate(20px, 10px);
    opacity: 0.5;
    filter: blur(20px);
}

.mockup-front {
    background: #000;
    border: 2px solid var(--border-color);
    padding: 10px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    z-index: 2;
    transform: rotate(-2deg);
    transition: transform var(--transition-slow);
}

.mockup-container:hover .mockup-front {
    transform: rotate(0deg) scale(1.02);
}

.mockup-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #1f1f24, #121216);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
}

.floating-card {
    position: absolute;
    background: rgba(24, 24, 29, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    z-index: 10;
    animation: float 6s ease-in-out infinite;
}

.card-1 { top: 10%; right: -20%; animation-delay: 0s; }
.card-2 { top: 30%; left: -30%; animation-delay: 1.5s; }
.card-3 { bottom: 25%; right: -15%; animation-delay: 3s; }
.card-4 { bottom: 10%; left: -25%; animation-delay: 4.5s; }

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

/* ==========================================================================
   Grids & Cards Generics
   ========================================================================== */
.problem-grid, .services-grid, .examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.solution-grid, .formats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

/* Standard Card Style */
.problem-card, .solution-card, .service-card, .example-card, .format-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    transition: all var(--transition-normal);
}

.problem-card:hover, .solution-card:hover, .service-card:hover, .example-card:hover, .format-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px -20px rgba(224, 0, 122, 0.2);
}

.problem-icon, .solution-icon, .service-icon, .example-icon {
    width: 50px;
    height: 50px;
    background: rgba(224, 0, 122, 0.1);
    color: var(--accent-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

/* Titles inside cards */
.problem-card h3, .solution-card h3, .service-card h3, .example-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.problem-card p, .solution-card p, .service-card p, .example-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   Specific Sections
   ========================================================================== */

/* Timeline (Como Funciona) */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-left: 70px;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: all var(--transition-normal);
}

.timeline-item:hover .timeline-number {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: rgba(224, 0, 122, 0.1);
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.timeline-content p {
    color: var(--text-muted);
}

/* Niches (Para Quem É) */
.niches-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.niche-badge {
    padding: 12px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-weight: 500;
    color: var(--text-muted);
    transition: all var(--transition-normal);
    cursor: default;
}

.niche-badge:hover {
    color: var(--text-main);
    border-color: var(--accent-primary);
    background: rgba(224, 0, 122, 0.05);
}

/* Formatos de Trabalho */
.format-card {
    display: flex;
    flex-direction: column;
    position: relative;
}

.format-card.featured {
    border-color: var(--accent-primary);
    background: linear-gradient(to bottom, rgba(224, 0, 122, 0.05), var(--bg-card));
    transform: scale(1.05);
}

.format-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-primary);
    color: var(--text-main);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.format-desc {
    min-height: 50px;
    margin-bottom: 24px;
}

.format-divider {
    height: 1px;
    background: var(--border-color);
    margin-bottom: 24px;
}

.format-features {
    flex-grow: 1;
    margin-bottom: 32px;
}

.format-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-muted);
}

.format-features li i {
    flex-shrink: 0;
}

.format-btn {
    margin-top: auto;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.about-list {
    margin: 30px 0;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
}

.about-list i {
    margin-top: 2px;
}

.about-note {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border-left: 4px solid var(--accent-primary);
}

.about-note p {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.about-image-placeholder {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 4/5;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.about-image-placeholder i {
    width: 64px;
    height: 64px;
    opacity: 0.2;
}

.glow-effect {
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--accent-primary);
    filter: blur(100px);
    opacity: 0.1;
    border-radius: 50%;
}

/* FAQ */
.accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color var(--transition-fast);
}

.accordion-item:hover {
    border-color: rgba(224, 0, 122, 0.5);
}

.accordion-header {
    width: 100%;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.accordion-icon {
    transition: transform var(--transition-normal);
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
    color: var(--accent-primary);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.accordion-content p {
    padding: 0 24px 24px 24px;
    color: var(--text-muted);
}

/* CTA Final */
.cta-final {
    padding: 120px 0;
    background: radial-gradient(circle at center, rgba(224, 0, 122, 0.1) 0%, var(--bg-darker) 70%);
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.cta-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.cta-small {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.icon-sm {
    width: 16px;
    height: 16px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--bg-dark);
    padding: 60px 0 20px 0;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 300px;
}

.footer-slogan {
    color: var(--text-muted);
    margin-top: 16px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
}

.footer-link:hover {
    color: var(--accent-primary);
}

.footer-location {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366; /* WhatsApp Green */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 100;
    transition: transform var(--transition-fast);
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

/* ==========================================================================
   Animations
   ========================================================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-subtitle {
        margin: 0 auto 40px auto;
    }

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

    .hero-visual {
        height: 500px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .format-card.featured {
        transform: none;
    }
    
    .format-card.featured:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 40px 24px;
        gap: 32px;
        transform: translateY(-150%);
        transition: transform var(--transition-normal);
        border-bottom: 1px solid var(--border-color);
        z-index: 999;
    }

    .nav.active {
        transform: translateY(0);
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .mobile-menu-btn {
        display: block;
    }

    .section {
        padding: 80px 0;
    }
    
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
}

/* ==========================================================================
   MiraSuite Custom Revisions & Premium Additions
   ========================================================================== */

/* Logo image style */
.logo-img {
    height: 38px;
    width: auto;
    display: block;
}

/* Custom Corner Brackets (MiraSuite branding style) */
.brand-corners {
    position: relative;
}
.brand-corners::before,
.brand-corners::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border-color: var(--accent-primary);
    border-style: solid;
    transition: all var(--transition-normal);
    pointer-events: none;
    z-index: 5;
}
/* Top-Right bracket */
.brand-corners::before {
    top: -8px;
    right: -8px;
    border-width: 4px 4px 0 0;
}
/* Bottom-Left bracket */
.brand-corners::after {
    bottom: -8px;
    left: -8px;
    border-width: 0 0 4px 4px;
}

/* Card hover bracket effect */
.hover-brackets {
    position: relative;
}
.hover-brackets::before,
.hover-brackets::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-color: var(--accent-primary);
    border-style: solid;
    transition: all var(--transition-normal);
    pointer-events: none;
    z-index: 5;
    opacity: 0;
}
.hover-brackets::before {
    top: -6px;
    right: -6px;
    border-width: 3px 3px 0 0;
}
.hover-brackets::after {
    bottom: -6px;
    left: -6px;
    border-width: 0 0 3px 3px;
}
.hover-brackets:hover::before,
.hover-brackets:hover::after {
    width: 20px;
    height: 20px;
    opacity: 1;
}

/* Niches Categories (Sexta Dobra) */
.niches-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.niche-category-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    transition: all var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
}

.niche-category-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 35px -15px rgba(224, 0, 122, 0.4);
}

.niche-category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.niche-category-icon {
    width: 44px;
    height: 44px;
    background: rgba(224, 0, 122, 0.1);
    color: var(--accent-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.niche-category-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.niche-category-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.niche-category-list li {
    font-size: 0.95rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.niche-category-list li::before {
    content: "•";
    color: var(--accent-primary);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Pricing Stylized Price Field */
.format-price {
    font-family: var(--font-heading);
    margin: 15px 0 25px 0;
    padding: 14px;
    background: rgba(224, 0, 122, 0.08);
    border: 1px solid rgba(224, 0, 122, 0.2);
    border-radius: 12px;
    text-align: center;
}

.format-price-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 4px;
}

.format-price-value {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--accent-primary);
    display: block;
}

/* About Visual Image Wrapper */
.about-image-wrapper {
    width: 100%;
    max-width: 380px;
    position: relative;
    border-radius: 24px;
}

.about-image {
    width: 100%;
    height: auto;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
    display: block;
    object-fit: cover;
}

.about-image-wrapper .glow-effect {
    position: absolute;
    width: 250px;
    height: 250px;
    background: var(--accent-primary);
    filter: blur(100px);
    opacity: 0.15;
    border-radius: 50%;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Instagram Logo Styling in Footer */
.instagram-logo-img {
    height: 20px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    filter: invert(71%) sepia(6%) saturate(198%) hue-rotate(182deg) brightness(88%) contrast(92%);
    transition: filter var(--transition-fast);
}

.footer-link:hover .instagram-logo-img {
    filter: invert(12%) sepia(99%) saturate(5435%) hue-rotate(324deg) brightness(91%) contrast(114%);
}
