/* =========================================
   CQC: Conversas que Convertem - Design System
   ========================================= */

:root {
    /* Color Palette */
    --bg-dark: #070B14;
    --bg-card: #0F1724;
    --bg-card-hover: #151F30;

    --accent-green: #10B981;
    --accent-green-glow: rgba(16, 185, 129, 0.4);
    --accent-green-dark: #059669;

    --accent-blue: #3B82F6;
    --accent-blue-glow: rgba(59, 130, 246, 0.4);

    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;

    --border-color: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(15, 23, 36, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;

    /* Spacing & Sizes */
    --container-width: 1200px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   Reset & Base Styles
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Typography Utilities */
.text-gradient {
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =========================================
   Components
   ========================================= */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-normal);
    text-align: center;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.btn-primary {
    background: var(--accent-green);
    color: #000;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: #12D293;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--accent-green-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--accent-green);
    color: var(--accent-green);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--accent-green);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 24px;
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Glassmorphism Panels */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Floating Metrics */
.floating-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    position: absolute;
    z-index: 10;
}

.metric-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.metric-icon.green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
}

.metric-icon.blue {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
}

.metric-data {
    display: flex;
    flex-direction: column;
}

.metric-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.metric-value {
    font-size: 1.125rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
}

.metric-value.success {
    color: var(--accent-green);
}

/* =========================================
   Layout Sections
   ========================================= */

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: var(--transition-normal);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(7, 11, 20, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.logo-img {
    height: 60px; /* Force limit height so nav doesn't break */
    width: auto;
    object-fit: contain;
    /* User logo has slightly different dark background. Let's try to blend it */
    mix-blend-mode: lighten; /* Removes black/dark background when placed on dark background */
}

.logo-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-green);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a:not(.btn) {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.nav-links a:not(.btn):hover {
    color: var(--text-primary);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 160px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.glow-bg {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(59, 130, 246, 0.1) 40%, rgba(7, 11, 20, 0) 70%);
    z-index: -1;
    border-radius: 50%;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* Hero Image & Dashboard Mockup CSS Treatments */
.hero-image-wrapper {
    position: relative;
    width: 100%;
}

.perspective-container {
    perspective: 1200px;
}

.saas-tilt {
    transform: rotateY(-12deg) rotateX(8deg) rotateZ(-1deg);
    transform-style: preserve-3d;
    box-shadow:
        -20px 30px 60px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 40px var(--accent-green-glow);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.saas-tilt:hover {
    transform: rotateY(-5deg) rotateX(2deg) rotateZ(0);
}

.saas-header {
    height: 28px;
    background: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-top-left-radius: var(--border-radius-md);
    border-top-right-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 6px;
}

.saas-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.close {
    background: #FF5F56;
}

.dot.min {
    background: #FFBD2E;
}

.dot.max {
    background: #27C93F;
}

.main-dashboard {
    width: 100%;
    border-radius: var(--border-radius-md);
    position: relative;
    background: #18181A;
}

.dashboard-img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.95;
    border-bottom-left-radius: var(--border-radius-md);
    border-bottom-right-radius: var(--border-radius-md);
    transition: opacity 0.3s;
}

.dashboard-img:hover {
    opacity: 1;
}

/* Floating Metrics for Hero */
.metric-card {
    top: 5%;
    left: -30px;
    animation: float 6s ease-in-out infinite;
    transform: translateZ(30px);
    /* 3D pop */
}

/* Composition Scene in "Como Funciona" */
.saas-composition-scene {
    position: relative;
    height: 600px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    perspective: 1500px;
}

.composition-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-blue-glow) 0%, transparent 70%);
    z-index: -1;
}

.comp-bg {
    position: absolute;
    top: 50px;
    right: 50px;
    width: 75%;
    border-radius: var(--border-radius-md);
    background: #18181A;
}

.saas-tilt-reverse {
    transform: rotateY(15deg) rotateX(10deg);
    box-shadow: 20px 30px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.comp-fg {
    position: absolute;
    bottom: 50px;
    left: 20px;
    width: 65%;
    border-radius: var(--border-radius-md);
    background: #18181A;
}

.popup-float {
    animation: float-delayed 8s ease-in-out infinite;
    box-shadow: -20px 40px 80px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 40px rgba(16, 185, 129, 0.1);
}

/* =========================================
   Animations
   ========================================= */

@keyframes float {
    0% {
        transform: translateY(0px) translateZ(30px);
    }

    50% {
        transform: translateY(-15px) translateZ(30px);
    }

    100% {
        transform: translateY(0px) translateZ(30px);
    }
}

@keyframes float-delayed {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
}

.fade-in-up.visible {
    animation: fadeInUp 0.8s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

/* =========================================
   Global Section Styles
   ========================================= */
.section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 48px;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 32px;
}

/* =========================================
   Pain Section
   ========================================= */
.pain-section {
    background: linear-gradient(to bottom, var(--bg-dark), #0A101C);
}

.quote-block {
    max-width: 800px;
    margin: 0 auto 48px;
    padding: 40px;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: -20px;
    left: 40px;
    color: var(--text-muted);
    opacity: 0.3;
}

.quote-block blockquote {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: #FCA5A5;
    /* subtle red/orange for pain */
    font-style: italic;
    line-height: 1.4;
}

.lead-text {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.pain-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.pain-item {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #FCA5A5;
    padding: 12px 24px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.x-icon {
    color: #EF4444;
}

.warning-box {
    max-width: 600px;
    margin: 0 auto;
    padding: 24px;
    text-align: left;
    border-left: 4px solid #EF4444;
}

.warning-box p {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.highlight-error {
    color: #FCA5A5 !important;
    font-weight: 600;
    font-size: 1.125rem;
}

/* =========================================
   Blind Spot Diagram Section
   ========================================= */
.blind-spot-section {
    background: #0A101C;
}

.text-error {
    color: #EF4444;
}

.diagram-container {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 24px;
    margin-top: 56px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.flow-box {
    flex: 1;
    padding: 0;
    overflow: hidden;
}

.flow-header {
    padding: 16px;
    text-align: center;
    font-weight: 700;
    font-family: var(--font-heading);
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 2px solid;
}

.border-error {
    border-color: #EF4444;
}

.border-success {
    border-color: var(--accent-green);
}

.flow-steps {
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.step {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    width: 100%;
    text-align: center;
    font-weight: 500;
}

.arrow {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.error-arrow {
    color: #EF4444;
}

.success-arrow {
    color: var(--accent-green);
}

.error-step {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #FCA5A5;
}

.success-step {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--accent-green);
}

.highlight-step {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: #93C5FD;
}

.vs-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-muted);
}

/* =========================================
   Solution Section
   ========================================= */
.solution-section {
    background: linear-gradient(to bottom, #0A101C, var(--bg-dark));
}

.solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.feature-list {
    list-style: none;
    margin: 32px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.feature-list strong {
    color: var(--text-primary);
}

.check-icon {
    width: 24px;
    height: 24px;
    color: var(--accent-green);
    flex-shrink: 0;
    margin-top: 2px;
}

.optimization-box {
    padding: 24px;
}

.opt-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.opt-tag {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Integration Hub Animation */
.solution-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glowing-orb {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-green-glow) 0%, transparent 70%);
    z-index: 0;
    border-radius: 50%;
}

.integration-hub {
    position: relative;
    z-index: 1;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--accent-green);
    border: 2px solid var(--accent-green);
    box-shadow: 0 0 30px var(--accent-green-glow);
}

.orbiting-nodes {
    position: absolute;
    width: 300px;
    height: 300px;
    animation: spin 20s linear infinite;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.node {
    position: absolute;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    animation: reverse-spin 20s linear infinite;
}

.node.meta {
    top: 0;
    left: 50%;
    margin-top: -15px;
    margin-left: -50px;
    border-color: rgba(59, 130, 246, 0.5);
}

.node.google {
    bottom: 20px;
    right: 20px;
    border-color: rgba(234, 67, 53, 0.5);
}

.node.wpp {
    bottom: 20px;
    left: 20px;
    border-color: rgba(37, 211, 102, 0.5);
}

@keyframes spin {
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes reverse-spin {
    100% {
        transform: rotate(-360deg);
    }
}

/* =========================================
   Works Section
   ========================================= */
.works-section {
    background: #0A101C;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.work-card {
    padding: 32px;
    position: relative;
    border-top: 3px solid transparent;
    transition: var(--transition-normal);
}

.work-card:hover {
    border-top-color: var(--accent-green);
    transform: translateY(-5px);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 32px;
    width: 40px;
    height: 40px;
    background: var(--bg-dark);
    border: 1px solid var(--accent-green);
    color: var(--accent-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
}

.work-card h3 {
    margin-top: 16px;
    margin-bottom: 16px;
    font-size: 1.25rem;
}

.mini-list {
    list-style: none;
    margin: 16px 0;
    padding-left: 12px;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.mini-list li {
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-size: 0.9375rem;
}

.mini-list.check-list li::before {
    content: '✔';
    color: var(--accent-green);
    margin-right: 8px;
    font-size: 0.875rem;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.tag-cloud span {
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.data-cross {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--border-radius-sm);
    padding: 16px;
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    color: var(--accent-blue);
    font-weight: 600;
}

.dashboard-preview-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* =========================================
   Real Optimization Section
   ========================================= */
.optimization-real-section {
    background: linear-gradient(to bottom, #0A101C, var(--bg-dark));
}

.opt-real-box {
    padding: 64px;
    border-radius: var(--border-radius-lg);
    background: radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.05) 0%, var(--glass-bg) 100%);
    text-align: center;
}

.platform-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 48px;
}

.platform-card {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
    padding: 32px;
    text-align: left;
}

.platform-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.platform-card ul {
    list-style: none;
    margin-top: 16px;
}

.platform-card ul li {
    margin-bottom: 12px;
    color: var(--text-primary);
    font-weight: 500;
}

.meta-card {
    border-top: 2px solid #1877F2;
}

.meta-card .platform-title {
    color: #1877F2;
}

.google-card {
    border-top: 2px solid #EA4335;
}

.google-card .platform-title {
    color: #EA4335;
}

/* =========================================
   Compare Table Section
   ========================================= */
.compare-section {
    background: var(--bg-dark);
}

.table-responsive {
    overflow-x: auto;
    max-width: 900px;
    margin: 0 auto;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.compare-table th,
.compare-table td {
    padding: 20px 24px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.compare-table th {
    background: rgba(255, 255, 255, 0.02);
    font-family: var(--font-heading);
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

.compare-table tr:last-child td {
    border-bottom: none;
}

.highlight-row {
    background: rgba(16, 185, 129, 0.08);
    /* Green tint */
}

.highlight-row td {
    font-weight: 600;
    border-top: 1px solid rgba(16, 185, 129, 0.2);
}

.text-success {
    color: var(--accent-green);
}

/* =========================================
   Deliverables & Audience Section
   ========================================= */
.deliverables-section {
    background: #0A101C;
}

.deliverables-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 64px;
    align-items: center;
}

.audience-content {
    padding: 40px;
    border-top: 4px solid var(--accent-blue);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.audience-content h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--accent-blue);
}

.audience-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.audience-item {
    font-size: 1.125rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* =========================================
   Offer Section
   ========================================= */
.offer-section {
    background: linear-gradient(to bottom, var(--bg-dark), #0A101C);
}

.offer-card {
    max-width: 600px;
    margin: 0 auto;
    padding: 64px 40px;
    border: 2px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(16, 185, 129, 0.1);
    position: relative;
    overflow: hidden;
}

.offer-glow {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 60%);
    width: 600px;
    height: 600px;
    top: -300px;
}

.pricing {
    margin: 32px 0;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
}

.currency {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--accent-green);
}

.amount {
    font-size: 4rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.period {
    font-size: 1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.offer-includes {
    text-align: left;
    margin: 0 auto 32px;
    max-width: 400px;
}

.offer-includes ul {
    list-style: none;
    margin-top: 16px;
}

.offer-includes li {
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.offer-btn {
    width: 100%;
    font-size: 1.25rem;
    padding: 20px;
}

.guarantee-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-align: left;
    background: rgba(255, 255, 255, 0.05);
    padding: 24px;
    border-radius: var(--border-radius-sm);
    margin-top: 32px;
}

.guarantee-box p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* =========================================
   FAQ & Final CTA
   ========================================= */
.faq-section {
    background: #0A101C;
    padding-bottom: 120px;
}

.mb-4 {
    margin-bottom: 32px;
}

.final-cta {
    max-width: 800px;
    margin: 0 auto 80px;
    padding: 64px;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--border-radius-lg);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    padding: 0;
    overflow: hidden;
    cursor: pointer;
}

.faq-question {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    transition: var(--transition-fast);
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-question h4 {
    font-size: 1.125rem;
    margin: 0;
    font-family: var(--font-sans);
    font-weight: 500;
}

.faq-toggle {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: var(--accent-green);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: rgba(0, 0, 0, 0.2);
}

.faq-item.active .faq-answer {
    padding: 0 24px 24px;
    max-height: 200px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background: #05080F;
    padding: 64px 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
}

.authority-profile {
    display: flex;
    align-items: center;
    gap: 24px;
}

.avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: #000;
}

.authority-info p {
    font-size: 0.875rem;
    margin-top: 4px;
}

.text-muted {
    color: var(--text-muted);
}

.footer-links {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* =========================================
   Implementation Section
   ========================================= */
.implementation-section {
    background: var(--bg-dark);
}

.implementation-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.impl-step-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    transition: var(--transition-normal);
}

.impl-step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(16, 185, 129, 0.3);
}

.impl-step-img {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #0F1724;
    display: flex;
    align-items: center;
    justify-content: center;
}

.impl-step-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.impl-step-card:hover .impl-step-img img {
    transform: scale(1.05);
}

.impl-step-content {
    padding: 24px;
    flex: 1;
}

.impl-step-content h3 {
    color: var(--accent-green);
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.impl-step-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.impl-conclusion {
    padding: 32px;
    max-width: 800px;
    margin: 48px auto 0;
    border-left: 4px solid var(--accent-green);
    background: rgba(16, 185, 129, 0.05);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .badge {
        margin: 0 auto 24px;
    }

    .metric-card,
    .conversion-card {
        display: none;
        /* Hide floating metrics on smaller screens for cleaner view */
    }

    .solution-grid,
    .deliverables-grid {
        grid-template-columns: 1fr;
    }

    .audience-content {
        border-top: none;
        border-left: 4px solid var(--accent-blue);
    }

    .implementation-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Responsive Composition */
    .saas-composition-scene {
        height: 400px;
    }

    .comp-bg {
        right: 10px;
        width: 80%;
    }

    .comp-fg {
        left: 10px;
        width: 80%;
    }
}

@media (max-width: 768px) {
    /* Ajustes Gerais de Seção e Padding */
    .section {
        padding: 50px 0; /* Remove os espaços mortos entre seções no mobile */
    }
    .hero-section {
        padding: 120px 0 60px; /* Melhora primeira dobra puxando o botão pra cima */
        min-height: auto;
    }

    /* Títulos e Textos */
    .hero-title {
        font-size: 2.1rem; /* Diminui para caber melhor */
    }
    .section-title {
        font-size: 1.8rem;
    }
    .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 24px;
    }

    /* Navbar */
    .nav-links {
        display: none;
        /* Add hamburger menu later if needed */
    }

    /* Botões 100% lineares */
    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }
    .btn, .btn-lg {
        width: 100%;
        padding: 14px 20px; /* Reduz padding pra não achatar */
        font-size: 1.05rem; /* Diminui tamanho da fonte no mobile pra evitar quebra de linha feia */
        white-space: nowrap; /* Tenta forçar o texto numa linha só se possível */
    }
    /* Especial pro botão grande de pagamento (Oferta/CTA final) */
    .offer-btn {
        font-size: 1.1rem;
        padding: 16px;
        white-space: normal; /* A oferta principal pode ter mais espaco */
    }

    /* Tabela da seção Por que é diferente? ajustada pra caber */
    .compare-table th,
    .compare-table td {
        padding: 12px 10px;
        font-size: 0.85rem;
    }

    .diagram-container {
        flex-direction: column;
    }

    .platform-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .implementation-steps {
        grid-template-columns: 1fr;
    }

    /* Mobile Composition */
    .saas-composition-scene {
        height: 300px;
    }

    .comp-bg {
        top: 20px;
        right: 0;
        width: 90%;
    }

    .comp-fg {
        bottom: 20px;
        left: 0;
        width: 90%;
    }
    
    /* Espaçamentos internos de Cards/Blocos */
    .offer-card {
        padding: 40px 24px; /* Menos padding lateral no mobile */
    }
    .final-cta {
        padding: 40px 24px;
    }
}