.homepage-container{min-height:100vh;background:var(--bg-primary);color:var(--text-primary)}.homepage-header{background:linear-gradient(135deg,var(--color-primary),var(--color-secondary));color:#fff;padding:3rem 1rem;text-align:center}.homepage-header-content{max-width:800px;margin:0 auto}.homepage-title{font-size:var(--h1-size);font-weight:700;margin:0 0 1rem 0;line-height:var(--heading-line-height)}.homepage-subtitle{font-size:var(--text-lg);font-weight:500;margin:0 0 1rem 0;opacity:.9}.homepage-description{font-size:var(--text-md);margin:0;opacity:.8;line-height:var(--line-height-normal)}.homepage-main{max-width:1200px;margin:0 auto;padding:2rem 1rem}.stats-date{text-align:center;font-size:var(--text-sm);color:var(--text-secondary);margin-bottom:1rem;font-style:italic}.country-market-card .stats-date{text-align:center;font-size:var(--text-xs);color:var(--text-tertiary);margin:0 0 1.25rem 0;font-style:italic;font-weight:400;opacity:.8;padding-bottom:.75rem;border-bottom:1px solid var(--border-color)}.explore-further-prompt{text-align:center;margin:1rem 0 .5rem 0}.explore-further-text{font-size:var(--text-sm);color:var(--text-secondary);font-weight:500}.language-switcher-section{text-align:center;background:var(--bg-secondary);border-radius:var(--border-radius);margin-bottom:2rem}.language-switcher-container{margin-top:1rem}.section-title{font-size:var(--h2-size);font-weight:600;text-align:center;margin:0 0 1rem 0;color:var(--text-primary);line-height:var(--heading-line-height)}.section-description{text-align:center;font-size:var(--text-md);color:var(--text-secondary);margin:0 0 1.5rem 0;line-height:var(--line-height-normal)}.country-grid,.language-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem;margin-bottom:2rem}.country-card,.language-card{background:var(--bg-secondary);border:2px solid var(--border-color);border-radius:12px;padding:1.5rem;cursor:pointer;transition:all var(--transition-speed) ease;position:relative;min-height:80px;display:flex;align-items:center;justify-content:space-between}.country-card:hover,.language-card:hover{border-color:var(--color-primary);background:var(--color-primary-light);transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.1)}.country-card.active,.language-card.active{border-color:var(--color-primary);background:var(--color-primary-light);box-shadow:0 4px 12px rgba(37,99,235,.2)}.language-card.suggested{border-color:var(--color-secondary);background:rgba(79,70,229,.1)}.country-info,.language-info{display:flex;align-items:center;gap:1rem;flex:1}.country-flag,.language-flag{width:32px;height:24px;border-radius:4px;flex-shrink:0}.country-name,.language-name{font-size:var(--text-lg);font-weight:500;color:var(--text-primary)}.country-details{display:flex;flex-direction:column;gap:.25rem}.country-currency{font-size:var(--text-sm);color:var(--text-secondary);font-weight:400}.suggested-badge{background:var(--color-secondary);color:#fff;font-size:var(--text-xs);font-weight:600;padding:.25rem .5rem;border-radius:4px;text-transform:uppercase;letter-spacing:.5px}.navigation-buttons{display:flex;justify-content:space-between;gap:1rem;margin-top:2rem}.btn{padding:.75rem 1.5rem;border:none;border-radius:8px;font-size:var(--text-md);font-weight:500;cursor:pointer;transition:all var(--transition-speed) ease;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;min-width:140px}.btn-primary{background:var(--color-primary);color:#fff}.btn-primary:hover:not(:disabled){background:var(--color-secondary);transform:translateY(-1px)}.btn-primary:disabled{background:var(--border-color);color:var(--text-secondary);cursor:not-allowed}.btn-secondary{background:0 0;color:var(--text-primary);border:2px solid var(--border-color)}.btn-secondary:hover{border-color:var(--color-primary);background:var(--color-primary-light)}.flag-icon{display:inline-block;width:32px;height:24px;background-size:cover;background-position:center;background-repeat:no-repeat;border-radius:2px}.flag-icon-us{background-image:url('../../assets/flags/us.svg')}.flag-icon-fr{background-image:url('../../assets/flags/fr.svg')}.flag-icon-es{background-image:url('../../assets/flags/es.svg')}.flag-icon-ca{background-image:url('../../assets/flags/ca.svg')}.flag-icon-gb{background-image:url('../../assets/flags/gb.svg')}.flag-icon-au{background-image:url('../../assets/flags/au.svg')}.flag-icon-in{background-image:url('../../assets/flags/in.svg')}.flag-icon-de{background-image:url('../../assets/flags/de.svg')}.flag-icon-it{background-image:url('../../assets/flags/it.svg')}.flag-icon-jp{background-image:url('../../assets/flags/jp.svg')}@media (max-width:768px){.homepage-header{padding:2rem 1rem}.homepage-main{padding:1.5rem 1rem}.country-grid,.language-grid{grid-template-columns:1fr;gap:.75rem}.country-card,.language-card{padding:1rem;min-height:60px}.navigation-buttons{flex-direction:column;gap:.75rem}.btn{width:100%}.country-info,.language-info{gap:.75rem}.country-flag,.language-flag{width:28px;height:21px}}@media (max-width:480px){.homepage-header{padding:1.5rem .75rem}.homepage-main{padding:1rem .75rem}.country-card,.language-card{padding:.75rem}}.horizontal-lang-switcher{display:flex;flex-direction:column;gap:1rem;margin:0;padding:.25rem .75rem .25rem .75rem;background:var(--card-bg);border-radius:12px;border:1px solid var(--border-color)}.lang-switcher-header{display:flex;align-items:center;gap:.75rem;justify-content:left;padding-bottom:1rem}.language-icon{width:24px;height:24px;color:var(--color-primary);flex-shrink:0}.lang-switcher-title{font-size:var(--text-lg);font-weight:500;color:var(--text-primary);text-align:center}.lang-options-container{position:relative;margin:0 -.5rem}.lang-options-scroll{display:flex;gap:1rem;overflow-x:auto;overflow-y:hidden;padding:.5rem;scrollbar-width:none;scroll-behavior:smooth;-webkit-overflow-scrolling:touch}.lang-options-scroll::-webkit-scrollbar{display:none}.lang-option{display:flex;align-items:center;gap:.5rem;padding:.5rem 1.25rem;background:var(--bg-secondary);border:2px solid var(--border-color);border-radius:8px;cursor:pointer;transition:all var(--transition-speed) ease;flex-shrink:0;white-space:nowrap;font-size:var(--text-md);font-weight:500;color:var(--text-primary);min-width:120px;justify-content:center}.lang-option:hover{border-color:var(--color-primary);background:var(--color-primary-light);transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.1)}.lang-option:focus{outline:2px solid var(--color-primary);outline-offset:2px}.lang-option.active{border-color:var(--color-primary);background:var(--color-primary);color:#fff;box-shadow:0 4px 12px rgba(37,99,235,.3)}.lang-option.active:hover{background:var(--color-primary);transform:translateY(-1px)}.lang-option.loading{opacity:.7;cursor:wait;pointer-events:none}.lang-option .flag-icon{width:20px;height:15px;border-radius:2px;flex-shrink:0}.lang-name{font-weight:500}@media (max-width:768px){.horizontal-lang-switcher{margin:1rem 0;padding:1rem}.lang-switcher-title{font-size:var(--text-md)}.lang-option{min-width:100px;padding:.65rem 1rem;font-size:var(--text-sm)}.lang-options-container{margin:0 -.25rem}.lang-options-scroll{gap:.75rem;padding:.25rem}}@media (max-width:480px){.lang-switcher-header{gap:.5rem;justify-content:center}.lang-option{min-width:90px;padding:.5rem .75rem}}[data-theme=dark] .homepage-container{background:var(--bg-primary)}[data-theme=dark] .language-switcher-section{background:var(--bg-primary)}[data-theme=dark] .language-card.suggested{background:rgba(99,102,241,.2);border-color:var(--color-secondary)}[data-theme=dark] .btn-secondary{color:var(--text-primary);border-color:var(--border-color)}[data-theme=dark] .btn-secondary:hover{border-color:var(--color-primary);background:rgba(129,140,248,.2)}.country-switcher-section{margin:1.5rem 0;padding:1rem 1.5rem;background-color:var(--card-bg);border-radius:8px;border:1px solid var(--border-color)}.country-switcher-text{display:flex;align-items:center;gap:.5rem;margin:0;font-size:1rem;color:var(--text-primary);flex-wrap:nowrap}.country-switcher-text strong{color:var(--color-primary)}.country-switcher-inline.dropdown{display:inline-flex;position:relative;margin-left:.5rem;vertical-align:middle}.country-switcher-inline .dropdown-toggle{display:inline-flex;align-items:center;background:0 0;border:1px solid var(--border-color);border-radius:4px;padding:4px 10px;font-size:.9rem;color:var(--text-primary);cursor:pointer;transition:all .3s ease}.country-switcher-inline .dropdown-toggle:hover{background-color:rgba(0,0,0,.03);border-color:var(--color-primary)}[data-theme=dark] .country-switcher-inline .dropdown-toggle:hover{background-color:rgba(255,255,255,.05)}.country-switcher-inline .dropdown-toggle .flag-icon{margin-right:6px;width:18px;height:13px;object-fit:cover}.country-switcher-inline .dropdown-toggle .country-name{margin-right:6px;font-weight:500}.country-switcher-inline .dropdown-toggle .caret{margin-left:4px;width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid var(--text-primary);display:inline-block;transition:transform .3s ease}.country-switcher-inline .dropdown-toggle[aria-expanded=true] .caret{transform:rotate(180deg)}.country-switcher-inline .dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;min-width:200px;max-height:300px;overflow-y:auto;padding:8px 0;margin:2px 0 0;background-color:var(--color-bg);border:1px solid var(--border-color);border-radius:4px;box-shadow:0 2px 8px rgba(0,0,0,.15);opacity:0;transform:translateY(-10px);transition:opacity .3s,transform .3s}.country-switcher-inline .dropdown-toggle[aria-expanded=true]+.dropdown-menu{display:block;opacity:1;transform:translateY(0)}.country-switcher-inline .dropdown-item{display:flex;align-items:center;padding:8px 16px;clear:both;font-weight:400;color:var(--text-primary);text-decoration:none;white-space:nowrap;transition:background-color .2s;cursor:pointer}.country-switcher-inline .dropdown-item:hover{background-color:rgba(0,0,0,.03);color:var(--color-primary)}[data-theme=dark] .country-switcher-inline .dropdown-item:hover{background-color:rgba(255,255,255,.05)}.country-switcher-inline .dropdown-item.active{background-color:rgba(0,0,0,.05);font-weight:500}[data-theme=dark] .country-switcher-inline .dropdown-item.active{background-color:rgba(255,255,255,.08)}.country-switcher-inline .dropdown-item .flag-icon{margin-right:8px;width:20px;height:15px;object-fit:cover}@media (max-width:768px){.country-switcher-section{padding:1rem}.country-switcher-text{font-size:.9rem;line-height:1.6;display:block}.country-switcher-inline.dropdown{display:block;margin-left:0;margin-top:.75rem;width:100%}.country-switcher-inline .dropdown-toggle{padding:10px 14px;font-size:.9rem;width:100%;display:flex;justify-content:space-between;align-items:center;background-color:var(--color-bg);border:2px solid var(--color-primary)}.country-switcher-inline .dropdown-menu{min-width:100%;left:0;right:0}}.country-market-cards-section{margin:3rem 0}.country-market-cards-section .section-header{text-align:center;margin-bottom:2.5rem}.country-market-cards-section .section-header h2{font-size:var(--h2-size);font-weight:600;color:var(--text-primary);margin:0 0 1rem 0;line-height:var(--heading-line-height)}.country-market-cards-section .section-description{font-size:var(--text-md);color:var(--text-secondary);max-width:800px;margin:0 auto;line-height:var(--line-height-normal)}.country-market-cards-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:2rem;margin:0 auto;max-width:1400px}.country-market-card{background:var(--card-bg);border:1px solid var(--border-color);border-radius:12px;padding:1.5rem;transition:all var(--transition-speed) ease;box-shadow:0 2px 8px rgba(0,0,0,.05);position:relative}.country-market-card:hover{box-shadow:0 8px 24px rgba(0,0,0,.1);transform:translateY(-2px);border-color:var(--color-primary-light)}[data-theme=dark] .country-market-card{background:var(--card-bg);border-color:var(--border-color);box-shadow:0 2px 8px rgba(0,0,0,.2)}[data-theme=dark] .country-market-card:hover{box-shadow:0 8px 24px rgba(0,0,0,.3)}.country-market-card .card-header{margin-bottom:1.5rem}.country-market-card .card-header h3{font-size:var(--h3-size);font-weight:600;margin:0;color:var(--text-primary);line-height:var(--heading-line-height)}.country-market-card .country-title-link{color:var(--color-primary);text-decoration:none;transition:color var(--transition-speed) ease;display:flex;align-items:center;gap:.5rem}.country-market-card .country-title-link:hover{color:var(--color-secondary);text-decoration:underline}.country-market-card .card-header .flag-icon{width:20px;height:15px;flex-shrink:0;border-radius:2px}.country-market-card .stats-summary{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;margin-bottom:1.5rem}.country-market-card .stat-card{background:var(--bg-secondary);padding:1rem;border-radius:8px;text-align:center;border:1px solid var(--border-color);transition:all var(--transition-speed) ease}.country-market-card .stat-card:hover{background:var(--color-primary-light);border-color:var(--color-primary)}.country-market-card .stat-label{font-size:var(--text-sm);color:var(--text-secondary);font-weight:500;margin-bottom:.5rem;text-transform:uppercase;letter-spacing:.5px}.country-market-card .stat-value{font-size:var(--text-xl);font-weight:700;line-height:1.2}.country-market-card .gainers-green{color:#16a34a}.country-market-card .losers-red{color:#dc2626}.country-market-card .avg-return-green{color:#16a34a}.country-market-card .avg-return-red{color:#dc2626}.country-market-card .total-stocks-yellow{color:#f59e0b}.country-market-card .performance-navigation-compact{margin-bottom:1.5rem;padding:1rem;background:var(--bg-secondary);border-radius:8px;border:1px solid var(--border-color)}.country-market-card .nav-links{display:flex;gap:.5rem;flex-wrap:wrap;justify-content:center}.country-market-card .nav-link{padding:.5rem 1rem;background:var(--card-bg);border:1px solid var(--border-color);border-radius:6px;text-decoration:none;color:var(--text-primary);font-size:var(--text-sm);font-weight:500;transition:all var(--transition-speed) ease;flex:1;text-align:center;min-width:70px}.country-market-card .nav-link:hover{background:var(--color-primary);color:#fff;border-color:var(--color-primary);transform:translateY(-1px)}.country-market-card .insights-cta-section{border-top:1px solid var(--border-color);padding-top:1.5rem}.country-market-card .insights-cta-content:hover{transform:translateY(-2px);box-shadow:0 8px 25px rgba(0,0,0,.1);border-color:var(--color-primary)}.country-market-card .insights-cta-content h4{font-size:var(--h4-size);font-weight:600;color:var(--text-primary);margin:0 0 1.25rem 0;line-height:var(--heading-line-height)}.country-market-card .insights-cta-button{display:flex;align-items:center;justify-content:center;gap:.5rem;background:var(--color-primary);color:#fff;text-decoration:none;font-size:var(--text-sm);font-weight:600;padding:.75rem 1.5rem;border-radius:8px;transition:all var(--transition-speed) ease;text-transform:none;letter-spacing:normal;width:100%;box-sizing:border-box;max-width:100%}.country-market-card .insights-cta-button:hover{background:var(--color-secondary);transform:translateY(-1px);box-shadow:0 4px 15px rgba(0,0,0,.2)}.country-market-card .insights-cta-button:active{transform:translateY(0)}.no-countries-message{text-align:center;padding:3rem 2rem;background:var(--card-bg);border:1px solid var(--border-color);border-radius:12px;grid-column:1/-1}.no-countries-message p{font-size:var(--text-lg);color:var(--text-secondary);margin:0}.no-countries-message .additional-info{font-size:var(--text-base);color:var(--text-tertiary);margin-top:.75rem;font-style:italic}@media (max-width:1200px){.country-market-cards-grid{grid-template-columns:repeat(auto-fit,minmax(350px,1fr));gap:1.5rem}}@media (max-width:768px){.country-market-cards-section{margin:2rem 0}.country-market-cards-section .section-header{margin-bottom:2rem}.country-market-cards-section .section-header h2{font-size:var(--h3-size)}.country-market-cards-grid{grid-template-columns:1fr;gap:1.5rem}.country-market-card{padding:1.25rem}.country-market-card .stats-summary{grid-template-columns:repeat(2,1fr);gap:.75rem}.country-market-card .nav-links{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;justify-items:stretch}.country-market-card .nav-link{flex:none;width:auto;text-align:center;max-width:none}.country-market-card .stats-date{margin-bottom:1rem;padding-bottom:.5rem}}@media (max-width:480px){.country-market-cards-section .section-header{margin-bottom:1.5rem}.country-market-card{padding:1rem}.country-market-card .stat-card{padding:.75rem}.country-market-card .stat-value{font-size:var(--text-lg)}.country-market-card .insights-cta-button{padding:.6rem 1.25rem;font-size:var(--text-xs);box-sizing:border-box;max-width:100%}.country-market-card .performance-navigation-compact{padding:.75rem}.country-market-card .nav-link{padding:.6rem .75rem;font-size:var(--text-xs)}.country-market-card .card-header .flag-icon{width:18px;height:13px}.country-market-card .stats-date{margin-bottom:.75rem;padding-bottom:.5rem;font-size:11px}}