:root {
    --header-h: 90px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0a0e27 url("/assets/img/background.webp") center / cover fixed no-repeat;
    color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
    padding-top: var(--header-h);
}

/* Dark overlay so text stays readable over the global background image */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.92) 0%, rgba(10, 14, 39, 0.86) 45%, rgba(5, 8, 19, 0.92) 100%);
    z-index: -1;
    pointer-events: none;
}

/* Legal Banner */
.legal-banner {
    background: linear-gradient(#0078d4, #0078d4 0%, #0078d4 100%);
    color: #FFFFFF;
    padding: 12px 20px;
    text-align: center;
    font-weight: 600;
    font-size: 13px;
    border-bottom: 2px solid #05437e;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1002;
    line-height: 1.4;
}

/* Header */
.header {
    position: fixed;
    left: 0;
    right: 0;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    z-index: 1000;
    transition: all 0.3s;
    top: 0;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #fff;
}

.logo-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 121, 0, 0.10);
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 8px rgba(255, 121, 0, 0.45));
    image-rendering: crisp-edges;
}

.logo-icon i {
    font-size: 24px;
    background: linear-gradient(135deg, #ff6a00 0%, #ffd24a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-subtitle {
    font-size: 11px;
    color: #ffd24a;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-menu a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s;
    position: relative;
}

.nav-menu a:hover {
    color: #fff;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff6a00, #ffd24a);
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

.download-btn,
.back-btn {
    background: linear-gradient(135deg, #ff6a00 0%, #ffd24a 100%);
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 121, 0, 0.25);
    display: flex;
    align-items: center;
    gap: 8px;
}

.download-btn:hover,
.back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 121, 0, 0.38);
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: transparent;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* keep the hero readable even though the image is now on the whole page */
    background: radial-gradient(circle at 30% 20%, rgba(255, 121, 0, 0.16) 0%, rgba(25, 144, 215, 0.10) 45%, rgba(0, 0, 0, 0) 72%);
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 72px;
    font-weight: 900;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 0%, #ffd24a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-logo{
    margin: 0 0 24px;
    background: none;
    -webkit-text-fill-color: unset;
}

.hero-logo img{
    display: block;
    /* Fluid sizing + fluid left shift so it feels consistent across devices */
    width: clamp(320px, 70vw, 760px);
    height: auto;
    max-height: clamp(120px, 22vw, 260px);
    object-fit: contain;
    /* Use percentage shift (relative to the logo's own width) for consistent visual centering */
    transform: translateX(-10%);
    filter: drop-shadow(0 10px 35px rgba(0,0,0,0.55));
}

.hero-text p {
    font-size: 20px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 40px;
}

.hero-badges {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.badge {
    padding: 10px 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge-link{
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

/* Keep link badge looking identical to normal badges (no visited/hover color shift) */
.badge-link:visited,
.badge-link:hover,
.badge-link:active,
.badge-link:focus{
    color: inherit;
}

.badge i {
    font-size: 14px;
}

.status-online {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { 
        opacity: 1; 
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7);
    }
    50% { 
        opacity: 0.7; 
        box-shadow: 0 0 0 10px rgba(0, 255, 136, 0);
    }
}

.hero-cta {
    display: flex;
    gap: 16px;
}

.btn-primary {
    padding: 16px 36px;
    background: linear-gradient(135deg, #ff6a00 0%, #ffd24a 100%);
    color: #fff;
    border: none;
    border-radius: 20px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(255, 121, 0, 0.28);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 121, 0, 0.42);
}

.btn-secondary {
    padding: 16px 36px;
    background: rgba(255,255,255,0.05);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.3);
}

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

.stat-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.stat-card:hover {
    background: rgba(255,255,255,0.05);
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 32px;
    margin-bottom: 15px;
    color: #ffd24a;
}

.stat-number {
    font-size: 42px;
    font-weight: 900;
    background: linear-gradient(135deg, #ff6a00 0%, #ffd24a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Features Section */
.features {
    padding: 120px 40px;
    background: rgba(15, 20, 40, 0.72);
    backdrop-filter: blur(6px);
}

.features-content {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 48px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #ffd24a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.6);
    text-align: center;
    margin-bottom: 80px;
}

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

.feature-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 45px;
    transition: all 0.3s;
}

.feature-card:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255, 121, 0, 0.45);
    transform: translateY(-8px);
}

.feature-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #ff6a00 0%, #ffd24a 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 28px;
    box-shadow: 0 8px 25px rgba(255, 121, 0, 0.22);
}

.feature-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 14px;
}

.feature-desc {
    font-size: 15px;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
}

/* News Section */
.news-section {
    padding: 90px 24px;
    background: rgba(10, 14, 39, 0.72);
    backdrop-filter: blur(6px);
}

.news-content {
    max-width: 1200px;
    margin: 0 auto;
}

.news-tabs{
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 0 0 14px;
    font-size: 14px;
    flex-wrap: wrap;
}

.news-tab{
    padding: 7px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.88);
    cursor: pointer;
    font-weight: 700;
    letter-spacing: 0.2px;
    transition: background 0.18s, border-color 0.18s;
}

.news-tab:hover{
    background: rgba(255,255,255,0.10);
}

.news-tab.is-active{
    border-color: rgba(255,106,0,0.65);
    background: rgba(255,106,0,0.18);
    color: #ffd24a;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.news-card {
    background: rgba(0,0,0,0.60);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 16px;
    padding: 20px;
    transition: background 0.2s, border-color 0.2s;
    position: relative;
}

.news-card.is-hidden{
    display: none;
}

.news-card::before {
    display: none;
}

.news-card:hover {
    background: rgba(0,0,0,0.72);
    border-color: rgba(255, 121, 0, 0.35);
}

.news-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.news-tag {
    padding: 6px 12px;
    background: rgba(0, 255, 136, 0.12);
    color: #7ef3b8;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.news-date {
    padding: 6px 12px;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.72);
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.news-title {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 10px;
    line-height: 1.35;
}

.news-excerpt {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.70);
    line-height: 1.65;
}

@media (max-width: 900px){
    .news-grid{
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .news-content{
        max-width: 100%;
    }
}

/* Slider (used by hero images) */
.hw-slider {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.hw-slider-viewport {
    width: 100%;
    overflow: hidden;
    border-radius: 18px;
}

.hw-slider-track {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    will-change: transform;
    transition: transform 320ms ease;
}

.hw-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
}

.hw-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(0,0,0,0.28);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    z-index: 5;
}

.hw-slider-btn:hover {
    background: rgba(0,0,0,0.40);
}

.hw-slider-btn.prev { left: 10px; }
.hw-slider-btn.next { right: 10px; }

.hw-slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding-top: 16px;
}

.hw-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.10);
    cursor: pointer;
}

.hw-slider-dot.active {
    background: rgba(255,255,255,0.85);
    border-color: rgba(255,255,255,0.85);
}

.hw-slide-img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.05);
    border-radius: 18px;
}

@media (max-width: 768px) {
    .hw-slider-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    .hw-slider-btn.prev { left: 8px; }
    .hw-slider-btn.next { right: 8px; }
}

.hw-slide-caption {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.9);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
}

/* Community Section */
.community {
    padding: 120px 40px;
    background: rgba(15, 20, 40, 0.72);
    backdrop-filter: blur(6px);
}

.community-content {
    max-width: 1400px;
    margin: 0 auto;
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.community-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.community-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 121, 0, 0.12) 0%, rgba(243, 197, 31, 0.10) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.community-card:hover::before {
    opacity: 1;
}

.community-card:hover {
    background: rgba(255,255,255,0.05);
    transform: translateY(-8px);
    border-color: rgba(255, 121, 0, 0.45);
}

.community-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #ff6a00 0%, #ffd24a 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 8px 25px rgba(255, 121, 0, 0.22);
    position: relative;
    z-index: 1;
}

.community-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.community-count {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* FAQ Page Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px;
}

.page-header {
    text-align: center;
    margin-bottom: 60px;
}

.page-title {
    font-size: 56px;
    font-weight: 900;
    background: linear-gradient(135deg, #fff 0%, #ffd24a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.page-subtitle {
    font-size: 20px;
    color: rgba(255,255,255,0.7);
    max-width: 700px;
    margin: 0 auto;
}

.faq-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.category-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.category-card:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255, 121, 0, 0.45);
    transform: translateY(-5px);
}

.category-icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: #ffd24a;
}

.category-name {
    font-size: 18px;
    font-weight: 700;
}

.faq-section {
    margin-bottom: 60px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 121, 0, 0.25);
}

.section-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6a00 0%, #ffd24a 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.faq-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s;
}

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

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 18px;
    user-select: none;
}

.faq-question:hover {
    background: rgba(255,255,255,0.03);
}

.faq-toggle {
    font-size: 20px;
    color: #ffd24a;
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-answer-content {
    padding: 0 30px 25px;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

.faq-answer-content p {
    margin-bottom: 15px;
}

.faq-answer-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.faq-answer-content li {
    margin-bottom: 8px;
}

.faq-answer-content strong {
    color: #fff;
}

.important-notice {
    background: rgba(255, 152, 0, 0.1);
    border: 2px solid #ff9800;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 40px;
}

.important-notice-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.important-notice-icon {
    font-size: 32px;
    color: #ff9800;
}

.important-notice-title {
    font-size: 24px;
    font-weight: 700;
    color: #ff9800;
}

.contact-section {
    background: rgba(255, 121, 0, 0.10);
    border: 1px solid rgba(255, 121, 0, 0.26);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    margin-top: 60px;
}

.contact-section h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.contact-section p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 25px;
}

.contact-btn {
    background: linear-gradient(135deg, #ff6a00 0%, #ffd24a 100%);
    color: #fff;
    padding: 15px 40px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 121, 0, 0.42);
}

/* Footer */
.footer {
    background: rgba(5, 8, 19, 0.82);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 80px 40px 40px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-desc {
    font-size: 15px;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
}

.footer-section h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #fff;
}

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

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: #ffd24a;
    transform: translateX(5px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 13px;
    line-height: 2;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 40px 20px;
    }

    .hero-text h1 {
        font-size: 56px;
    }

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

    .stat-card {
        padding: 25px 15px;
    }

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

    .news-grid {
        grid-template-columns: 1fr;
    }

    .community-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-h: 70px;
    }

    .legal-banner {
        padding: 10px 15px;
        font-size: 11px;
        line-height: 1.3;
    }

    .header-content {
        padding: 12px 20px;
    }

    .logo-icon {
        width: 35px;
        height: 35px;
    }

    .logo-title {
        font-size: 15px;
    }

    .logo-subtitle {
        font-size: 8px;
        letter-spacing: 1px;
    }

    .nav-menu {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 40px 0 60px;
    }
    
    .hero-content {
        padding: 20px;
    }

    .hero-text h1 {
        font-size: 36px;
        margin-bottom: 20px;
        line-height: 1.2;
    }

    .hero-logo img{
        /* Keep the same fluid behavior; slightly reduce max height on small screens */
        max-height: clamp(110px, 24vw, 170px);
        transform: translateX(-12%);
    }

    .hero-text p {
        font-size: 15px;
        margin-bottom: 25px;
        line-height: 1.6;
    }

    .hero-badges {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 30px;
    }

    .badge {
        width: auto;
        padding: 8px 14px;
        font-size: 12px;
        justify-content: center;
    }

    .hero-cta {
        flex-direction: column;
        gap: 12px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-card {
        padding: 25px 20px;
    }

    .features,
    .news-section,
    .community {
        padding: 80px 20px;
    }

    .section-title {
        font-size: 36px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 35px 25px;
    }

    .news-card {
        padding: 30px 25px;
    }

    .news-title {
        font-size: 22px;
    }

    .community-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .footer {
        padding: 60px 20px 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        font-size: 12px;
        line-height: 1.8;
    }

    .container {
        padding: 60px 20px;
    }

    .page-title {
        font-size: 40px;
    }

    .page-subtitle {
        font-size: 16px;
    }

    .faq-categories {
        grid-template-columns: 1fr;
    }

    .faq-question {
        font-size: 16px;
        padding: 20px;
    }

    .faq-answer-content {
        padding: 0 20px 20px;
    }
}

@media (max-width: 480px) {
    .legal-banner {
        padding: 8px 12px;
        font-size: 10px;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
    }

    .logo-title {
        font-size: 14px;
    }

    .logo-subtitle {
        font-size: 7px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text p {
        font-size: 15px;
    }

    .section-title {
        font-size: 28px;
    }

    .stat-number {
        font-size: 36px;
    }

    .feature-icon {
        width: 55px;
        height: 55px;
        font-size: 24px;
    }

    .feature-title {
        font-size: 20px;
    }

    .news-title {
        font-size: 20px;
    }

    .community-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
}