/* ==========================================================================
   SECURITY NOTE (HTTPS / Mixed Content)
   --------------------------------------------------------------------------
   This stylesheet must NOT load any assets via http://
   If you add background images/fonts, keep them local or https:// only.
   Example OK: url("/assets/bg.jpg") or url("https://cdn.../bg.jpg")
   Example NOT OK: url("http://cdn.../bg.jpg")
   ========================================================================== */

/* ==========================================================================
   Base & Variables
   ========================================================================== */
:root {
    /* Colors tailored to the product screenshot provided: Dark Theme + Yellow/Gold */
    --clr-bg: #111111;
    --clr-bg-alt: #1a1a1a;
    --clr-surface: #262626;
    --clr-surface-hover: #333333;

    --clr-text: #f0f0f0;
    --clr-text-muted: #c8c8c8;

    --clr-accent: #e5b32e;
    /* The yellow/gold from the screenshot */
    --clr-accent-hover: #f1c750;

    --clr-danger: #ea5455;

    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

    /* Spacing & Layout */
    --container-max: 1200px;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 6rem;

    /* Effects */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(229, 179, 46, 0.4);
}

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

html {
    scroll-behavior: smooth;
}

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

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
h1,
h2,
h3,
h4 {
    line-height: 1.2;
    font-weight: 700;
    color: #ffffff;
}

.text-accent {
    color: var(--clr-accent);
}

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

.text-white {
    color: #ffffff;
}

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

.section-padding {
    padding: var(--spacing-xxl) 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: calc(var(--spacing-xxl) * 0.66) 0;
    }

    .grid {
        gap: 20px;
    }
}

.bg-alt {
    background-color: var(--clr-bg-alt);
}

.grid {
    display: grid;
    gap: var(--spacing-xl);
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.mt-4 {
    margin-top: var(--spacing-xl);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background-color: var(--clr-accent);
    color: #111;
    /* Dark text for contrast against yellow */
}

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

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--clr-surface-hover);
    color: var(--clr-text);
}

.btn-secondary:hover {
    background-color: var(--clr-surface);
    border-color: var(--clr-text-muted);
}

.shadow-glow {
    box-shadow: var(--shadow-glow);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 0;
    background: rgba(17, 17, 17, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.logo i {
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--clr-text-muted);
    font-weight: 600;
    transition: var(--transition);
    font-size: 1rem;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--clr-accent);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    padding-top: 10rem;
    padding-bottom: 6rem;
    position: relative;
    overflow: hidden;
}

/* Add a subtle dark gradient mesh background */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 30%, rgba(229, 179, 46, 0.08) 0%, rgba(17, 17, 17, 1) 40%);
    pointer-events: none;
    z-index: -1;
}

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

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-image-wrapper {
        margin: 0 auto;
        width: 100%;
        padding: 0 15px;
        transform: scale(1) !important;
    }

    .glass-mockup,
    .glass-mockup:hover {
        transform: none !important;
        margin-top: 2rem;
    }
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(229, 179, 46, 0.1);
    color: var(--clr-accent);
    border: 1px solid rgba(229, 179, 46, 0.2);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #b3b3b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subheadline {
    font-size: 1.25rem;
    color: var(--clr-text-muted);
    margin-bottom: 2.5rem;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.glass-mockup {
    position: relative;
    border-radius: var(--radius-lg);
    background: rgba(38, 38, 38, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition);
}

.glass-mockup:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(2deg) translateY(-10px);
}

.floating-image {
    border-radius: 16px;
    width: 100%;
}

.glow-effect {
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 40px rgba(229, 179, 46, 0.1);
    border-radius: inherit;
    pointer-events: none;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--clr-text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* ==========================================================================
   Cards (Pain points, etc)
   ========================================================================== */
.card {
    background: var(--clr-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    background: var(--clr-surface-hover);
    border-color: rgba(229, 179, 46, 0.2);
}

.icon-box {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
}

/* === AJUSTE: centralizar o ícone (fone) quando estiver em blocos centralizados === */
.text-center .icon-box {
    margin-left: auto;
    margin-right: auto;
}
/* garante que o svg/ícone fique bem centralizado */
.icon-box > i,
.icon-box svg {
    display: block;
    margin: 0 auto;
}

.icon-box.warning {
    color: #ea5455;
    background: rgba(234, 84, 85, 0.1);
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.card p {
    color: var(--clr-text-muted);
}

/* ==========================================================================
   Solution Section
   ========================================================================== */
.solution-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 992px) {
    .solution-container {
        grid-template-columns: 1fr;
    }
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.feature-list i {
    font-size: 1.5rem;
    margin-top: 2px;
}

.app-window {
    background: var(--clr-surface);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.app-header {
    background: rgba(0, 0, 0, 0.2);
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dots {
    display: flex;
    gap: 6px;
}

.dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #444;
}

.dots span:nth-child(1) {
    background: #ea5455;
}

.dots span:nth-child(2) {
    background: #e5b32e;
}

.dots span:nth-child(3) {
    background: #28c76f;
}

/* ==========================================================================
   Mockup Carousel Animation
   ========================================================================== */
.mockup-carousel-container {
    position: relative;
    transform: rotateY(-10deg) scale(1.1);
    transition: transform 0.5s ease;
    /* Optional edge fade */
    -webkit-mask-image: linear-gradient(to right, black 80%, transparent 100%);
    mask-image: linear-gradient(to right, black 80%, transparent 100%);
}

.carousel-images {
    position: relative;
    aspect-ratio: 16/9;
    /* roughly giving space */
    width: 100%;
}

.carousel-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: fadePerspective 9s infinite;
    /* 3 imgs * 3s = 9s */
}

.img-1 {
    animation-delay: 0s;
}

.img-2 {
    animation-delay: 3s;
}

.img-3 {
    animation-delay: 6s;
}

@keyframes fadePerspective {
    0% {
        opacity: 0;
        transform: translateX(20px) translateZ(-50px);
    }

    10% {
        opacity: 1;
        transform: translateX(0) translateZ(0);
    }

    33% {
        opacity: 1;
        transform: translateX(0) translateZ(0);
    }

    43% {
        opacity: 0;
        transform: translateX(-30px) translateZ(50px);
    }

    100% {
        opacity: 0;
        transform: translateX(-30px) translateZ(50px);
    }
}

/* ==========================================================================
   Differential (Typography Focus)
   ========================================================================== */
.huge-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--clr-accent);
    margin-bottom: 3rem;
    line-height: 1.1;
}

.no-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.no-item {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--clr-text-muted);
}

.no-item i {
    color: var(--clr-danger);
    background: rgba(234, 84, 85, 0.1);
    padding: 4px;
    border-radius: 50%;
    font-size: 1rem;
}

.lead-text {
    font-size: 2rem;
    font-weight: 600;
}

/* ==========================================================================
   How It Works (Steps timeline)
   ========================================================================== */
.steps-container {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.step:last-child {
    margin-bottom: 0;
}

/* Vertical line for each step */
.step::before {
    content: '';
    position: absolute;
    top: 50px;
    /* offset for step-num height */
    left: 24px;
    width: 2px;
    height: calc(100% + 3rem - 50px);
    background: rgba(255, 255, 255, 0.1);
}

/* Remove line from the last step */
.step:last-child::before {
    display: none;
}

.step-num {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--clr-surface);
    border: 2px solid var(--clr-accent);
    color: var(--clr-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    z-index: 1;
    flex-shrink: 0;
}

.step-content {
    background: var(--clr-surface);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    flex-grow: 1;
    transition: var(--transition);
}

.step-content:hover {
    transform: translateX(10px);
    border-color: rgba(229, 179, 46, 0.3);
}

.step-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

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

/* ==========================================================================
   Benefits
   ========================================================================== */
.benefit-card {
    background: var(--clr-surface);
    border-radius: var(--radius-lg);
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.benefit-icon {
    font-size: 3rem;
    color: var(--clr-accent);
    margin-bottom: 1.5rem;
}

.benefit-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.benefit-list li {
    padding: 0.75rem 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
    color: var(--clr-text-muted);
    display: flex;
    align-items: center;
}

.benefit-list li::before {
    content: none;
}

.benefit-list li:last-child {
    border: none;
}

.benefit-check {
    color: var(--clr-accent) !important;
    margin-right: 10px;
    flex-shrink: 0;
}

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing-card {
    max-width: 450px;
    margin: 0 auto;
    background: rgba(38, 38, 38, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(229, 179, 46, 0.3);
    overflow: hidden;
    position: relative;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--clr-accent);
}

.pricing-header {
    text-align: center;
    padding: 3rem 2rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-header h3 {
    color: var(--clr-accent);
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.price {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.currency {
    font-size: 1.5rem;
    margin-top: 5px;
    color: var(--clr-text-muted);
}

.amount {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1;
    color: #fff;
}

.cents {
    font-size: 1.5rem;
    margin-top: 5px;
}

.period {
    font-size: 1rem;
    color: var(--clr-text-muted);
    align-self: flex-end;
    margin-bottom: 10px;
    margin-left: 5px;
}

.pricing-body {
    padding: 2rem;
}

.pricing-features {
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    color: var(--clr-text-muted);
}

.pricing-features i {
    color: var(--clr-accent);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-container {
    max-width: 800px;
}

.accordion-item {
    background: var(--clr-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-item summary {
    padding: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    /* Hide default arrow */
    position: relative;
    user-select: none;
}

.accordion-item summary::-webkit-details-marker {
    display: none;
}

.accordion-item summary::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--clr-accent);
    transition: var(--transition);
}

.accordion-item[open] summary::after {
    content: '-';
}

.accordion-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--clr-text-muted);
}

/* ==========================================================================
   CTA Final
   ========================================================================== */
.cta-final {
    position: relative;
    overflow: hidden;
    background: linear-gradient(to right, #111, #1a1a1a);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.wrapper-cta {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.bg-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(229, 179, 46, 0.15) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
    background: var(--clr-bg);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    color: #a0a0a0;
    font-size: 0.775rem;
}

/* === AJUSTE: remover logo do rodapé e colocar o texto da direita no lugar === */
footer .logo,
footer .footer-logo,
footer .brand,
footer .footer-brand {
    display: none !important;
}

footer .footer-content {
    justify-content: flex-start;
}

footer .footer-details {
    flex: 1;
    text-align: left !important;
    margin-left: 0 !important;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-details {
        text-align: center !important;
    }
}

/* ==========================================================================
   WhatsApp Floating Button
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    background-color: #20b558;
    color: #fff;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 54px;
        height: 54px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float img {
        width: 28px !important;
        height: 28px !important;
    }
}