/* ==========================================================================
   Ganapp Landing Page Style Sheet - Premium Soft Minimal White Mode
   ========================================================================== */

/* Design Tokens & System Variables */
:root {
    --bg-base: #ffffff;
    --bg-surface: #f8fafc;
    --bg-surface-glass: rgba(255, 255, 255, 0.7);
    --bg-surface-glass-hover: rgba(248, 250, 252, 0.85);
    --border-color: rgba(15, 23, 42, 0.08);
    --border-color-hover: rgba(15, 23, 42, 0.15);
    
    /* Harmonious Brand Colors */
    --color-emerald: #086c7c;
    --color-emerald-rgb: 8, 108, 124;
    --color-violet: #7c3aed;
    --color-violet-rgb: 124, 58, 237;
    --color-teal: #086c7c;
    --color-teal-rgb: 8, 108, 124;
    --color-accent: #a3e635;
    --color-rose: #f43f5e;
    --color-rose-rgb: 244, 63, 94;
    
    /* Text Colors */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    
    /* Typography */
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-title: 'Outfit', sans-serif;
    --font-serif: 'Lora', Georgia, serif;
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    /* Box Shadows */
    --shadow-soft: 0 10px 30px -10px rgba(15, 23, 42, 0.05);
    --shadow-glow-emerald: 0 0 40px -5px rgba(16, 185, 129, 0.06);
    --shadow-glow-violet: 0 0 40px -5px rgba(124, 58, 237, 0.06);
    
    --max-width: 1200px;
}

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

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

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    max-width: 100%;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Background Glowing Orbs */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.15;
}
.orb-1 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, rgba(16, 185, 129, 0) 70%);
    top: -50px;
    right: -100px;
    animation: float-orb 15s infinite alternate ease-in-out;
}
.orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, rgba(139, 92, 246, 0) 70%);
    top: 500px;
    left: -200px;
    animation: float-orb-reverse 20s infinite alternate ease-in-out;
}
.orb-3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(139, 92, 246, 0.15) 50%, rgba(0, 0, 0, 0) 70%);
    bottom: 100px;
    right: -100px;
}

@keyframes float-orb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-50px, 80px) scale(1.1); }
}
@keyframes float-orb-reverse {
    0% { transform: translate(0, 0) scale(1.1); }
    100% { transform: translate(60px, -50px) scale(0.9); }
}

/* Typography Helpers */
h1, h2, h3, h4 {
    font-family: var(--font-title);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

p {
    color: var(--text-secondary);
}

/* Reusable UI Components */
.glass-card {
    background-color: var(--bg-surface-glass);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}
.glass-card:hover {
    border-color: var(--border-color-hover);
    background-color: var(--bg-surface-glass-hover);
}

.gradient-text {
    color: var(--color-teal);
}

.text-teal {
    color: var(--color-teal);
}

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

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

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

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition-spring);
    text-decoration: none;
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--color-teal);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(8, 108, 124, 0.25);
}
.btn-primary:hover {
    background-color: #065562; /* Slightly darker teal */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(8, 108, 124, 0.35);
}
.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}
.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--border-color-hover);
    transform: translateY(-2px);
}

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

.btn-large {
    padding: 0.9rem 2rem;
    font-size: 1rem;
}

.btn-xs {
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    border-radius: 6px;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(255, 255, 255, 0.9);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.1rem;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 2.3rem;
    letter-spacing: -0.02em;
    font-family: var(--font-title);
}

.logo-mark {
    display: block;
    width: 32px;
    height: 32px;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}
.nav-link:hover {
    color: var(--text-primary);
}

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

/* Theme Toggle Button Style */
.theme-toggle {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-spring);
    position: relative;
    overflow: hidden;
    padding: 0;
}

.theme-toggle:hover {
    background-color: var(--bg-surface);
    border-color: var(--border-color-hover);
    transform: scale(1.05);
}

.theme-toggle .sun-icon {
    display: none;
}

.theme-toggle .moon-icon {
    display: block;
    color: var(--text-secondary);
}

body.dark-mode .theme-toggle .sun-icon {
    display: block;
    color: #fbbf24; /* Warm golden sun */
}

body.dark-mode .theme-toggle .moon-icon {
    display: none;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.mobile-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
}

/* Mobile Menu Overlay */
.mobile-nav {
    position: fixed;
    top: 65px;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    z-index: 99;
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition-smooth);
}
.mobile-nav.open {
    transform: translateY(0);
    opacity: 1;
}
.mobile-nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
}
.mobile-nav-link:hover {
    color: var(--text-primary);
}

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

.hero-container {
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 4rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    max-width: 640px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    max-width: 100%;
    width: 100%;
    overflow-wrap: break-word;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 520px;
    width: 100%;
}

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

/* Mockup Window Design */
.hero-visual {
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.mockup-window {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08), 0 0 100px rgba(139, 92, 246, 0.02);
    background-color: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.mockup-header {
    background-color: #f8fafc;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mockup-dots {
    display: flex;
    gap: 6px;
}
.mockup-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.mockup-dots .dot-red { background-color: var(--color-rose); opacity: 0.8; }
.mockup-dots .dot-yellow { background-color: #f59e0b; opacity: 0.8; }
.mockup-dots .dot-green { background-color: var(--color-emerald); opacity: 0.8; }

.mockup-search {
    background-color: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 0.2rem 3rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    border-radius: 6px;
    font-family: var(--font-sans);
    min-width: 0;
    max-width: 72%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mockup-body {
    height: 380px;
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
}

.mockup-sidebar {
    background-color: #f8fafc;
    border-right: 1px solid rgba(15, 23, 42, 0.06);
    padding: 1.5rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.sidebar-item {
    color: var(--text-muted);
    padding: 0.5rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 0.6rem;
    font-weight: 500;
    width: 100%;
}
.sidebar-item.active {
    color: var(--color-emerald);
    background-color: rgba(16, 185, 129, 0.06);
}

.mockup-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    overflow-y: auto;
    min-width: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.mockup-content::-webkit-scrollbar {
    display: none;
}

.dashboard-widgets {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1rem;
    min-width: 0;
}

.card-glass {
    background-color: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.015);
    min-width: 0;
}

.widget-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}
.widget-header h4 {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.3;
}

.widget-badge {
    font-size: 0.6rem;
    font-weight: 600;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    white-space: nowrap;
}
.widget-badge.green {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--color-emerald);
}

.widget-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.progress-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: var(--text-secondary);
    gap: 0.5rem;
    min-width: 0;
}

.progress-info span:first-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.progress-track {
    height: 5px;
    background-color: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}
.progress-bar {
    height: 100%;
    background-color: var(--color-emerald);
    border-radius: 999px;
}
.progress-bar.purple {
    background-color: var(--color-violet);
}

/* AI Coach Widget specific */
.ai-coach-widget {
    background-color: rgba(8, 108, 124, 0.02);
    border-color: rgba(8, 108, 124, 0.08);
    box-shadow: 0 5px 15px rgba(8, 108, 124, 0.02);
}

.coach-avatar-container {
    display: flex;
    align-items: center;
    gap: 6px;
}

.coach-avatar {
    width: 22px;
    height: 22px;
    background-color: var(--color-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.pulse-status {
    width: 6px;
    height: 6px;
    background-color: var(--color-emerald);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-emerald);
}

.coach-message {
    font-size: 0.7rem;
    line-height: 1.5;
}
.coach-message p {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.coach-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 0.75rem;
}
.coach-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 0.4rem;
    font-size: 0.65rem;
    border-radius: 6px;
}

.bottom-widget {
    background: linear-gradient(90deg, #ffffff, rgba(16, 185, 129, 0.03));
}

.widget-tag {
    font-size: 0.65rem;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
}

.sync-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.65rem;
}
.sync-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}
.sync-text {
    flex-grow: 1;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sync-time {
    color: var(--text-muted);
    font-size: 0.6rem;
    white-space: nowrap;
}

/* Sections Global Structure */
section {
    padding: 6rem 0;
}

.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    max-width: 600px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 580px;
}

/* Partners / Trust Section */
.partners-section {
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 10;
}

.partners-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.partners-title {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

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

.workflow-chips {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.workflow-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-surface-glass);
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 700;
}

.partner-logo {
    height: 28px;
    opacity: 0.45;
    transition: opacity 0.3s ease, filter 0.3s ease;
    filter: grayscale(1);
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

.partner-logo:hover {
    opacity: 0.85;
    filter: grayscale(0);
}

body.dark-mode .workflow-chip {
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
}

/* Dark mode adjustment for partner logos */
.dark-mode .partner-logo {
    filter: invert(1) brightness(0.8) grayscale(1);
}

.dark-mode .partner-logo:hover {
    filter: invert(1) brightness(1) grayscale(0);
}

/* Comparison / Features Section */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 2rem;
    align-items: center;
}

.comparison-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.comparison-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    transition: var(--transition-smooth);
}

.comparison-card.traditional::before {
    background-color: var(--color-rose);
    opacity: 0.4;
}

.comparison-card.ganapp-card::before {
    background: var(--color-teal);
}

.comparison-card.ganapp-card {
    background-color: var(--bg-surface-glass);
    border: 1px solid rgba(124, 58, 237, 0.2);
    box-shadow: 0 15px 45px rgba(124, 58, 237, 0.04);
}

.comparison-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-color-hover);
}

.comparison-card.ganapp-card:hover {
    box-shadow: var(--shadow-glow-emerald), var(--shadow-glow-violet);
    border-color: rgba(16, 185, 129, 0.3);
}

.card-icon-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}
.card-icon-header h3 {
    font-size: 1.4rem;
}
.red-glow {
    color: var(--color-rose);
}
.green-glow {
    color: var(--color-emerald);
}

.comparison-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

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

.comparison-list li span {
    color: var(--text-secondary);
}

.comparison-card.ganapp-card .comparison-list li span {
    color: var(--text-primary);
}

/* Pillars Section */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pillar-card {
    padding: 3rem 2rem 2.5rem 2rem;
    position: relative;
    transition: var(--transition-spring);
    overflow: hidden;
}

.pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.pillar-num {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 4rem;
    font-family: var(--font-title);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.02);
    transition: var(--transition-smooth);
}

.pillar-card:hover .pillar-num {
    color: rgba(255, 255, 255, 0.05);
    transform: scale(1.1);
}

.pillar-icon-box {
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-emerald);
    margin-bottom: 2rem;
    transition: var(--transition-smooth);
}

.pillar-card:hover .pillar-icon-box {
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-emerald), var(--color-violet));
    border-color: transparent;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

.pillar-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.pillar-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Audience Section */
.audience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.audience-card {
    padding: 3rem;
    text-align: left;
}

.audience-visual {
    margin-bottom: 2rem;
    display: flex;
    justify-content: flex-start;
}

.audience-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.audience-desc {
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.audience-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.audience-bullets li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.bullet-check {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-emerald);
    box-shadow: 0 0 8px var(--color-emerald);
}

/* Accordion FAQ Section */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.faq-item:hover {
    border-color: var(--border-color-hover);
    background-color: var(--bg-surface-glass-hover);
}

.faq-trigger {
    width: 100%;
    padding: 1.5rem;
    background: transparent;
    border: none;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    color: var(--text-primary);
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 1.1rem;
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 1.5rem;
    transition: all 0.35s ease;
}

.faq-content p {
    padding-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Active FAQ Item styling */
.faq-item.active {
    border-color: rgba(124, 58, 237, 0.2);
    background-color: var(--bg-base);
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--color-violet);
}
.faq-item.active .faq-content {
    opacity: 1;
}

/* CTA Footer Block Section */
.cta-section {
    padding: 4rem 0 8rem 0;
}

.cta-card {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 5rem 2rem;
    text-align: center;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.03) 0%, rgba(124, 58, 237, 0.04) 100%);
    border: 1px solid rgba(124, 58, 237, 0.12);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-title {
    font-size: 2.75rem;
    margin-bottom: 1.25rem;
    max-width: 700px;
    line-height: 1.2;
}

.cta-desc {
    font-size: 1.15rem;
    margin-bottom: 3rem;
    max-width: 500px;
}

.cta-buttons {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

/* Footer Section */
.footer {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    padding: 4rem 1.5rem 2rem 1.5rem;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3.5rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 350px;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

.footer-link {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}
.footer-link:hover {
    color: var(--text-primary);
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    text-align: center;
}
.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Animations Scroll Reveal Class */
.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* ==========================================================================
   Premium Design Additions (Grid Overlays, Bento Grid & Simulations)
   ========================================================================== */

/* Noise Texture Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.012'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
}

/* Technical Drafting Grid Overlay */
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.025) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center top;
    pointer-events: none;
    z-index: -1;
}

/* Elegant Editorial Serif Font */
.italic-accent {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    opacity: 0.9;
    color: var(--text-primary);
}

/* Bento Grid System */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(240px, auto);
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.bento-card {
    position: relative;
    background-color: var(--bg-surface-glass);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.25rem;
    transition: var(--transition-spring);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.bento-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0), rgba(124, 58, 237, 0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.bento-card:hover::after {
    background: var(--color-teal);
    opacity: 0.35;
}

.bento-card:hover {
    transform: translateY(-5px) scale(1.005);
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.05), 0 0 30px rgba(124, 58, 237, 0.02);
    border-color: var(--border-color-hover);
    background-color: var(--bg-surface-glass-hover);
}

.card-wide {
    grid-column: span 2;
}

.card-tall {
    grid-row: span 2;
}

.bento-card h3 {
    font-size: 1.35rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.bento-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.bento-card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: flex-start;
}

/* Bento Badge */
.bento-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    background-color: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.12);
    color: var(--color-emerald);
    width: fit-content;
}

.bento-badge.purple {
    background-color: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.12);
    color: var(--color-violet);
}

.bento-badge.green {
    background-color: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.12);
    color: var(--color-emerald);
}

/* Bento Widget: GROW Calculator */
.bento-calculator {
    background-color: rgba(0, 0, 0, 0.015);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    margin-top: auto;
}

.calc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.calc-row label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.calc-row input[type="range"] {
    flex-grow: 1;
    accent-color: var(--color-emerald);
    cursor: pointer;
    height: 4px;
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.06);
    border: none;
    outline: none;
}

.calc-val {
    font-size: 0.95rem;
    font-weight: 700;
    font-family: var(--font-title);
    color: var(--color-emerald);
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.15);
}

.calc-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
}

.calc-res-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.res-num {
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-title);
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 4px;
}

.res-label {
    font-size: 0.65rem;
    color: var(--text-muted);
}

/* Bento Widget: Voice Note Capture */
.voice-note-preview {
    background-color: rgba(8, 108, 124, 0.03);
    border: 1px solid rgba(8, 108, 124, 0.1);
    border-radius: 16px;
    padding: 1.25rem;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.voice-note-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

.voice-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-rose);
    box-shadow: 0 0 0 5px rgba(244, 63, 94, 0.08);
}

.voice-wave {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-items: center;
    gap: 6px;
    height: 48px;
    padding: 0 0.25rem;
}

.voice-wave span {
    display: block;
    width: 100%;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--color-teal), var(--color-violet));
}

.voice-wave span:nth-child(1) { height: 32%; }
.voice-wave span:nth-child(2) { height: 72%; }
.voice-wave span:nth-child(3) { height: 48%; }
.voice-wave span:nth-child(4) { height: 90%; }
.voice-wave span:nth-child(5) { height: 58%; }
.voice-wave span:nth-child(6) { height: 38%; }

/* Bento Widget: WhatsApp Integration Mockup */
.wa-mock-chat {
    background-color: rgba(16, 185, 129, 0.02);
    border: 1px solid rgba(16, 185, 129, 0.08);
    border-radius: 16px;
    padding: 1.25rem;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.wa-message {
    background-color: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--text-primary);
    align-self: flex-start;
}

.wa-sender {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--color-emerald);
    display: block;
    margin-bottom: 3px;
}

.wa-extraction-badge {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background-color: rgba(0, 0, 0, 0.01);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0.6rem 0.85rem;
}

.extract-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.ext-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-emerald);
    box-shadow: 0 0 8px var(--color-emerald);
}

.ext-dot.purple {
    background-color: var(--color-violet);
    box-shadow: 0 0 8px var(--color-violet);
}

.ext-dot.amber {
    background-color: #f59e0b;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

/* Bento Widget: Health Score Mockup */
.health-widget-preview {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: auto;
}

.health-card-item {
    background-color: rgba(0, 0, 0, 0.015);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.85rem 1rem;
}

.hc-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.hc-score.text-green {
    color: var(--color-emerald);
}

.hc-score.text-yellow {
    color: #f59e0b;
}

.hc-bar-track {
    height: 5px;
    background-color: rgba(0, 0, 0, 0.06);
    border-radius: 3px;
    overflow: hidden;
}

.hc-bar {
    height: 100%;
    background-color: var(--color-emerald);
    border-radius: 3px;
}

.hc-bar.yellow {
    background-color: #f59e0b;
}

/* ==========================================================================
   Dark Mode System & Component Overrides
   ========================================================================== */
body.dark-mode {
    --bg-base: #0c0f14;
    --bg-surface: #141822;
    --bg-surface-glass: rgba(20, 24, 34, 0.75);
    --bg-surface-glass-hover: rgba(30, 36, 50, 0.85);
    --border-color: rgba(255, 255, 255, 0.06);
    --border-color-hover: rgba(255, 255, 255, 0.12);
    
    /* Text Colors */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Box Shadows & Glows */
    --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --shadow-glow-emerald: 0 0 40px -5px rgba(16, 185, 129, 0.1);
    --shadow-glow-violet: 0 0 40px -5px rgba(124, 58, 237, 0.1);
}

/* Base Overrides */
body.dark-mode ::-webkit-scrollbar-track {
    background: var(--bg-base);
}
body.dark-mode ::-webkit-scrollbar-thumb {
    background: #334155;
}
body.dark-mode ::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

body.dark-mode .grid-overlay {
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
}

body.dark-mode .glow-orb {
    opacity: 0.25;
}

body.dark-mode .navbar {
    background-color: rgba(12, 15, 20, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
body.dark-mode .navbar.scrolled {
    background-color: rgba(12, 15, 20, 0.95);
}

body.dark-mode .mobile-nav {
    background-color: rgba(12, 15, 20, 0.98);
    border-bottom: 1px solid var(--border-color);
}

body.dark-mode .btn-secondary {
    background-color: rgba(255, 255, 255, 0.02);
    border-color: var(--border-color);
}
body.dark-mode .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: var(--border-color-hover);
}

body.dark-mode .btn-outline {
    border-color: var(--border-color);
}
body.dark-mode .btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.04);
}

/* Mockup Specific Overrides */
body.dark-mode .mockup-window {
    background-color: rgba(10, 14, 21, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 100px rgba(139, 92, 246, 0.05);
}

body.dark-mode .mockup-header {
    background-color: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

body.dark-mode .mockup-search {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

body.dark-mode .mockup-sidebar {
    background-color: rgba(255, 255, 255, 0.01);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

body.dark-mode .card-glass {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: none;
}

body.dark-mode .progress-track {
    background-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .bottom-widget {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.01), rgba(16, 185, 129, 0.03));
}

/* Capture Widget Overrides */
body.dark-mode .wa-message {
    background-color: rgba(255, 255, 255, 0.03);
}
body.dark-mode .wa-extraction-badge {
    background-color: rgba(255, 255, 255, 0.005);
}

body.dark-mode .health-card-item {
    background-color: rgba(255, 255, 255, 0.01);
}
body.dark-mode .hc-bar-track {
    background-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .bento-calculator {
    background-color: rgba(255, 255, 255, 0.01);
}
body.dark-mode .calc-row input[type="range"] {
    background: rgba(255, 255, 255, 0.08);
}

body.dark-mode .badge {
    background-color: rgba(255, 255, 255, 0.02);
}

body.dark-mode .comparison-card.ganapp-card {
    border: 1px solid rgba(8, 108, 124, 0.3);
    box-shadow: 0 15px 45px rgba(8, 108, 124, 0.08);
}

body.dark-mode .pillar-icon-box {
    background-color: rgba(255, 255, 255, 0.02);
}

/* ==========================================================================
   Goal Tree Connections (Mapa de Conexiones) Widget
   ========================================================================== */
.goal-tree-container {
    position: relative;
    margin-top: 1.5rem;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.5rem;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.goal-tree-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.goal-tree-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 2;
    height: 100%;
}




.gt-column {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.gt-column-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
    margin-bottom: 0.25rem;
}

.gt-column-header h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.gt-column-header span {
    font-size: 0.65rem;
    color: var(--text-muted);
    display: block;
    line-height: 1.3;
}

.gt-cards {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    flex-grow: 1;
    justify-content: flex-start;
}

.gt-card {
    background-color: var(--bg-base);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.75rem 0.85rem;
    cursor: pointer;
    position: relative;
    transition: var(--transition-smooth);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.02);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.65rem;
    min-height: 85px;
}

.gt-card:hover {
    border-color: var(--text-secondary);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
    transform: translateY(-1px);
}

.gt-card.dimmed {
    opacity: 0.35;
    filter: grayscale(15%);
}

.gt-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.gt-card-tag {
    font-size: 9px;
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
}

.gt-card-title {
    font-family: var(--font-sans);
    font-size: 11px;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gt-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 9px;
    font-size: 0.55rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(15, 23, 42, 0.04);
    padding-top: 0.5rem;
    margin-top: 0.15rem;
    width: 100%;
}

/* Domain tag text colors and matching hover styles */
.gt-card[data-domain="commercial"] .gt-card-tag { color: #3B82F6; }
.gt-card[data-domain="financial"] .gt-card-tag { color: #10B981; }
.gt-card[data-domain="health"] .gt-card-tag { color: #EF4444; }
.gt-card[data-domain="learning"] .gt-card-tag { color: #8B5CF6; }
.gt-card[data-domain="personal"] .gt-card-tag { color: #F59E0B; }
.gt-card[data-domain="discipline"] .gt-card-tag { color: #EC4899; }
.gt-card[data-domain="wellbeing"] .gt-card-tag { color: #06B6D4; }
.gt-card[data-domain="other"] .gt-card-tag { color: #6B7280; }

/* Percentage Badges styling */
.gt-card-pct-badge {
    font-size: 9px;
    font-size: 0.55rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    line-height: 1;
}

.gt-card-pct-badge.green {
    color: #10b981;
    background-color: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

body.dark-mode .gt-card-pct-badge.green {
    color: #34d399;
    background-color: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.2);
}

/* Goal Tree Header Elements */
.gt-header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.25rem;
}

.gt-header-hint {
    font-size: 10px;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    white-space: nowrap;
}

@media (max-width: 576px) {
    .gt-header-hint {
        display: none;
    }
}

.gt-header-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

/* SVG Connection Lines */
.gt-link-bg, .gt-link-fg {
    pointer-events: none;
}

/* General Layout & Display Utilities for Bento Card embeds */
.inline-flex {
    display: inline-flex !important;
}

.items-center {
    align-items: center !important;
}

.gap-1 {
    gap: 0.25rem !important;
}

.gap-0\.5 {
    gap: 0.125rem !important;
}

.w-16 {
    width: 4rem !important;
}

.h-1 {
    height: 4px !important;
}

.rounded-full {
    border-radius: 9999px !important;
}

.overflow-hidden {
    overflow: hidden !important;
}

.bg-bar-track {
    background-color: #e2e8f0 !important;
}

body.dark-mode .bg-bar-track {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.bg-emerald {
    background-color: #10b981 !important;
}

body.dark-mode .bg-emerald {
    background-color: #34d399 !important;
}

/* Dark Mode Overrides for Goal Tree */
body.dark-mode .goal-tree-container {
    background-color: var(--bg-surface);
}

body.dark-mode .gt-card-footer {
    border-top-color: rgba(255, 255, 255, 0.04);
}

/* ==========================================================================
   Responsive Media Queries
   (Placed LAST to ensure they override all component base styles)
   ========================================================================== */

/* --- Large Tablet / Small Desktop (max-width: 992px) --- */
@media (max-width: 992px) {
    /* Hero: Stack to single column */
    .hero-container {
        grid-template-columns: minmax(0, 1fr);
        gap: 3rem;
        text-align: center;
    }
    .hero-content {
        align-items: center;
    }
    .hero-subtitle {
        max-width: 100%;
    }
    .hero-title {
        font-size: 2.8rem;
    }

    /* Mockup: limit max-width for single-column layout */
    .hero-visual {
        max-width: 600px;
        margin: 0 auto;
    }

    /* Section typography */
    .section-title {
        font-size: 2rem;
    }
    .section-subtitle {
        font-size: 1rem;
    }
    .section-header {
        margin-bottom: 3rem;
    }

    /* Comparison */
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Bento grid: 2 columns on tablet */
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
        gap: 1.25rem;
    }
    .card-wide {
        grid-column: span 2;
    }

    /* Calculator results: stay 3-col but smaller */
    .calc-results {
        gap: 0.75rem;
    }

    /* Audience */
    .audience-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .audience-card {
        padding: 2rem;
    }

    /* CTA */
    .cta-card {
        padding: 4rem 1.5rem;
        margin: 0 1rem;
    }
    .cta-title {
        font-size: 2.2rem;
    }
    .cta-desc {
        font-size: 1rem;
    }

    /* Footer */
    .footer-container {
        flex-direction: column;
        gap: 2rem;
        align-items: flex-start;
    }
    .footer-links {
        flex-wrap: wrap;
        gap: 1rem;
    }
}

/* --- Tablet / Large Phone (max-width: 768px) --- */
@media (max-width: 768px) {
    /* Navigation */
    .nav-links {
        display: none;
    }
    #btn-login-nav {
        display: none;
    }
    .mobile-toggle {
        display: flex;
    }
    .nav-container {
        padding: 0.9rem 1rem;
    }

    /* Hero section */
    .hero-section {
        padding-top: 7rem;
        padding-bottom: 4rem;
    }
    .hero-container {
        max-width: 100vw;
        overflow: hidden;
    }
    .hero-content,
    .hero-title,
    .hero-subtitle,
    .hero-visual {
        max-width: calc(100vw - 2rem);
        width: 100%;
    }
    .hero-title {
        font-size: 1.95rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-ctas {
        width: 100%;
        flex-direction: column;
        gap: 0.75rem;
    }
    .hero-ctas .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* Mockup: reduce height, hide sidebar text */
    .mockup-body {
        height: 280px;
        grid-template-columns: 50px minmax(0, 1fr);
    }
    .sidebar-item span {
        display: none;
    }
    .mockup-sidebar {
        padding: 1rem 0.3rem;
    }
    .dashboard-widgets {
        grid-template-columns: minmax(0, 1fr);
    }

    /* Sections: smaller padding */
    section {
        padding: 4rem 0;
    }
    .section-title {
        font-size: 1.75rem;
    }
    .section-header {
        margin-bottom: 2.5rem;
    }

    /* Comparison cards */
    .comparison-card {
        padding: 1.75rem;
    }
    .comparison-list li {
        font-size: 0.85rem;
        gap: 0.75rem;
    }

    /* Bento grid: single column on phone */
    .bento-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .card-wide {
        grid-column: span 1;
    }
    .card-tall {
        grid-row: span 1;
    }
    .bento-card {
        padding: 1.5rem;
        border-radius: 18px;
    }
    .bento-card h3 {
        font-size: 1.15rem;
    }

    /* GROW Calculator */
    .bento-calculator {
        padding: 1rem;
    }
    .calc-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .calc-row input[type="range"] {
        width: 100%;
    }
    .calc-results {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    .res-num {
        font-size: 1.5rem;
    }

    /* Goal Tree: stack columns vertically, hide SVG connections */
    .goal-tree-container {
        min-height: auto;
        padding: 1rem;
    }
    .goal-tree-connections {
        display: none;
    }
    .goal-tree-columns {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .gt-column-header {
        text-align: center;
    }
    .gt-card {
        min-height: auto;
    }

    /* WhatsApp mock chat */
    .wa-mock-chat {
        padding: 1rem;
    }

    /* Health Score */
    .health-card-item {
        padding: 0.65rem 0.75rem;
    }

    /* Audience section */
    .audience-card {
        padding: 1.5rem;
    }
    .audience-card h3 {
        font-size: 1.3rem;
    }
    .audience-desc {
        font-size: 0.9rem;
    }

    /* FAQ */
    .faq-trigger {
        padding: 1.15rem;
        font-size: 0.95rem;
    }
    .faq-content p {
        font-size: 0.85rem;
        padding: 0 0.25rem 1.25rem 0.25rem;
    }

    /* CTA */
    .cta-section {
        padding: 3rem 0 5rem 0;
    }
    .cta-card {
        padding: 3rem 1.25rem;
        border-radius: 18px;
    }
    .cta-title {
        font-size: 1.75rem;
    }
    .cta-desc {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    .cta-buttons {
        width: 100%;
        flex-direction: column;
        gap: 0.75rem;
    }
    .cta-buttons .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* Footer */
    .footer {
        padding: 2.5rem 1rem 1.5rem 1rem;
    }
    .footer-container {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    .footer-brand {
        max-width: 100%;
    }
    .footer-links {
        flex-wrap: wrap;
        gap: 0.75rem 1.5rem;
    }

    /* Goal Tree header */
    .gt-header-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* --- Small Phone (max-width: 480px) --- */
@media (max-width: 480px) {
    .nav-container,
    .partners-container,
    .section-container,
    .footer-container,
    .footer-bottom {
        width: 100%;
        max-width: 390px;
        margin-left: 0;
        margin-right: auto;
    }
    .hero-section {
        padding-top: 6rem;
        padding-bottom: 3rem;
    }
    .hero-container {
        gap: 2rem;
        padding: 0 1rem;
        max-width: 390px;
        margin-left: 0;
        margin-right: auto;
        overflow: hidden;
    }
    .hero-content,
    .hero-title,
    .hero-subtitle,
    .hero-visual {
        max-width: 358px;
        width: 100%;
    }
    .hero-title {
        font-size: 1.8rem;
    }
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    .badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.65rem;
    }
    .workflow-chips {
        justify-content: flex-start;
        gap: 0.5rem;
    }
    .workflow-chip {
        min-height: 30px;
        padding: 0.35rem 0.65rem;
        font-size: 0.72rem;
    }

    /* Mockup: even smaller */
    .mockup-body {
        height: 220px;
        grid-template-columns: 40px minmax(0, 1fr);
    }
    .mockup-search {
        max-width: 64%;
        padding: 0.15rem 0.55rem;
        font-size: 0.65rem;
    }
    .mockup-header {
        padding: 0.5rem 0.75rem;
    }
    .mockup-dots .dot {
        width: 7px;
        height: 7px;
    }
    .widget-header h4 {
        font-size: 0.7rem;
    }
    .progress-info {
        font-size: 0.55rem;
    }
    .coach-message {
        font-size: 0.6rem;
    }
    .btn-xs {
        font-size: 0.6rem;
        padding: 0.25rem 0.5rem;
    }
    .sync-item {
        font-size: 0.55rem;
    }

    /* Section containers */
    .section-container {
        padding: 0 1rem;
    }
    section {
        padding: 3rem 0;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .section-subtitle {
        font-size: 0.9rem;
    }

    /* Comparison */
    .comparison-card {
        padding: 1.25rem;
    }
    .card-icon-header h3 {
        font-size: 1.15rem;
    }
    .comparison-list li {
        font-size: 0.8rem;
        gap: 0.65rem;
    }

    /* Bento */
    .bento-card {
        padding: 1.25rem;
        border-radius: 16px;
    }
    .bento-card h3 {
        font-size: 1.05rem;
    }
    .bento-card p {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    .voice-note-preview,
    .wa-mock-chat {
        padding: 1rem;
    }
    .voice-wave {
        height: 40px;
    }
    .bento-badge {
        font-size: 0.55rem;
    }

    /* Calculator */
    .calc-results {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.35rem;
    }
    .res-num {
        font-size: 1.25rem;
    }
    .res-label {
        font-size: 0.55rem;
    }

    /* Goal Tree cards */
    .gt-card {
        padding: 0.6rem 0.7rem;
        min-height: auto;
        gap: 0.4rem;
    }
    .gt-card-title {
        font-size: 0.65rem;
    }
    .gt-column-header h4 {
        font-size: 0.75rem;
    }

    /* Audience */
    .audience-card {
        padding: 1.25rem;
    }
    .audience-card h3 {
        font-size: 1.15rem;
    }
    .audience-visual svg {
        width: 80px;
        height: 80px;
    }
    .audience-bullets li {
        font-size: 0.85rem;
    }

    /* FAQ */
    .faq-trigger {
        padding: 1rem;
        font-size: 0.85rem;
    }

    /* CTA */
    .cta-card {
        padding: 2.5rem 1rem;
        border-radius: 14px;
    }
    .cta-title {
        font-size: 1.5rem;
    }
    .cta-desc {
        font-size: 0.85rem;
    }

    /* Footer */
    .footer-bottom p {
        font-size: 0.7rem;
    }
    .footer-tagline {
        font-size: 0.8rem;
    }

    /* Buttons */
    .btn {
        font-size: 0.85rem;
        padding: 0.65rem 1.25rem;
    }
    .btn-large {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}
