/* ==========================================================================
   ControlAI - Premium CSS Stylesheet
   ========================================================================== */

/* Variables & Design System */
:root {
    --bg-dark: #070a13;
    --bg-deep: #05070d;
    --bg-card: #0e1424;
    --bg-card-hover: #151e34;
    --primary: #10b981;
    --primary-hover: #059669;
    --primary-glow: rgba(16, 185, 129, 0.25);
    
    --accent-purple: #8b5cf6;
    --accent-purple-hover: #7c3aed;
    --accent-purple-glow: rgba(139, 92, 246, 0.25);
    
    --whatsapp-color: #25d366;
    --whatsapp-hover: #20ba5a;
    --whatsapp-glow: rgba(37, 211, 102, 0.25);
    
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --text-light: #ffffff;
    
    --border-color: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(16, 185, 129, 0.3);
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-title: 'Outfit', sans-serif;
    
    --transition: all 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;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    -webkit-font-smoothing: antialiased;
}

.page-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

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

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

ul {
    list-style: none;
}

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

.section-padding {
    padding: 7rem 0;
}

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

.relative {
    position: relative;
}

/* Section Headers */
.section-header {
    margin-bottom: 5rem;
    position: relative;
    z-index: 2;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-title);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: var(--primary);
    background: rgba(16, 185, 129, 0.1);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(16, 185, 129, 0.15);
    margin-bottom: 1rem;
}

.section-header h2 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-description {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-title);
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 0.95rem 1.8rem;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
    padding: 0.85rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #059669 100%);
    color: var(--text-light);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--primary-glow);
}

.btn-glow {
    position: relative;
}

.btn-glow::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--primary), var(--accent-purple));
    border-radius: 10px;
    z-index: -1;
    opacity: 0.4;
    filter: blur(8px);
    transition: var(--transition);
}

.btn-glow:hover::after {
    opacity: 0.8;
    filter: blur(12px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: linear-gradient(135deg, var(--whatsapp-color) 0%, #1eaf53 100%) !important;
    border: none !important;
    color: #fff !important;
}

.btn-whatsapp:hover {
    box-shadow: 0 8px 20px var(--whatsapp-glow) !important;
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--primary);
    color: var(--primary);
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(7, 10, 19, 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
    padding: 0;
}

.main-header.scrolled {
    padding: 0;
    background-color: rgba(5, 7, 13, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: var(--transition);
}



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

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}



.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

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

.nav-ctas {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 10rem;
    padding-bottom: 8rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-glow-1 {
    position: absolute;
    top: -10%;
    left: 10%;
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, var(--primary-glow) 0%, rgba(16, 185, 129, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.hero-glow-2 {
    position: absolute;
    bottom: 5%;
    right: 5%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--accent-purple-glow) 0%, rgba(139, 92, 246, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.badge-ai {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.25);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-purple);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-purple);
    animation: pulse 1.8s infinite;
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #c084fc;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-content h1 {
    font-family: var(--font-title);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--text-light) 30%, #a7f3d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.hero-description {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    max-width: 540px;
}

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

.hero-mockup {
    position: relative;
    perspective: 1000px;
}

.device-frame {
    background: #0f172a;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5),
                0 0 40px rgba(16, 185, 129, 0.15);
    overflow: hidden;
    transform: rotateY(-6deg) rotateX(4deg);
    transition: transform 0.5s ease;
    animation: float 6s ease-in-out infinite;
}

.device-frame:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.02);
}

.device-topbar {
    height: 30px;
    background: #1e293b;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.device-topbar .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.device-topbar .dot.red { background-color: #ef4444; }
.device-topbar .dot.yellow { background-color: #eab308; }
.device-topbar .dot.green { background-color: #22c55e; }

.mockup-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Diferenciais Section */
.differentials-section {
    background-color: var(--bg-deep);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.differentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 1.5rem;
}

.differential-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.2rem 2rem;
    border-radius: 12px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.differential-card:hover {
    transform: translateY(-5px);
    background-color: var(--bg-card-hover);
    border-color: var(--border-hover);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.card-icon {
    width: 50px;
    height: 50px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.differential-card:hover .card-icon {
    background: var(--primary);
    color: var(--text-light);
    transform: scale(1.05);
}

.differential-card h3 {
    font-family: var(--font-title);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.differential-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.differential-card.highlight-glow {
    border: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.05);
}

.differential-card.highlight-glow:hover {
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.15);
}

.purple-gradient {
    background: rgba(139, 92, 246, 0.1) !important;
    color: var(--accent-purple) !important;
}

.differential-card.highlight-glow:hover .purple-gradient {
    background: var(--accent-purple) !important;
    color: var(--text-light) !important;
}

/* Detailed Features Section */
.bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: 1;
}

.feature-detail-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-bottom: 7rem;
    position: relative;
    z-index: 2;
}

.feature-detail-row:last-of-type {
    margin-bottom: 0;
}

.feature-detail-row.reverse {
    direction: rtl;
}

.feature-detail-row.reverse .feature-detail-info {
    direction: ltr;
}

.feature-detail-info {
    max-width: 480px;
}

.feature-icon-wrapper {
    width: 46px;
    height: 46px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.feature-detail-info h3 {
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.feature-text {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1.75rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-main);
}

.feature-list li i {
    color: var(--primary);
    font-size: 0.95rem;
    margin-top: 0.25rem;
}

.feature-detail-media {
    position: relative;
}

.media-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 0.75rem;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    transition: var(--transition);
    overflow: hidden;
}

.media-container:hover {
    border-color: rgba(255,255,255,0.15);
    box-shadow: 0 20px 45px rgba(0,0,0,0.5);
    transform: translateY(-3px);
}

.feature-img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    transition: var(--transition);
}

.media-container:hover .feature-img {
    transform: scale(1.015);
}

/* Anamnese & Portal Section */
.anamnese-portal-section {
    background-color: var(--bg-deep);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.grid-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.split-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    overflow: hidden;
}

.split-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.split-card.highlight {
    border: 1px solid rgba(139, 92, 246, 0.2);
    background: linear-gradient(180deg, var(--bg-card) 0%, rgba(139, 92, 246, 0.02) 100%);
}

.split-card.highlight:hover {
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.08);
}

.sub-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(16, 185, 129, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}

.sub-badge.purple {
    color: #c084fc;
    background: rgba(139, 92, 246, 0.1);
}

.split-card h2 {
    font-family: var(--font-title);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.split-card-desc {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.split-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 3rem;
}

.split-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.split-list li i {
    color: var(--primary);
    margin-top: 0.2rem;
}

.split-card.highlight .split-list li i {
    color: var(--accent-purple);
}

.split-card-media {
    border-radius: 8px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 0.5rem;
}

.split-img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    transition: var(--transition);
}

.split-card:hover .split-img {
    transform: scale(1.02);
}

/* Alfred AI Section */
.alfred-section {
    position: relative;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-deep) 100%);
}

.badge-ai-accent {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-purple);
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.alfred-section h2 {
    font-family: var(--font-title);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.alfred-intro-text {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.alfred-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: flex-start;
}

.alfred-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.alfred-feat-item {
    display: flex;
    gap: 1rem;
}

.alfred-feat-item .feat-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent-purple);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.alfred-feat-item h3 {
    font-family: var(--font-title);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.35rem;
}

.alfred-feat-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Chat Simulator Container */
.alfred-simulator {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.simulator-container {
    background: #0d1220;
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4),
                0 0 30px rgba(139, 92, 246, 0.08);
    display: flex;
    flex-direction: column;
    height: 480px;
    overflow: hidden;
}

.simulator-header {
    background: #141b2e;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.user-status-dot {
    width: 9px;
    height: 9px;
    background-color: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary);
    animation: pulse 1.5s infinite;
}

.simulator-title h4 {
    font-family: var(--font-title);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-light);
}

.simulator-title span {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
}

.simulator-chat {
    flex-grow: 1;
    padding: 1.25rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.05) transparent;
}

.simulator-chat::-webkit-scrollbar {
    width: 4px;
}

.simulator-chat::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
}

.chat-message {
    display: flex;
    max-width: 85%;
    animation: slideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.chat-message.system {
    align-self: flex-start;
}

.chat-message.user {
    align-self: flex-end;
}

.chat-message .message-content {
    padding: 0.8rem 1.1rem;
    border-radius: 12px;
    font-size: 0.92rem;
    line-height: 1.4;
}

.chat-message.system .message-content {
    background: #192239;
    color: var(--text-main);
    border-top-left-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.chat-message.user .message-content {
    background: linear-gradient(135deg, var(--accent-purple) 0%, #6d28d9 100%);
    color: var(--text-light);
    border-top-right-radius: 2px;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

/* Custom styling inside AI response bubbles for rich output */
.simulator-response-data {
    margin-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 0.5rem;
    font-size: 0.85rem;
}

.sim-metric-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.sim-metric-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.4rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    text-align: center;
}

.sim-metric-box .metric-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.sim-metric-box .metric-val {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary);
}

.sim-success-alert {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    background: rgba(16, 185, 129, 0.08);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
}

.simulator-suggestions {
    padding: 0.75rem 1.25rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    background: #090e1b;
    border-top: 1px solid var(--border-color);
}

.btn-suggestion {
    background: #141a2e;
    border: 1px solid rgba(139, 92, 246, 0.15);
    color: var(--text-muted);
    font-size: 0.78rem;
    font-family: var(--font-sans);
    padding: 0.45rem 0.85rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-suggestion:hover {
    color: var(--text-light);
    border-color: var(--accent-purple);
    background: rgba(139, 92, 246, 0.08);
}

.simulator-input-area {
    background: #0b0f1a;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-top: 1px solid var(--border-color);
}

.simulator-input-area input {
    flex-grow: 1;
    background: #111827;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-size: 0.88rem;
}

.btn-send-sim {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-caption-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.alfred-static-mockup {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.caption-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

/* Comparative Section */
.comparative-section {
    background-color: var(--bg-deep);
}

.table-responsive {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 650px;
}

.comparison-table th, 
.comparison-table td {
    padding: 1.25rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    font-family: var(--font-title);
    font-weight: 700;
    color: var(--text-light);
    font-size: 1.1rem;
    background-color: #121829;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.01);
}

.comparison-table .highlight-column {
    background-color: rgba(16, 185, 129, 0.03);
    border-left: 1px solid rgba(16, 185, 129, 0.1);
    border-right: 1px solid rgba(16, 185, 129, 0.1);
    text-align: center;
    font-weight: 600;
}

.comparison-table th.highlight-column {
    background-color: rgba(16, 185, 129, 0.08);
    color: var(--primary);
    font-size: 1.2rem;
}

.comparison-table td:nth-child(2) {
    text-align: center;
}

.check-ok {
    color: var(--primary);
    font-size: 1.2rem;
}

.check-err {
    color: #ef4444;
    font-size: 1.2rem;
}

/* Target Audience Section */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
    gap: 1.5rem;
}

.audience-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}

.audience-card:hover {
    transform: translateY(-5px);
    background-color: var(--bg-card-hover);
    border-color: var(--border-hover);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.05);
}

.audience-icon {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
    transition: var(--transition);
}

.audience-card:hover .audience-icon {
    transform: scale(1.1);
}

.audience-card h3 {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
}

/* Pricing Section */
.pricing-section {
    background-color: var(--bg-deep);
    position: relative;
    overflow: hidden;
}

.pricing-glow-1 {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, rgba(16, 185, 129, 0) 65%);
    pointer-events: none;
    z-index: 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 460px));
    justify-content: center;
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

.pricing-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 45px rgba(0,0,0,0.4);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    background: linear-gradient(180deg, #10192e 0%, var(--bg-card) 100%);
    box-shadow: 0 15px 35px var(--primary-glow);
}

.pricing-card.featured:hover {
    box-shadow: 0 20px 45px rgba(16, 185, 129, 0.25);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #eab308 0%, #d97706 100%);
    color: #000;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.35rem 1.25rem;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(234, 179, 8, 0.3);
}

.pricing-card-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2rem;
}

.pricing-card-header h3 {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.plan-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.plan-price {
    display: flex;
    align-items: baseline;
    font-family: var(--font-title);
}

.plan-price .currency {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-light);
    margin-right: 0.25rem;
}

.plan-price .amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-light);
    line-height: 1;
}

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

.plan-price-custom {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 0.5rem;
}

.plan-price-custom .price-highlight {
    font-family: var(--font-title);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-light);
    line-height: 1.2;
}

.plan-price-custom .price-sub {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

.plan-price-custom .price-badge {
    align-self: flex-start;
    font-family: var(--font-title);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    border: 1px solid rgba(16, 185, 129, 0.15);
    margin-top: 0.4rem;
}

.plan-price-custom .price-badge.gold {
    background: rgba(234, 179, 8, 0.08);
    color: #eab308;
    border: 1px solid rgba(234, 179, 8, 0.15);
}

.pricing-card-body {
    margin-bottom: 3rem;
}

.plan-features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.plan-features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-main);
}

.plan-features-list li.disabled {
    color: rgba(255,255,255,0.3);
}

.plan-features-list li i {
    font-size: 0.9rem;
    flex-shrink: 0;
}

.plan-features-list li i.fa-check {
    color: var(--primary);
}

.plan-features-list li i.fa-xmark {
    color: #ef4444;
}

.plan-features-list li i.fa-star {
    animation: starPulse 2s infinite;
}

.text-gold {
    color: #f59e0b !important;
}

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

/* Final CTA Section */
.final-cta-section {
    background-color: var(--bg-dark);
    text-align: center;
    border-top: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.final-glow {
    position: absolute;
    bottom: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, var(--primary-glow) 0%, rgba(16, 185, 129, 0) 60%);
    z-index: 0;
    pointer-events: none;
}

.content-relative {
    position: relative;
    z-index: 2;
}

.cta-badge {
    display: inline-block;
    font-family: var(--font-title);
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.final-cta-section h2 {
    font-family: var(--font-title);
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.cta-subtitle {
    max-width: 680px;
    margin: 0 auto 3rem;
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Footer */
.main-footer {
    background-color: var(--bg-deep);
    border-top: 1px solid var(--border-color);
    padding-top: 5rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    height: 84px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

.footer-brand-info p {
    color: var(--text-muted);
    max-width: 380px;
    font-size: 0.95rem;
}

.footer-contacts h4 {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.footer-whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--whatsapp-color);
    margin-bottom: 0.5rem;
}

.footer-whatsapp-link:hover {
    color: var(--text-light);
}

.footer-support-hours {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 1.8rem 0;
}

.bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 1rem;
}

.developer-link {
    color: var(--primary);
    font-weight: 600;
}

.developer-link:hover {
    color: var(--text-light);
    text-decoration: underline;
}

/* Animations */
@keyframes float {
    0% { transform: rotateY(-6deg) rotateX(4deg) translateY(0px); }
    50% { transform: rotateY(-4deg) rotateX(2deg) translateY(-12px); }
    100% { transform: rotateY(-6deg) rotateX(4deg) translateY(0px); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes starPulse {
    0% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(245, 158, 11, 0)); }
    50% { transform: scale(1.15); filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.6)); }
    100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(245, 158, 11, 0)); }
}

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

/* Reveal Animation Class (JS controlled) */
[data-anime] {
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}

[data-anime="fade-up"] { transform: translateY(40px); }
[data-anime="fade-left"] { transform: translateX(40px); }
[data-anime="fade-right"] { transform: translateX(-40px); }

[data-anime].animated {
    opacity: 1;
    transform: translate(0, 0);
}

/* Trust Reinforcements */
.hero-trust-text {
    width: 100%;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-trust-text span {
    flex: 1;
    min-width: 0;
}

.hero-trust-text strong {
    color: var(--primary);
}

.trust-ribbon {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.08) 0%, rgba(5, 7, 13, 0.4) 50%, rgba(16, 185, 129, 0.08) 100%);
    border-top: 1px solid rgba(16, 185, 129, 0.15);
    border-bottom: 1px solid rgba(16, 185, 129, 0.15);
    padding: 1.5rem 0;
    text-align: center;
    position: relative;
    z-index: 2;
}

.ribbon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1.05rem;
    color: var(--text-light);
}

.ribbon-container span {
    flex: 1;
    min-width: 0;
}

.ribbon-container i {
    color: var(--primary);
    font-size: 1.25rem;
}

.ribbon-container strong {
    color: var(--primary);
}

.table-trust-note {
    text-align: center;
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-top: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.table-trust-note strong {
    color: var(--primary);
}

/* FAQ Section Accordion */
.faq-section {
    background-color: var(--bg-deep);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.faq-accordion-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.05);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 2rem;
    text-align: left;
    color: var(--text-light);
    font-family: var(--font-title);
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.faq-icon-toggle {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-icon-toggle {
    background: var(--primary);
    color: var(--text-light);
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: rgba(0, 0, 0, 0.1);
}

.faq-answer p {
    padding: 0 2rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-answer strong {
    color: var(--primary);
}

/* Comparison Table Layout Adjustments */
.comparison-table td:nth-child(2),
.comparison-table td:nth-child(3),
.comparison-table th:nth-child(2),
.comparison-table th:nth-child(3) {
    text-align: center;
    width: 130px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    html { font-size: 15px; }
    .hero-container { gap: 2rem; }
    .hero-content h1 { font-size: 3.5rem; }
    .feature-detail-row { gap: 3rem; }
    .split-card { padding: 2.2rem; }
    .split-card h2 { font-size: 1.8rem; }
    .alfred-grid { grid-template-columns: 1fr; gap: 3rem; }
    .pricing-grid { gap: 1.5rem; }
}

@media (max-width: 768px) {
    .section-padding { padding: 5rem 0; }
    .section-header h2 { font-size: 2.1rem; }
    
    /* Fix horizontal overflow on mobile animations by converting lateral slides to vertical fade-up */
    [data-anime="fade-left"],
    [data-anime="fade-right"] {
        transform: translateY(30px);
    }
    
    /* Navigation */
    .mobile-menu-toggle { display: block; }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-deep);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 3rem 1.5rem;
        gap: 2rem;
        transition: var(--transition);
        border-top: 1px solid var(--border-color);
        z-index: 999;
        visibility: hidden;
    }
    
    .nav-menu.open {
        left: 0;
        visibility: visible;
    }
    

    
    .nav-ctas {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .nav-ctas .btn {
        width: 100%;
    }
    
    /* Hero Glow on Mobile */
    .hero-glow-1 {
        width: 320px;
        height: 320px;
        top: 5%;
        left: 50%;
        transform: translateX(-50%);
        background: radial-gradient(circle, rgba(16, 185, 129, 0.35) 0%, rgba(16, 185, 129, 0) 70%);
        opacity: 0.8;
    }
    
    .hero-glow-2 {
        display: none;
    }
    
    /* Hero */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 4rem;
        gap: 4rem;
    }
    
    .hero-content h1 { font-size: 3rem; }
    .hero-description { margin-left: auto; margin-right: auto; }
    
    .hero-buttons { 
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin: 0;
        text-align: center;
    }
    
    .hero-trust-text {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.35rem;
        width: 100%;
    }
    
    .hero-trust-text span {
        flex: none;
        max-width: 100%;
    }
    
    .device-frame { transform: none; }
    .device-frame:hover { transform: scale(1.01); }

    /* Ribbon / Trust Reinforcements on Mobile */
    .ribbon-container {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        font-size: 0.95rem;
        padding: 0 1rem;
    }

    .split-card {
        padding: 1.5rem;
    }

    .faq-question {
        padding: 1.25rem 1rem;
        font-size: 1rem;
        white-space: normal;
    }
    
    .faq-answer p {
        padding: 0 1rem 1.25rem;
        font-size: 0.9rem;
    }
    
    /* Feature Detail */
    .feature-detail-row,
    .feature-detail-row.reverse {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        direction: ltr;
        margin-bottom: 5rem;
    }
    
    .feature-detail-info {
        max-width: 100%;
    }
    
    /* Anamnese & Portal */
    .grid-two-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Alfred AI */
    .alfred-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Comparative Table */
    .comparison-table th, 
    .comparison-table td {
        padding: 1rem 1.25rem;
    }
    
    /* Pricing */
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-brand-info p {
        max-width: 100%;
    }
    
    .bottom-container {
        flex-direction: column;
        text-align: center;
    }

    /* Mobile Table Sizing & No-Scroll Layout */
    .table-responsive {
        border-radius: 12px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .comparison-table {
        min-width: auto !important;
        width: 100%;
    }
    
    .comparison-table th, 
    .comparison-table td {
        padding: 0.8rem 0.4rem;
        font-size: 0.82rem;
        white-space: normal;
    }
    
    .comparison-table td:first-child,
    .comparison-table th:first-child {
        width: auto;
        text-align: left;
    }
    
    .comparison-table td:nth-child(2),
    .comparison-table td:nth-child(3),
    .comparison-table th:nth-child(2),
    .comparison-table th:nth-child(3) {
        width: 75px !important;
        text-align: center;
        padding: 0.8rem 0.2rem;
    }
    
    .comparison-table th.highlight-column {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    html { font-size: 14px; }
    .hero-content h1 { font-size: 2.6rem; }
    .hero-subtitle { font-size: 1.4rem; }
    .section-header h2 { font-size: 1.8rem; }
    .final-cta-section h2 { font-size: 2.2rem; }
    .hero-buttons .btn { width: 100%; }
    .simulator-container { height: 420px; }
    .pricing-card { padding: 2rem 1.25rem; }
}

/* ==========================================
   Privacy Consent Modal & Trigger Styles (Premium Glassmorphic)
   ========================================== */

/* Privacy Floating Button */
.privacy-trigger {
    position: fixed;
    left: 20px;
    bottom: 20px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 255, 136, 0.2);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 9998;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.privacy-trigger:hover {
    transform: scale(1.1);
    background: var(--bg-card);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
    color: var(--text-light);
}

/* Consent Modal Wrapper */
.consent-modal {
    position: fixed;
    bottom: -100%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 650px;
    max-height: 85vh;
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 136, 0.15);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: bottom 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.4s ease, 
                visibility 0.4s;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
}

.consent-modal.active {
    bottom: 30px;
    opacity: 1;
    visibility: visible;
}

.consent-modal-content {
    display: flex;
    flex-direction: column;
    max-height: 100%;
    height: 100%;
    overflow: hidden;
}

/* Header */
.consent-header {
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.consent-title-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.consent-icon {
    font-size: 1.5rem;
    color: var(--primary);
    filter: drop-shadow(0 0 5px rgba(0, 255, 136, 0.3));
}

.consent-title-wrapper h2 {
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 0;
}

/* Body */
.consent-body {
    flex: 1;
    overflow-y: auto;
    margin-right: -0.5rem;
    padding-right: 0.5rem;
}

/* Scrollbar premium customizada para o body do modal */
.consent-body::-webkit-scrollbar {
    width: 6px;
}
.consent-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 3px;
}
.consent-body::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 136, 0.2);
    border-radius: 3px;
}
.consent-body::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 255, 136, 0.4);
}

.consent-body p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0 0 1rem 0;
}

/* Preferences Toggle Drawer */
.consent-preferences {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.4s ease, 
                margin 0.4s ease, 
                padding 0.4s ease;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.consent-preferences.open {
    max-height: 450px;
    opacity: 1;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
}

.preference-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.preference-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.preference-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
}

.preference-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-required {
    font-size: 0.7rem;
    padding: 0.15rem 0.45rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    color: var(--text-muted);
    font-weight: 500;
}

.preference-desc {
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--text-muted);
    margin: 0;
}

/* Premium Switches */
.switch-wrapper {
    display: flex;
    align-items: center;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-switch .slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.toggle-switch .slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: var(--text-muted);
    transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 50%;
}

.toggle-switch input:checked + .slider {
    background-color: rgba(0, 255, 136, 0.12);
    border-color: rgba(0, 255, 136, 0.3);
}

.toggle-switch input:checked + .slider:before {
    transform: translateX(20px);
    background-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.4);
}

.toggle-switch.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.toggle-switch.disabled .slider {
    cursor: not-allowed;
}

/* Footer / Buttons */
.consent-footer {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.consent-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    width: 100%;
}

.consent-buttons .btn {
    padding: 0.65rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.btn-decline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

.btn-decline:hover {
    background: rgba(239, 68, 68, 0.05);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.btn-customize {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.btn-customize:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-back {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    margin-right: auto;
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-light);
}

.btn-accept, .btn-save {
    background-color: var(--primary);
    color: #05070d;
}

.btn-accept:hover, .btn-save:hover {
    background-color: #00e677;
    transform: translateY(-2px);
}

/* Responsive Rules for Consent Modal */
@media (max-width: 680px) {
    .consent-modal {
        width: 100%;
        max-width: 100%;
        bottom: -100%;
        left: 0;
        transform: none;
        border-radius: 20px 20px 0 0;
        border-left: none;
        border-right: none;
        border-bottom: none;
        padding: 1.25rem; /* Reduced padding on mobile */
        max-height: 80vh; /* Make sure it doesn't cover the full screen */
    }
    
    .consent-modal.active {
        bottom: 0;
    }
    
    .consent-body p {
        font-size: 0.82rem; /* Slightly smaller text for compact layout */
        margin-bottom: 0.75rem;
    }
    
    .preference-item {
        padding: 0.65rem 0; /* Less padding between switches */
        gap: 1rem;
    }
    
    .preference-title {
        font-size: 0.9rem;
    }
    
    .preference-desc {
        font-size: 0.75rem;
    }
    
    .consent-preferences.open {
        max-height: 350px; /* Reduced max height to fit viewport */
        margin-top: 1rem;
        padding-top: 1rem;
    }
    
    .consent-footer {
        margin-top: 1rem;
        padding-top: 1rem;
    }
    
    .consent-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .consent-buttons .btn {
        width: 100%;
        text-align: center;
        padding: 0.6rem 1.25rem; /* Tighter button padding */
    }
    
    .btn-back {
        order: 3;
        margin-right: 0;
    }
    
    .privacy-trigger {
        left: 15px;
        bottom: 15px;
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

