@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600;700&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    /* ── Colors (Hex values from Lagoon-one Palette) ── */
    --brand-primary: #0f5c43;      /* Emerald Green */
    --brand-dark-forest: #10302e;  /* Deep Forest Dark */
    --brand-light-green: #61d571;  /* Mint Green */
    --brand-teal-med: #196950;     /* Medium Teal */
    --brand-teal-bright: #19ad7e;  /* Bright Teal */
    --brand-green-vibrant: #06b44d;/* Vibrant Green */
    --brand-sage-muted: #71b079;   /* Sage Green */
    --brand-emerald-light: #208c68;/* Light Emerald */

    /* ── Light Mode Neutrals ── */
    --bg-light: #f5f7f6;
    --surface-light: #ffffff;
    --border-light: #e0e6e4;
    --text-light-main: #14211e;
    --text-light-muted: #1f2e2b;   /* Improved contrast from #2d3d3a */

    /* ── Dark Mode Neutrals ── */
    --bg-dark: #0a1413;
    --surface-dark: #0d2220;
    --border-dark: #196950;
    --text-dark-main: #ffffff;
    --text-dark-muted: #a3c2ba;

    /* ── Theme Active Variables (Default Light Mode Only) ── */
    --bg: var(--bg-light);
    --surface: var(--surface-light);
    --border: var(--border-light);
    --text-main: var(--text-light-main);
    --text-muted: var(--text-light-muted);
    
    /* ── Semantic Colors ── */
    --success: #06b44d;
    --success-bg: rgba(6, 180, 77, 0.1);
    --warning: #f1a00a;
    --warning-bg: rgba(241, 160, 10, 0.1);
    --error: #e03131;
    --error-bg: rgba(224, 49, 49, 0.1);

    /* ── Border Radius ── */
    --r-xs: 4px;
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 24px;
    --r-pill: 9999px;

    /* ── Spacing Scale ── */
    --s-1: 4px;
    --s-2: 8px;
    --s-3: 12px;
    --s-4: 16px;
    --s-5: 20px;
    --s-6: 24px;
    --s-7: 32px;
    --s-8: 40px;
    --s-9: 48px;
    --s-10: 64px;

    /* ── Shadows (Default Light) ── */
    --shadow-xs: 0px 1px 2px rgba(10, 20, 19, 0.05);
    --shadow-sm: 0px 2px 4px rgba(10, 20, 19, 0.06), 0px 0px 0px 1px rgba(10, 20, 19, 0.02);
    --shadow-md: 0px 8px 16px -4px rgba(10, 20, 19, 0.1), 0px 0px 0px 1px rgba(10, 20, 19, 0.03);
    --shadow-lg: 0px 16px 32px -8px rgba(10, 20, 19, 0.15), 0px 0px 0px 1px rgba(10, 20, 19, 0.04);
    --shadow-hover: 0px 25px 50px -12px rgba(10, 20, 19, 0.2);

    /* ── Fonts ── */
    --font-sans: 'Inter', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;

    /* Legacy mapping for progressive refactor */
    --bg-main: var(--bg);
    --bg-sec: var(--surface);
    --bg-card: var(--surface);
    --bg-card-hover: var(--surface);
    --border-color: var(--border);
    --border-hover: var(--brand-teal-bright);
    --color-blue: var(--brand-teal-bright);
    --color-green: var(--brand-light-green);
    --color-red: var(--error);
    --text-primary: var(--text-main);
    --text-secondary: var(--text-muted);
    --grad-omni: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-teal-bright) 100%);
    --grad-blue-green: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-teal-bright) 100%);
}

html {
    scroll-behavior: smooth;
}

/* Textura e Elementos Amorfos */
.grid-texture {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(15, 23, 42, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center;
    pointer-events: none;
    z-index: -1;
}

.blob-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(95px);
    opacity: 0.08;
    z-index: -2;
    pointer-events: none;
    transition: transform 5s ease-in-out;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--color-blue) 0%, transparent 70%);
    animation: floatBlob1 25s infinite alternate ease-in-out;
}

.blob-2 {
    bottom: 20%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--color-green) 0%, transparent 70%);
    animation: floatBlob2 30s infinite alternate ease-in-out;
}

.blob-3 {
    top: 40%;
    left: 20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--color-blue) 0%, transparent 70%);
    animation: floatBlob3 28s infinite alternate ease-in-out;
}

@keyframes floatBlob1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(80px, 50px) scale(1.1); }
}

@keyframes floatBlob2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-100px, -60px) scale(0.9); }
}

@keyframes floatBlob3 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-50px, 80px) scale(1.2); }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-sans);
}

body {
    background-color: var(--bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Theme Toggle Styles */


header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 58px;
    width: auto;
    display: block;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.logo-link:hover .logo-img {
    transform: scale(1.02);
    opacity: 0.9;
}

.tag-dev {
    background-color: rgba(24, 119, 242, 0.08);
    color: var(--color-blue);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(24, 119, 242, 0.15);
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.hero {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding-bottom: 60px;
}

.anti-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--brand-teal-bright);
    background-color: rgba(25, 173, 126, 0.08);
    padding: 6px 16px;
    border-radius: var(--r-pill);
    border: 1px solid rgba(25, 173, 126, 0.15);
    margin-bottom: 24px;
    font-weight: 700;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.anti-badge.badge-clickable {
    cursor: pointer;
    text-decoration: none;
}

.anti-badge.badge-clickable:hover {
    transform: translateY(-1px);
    background-color: rgba(25, 173, 126, 0.12);
    border-color: rgba(25, 173, 126, 0.3);
    box-shadow: 0 4px 12px rgba(25, 173, 126, 0.08);
}

h1 {
    font-size: 48px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

h1 span {
    background: linear-gradient(135deg, var(--brand-light-green) 0%, var(--brand-teal-bright) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtext {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats-box {
    background: rgba(15, 92, 67, 0.06);
    border: 1px solid rgba(15, 92, 67, 0.15);
    border-radius: var(--r-md);
    padding: var(--s-5) var(--s-6);
    max-width: 800px;
    margin: 0 auto 32px auto;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
    text-align: center;
}

.hero-stats-box:hover {
    border-color: rgba(25, 173, 126, 0.3);
    transform: translateY(-2px);
}

.stat-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-main);
    margin-bottom: 0 !important;
}

.stat-text strong {
    color: var(--brand-primary);
    font-weight: 700;
}

.highlight-fast {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-teal-bright) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.stat-source {
    font-size: 11px;
    font-family: var(--font-mono);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-container {
    margin-bottom: 20px;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-emerald-light) 100%);
    color: #ffffff;
    padding: 16px 36px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--r-pill);
    border: 1px solid transparent;
    transition: transform 0.2s, background-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(15, 92, 67, 0.35);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 92, 67, 0.5), 0 0 0 4px rgba(15, 92, 67, 0.15);
}

.cta-hint {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 10px;
}

/* ==========================================================================
   Interactive Platform Simulator Mockup Styles
   ========================================================================== */
.hero-mockup-wrapper {
    margin-top: 48px;
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    perspective: 1000px;
}

.browser-mockup {
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background-color: var(--surface);
    display: flex;
    flex-direction: column;
    height: 480px;
    width: 100%;
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.5s ease;
    transform: rotateX(2deg);
}

.browser-mockup:hover {
    box-shadow: var(--shadow-hover);
    transform: rotateX(0deg) translateY(-4px);
}

.browser-header {
    height: 38px;
    background-color: var(--bg);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 16px;
    flex-shrink: 0;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.browser-dots .dot.red { background-color: #ff5f56; }
.browser-dots .dot.yellow { background-color: #ffbd2e; }
.browser-dots .dot.green { background-color: #27c93f; }

.browser-address {
    flex: 1;
    max-width: 480px;
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xs);
    height: 24px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    padding: 0 12px;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.browser-content {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.platform-mockup {
    display: grid;
    grid-template-columns: 64px 280px 1fr;
    height: 100%;
    width: 100%;
    background-color: var(--bg);
    transition: background-color 0.3s ease;
}

/* Sidebar navigation inside mockup */
.pf-side-nav {
    background-color: var(--surface);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--s-4) 0;
    gap: 24px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.pf-mini-logo {
    max-width: 40px;
    height: auto;
    object-fit: contain;
}

.pf-nav-icons {
    display: flex;
    flex-direction: column;
    gap: var(--s-4);
    align-items: center;
}

.pf-nav-icon-link {
    color: var(--text-muted);
    font-size: 20px;
    width: 40px;
    height: 40px;
    border-radius: var(--r-sm);
    display: grid;
    place-items: center;
    transition: all 0.2s ease;
    text-decoration: none;
}

.pf-nav-icon-link:hover, .pf-nav-icon-link.active {
    background-color: rgba(15, 92, 67, 0.1);
    color: var(--brand-teal-bright);
}

.pf-nav-icon-link.active {
    background-color: var(--brand-primary);
    color: #ffffff;
}

/* Middle Panel: Chat List in mockup */
.pf-chat-list {
    background-color: var(--surface);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.pf-list-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    padding: var(--s-4);
    border-bottom: 1px solid var(--border);
    transition: border-color 0.3s ease, color 0.3s ease;
}

.pf-chat-card-items {
    flex: 1;
    overflow-y: auto;
}

.pf-chat-list-card {
    display: flex;
    gap: 12px;
    padding: var(--s-4) var(--s-3);
    border-bottom: 1px solid var(--border);
    cursor: default;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.pf-chat-list-card.active {
    background-color: rgba(15, 92, 67, 0.05);
    border-left: 3px solid var(--brand-teal-bright);
}

.pf-avatar-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--brand-primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    display: grid;
    place-items: center;
    position: relative;
    flex-shrink: 0;
}

.pf-avatar-circle-sm {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--brand-primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 12px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.pf-channel-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 10px;
    color: #ffffff;
    border: 1.5px solid var(--surface);
}

.pf-channel-badge.whatsapp { background-color: #25d366; }
.pf-channel-badge.instagram { background-color: #e1306c; }

.pf-chat-meta-info {
    flex: 1;
    min-width: 0;
}

.pf-chat-name-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 4px;
}

.pf-chat-user-name {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-main);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.pf-chat-card-time {
    font-size: 10px;
    color: var(--text-muted);
    font-family: var(--font-mono);
    transition: color 0.3s ease;
}

.pf-chat-tags-list {
    display: flex;
    gap: 4px;
    margin-bottom: 6px;
}

.pf-tag-pill {
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: var(--r-xs);
    text-transform: uppercase;
    font-family: var(--font-mono);
}

.pf-tag-pill.lead { background-color: rgba(25, 173, 126, 0.1); color: var(--brand-teal-bright); }
.pf-tag-pill.urgent { background-color: rgba(224, 49, 49, 0.1); color: var(--error); }
.pf-tag-pill.active-tag { background-color: rgba(6, 180, 77, 0.1); color: var(--brand-light-green); }

.pf-chat-msg-preview {
    font-size: 11.5px;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.3s ease;
}

/* Right Panel: Active Chat Pane in mockup */
.pf-active-chat-pane {
    background-color: var(--bg);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: background-color 0.3s ease;
}

.pf-pane-header {
    height: 56px;
    background-color: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0 var(--s-5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.pf-pane-user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pf-pane-meta {
    display: flex;
    flex-direction: column;
}

.pf-pane-name {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.pf-meta-phone {
    font-size: 11px;
    font-weight: 400;
    color: var(--text-muted);
    font-family: var(--font-mono);
    transition: color 0.3s ease;
}

.pf-channel-indicator {
    font-size: 10.5px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.3s ease;
}

.pf-badge-ai {
    font-size: 10px;
    font-weight: 700;
    background-color: rgba(25, 173, 126, 0.1);
    color: var(--brand-teal-bright);
    border: 1px solid rgba(25, 173, 126, 0.2);
    padding: 4px 10px;
    border-radius: var(--r-pill);
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-mono);
}

.pf-chat-messages {
    flex: 1;
    padding: var(--s-4);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pf-chat-messages .pf-bubble {
    max-width: 75%;
    padding: 10px 14px;
    font-size: 12.5px;
    line-height: 1.45;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xs);
    animation: bubbleFadeIn 0.3s ease-out forwards;
}

@keyframes bubbleFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.pf-chat-messages .pf-bubble.incoming {
    align-self: flex-start;
    background-color: var(--surface);
    color: var(--text-main);
    border-radius: 0 var(--r-md) var(--r-md) var(--r-md);
    border: 1.5px solid var(--border);
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.pf-chat-messages .pf-bubble.outgoing {
    align-self: flex-end;
    background-color: var(--brand-primary);
    color: #ffffff;
    border-radius: var(--r-md) 0 var(--r-md) var(--r-md);
}

.pf-bubble-text {
    word-break: break-word;
}

.pf-bubble-meta {
    font-size: 9px;
    color: var(--text-muted);
    align-self: flex-end;
    margin-top: 4px;
    font-family: var(--font-mono);
    transition: color 0.3s ease;
}

.pf-chat-messages .pf-bubble.outgoing .pf-bubble-meta {
    color: rgba(255, 255, 255, 0.7);
}

.pf-pane-footer {
    padding: var(--s-4);
    background-color: var(--surface);
    border-top: 1px solid var(--border);
    flex-shrink: 0;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.pf-simulated-input-box {
    height: 40px;
    background-color: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-pill);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--s-4);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.pf-input-placeholder {
    font-size: 12px;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.pf-send-btn {
    background: none;
    border: none;
    color: var(--brand-teal-bright);
    font-size: 16px;
    display: grid;
    place-items: center;
    cursor: default;
}

/* Grid de Recursos Sem Firulas */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.feature-card {
    background-color: var(--surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    padding: 32px;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.3s ease, 
                box-shadow 0.3s ease, 
                background-color 0.3s ease;
    text-align: left;
}

.feature-card:hover {
    border-color: var(--brand-teal-bright);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-main);
    font-weight: 700;
    transition: color 0.3s ease;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    transition: color 0.3s ease;
}

.planos-container {
    margin-top: 100px;
    background: var(--surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 60px 40px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.planos-container h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -1px;
    color: var(--text-main);
    transition: color 0.3s ease;
}

.planos-subtitle {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    transition: color 0.3s ease;
}

.planos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
    max-width: 1050px;
    margin: 0 auto;
}

/* Card individual do Plano */
.planos .plano {
    background-color: var(--surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.3s ease, 
                box-shadow 0.3s ease, 
                background-color 0.3s ease;
    position: relative;
    text-align: left;
    box-shadow: var(--shadow-sm);
    z-index: 1;
}

.planos .plano:hover {
    border-color: var(--brand-teal-bright);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* Plano Destaque (Pro) */
.planos .plano.plano-destaque {
    border-color: var(--brand-teal-bright);
    box-shadow: var(--shadow-sm), 0 0 15px rgba(25, 173, 126, 0.15);
}

.destaque-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-teal-bright) 100%);
    color: #ffffff;
    font-size: 10px;
    font-family: var(--font-mono);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 18px;
    border-radius: var(--r-pill);
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

/* Header do Card */
.plano-header {
    margin-bottom: 24px;
}

.planos .plano h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
    transition: color 0.3s ease;
}

/* Estilização do Preço */
.planos .plano .preco {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    margin-bottom: 12px;
}

.planos .plano .preco .preco-linha {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.planos .plano .preco .a-partir-de {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.planos .plano .preco .cifra {
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    transition: color 0.3s ease;
}

.planos .plano .preco .valor {
    font-family: var(--font-mono);
    font-size: 32px;
    font-weight: 800;
    color: var(--text-main);
    transition: color 0.3s ease;
}

.planos .plano .preco .periodo {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 400;
    transition: color 0.3s ease;
}

/* Lista de Recursos */
.planos .plano .features {
    list-style: none;
    margin-bottom: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.planos .plano .features .feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.planos .plano .features .feature i {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 1px;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.planos .plano .features .feature span {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.45;
    transition: color 0.3s ease, opacity 0.3s ease;
}

/* Recursos Inativos (Preto e Branco) */
.planos .plano .features .feature.disabled i {
    color: var(--text-muted) !important;
    opacity: 0.2;
}

.planos .plano .features .feature.disabled span {
    color: var(--text-muted);
    opacity: 0.45;
}

/* Botão de Ação do Plano */
.planos .plano .btn-cta {
    width: 100%;
    text-align: center;
    padding: 14px 24px;
    font-size: 14px;
    border-radius: var(--r-pill);
    margin-top: auto;
}

.metrics-section {
    margin-top: 100px;
    background: var(--surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 48px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.metrics-section h2 {
    font-size: 28px;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    color: var(--text-main);
    transition: color 0.3s ease;
}

.metrics-section p {
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 32px auto;
    transition: color 0.3s ease;
}

.metrics-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 24px;
}

.metric-item {
    padding: 10px;
}

.metric-value {
    font-family: var(--font-mono);
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--brand-light-green) 0%, var(--brand-teal-bright) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
}

.metric-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

/* Seção de Prova Social */
.social-proof-section {
    margin-top: 100px;
    background-color: transparent;
    border: none;
    padding: 60px 48px;
}

.social-proof-content {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
    align-items: center;
}

.social-proof-info {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.social-proof-info h2 {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    margin: 0;
}

.social-proof-info p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.slider-controls {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.slider-btn {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--color-blue);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.slider-btn:hover {
    border-color: var(--color-blue);
    background-color: var(--bg-card-hover);
    color: var(--color-blue);
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.slider-btn svg {
    transition: transform 0.2s ease;
}

.slider-btn:active svg {
    transform: scale(0.85);
}

.social-proof-stack-wrapper {
    position: relative;
    width: 100%;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-proof-stack {
    position: relative;
    width: 100%;
    max-width: 440px;
    height: 260px;
}

/* Card Estilo Tweet */
.tweet-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.3s ease, 
                box-shadow 0.3s ease,
                background-color 0.3s ease;
    transform-origin: center bottom;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.tweet-card:hover {
    border-color: var(--brand-teal-bright);
    box-shadow: var(--shadow-md);
}

.tweet-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    position: relative;
}

.tweet-avatar-container {
    position: relative;
    width: 48px;
    height: 48px;
    margin-right: 12px;
    flex-shrink: 0;
}

.tweet-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.verified-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 16px;
    height: 16px;
    background-color: var(--brand-teal-bright);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border: 2px solid var(--surface);
    transition: border-color 0.3s ease;
}

.verified-badge svg {
    width: 10px;
    height: 10px;
}

.tweet-user-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tweet-name {
    font-weight: 700;
    color: var(--text-main);
    font-size: 15px;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.tweet-niche {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
    transition: color 0.3s ease;
}

.twitter-icon {
    position: absolute;
    top: 0;
    right: 0;
    width: 18px;
    height: 18px;
    color: rgba(25, 173, 126, 0.3);
}

.tweet-body {
    font-size: 14.5px;
    color: var(--text-main);
    line-height: 1.5;
    margin-bottom: 16px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.tweet-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 12px;
    transition: border-color 0.3s ease;
}

.tweet-time {
    font-size: 12px;
    color: var(--text-muted);
    opacity: 0.8;
    transition: color 0.3s ease;
}

.tweet-metrics {
    display: flex;
    gap: 16px;
}

.tweet-metric-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.tweet-metric-item svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* Classes dos Cards na Pilha */
.tweet-card.card-active {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    z-index: 5;
    pointer-events: auto;
    border-color: var(--brand-teal-bright);
    box-shadow: 0 15px 35px rgba(25, 173, 126, 0.15), var(--shadow-md);
}

.tweet-card.card-behind-1 {
    opacity: 0.85;
    transform: translate3d(15px, -15px, 0) scale(0.96) rotate(2deg);
    z-index: 4;
    pointer-events: none;
}

.tweet-card.card-behind-2 {
    opacity: 0.6;
    transform: translate3d(30px, -30px, 0) scale(0.92) rotate(-2deg);
    z-index: 3;
    pointer-events: none;
}

.tweet-card.card-behind-3 {
    opacity: 0.35;
    transform: translate3d(45px, -45px, 0) scale(0.88) rotate(1deg);
    z-index: 2;
    pointer-events: none;
}

.tweet-card.card-incoming {
    opacity: 0;
    transform: translate3d(150%, 20px, 0) scale(0.9) rotate(8deg);
    z-index: 6;
    pointer-events: none;
    transition: none !important;
}

.tweet-card.card-outgoing {
    opacity: 0;
    transform: translate3d(-150%, -20px, 0) scale(0.9) rotate(-8deg);
    z-index: 1;
    pointer-events: none;
}

.tweet-card.card-hidden {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.85);
    z-index: 0;
    pointer-events: none;
    transition: none !important;
}

/* ==========================================================================
   Seção do Inimigo Principal (Passo 1)
   ========================================================================== */
.enemy-section {
    margin-top: 100px;
    text-align: center;
}

.enemy-section h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 1000px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.comparison-card {
    background-color: var(--surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.3s ease, 
                box-shadow 0.3s ease, 
                background-color 0.3s ease;
}

.comparison-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.comparison-card.card-chaos {
    border-color: rgba(224, 49, 49, 0.25);
    background: linear-gradient(180deg, var(--surface) 0%, rgba(224, 49, 49, 0.02) 100%);
}

.comparison-card.card-chaos:hover {
    border-color: var(--error);
    box-shadow: var(--shadow-md), 0 8px 24px rgba(224, 49, 49, 0.08);
}

.comparison-card.card-control {
    border-color: rgba(6, 180, 77, 0.25);
    background: linear-gradient(180deg, var(--surface) 0%, rgba(6, 180, 77, 0.02) 100%);
}

.comparison-card.card-control:hover {
    border-color: var(--brand-light-green);
    box-shadow: var(--shadow-md), 0 8px 24px rgba(6, 180, 77, 0.08);
}

.comparison-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main);
    transition: color 0.3s ease;
}

.card-status-error {
    display: inline-block;
    background-color: var(--error-bg);
    color: var(--error);
    padding: 4px 12px;
    border-radius: var(--r-pill);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-start;
    font-family: var(--font-mono);
}

.card-status-success {
    display: inline-block;
    background-color: var(--success-bg);
    color: var(--success);
    padding: 4px 12px;
    border-radius: var(--r-pill);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-start;
    font-family: var(--font-mono);
}

.comparison-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comparison-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.comparison-item span {
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.card-control .comparison-item span {
    color: var(--text-main);
}

footer {
    max-width: 1200px;
    margin: 100px auto 0 auto;
    padding: 80px 20px 40px 20px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 48px;
    font-size: 14px;
    color: var(--text-muted);
    transition: border-color 0.3s ease;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.footer-logo {
    height: 48px;
    align-self: flex-start;
    transition: transform 0.2s ease;
}

.footer-logo:hover {
    transform: scale(1.02);
}

.brand-desc {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 400px;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--surface);
    border: 1px solid var(--border);
    padding: 6px 12px;
    border-radius: var(--r-pill);
    font-size: 11px;
    font-weight: 600;
    align-self: flex-start;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--success);
}

.green-pulse {
    box-shadow: 0 0 0 0 rgba(6, 180, 77, 0.4);
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(6, 180, 77, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(6, 180, 77, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(6, 180, 77, 0);
    }
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--brand-teal-bright);
    transform: translateX(2px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 32px;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12px;
}

.tech-stack-info {
    font-family: var(--font-mono);
    color: var(--brand-teal-bright);
    font-weight: 600;
}

@media (max-width: 1024px) {
    .planos {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .planos .plano {
        flex: 1 1 300px;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .logo-img {
        height: 38px;
    }

    h1 {
        font-size: 32px;
    }

    .hero-subtext {
        font-size: 16px;
    }

    .hero-stats-box {
        padding: var(--s-4) var(--s-3);
        margin-bottom: 24px;
    }

    .stat-text {
        font-size: 14.5px;
    }

    .metrics-section {
        padding: 32px 20px;
    }

    .metrics-row {
        flex-direction: column;
    }

    .planos-container {
        padding: 40px 16px;
        margin-top: 60px;
    }

    .planos-container h2 {
        font-size: 28px;
    }

    .planos {
        display: grid;
        grid-template-columns: 1fr;
    }

    .planos .plano {
        padding: 24px 20px;
        max-width: none;
    }

    /* Seção de Prova Social Responsiva */
    .social-proof-section {
        padding: 40px 20px;
        margin-top: 60px;
    }

    .social-proof-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .social-proof-info {
        align-items: center;
        max-width: 100%;
    }

    .social-proof-stack-wrapper {
        height: 320px;
    }

    .social-proof-stack {
        height: 230px;
    }

    .tweet-card.card-behind-1 {
        transform: translate3d(8px, -8px, 0) scale(0.96) rotate(1deg);
    }

    .tweet-card.card-behind-2 {
        transform: translate3d(16px, -16px, 0) scale(0.92) rotate(-1deg);
    }

    .tweet-card.card-behind-3 {
        transform: translate3d(24px, -24px, 0) scale(0.88) rotate(1deg);
    }

    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 10px;
    }

    .comparison-card {
        padding: 30px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 16px;
    }
}

/* ==========================================================================
   Calculadora de ROI, FAQ Acordeão & CTA Final (UX, IX & SEO)
   ========================================================================== */

/* 1. Calculadora de ROI */
.calculator-section {
    margin-top: 100px;
    text-align: center;
}

.calculator-section h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.calculator-container {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 48px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    text-align: left;
    align-items: center;
    box-shadow: var(--shadow-lg);
}

.calc-controls {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.control-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.control-header label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.control-header span, .val-wrapper {
    font-family: var(--font-mono);
    font-size: 24px;
    font-weight: 700;
    color: var(--brand-teal-bright);
}

.val-wrapper {
    display: flex;
    align-items: center;
    gap: 4px;
}

.val-wrapper .currency {
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-mono);
}

/* range input styling */
.calc-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: var(--r-pill);
    background: var(--border);
    outline: none;
    transition: background 0.3s;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--brand-teal-bright);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(25, 173, 126, 0.4);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, box-shadow 0.2s ease;
}

.calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: var(--brand-primary);
    box-shadow: 0 0 15px rgba(15, 92, 67, 0.4);
}

.calc-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border: none;
    border-radius: 50%;
    background: var(--brand-teal-bright);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(25, 173, 126, 0.4);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, box-shadow 0.2s ease;
}

.calc-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
    background: var(--brand-primary);
    box-shadow: 0 0 15px rgba(15, 92, 67, 0.4);
}

.slider-limits {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font-mono);
    opacity: 0.8;
}

.calc-results {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.result-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 24px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.result-card.lost {
    border-left: 4px solid var(--error);
    background: linear-gradient(135deg, rgba(224, 49, 49, 0.01) 0%, rgba(224, 49, 49, 0.03) 100%);
}

.result-card.warning {
    border-left: 4px solid var(--warning);
    background: linear-gradient(135deg, rgba(241, 160, 10, 0.01) 0%, rgba(241, 160, 10, 0.03) 100%);
}

.result-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.result-card.warning:hover {
    border-color: var(--warning);
    box-shadow: 0 8px 24px rgba(241, 160, 10, 0.06), var(--shadow-md);
}

.result-card.lost:hover {
    border-color: var(--error);
    box-shadow: 0 8px 24px rgba(224, 49, 49, 0.06), var(--shadow-md);
}

.result-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.result-label .info-tag {
    font-size: 10px;
    text-transform: none;
    font-weight: 500;
    opacity: 0.8;
}

.result-value {
    font-family: var(--font-mono);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1;
}

.result-card.lost .result-value {
    color: var(--error);
}

.result-card.warning .result-value {
    color: var(--warning);
}

.result-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
}

.calc-copy-box {
    grid-column: 1 / -1;
    background: rgba(15, 92, 67, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: var(--s-4) var(--s-5);
    font-size: 15px;
    color: var(--text-main);
    line-height: 1.6;
    margin-top: 12px;
}

.calc-copy-box strong {
    color: var(--brand-primary);
    font-weight: 700;
}

/* 2. FAQ Accordion */
.faq-section {
    margin-top: 100px;
    text-align: center;
}

.faq-section h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    border-color: var(--color-blue);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-primary);
    padding: 24px;
    font-size: 16px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--color-blue);
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-blue);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-content {
    overflow: hidden;
    padding: 0 24px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active {
    border-color: var(--color-blue);
    background-color: var(--bg-card-hover);
}

.faq-item.active .faq-question {
    color: var(--color-blue);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-item.active .faq-answer-content {
    padding: 0 24px 24px 24px;
    opacity: 1;
}

/* 3. Final CTA & Guarantee */
.final-cta-section {
    margin-top: 100px;
    margin-bottom: 40px;
}

.final-cta-card {
    background: linear-gradient(135deg, var(--surface) 0%, var(--bg) 100%);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 60px 48px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    z-index: 1;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.final-cta-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-teal-bright) 100%);
    border-radius: calc(var(--r-xl) + 2px);
    pointer-events: none;
    z-index: -1;
    opacity: 0.3;
}

.final-cta-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(25, 173, 126, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.final-cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.final-cta-content h2 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.final-cta-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.5;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.btn-pulse {
    animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.guarantee-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    background-color: var(--surface);
    border: 1px solid var(--border);
    padding: 12px 20px;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.shield-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(97, 213, 113, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--brand-light-green);
}

.guarantee-text {
    display: flex;
    flex-direction: column;
}

.guarantee-text strong {
    font-size: 14px;
    color: var(--text-main);
    font-weight: 700;
}

.guarantee-text span {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Media Queries para Calculadora, FAQ & CTA Final */
@media (max-width: 1024px) {
    .calculator-container {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px;
    }
}

@media (max-width: 768px) {
    .calculator-section h2, .faq-section h2 {
        font-size: 28px;
    }
    
    .final-cta-card {
        padding: 40px 20px;
    }
    
    .final-cta-content h2 {
        font-size: 28px;
    }
    
    .final-cta-content p {
        font-size: 16px;
        margin-bottom: 24px;
    }
    
    .faq-question {
        padding: 20px;
        font-size: 15px;
    }
    
    .faq-answer-content {
        padding: 0 20px 20px 20px;
    }
}

/* --- Banner Apenas Software --- */
.software-only-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(25, 173, 126, 0.05);
    border: 1px solid var(--brand-teal-bright);
    border-radius: var(--r-lg);
    padding: var(--s-6);
    margin-top: var(--s-8);
    gap: var(--s-6);
}

.software-only-info {
    flex: 1;
}

.software-only-info .anti-badge {
    margin-bottom: var(--s-3);
}

.software-only-info h3 {
    font-size: 24px;
    margin-bottom: var(--s-2);
    color: var(--text-main);
}

.software-only-info p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.5;
}

.software-only-action {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .software-only-banner {
        flex-direction: column;
        text-align: center;
        padding: var(--s-5);
    }
    
    .software-only-info h3 {
        font-size: 20px;
    }
    
    .software-only-action {
        width: 100%;
    }
    
    .software-only-action .btn-cta {
        width: 100%;
    }
}

/* ==========================================================================
   Botão Flutuante do WhatsApp
   ========================================================================== */

/* Estrutura do botão e pulso (Floating WhatsApp Button) */
.whatsapp-float-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    animation: whatsappPulse 2s infinite;
}

/* Animação no Hover */
.whatsapp-float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6);
}

.whatsapp-icon {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

/* Tooltip (balão de texto) ao lado do botão */
.whatsapp-tooltip {
    position: absolute;
    right: 76px;
    background-color: #ffffff; /* Fundo branco fixo para facilitar a portabilidade */
    border: 1px solid #e5e7eb; /* Borda suave */
    color: #111827; /* Cor do texto (preto/cinza escuro) */
    padding: 8px 16px;
    border-radius: 8px; /* Arredondamento */
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); /* Sombra padrão */
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.whatsapp-float-btn:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Efeito de pulso animado (ondas ao redor do botão) */
@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsividade: Garante que o botão fique um pouco menor no celular */
@media (max-width: 768px) {
    .whatsapp-float-btn {
        width: 52px;
        height: 52px;
        bottom: 16px;
        right: 16px;
    }
    .whatsapp-icon {
        width: 28px;
        height: 28px;
    }
    .whatsapp-tooltip {
        display: none; /* Esconde a tooltip no mobile para não sobrepor o conteúdo da tela */
    }
}

/* ==========================================================================
   Scarcity Elements (Toast & Micro-copy)
   ========================================================================== */
.cta-scarcity-hint {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 12px;
    background-color: rgba(241, 160, 10, 0.08);
    border: 1px solid rgba(241, 160, 10, 0.2);
    padding: 6px 12px;
    border-radius: var(--r-sm);
    display: inline-block;
}

.cta-scarcity-hint strong {
    color: var(--warning);
}

.scarcity-toast {
    position: fixed;
    bottom: 24px;
    left: 24px;
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--error);
    border-radius: var(--r-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    z-index: 9998;
    transform: translateX(-120%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.5s ease;
    max-width: 320px;
}

.scarcity-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.close-toast-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 14px;
    transition: color 0.2s;
}

.close-toast-btn:hover {
    color: var(--error);
}

.toast-content {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.toast-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.toast-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.toast-text strong {
    font-size: 14px;
    color: var(--text-main);
}

.toast-text p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .scarcity-toast {
        bottom: 100px;
        left: 50%;
        transform: translateX(-50%) translateY(20px);
        width: 90%;
        max-width: 400px;
    }
    
    .scarcity-toast.show {
        transform: translateX(-50%) translateY(0);
    }
}