/* ==========================================================================
   MUNDO KAN - DESIGN SYSTEM & STYLES (index.css - MODO CLARO CORPORATIVO)
   ========================================================================== */

/* --- Variables & Tokens --- */
:root {
    --bg-light: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --border-color: #e2e8f0;
    
    --color-primary: #510851; /* Lilás do App KAN */
    --color-primary-glow: #6c0e6c;
    --color-orange: #ea580c; /* Laranja Metodologia */
    --color-orange-glow: #f97316;
    --color-violet: #8b5cf6; /* Violeta/Lilás */
    --color-violet-glow: #a78bfa;
    --color-green: #10b981; /* Verde Sucesso/Engajamento */
    --color-green-glow: #34d399;
    --color-error: #ef4444;
    
    --text-main: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --text-white: #ffffff;
    
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    --radius-lg: 20px;
    --radius-md: 10px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.08), 0 0 20px rgba(139, 92, 246, 0.02);
    --shadow-glow: 0 15px 30px rgba(81, 8, 81, 0.1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

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

/* --- Utilities & Colors --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.font-semibold { font-weight: 600; }
.font-black { font-weight: 900; }

.text-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-violet) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-blue { color: var(--color-primary) !important; }
.text-orange { color: var(--color-orange) !important; }
.text-green { color: var(--color-green) !important; }
.text-violet { color: var(--color-violet) !important; }
.hidden { display: none !important; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--text-white);
    box-shadow: 0 4px 14px rgba(81, 8, 81, 0.25);
}

.btn-primary:hover {
    background: var(--color-primary-glow);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(81, 8, 81, 0.4);
}

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

.btn-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.05rem;
}

/* Card Shadows */
.card-shadow {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

.card-shadow:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* --- Top Bar (Gupy Style) --- */
.top-bar {
    background-color: #0f172a; /* Dark Slate Header */
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.78rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 24px;
}

.top-bar-link {
    display: flex;
    align-items: center;
    gap: 4px;
    color: rgba(255, 255, 255, 0.75);
}

.top-bar-link:hover {
    color: var(--text-white);
}

.top-bar-link i {
    font-size: 0.7rem;
    opacity: 0.7;
}

/* --- Header / Navigation --- */
.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

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

.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 48px; /* App logo height */
    width: auto;
}

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

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

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

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.8rem;
    cursor: pointer;
}

/* --- Hero Section (Gupy Style) --- */
.hero-section {
    position: relative;
    padding: 80px 0 100px;
    background-color: var(--bg-light);
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Gupy style colored shapes */
.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.shape-1 {
    width: 400px;
    height: 400px;
    background-color: rgba(16, 185, 129, 0.08); /* neon green */
    bottom: -10%;
    left: 5%;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background-color: rgba(139, 92, 246, 0.08); /* violet */
    top: -10%;
    right: -5%;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge-new {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(16, 185, 129, 0.08); /* Light green */
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #065f46;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.badge-new i {
    font-size: 0.95rem;
    color: var(--color-green);
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    color: var(--text-main);
    line-height: 1.05;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-body);
    margin-bottom: 36px;
    max-width: 580px;
    line-height: 1.6;
}

/* Capturing form (Gupy style) */
.hero-form {
    width: 100%;
    max-width: 500px;
}

.form-group-inline {
    display: flex;
    gap: 12px;
    background: var(--bg-light);
    padding: 6px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.form-group-inline:focus-within {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
}

.form-control-inline {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 16px;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-main);
}

.form-control-inline:focus {
    outline: none;
}

.btn-inline {
    padding: 12px 24px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.form-help-text {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 8px;
    padding-left: 6px;
}

/* --- Gupy Style Visual Overlay (Woman & Mockups) --- */
.hero-visual {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 440px;
    height: 480px;
}

.visual-circle {
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(81, 8, 81, 0.12) 0%, rgba(139, 92, 246, 0.08) 100%);
    z-index: 0;
}

.visual-person-img {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 90%;
    width: auto;
    object-fit: contain;
    z-index: 1;
    border-radius: 0 0 100px 100px;
}

/* Overlay widget cards */
.overlay-card {
    position: absolute;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    z-index: 2;
    transition: var(--transition-smooth);
}

/* Floating Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

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

.animate-float {
    animation: float 5s ease-in-out infinite;
}

.animate-float-delay-1 {
    animation: float-delay 6s ease-in-out infinite;
}

.animate-float-delay-2 {
    animation: float 4.5s ease-in-out infinite 0.5s;
}

.animate-float-delay-3 {
    animation: float-delay 5.5s ease-in-out infinite 0.3s;
}

/* Feedback card styling */
.card-feedbacks {
    top: 18%;
    right: -10%;
    width: 200px;
}

.card-header-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.card-stats {
    display: flex;
    justify-content: space-between;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.1;
    display: flex;
    align-items: center;
    gap: 4px;
}

.dot-orange { font-size: 0.6rem; }
.sparkle-blue { font-size: 0.8rem; }

.stat-lbl {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* Training card styling (Blue Card) */
.card-training {
    top: 8%;
    left: -12%;
    width: 190px;
    background: var(--color-primary);
    color: var(--text-white);
    border: none;
}

.badge-training {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.training-title {
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.training-progress {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.progress-bar-container {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--text-white);
}

.progress-percentage {
    font-size: 0.7rem;
    font-weight: 700;
}

.training-dots {
    display: flex;
    gap: 4px;
    justify-content: center;
}

.t-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.t-dot.active {
    background: var(--text-white);
}

/* Insights card styling */
.card-insights {
    bottom: 24%;
    right: -15%;
    width: 220px;
}

.insight-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.insight-value-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.insight-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
}

.insight-value {
    font-size: 1.1rem;
    font-weight: 800;
}

.insight-status-bar {
    height: 6px;
    background: var(--bg-tertiary);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}

.status-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-violet) 100%);
}

.insight-tag {
    font-size: 0.72rem;
    color: var(--color-green);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Docs validation card styling */
.card-docs {
    bottom: 4%;
    left: -15%;
    width: 220px;
}

.docs-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.docs-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.profile-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--color-violet);
    color: var(--text-white);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.profile-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-main);
}

.profile-role {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.docs-validation {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 6px;
    padding: 6px;
    text-align: center;
}

.val-check {
    font-size: 0.72rem;
    color: var(--color-green);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

/* --- Partners / Trust Section --- */
.partners-section {
    padding: 40px 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.partners-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 48px;
}

.partner-logo {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-muted);
    opacity: 0.75;
    letter-spacing: -0.5px;
}

.partner-logo:hover {
    color: var(--text-main);
    opacity: 1;
}

/* --- Section Formatting --- */
.section-header {
    margin-bottom: 56px;
}

.section-title {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-main);
}

.section-subtitle {
    color: var(--text-body);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- Methodology Section --- */
.methodology-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.pillar-card {
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.pillar-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.6rem;
}

.pillar-title {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.pillar-desc {
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- Features Section --- */
.features-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

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

.feature-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.feature-desc {
    color: var(--text-body);
    font-size: 0.95rem;
}

/* --- Calculator Section (With Local Man Portrait) --- */
.calculator-section {
    padding: 100px 0;
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    padding: 56px;
}

.calculator-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.calculator-title {
    font-size: 2.3rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

.calculator-subtitle {
    color: var(--text-body);
    margin-bottom: 32px;
    font-size: 1.05rem;
}

.calc-sample-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-body);
    background: var(--bg-secondary);
    padding: 16px;
    border-radius: var(--radius-md);
    border-left: 3px solid var(--color-primary);
    margin-bottom: 32px;
}

.calc-sample-info i {
    font-size: 1.1rem;
    color: var(--color-primary);
}

/* Portrait with Quote testimonial */
.calc-portrait-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: var(--bg-secondary);
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.calc-portrait-img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-primary);
}

.calc-portrait-quote {
    flex: 1;
}

.quote-text {
    font-size: 0.82rem;
    font-style: italic;
    color: var(--text-body);
    line-height: 1.4;
    margin-bottom: 4px;
}

.quote-author {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--text-main);
}

.calculator-form-container {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Form Styles */
.form-group {
    margin-bottom: 24px;
}

.form-row {
    display: flex;
    gap: 16px;
}

.col-half {
    flex: 1;
}

label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-family: var(--font-sans);
    color: var(--text-main);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
}

.invalid-feedback {
    display: none;
    color: var(--color-error);
    font-size: 0.8rem;
    margin-top: 6px;
}

.form-group.invalid .form-control {
    border-color: var(--color-error);
}

.form-group.invalid .invalid-feedback {
    display: block;
}

/* Calculator Results Box */
.calculator-results {
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.results-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.result-number-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 16px 12px;
    border-radius: var(--radius-md);
    text-align: center;
}

.result-number-card.highlighted {
    background: rgba(241, 134, 23, 0.04);
    border-color: var(--color-orange);
    box-shadow: 0 4px 12px rgba(241, 134, 23, 0.08);
}

.result-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.result-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
}

.result-number-card.highlighted .result-value {
    color: var(--color-orange);
}

.result-description-container {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.result-desc-title {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--color-orange);
}

.result-desc-text {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.6;
}

/* --- Stats Section --- */
.stats-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.stat-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 12px;
}

.stat-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
}

.stat-desc {
    color: var(--text-body);
    font-size: 0.9rem;
}

/* --- Contact Section --- */
.contact-section {
    padding: 100px 0;
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

.contact-container {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 64px;
    padding: 56px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-subtitle {
    color: var(--text-body);
    font-size: 1.05rem;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-detail-item i {
    font-size: 1.6rem;
    width: 44px;
    height: 44px;
    background: rgba(81, 8, 81, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
}

.detail-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.detail-value {
    font-weight: 600;
    color: var(--text-main);
}

.contact-form-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: var(--radius-lg);
}

/* Status messages */
.form-status-box {
    text-align: center;
    padding: 24px 0;
    animation: fadeIn 0.4s ease forwards;
}

.status-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.status-icon.success { color: var(--color-green); }
.status-icon.error { color: var(--color-error); }

.status-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.status-text {
    color: var(--text-body);
    font-size: 0.95rem;
    margin-bottom: 32px;
}

/* --- Footer (Dark Anchor) --- */
.footer {
    background: #510851; /* Fundo Lilás do App KAN */
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 64px;
    margin-bottom: 64px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

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

.footer-links {
    display: flex;
    gap: 80px;
}

.links-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.column-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-primary-glow);
    margin-bottom: 8px;
}

.links-column a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.links-column a:hover {
    color: var(--text-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px 0;
}

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

.copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-terms {
    display: flex;
    gap: 24px;
}

.footer-terms a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-terms a:hover {
    color: var(--text-white);
}

/* --- Responsive Adaptations (Media Queries) --- */
@media (max-width: 991px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 64px;
        padding-top: 40px;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-form {
        margin: 0 auto;
    }
    
    .hero-visual {
        margin-top: 20px;
    }
    
    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .calculator-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 32px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 32px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none; /* Hide top bar on mobile for cleaner look */
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 84px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid var(--border-color);
        padding: 24px;
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
        box-shadow: var(--shadow-md);
    }
    
    .nav-menu.open {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .btn-nav {
        margin-top: 10px;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
    
    .form-group-inline {
        flex-direction: column;
        border: none;
        box-shadow: none;
        padding: 0;
        gap: 12px;
    }
    
    .form-control-inline {
        background: var(--bg-secondary);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md);
    }
    
    .btn-inline {
        width: 100%;
    }
    
    /* Reposition overlay cards for mobile */
    .overlay-card {
        padding: 10px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    }
    
    .card-feedbacks {
        right: 0%;
        width: 140px;
    }
    
    .card-training {
        left: 0%;
        width: 130px;
    }
    
    .card-insights {
        right: 0%;
        bottom: 15%;
        width: 150px;
    }
    
    .card-docs {
        left: 0%;
        bottom: 5%;
        width: 160px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .calculator-form-container, .contact-form-box {
        padding: 24px;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links {
        gap: 40px;
        flex-direction: column;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* --- Comparison Section (B2B Storytelling) --- */
.comparison-section {
    padding: 100px 0;
    background-color: var(--bg-tertiary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-tag {
    display: inline-block;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 48px;
}

.comparison-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.comparison-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-traditional {
    border-top: 4px solid var(--color-error);
}

.card-kan-highlight {
    border: 2px solid var(--color-primary);
    border-top: 6px solid var(--color-primary);
    background: linear-gradient(180deg, rgba(81, 8, 81, 0.01) 0%, rgba(139, 92, 246, 0.01) 100%);
    box-shadow: var(--shadow-md);
}

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

.comp-card-header i {
    font-size: 1.8rem;
}

.comp-card-header h3 {
    font-size: 1.35rem;
    font-weight: 800;
}

.comp-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.comp-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.5;
}

.comp-list li i {
    font-size: 1.25rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.comp-list li strong {
    color: var(--text-main);
    display: block;
    margin-bottom: 4px;
}

.text-red {
    color: var(--color-error) !important;
}

.text-violet {
    color: var(--color-primary) !important;
}

@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .comparison-card {
        padding: 32px 24px;
    }
}

/* --- Pricing Section --- */
.pricing-section {
    padding: 100px 0;
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.pricing-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.highlighted {
    border: 2px solid var(--color-primary);
    box-shadow: var(--shadow-glow);
}

.plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: var(--text-white);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-header {
    margin-bottom: 28px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
}

.plan-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 12px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    color: var(--text-main);
    margin-bottom: 8px;
}

.plan-price .currency {
    font-size: 1.2rem;
    font-weight: 700;
    margin-right: 4px;
}

.plan-price .amount {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1;
}

.plan-price .period {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-left: 4px;
}

.plan-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
    flex: 1;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    color: var(--text-body);
}

.plan-features li i {
    color: var(--color-primary);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.extra-credits-info {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: var(--bg-secondary);
    padding: 12px;
    border-radius: var(--radius-md);
    border-left: 3px solid var(--color-orange);
    font-size: 0.78rem;
    color: var(--text-body);
    margin-bottom: 24px;
}

.extra-credits-info i {
    color: var(--color-orange);
    font-size: 0.95rem;
    margin-top: 1px;
}

.plan-duration {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-align: center;
    margin-top: 8px;
    margin-bottom: 16px;
    padding: 6px 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    align-self: center;
    display: inline-flex;
    align-items: center;
}

/* --- Subscription Modal Popup --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 1;
    transition: var(--transition-smooth);
}

.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 580px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.hidden .modal-card {
    transform: scale(0.95);
    opacity: 0;
}

.animate-scale {
    transform: scale(1);
    opacity: 1;
}

.modal-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    color: var(--text-body);
    z-index: 10;
}

.modal-close-btn:hover {
    background: var(--bg-tertiary);
    color: var(--color-primary);
    transform: rotate(90deg);
}

.modal-body {
    padding: 40px;
    animation: fadeIn 0.3s ease;
}

.modal-header-desc {
    margin-bottom: 32px;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 8px;
}

.modal-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px;
    padding-right: 40px;
}

@media (max-width: 991px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .pricing-card {
        padding: 32px 24px;
    }
    .modal-card {
        max-width: 90%;
        margin: 20px;
    }
    .modal-body {
        padding: 32px 24px;
    }
}

/* --- Blog Section --- */
.blog-section {
    padding: 100px 0;
    background-color: var(--bg-tertiary);
    border-top: 1px solid var(--border-color);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.blog-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: inherit;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.blog-card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-secondary);
    width: 100%;
}

.blog-card-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card-title {
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.4;
    color: var(--text-main);
    margin-bottom: 12px;
    transition: var(--transition-smooth);
}

.blog-card:hover .blog-card-title {
    color: var(--color-primary);
}

.blog-card-desc {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
    /* Limit description to 3 lines */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-link {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
    margin-top: auto;
}

.blog-card:hover .blog-card-link {
    gap: 10px;
    color: var(--color-primary-glow);
}

@media (max-width: 991px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .blog-card-content {
        padding: 24px;
    }
}



