/* =========================================
   Variables & Resets
   ========================================= */
:root {
    --brand-orange: #BF5A1A;
    --brand-dark: #2C1F18;
    --brand-brown: #3D2A20;
    --text-main: #1A1A1A;
    --text-sub: #7A6A62;
    --bg-body: #FAF6F2;
    --bg-hero: linear-gradient(135deg, #FDF8F4 0%, #F0E6DC 100%);
    --bg-gray: #F2EBE4;
    --card-bg: #FFFFFF;
    --card-bg-dark: #1A1C21;
    --card-shadow: 0 12px 36px rgba(0, 0, 0, 0.05);
    --border-color: #EAEAEA;
    --radius-btn: 6px;
    --radius-card: 20px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--text-main);
    background-color: var(--bg-body);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
    -webkit-font-smoothing: antialiased;
}

html {
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* =========================================
   Navigation
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    background: #FFFFFF;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--brand-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.5px;
}

.logo i {
    color: var(--brand-orange);
    font-size: 24px;
}

.logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--brand-orange);
}

.nav-links a.active {
    color: var(--brand-orange);
    box-shadow: 0 2px 0 0 var(--brand-orange);
    padding-bottom: 2px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.lang-dropdown {
    position: relative;
}

.lang-switch {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    border-radius: 8px;
    transition: background 0.2s ease;
    user-select: none;
}

.lang-switch:hover {
    background: var(--bg-gray);
}

.lang-caret {
    font-size: 11px;
    color: #aaa;
    transition: transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
    min-width: 160px;
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px) scale(0.97);
    transform-origin: top right;
    transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.2s;
    z-index: 2000;
}

.lang-dropdown-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease;
    color: var(--text-main);
    font-size: 14px;
    font-weight: 500;
}

.lang-option:hover {
    background: var(--bg-gray);
    color: var(--brand-orange);
}

.lang-option.active {
    color: var(--brand-orange);
    background: rgba(191, 90, 26, 0.06);
}

.lang-flag {
    font-size: 16px;
    line-height: 1;
}

.lang-label {
    flex: 1;
}

.lang-check {
    font-size: 11px;
    color: var(--brand-orange);
    opacity: 0;
}

.lang-option.active .lang-check {
    opacity: 1;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: var(--radius-btn);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

/* Nav specific dark button */
.btn-nav-dark {
    background: var(--brand-dark);
    color: #fff;
    padding: 8px 20px;
}

.btn-nav-dark:hover {
    background: #000;
}

.mobile-menu-btn {
    display: none;
    font-size: 20px;
    color: var(--text-main);
    cursor: pointer;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    position: relative;
    padding: 180px 5% 120px;
    background: var(--bg-hero);
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: rgba(191, 90, 26, 0.08);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: rgba(88, 70, 61, 0.05);
    bottom: 0;
    left: -100px;
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    min-width: 0;
    max-width: 620px;
}

.hero-visual {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-icon-img {
    width: 340px;
    height: 340px;
    object-fit: contain;
    filter: drop-shadow(0 24px 64px rgba(191, 90, 26, 0.32)) drop-shadow(0 8px 24px rgba(0, 0, 0, 0.10));
    animation: heroIconFloat 4s ease-in-out infinite;
}

@keyframes heroIconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-title {
    font-size: 68px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    color: var(--brand-dark);
}

.hero-accent {
    color: var(--brand-orange);
    position: relative;
    display: inline-block;
}

.hero-accent::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--brand-orange);
    border-radius: 2px;
    opacity: 0.35;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--brand-brown);
    margin-bottom: 48px;
    font-weight: 600;
}

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

.btn-brown {
    background-color: var(--brand-brown);
    background-image: none;
    color: #fff;
    padding: 16px 36px;
    font-size: 16px;
    gap: 8px;
}

.btn-brown:hover {
    background-color: var(--brand-brown);
    background-image: none;
    color: #fff;
    box-shadow: 0 6px 20px rgba(61, 42, 32, 0.45);
    transform: translateY(-1px);
}

.btn-light {
    background: rgba(255, 255, 255, 0.6);
    color: var(--brand-brown);
    border: 1px solid rgba(88, 70, 61, 0.15);
    padding: 16px 36px;
    font-size: 16px;
}

.btn-light:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(88, 70, 61, 0.3);
}

/* =========================================
   Features Section
   ========================================= */
.features-section {
    background-color: var(--bg-gray);
    padding: 100px 5%;
    text-align: center;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 48px;
    color: var(--brand-dark);
    letter-spacing: -0.5px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.bento-item {
    background: var(--card-bg);
    border-radius: var(--radius-card);
    padding: 40px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.02);
    min-height: 400px;
}

.bento-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.bento-dark {
    background: var(--card-bg-dark);
    color: #fff;
}

.bento-dark .feature-desc {
    color: rgba(255,255,255,0.7);
}

.feature-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.feature-desc {
    font-size: 16px;
    color: var(--text-sub);
    line-height: 1.6;
    margin-bottom: auto;
}

.feature-ill {
    width: 100%;
    height: 80px;
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.feature-ill i {
    font-size: 48px;
    background: linear-gradient(135deg, #BF5A1A, #D9895A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.35;
}

.bento-dark .feature-ill i {
    background: linear-gradient(135deg, #A8E6CF, #3ED095);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.35;
}

/* =========================================
   Downloads Section
   ========================================= */
.downloads-section {
    padding: 100px 5%;
    background: #fff;
    text-align: center;
}

.platforms-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.platform-card {
    background: var(--bg-gray);
    border-radius: 12px;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    min-width: 200px;
}

.platform-card:hover {
    border-color: var(--brand-orange);
    background: #fff;
    box-shadow: 0 10px 20px rgba(191, 90, 26, 0.08);
}

.platform-icon {
    font-size: 32px;
    color: var(--brand-dark);
}

.platform-card:hover .platform-icon {
    color: var(--brand-orange);
}

.platform-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--brand-dark);
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background: #FFFFFF;
    padding: 60px 5% 40px;
    border-top: 1px solid var(--border-color);
    font-size: 13px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 40px;
}

.footer-links {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 48px;
    max-width: 1400px;
    margin: 0 auto 40px;
}

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

.footer-col.company-info {
    color: var(--text-sub);
    line-height: 1.8;
}

.footer-col.company-info .logo-bottom {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-col.company-info .logo-bottom i {
    color: var(--text-sub);
}

.footer-col.company-info .logo-bottom .logo-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 6px;
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 40px;
}

.link-grid a {
    color: var(--text-sub);
    font-weight: 500;
}

.link-grid a:hover {
    color: var(--text-main);
    text-decoration: underline;
}

.link-grid a.bold {
    font-weight: 700;
    color: var(--text-main);
}

.footer-col-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.footer-nav-col a {
    color: var(--text-sub);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: var(--transition);
    line-height: 1.5;
}

.footer-nav-col a:hover {
    color: var(--text-main);
    text-decoration: none;
    transform: translateX(2px);
}

.footer-nav-col a i {
    font-size: 12px;
    width: 14px;
    text-align: center;
    flex-shrink: 0;
}

.footer-bottom-tagline {
    font-size: 12px;
    color: var(--text-sub);
    letter-spacing: 0.04em;
}

.social-icons {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.social-icons a {
    font-size: 18px;
    color: var(--text-sub);
    cursor: pointer;
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--text-main);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-sub);
}

/* =========================================
   Floating Buttons
   ========================================= */
.floating-action-group {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
    z-index: 999;
}

.fab-up {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.fab-up:hover {
    background: var(--bg-gray);
}

/* =========================================
   Responsive Design
   ========================================= */
@keyframes menuSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-title {
        font-size: 52px;
    }
    .hero-icon-img {
        width: 240px;
        height: 240px;
    }
    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 16px 5%;
        gap: 0;
        box-shadow: 0 8px 20px rgba(0,0,0,0.08);
        animation: menuSlideDown 0.2s ease forwards;
    }

    .nav-links a {
        display: block;
        padding: 14px 0;
        border-bottom: 1px solid var(--border-color);
        font-size: 16px;
        min-width: 0;
        overflow-wrap: break-word;
    }

    nav.nav-open .nav-links {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        padding: 4px;
        cursor: pointer;
        font-size: 20px;
        color: var(--text-main);
    }

    .nav-right .btn-nav-dark {
        display: none;
    }

    /* Mobile: show language icon only, hide label text and caret */
    .lang-switch .lang-label-text,
    .lang-switch .lang-caret {
        display: none;
    }

    .lang-switch {
        padding: 6px 8px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 140px;
    }
    .hero-inner {
        flex-direction: column;
        gap: 40px;
    }
    .hero-visual {
        display: none;
    }
    .hero-title {
        font-size: 42px;
    }
    .hero-actions {
        flex-direction: column;
    }
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .footer-top {
        flex-direction: column;
        gap: 30px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    .link-grid {
        grid-template-columns: 1fr;
    }
    .floating-action-group {
        bottom: 20px;
        right: 20px;
    }
}

/* =========================================
   Section Subtitle (shared)
   ========================================= */
.section-sub {
    font-size: 17px;
    color: var(--text-sub);
    margin-bottom: 48px;
    text-align: center;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
}

/* =========================================
   Hero — badge & platform pills
   ========================================= */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(191, 90, 26, 0.1);
    border: 1px solid rgba(191, 90, 26, 0.22);
    color: var(--brand-orange);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-top: 28px;
}

.hero-platforms span,
.hero-platforms a {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-sub);
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}

.hero-platforms a:hover {
    color: var(--brand-orange);
    background: rgba(191, 90, 26, 0.08);
}

.hero-platforms span i,
.hero-platforms a i {
    font-size: 14px;
    color: var(--brand-brown);
    transition: color 0.2s;
}

.hero-platforms a:hover i {
    color: var(--brand-orange);
}

/* =========================================
   Bento Grid — refined
   ========================================= */
.bento-item {
    position: relative;
    overflow: hidden;
}

.bento-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #BF5A1A 0%, #D9895A 60%, transparent 100%);
    border-radius: var(--radius-card) var(--radius-card) 0 0;
}

.bento-dark::before {
    background: linear-gradient(90deg, #3ED095 0%, #A8E6CF 60%, transparent 100%);
}

.bento-icon-wrap {
    width: 44px;
    height: 44px;
    background: rgba(191, 90, 26, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.bento-icon-wrap i {
    font-size: 20px;
    color: var(--brand-orange);
    /* Reset any inherited or cascaded gradient-text styles */
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: var(--brand-orange);
}

.bento-icon-dark {
    background: rgba(255, 255, 255, 0.08);
}

.bento-icon-dark i {
    color: rgba(255, 255, 255, 0.75);
    -webkit-text-fill-color: rgba(255, 255, 255, 0.75);
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
}

/* =========================================
   Stats Strip
   ========================================= */
.stats-strip {
    background: var(--brand-dark);
    padding: 44px 5%;
}

.stats-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 0 56px;
}

.stat-num {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -1px;
}

.stat-num em {
    font-style: normal;
    font-size: 26px;
    font-weight: 600;
    color: var(--brand-orange);
    margin-left: 2px;
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.42);
    font-weight: 500;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.stat-divider {
    width: 1px;
    height: 52px;
    background: rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

/* =========================================
   How It Works
   ========================================= */
.howto-section {
    padding: 100px 5%;
    background: #fff;
}

.howto-wrap {
    max-width: 1100px;
    margin: 0 auto;
}

.howto-header {
    text-align: center;
    margin-bottom: 64px;
}

.howto-header .section-title {
    margin-bottom: 16px;
}

.steps-wrap {
    display: flex;
    flex-direction: column;
}

.step-item {
    display: grid;
    grid-template-columns: 72px 1fr 100px;
    gap: 0 40px;
    padding: 44px 0;
    border-bottom: 1px solid var(--border-color);
    align-items: flex-start;
}

.step-item:last-child {
    border-bottom: none;
}

.step-index-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 4px;
}

.step-index {
    font-size: 50px;
    font-weight: 800;
    background: linear-gradient(135deg, #BF5A1A, #D9895A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    letter-spacing: -2px;
    display: block;
}

.step-line {
    width: 2px;
    flex: 1;
    min-height: 36px;
    background: linear-gradient(to bottom, rgba(191, 90, 26, 0.2), transparent);
    margin-top: 12px;
}

.step-title {
    font-size: 21px;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.step-desc {
    font-size: 15px;
    color: var(--text-sub);
    line-height: 1.75;
    margin-bottom: 18px;
    max-width: 580px;
}

.step-cta {
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-orange);
    text-decoration: none;
    transition: var(--transition);
}

.step-cta:hover {
    color: #d06000;
    letter-spacing: 0.01em;
}

.step-visual {
    width: 88px;
    height: 88px;
    background: linear-gradient(135deg, rgba(191, 90, 26, 0.1), rgba(255, 176, 103, 0.06));
    border-radius: 50%;
    border: 2px solid rgba(191, 90, 26, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 4px;
}

.step-visual i {
    font-size: 32px;
    background: linear-gradient(135deg, #BF5A1A, #D9895A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =========================================
   Downloads — refined platform cards
   ========================================= */
.platform-card {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.platform-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    margin-left: 14px;
}

.platform-sub {
    font-size: 12px;
    color: var(--text-sub);
    font-weight: 400;
}

.platform-arrow {
    font-size: 13px;
    color: #d0d0d0;
    transition: var(--transition);
    flex-shrink: 0;
}

.platform-card:hover .platform-arrow {
    color: var(--brand-orange);
    transform: translateX(4px);
}

/* =========================================
   Compare Section
   ========================================= */
.compare-section {
    background: var(--bg-gray);
    padding: 100px 5%;
}

.compare-wrap {
    max-width: 1200px;
    margin: 0 auto;
}

.compare-header {
    text-align: center;
    margin-bottom: 56px;
}

.compare-header .section-title {
    margin-bottom: 16px;
}

.compare-grid {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    gap: 0;
    align-items: start;
}

.compare-card {
    border-radius: 20px;
    padding: 36px 36px 40px;
}

.compare-card-clash {
    background: #fff;
    border: 1.5px solid rgba(191, 90, 26, 0.18);
    box-shadow: 0 8px 32px rgba(191, 90, 26, 0.06);
}

.compare-card-vpn {
    background: #fff;
    border: 1.5px solid var(--border-color);
}

.compare-card-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.compare-icon-wrap {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, #BF5A1A, #D9895A);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.compare-icon-wrap i {
    color: #fff;
    font-size: 18px;
}

.compare-icon-dim {
    background: #ececec;
}

.compare-icon-dim i {
    color: #aaa;
}

.compare-card-label h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 2px;
}

.compare-card-label span {
    font-size: 12px;
    color: var(--text-sub);
    font-weight: 500;
}

.compare-badge {
    margin-left: auto;
    background: rgba(191, 90, 26, 0.1);
    color: var(--brand-orange);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    letter-spacing: 0.3px;
}

.compare-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.compare-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.cmp-yes,
.cmp-no {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
    margin-top: 1px;
}

.cmp-yes {
    background: rgba(191, 90, 26, 0.1);
    color: var(--brand-orange);
}

.cmp-no {
    background: rgba(0, 0, 0, 0.04);
    color: #bbb;
}

.compare-list li strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-dark);
    margin-bottom: 3px;
    line-height: 1.3;
}

.compare-list li span {
    font-size: 13px;
    color: var(--text-sub);
    line-height: 1.55;
}

.compare-vs-col {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 72px;
}

.compare-vs-badge {
    width: 40px;
    height: 40px;
    background: var(--brand-dark);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

/* =========================================
   Open Source Section
   ========================================= */
.opensource-section {
    background: var(--brand-dark);
    padding: 100px 5%;
}

.opensource-wrap {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.opensource-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(191, 90, 26, 0.14);
    border: 1px solid rgba(191, 90, 26, 0.28);
    color: var(--brand-orange);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.opensource-title {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

.opensource-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.8;
    margin-bottom: 36px;
}

.os-stats {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 40px;
}

.os-stat {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0 28px;
}

.os-stat:first-child {
    padding-left: 0;
}

.os-stat-div {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.os-stat-num {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.os-stat-num em {
    font-style: normal;
    font-size: 16px;
    color: var(--brand-orange);
}

.os-stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.38);
    font-weight: 500;
    white-space: nowrap;
}

.btn-github {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.13);
    color: rgba(255, 255, 255, 0.88);
    padding: 13px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
}

.btn-github:hover {
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(255, 255, 255, 0.22);
}

.code-window {
    background: #0d0f14;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.code-win-bar {
    background: #181b22;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.code-dots {
    display: flex;
    gap: 6px;
}

.code-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-dots span:nth-child(1) { background: #ff5f57; }
.code-dots span:nth-child(2) { background: #febc2e; }
.code-dots span:nth-child(3) { background: #28c840; }

.code-filename {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    margin-left: auto;
}

.code-body {
    padding: 28px 24px 32px;
    overflow-x: auto;
}

.code-content {
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 13px;
    line-height: 1.85;
    white-space: pre;
    margin: 0;
}

.cc { color: #4e5b6e; }
.ck { color: #82aaff; }
.cs { color: #c3e88d; }
.cn { color: #f78c6c; }

/* =========================================
   Protocol Support
   ========================================= */
.protocols-section {
    background: var(--bg-hero);
    padding: 100px 5%;
}

.protocols-wrap {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.protocol-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pf-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--brand-dark);
    font-weight: 500;
}

.pf-item i {
    width: 34px;
    height: 34px;
    background: rgba(191, 90, 26, 0.09);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-orange);
    font-size: 14px;
    flex-shrink: 0;
}

.protocol-cloud-wrap {
    padding: 36px 40px 40px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.07);
}

.cloud-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-sub);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    text-align: center;
    margin-bottom: 20px;
}

.protocol-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.cloud-hint {
    font-size: 12px;
    color: rgba(0,0,0,0.25);
    text-align: center;
    margin-top: 4px;
    font-style: italic;
}

.ptag {
    background: var(--bg-gray);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-weight: 600;
    color: var(--brand-dark);
    cursor: default;
    transition: var(--transition);
    white-space: nowrap;
}

.ptag:hover {
    background: var(--brand-dark);
    color: #fff;
    border-color: var(--brand-dark);
    transform: translateY(-2px);
}

.ptag-lg {
    padding: 10px 22px;
    font-size: 15px;
}

.ptag-md {
    padding: 8px 18px;
    font-size: 14px;
}

.ptag-sm {
    padding: 6px 14px;
    font-size: 13px;
    color: var(--text-sub);
}

/* =========================================
   Use Cases
   ========================================= */
.usecases-section {
    background: #fff;
    padding: 100px 5%;
}

.usecases-wrap {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.usecases-wrap .section-title {
    margin-bottom: 12px;
}

.usecases-wrap .section-sub {
    margin-bottom: 36px;
}

.uc-tabs {
    display: inline-flex;
    gap: 4px;
    background: var(--bg-gray);
    border-radius: 12px;
    padding: 5px;
    margin-bottom: 32px;
    border: 1px solid var(--border-color);
}

.uc-tab {
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-sub);
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 7px;
}

.uc-tab i {
    font-size: 13px;
}

.uc-tab.active {
    background: var(--brand-dark);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.uc-tab:hover:not(.active) {
    color: var(--text-main);
    background: rgba(0,0,0,0.04);
}

.uc-panels {
    background: var(--bg-gray);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.uc-panel {
    display: none;
    padding: 48px;
    align-items: flex-start;
    gap: 36px;
    text-align: left;
}

.uc-panel.active {
    display: flex;
}

.uc-panel-icon {
    width: 68px;
    height: 68px;
    background: #fff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.uc-panel-icon i {
    font-size: 28px;
    background: linear-gradient(135deg, #BF5A1A, #D9895A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.uc-panel-content h3 {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--brand-dark);
    line-height: 1.35;
}

.uc-panel-content p {
    font-size: 15px;
    color: var(--text-sub);
    line-height: 1.75;
    margin-bottom: 20px;
}

.uc-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.uc-list li {
    font-size: 14px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.uc-list li i {
    color: var(--brand-orange);
    font-size: 12px;
    flex-shrink: 0;
}

/* =========================================
   FAQ Section
   ========================================= */
.faq-section {
    padding: 100px 5%;
    background: var(--bg-gray);
}

.faq-wrap {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.faq-wrap .section-title {
    margin-bottom: 12px;
}

.faq-wrap .section-sub {
    margin-bottom: 48px;
}

.faq-list {
    text-align: left;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    border-left: 3px solid transparent;
    padding-left: 12px;
    transition: border-color 0.25s ease;
}

.faq-item:first-child {
    border-top: 1px solid var(--border-color);
}

.faq-item.open {
    border-left-color: var(--brand-orange);
}

.faq-item.open + .faq-item {
    border-top: 1px solid var(--border-color);
}

.faq-q {
    width: 100%;
    padding: 22px 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 16px;
    font-weight: 600;
    color: var(--brand-dark);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: color 0.25s ease;
}

.faq-item.open .faq-q {
    color: var(--brand-orange);
}

.faq-q:hover {
    color: var(--brand-orange);
}

.faq-q span {
    flex: 1;
}

.faq-icon {
    font-size: 13px;
    color: var(--text-sub);
    transition: transform 0.3s ease, color 0.25s ease;
    flex-shrink: 0;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    color: var(--brand-orange);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faq-item.open .faq-a {
    max-height: 400px;
}

.faq-a p {
    padding: 2px 4px 24px;
    font-size: 15px;
    color: var(--text-sub);
    line-height: 1.8;
}

/* =========================================
   Blog Teaser Section
   ========================================= */
.blog-section {
    background: #fff;
    padding: 100px 5%;
}

.blog-wrap {
    max-width: 1200px;
    margin: 0 auto;
}

.blog-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 20px;
}

.blog-more-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-orange);
    white-space: nowrap;
    flex-shrink: 0;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding-bottom: 4px;
}

.blog-more-link:hover {
    color: #d06000;
    gap: 9px;
}

.blog-grid {
    display: grid;
    grid-template-columns: 58% 1fr;
    gap: 20px;
    align-items: stretch;
}

.blog-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-gray);
    border-radius: 16px;
    padding: 30px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: inherit;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.07);
    border-color: rgba(191, 90, 26, 0.2);
    background: #fff;
}

.blog-card-featured {
    height: 100%;
    gap: 0;
}

.blog-card-small {
    flex: 1;
}

.blog-cat {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(191, 90, 26, 0.08);
    color: var(--brand-orange);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 14px;
    width: fit-content;
}

.blog-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--brand-dark);
    line-height: 1.45;
}

.blog-card-featured .blog-card-title {
    font-size: 22px;
    margin-bottom: 0;
}

.blog-card-desc {
    font-size: 14px;
    color: var(--text-sub);
    line-height: 1.7;
    margin-top: 12px;
    flex: 1;
}

.blog-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    margin-top: 20px;
}

.blog-meta {
    font-size: 13px;
    color: var(--text-sub);
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-read-more {
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-orange);
}

/* =========================================
   CTA Banner
   ========================================= */
.cta-banner {
    background: var(--brand-dark);
    padding: 88px 5%;
    text-align: center;
}

.cta-inner {
    max-width: 720px;
    margin: 0 auto;
}

.cta-title {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.cta-sub {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 40px;
    font-weight: 500;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}


.cta-banner .btn-brown i {
    margin-right: 0;
}

.cta-banner .btn-brown {
    background-color: #F0E6DC;
    color: var(--brand-dark);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.cta-banner .btn-brown:hover {
    background-color: #faf6f2;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

.cta-banner .btn-light {
    background: rgba(255, 255, 255, 0.09);
    color: rgba(255, 255, 255, 0.82);
    border-color: rgba(255, 255, 255, 0.18);
}

.cta-banner .btn-light:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.3);
}

/* =========================================
   Responsive — all new sections
   ========================================= */
@media (max-width: 1024px) {
    .protocols-wrap,
    .opensource-wrap {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .opensource-title {
        font-size: 34px;
    }
    .compare-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .compare-vs-col {
        display: none;
    }
    .compare-card-vpn {
        margin-top: 20px;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .blog-card-featured {
        height: auto;
    }
}

@media (max-width: 768px) {
    /* Hero */
    .hero-badge {
        font-size: 12px;
    }
    .hero-platforms {
        gap: 8px 16px;
    }

    /* Stats Strip */
    .stats-inner {
        flex-wrap: wrap;
        gap: 24px 0;
    }
    .stat-item {
        padding: 0 16px;
        width: 50%;
        box-sizing: border-box;
    }
    .stat-divider {
        display: none;
    }
    .stat-num {
        font-size: 36px;
    }
    .stat-label {
        white-space: normal;
        text-align: center;
        font-size: 12px;
        line-height: 1.4;
    }

    /* How It Works */
    .step-item {
        grid-template-columns: 56px 1fr;
        gap: 0 20px;
    }
    .step-visual {
        display: none;
    }
    .step-index {
        font-size: 38px;
    }

    /* Platform cards */
    .platforms-container {
        flex-direction: column;
        align-items: stretch;
    }
    .platform-card {
        min-width: unset;
    }

    /* Compare */
    .compare-card {
        padding: 28px 24px;
    }

    /* Open Source */
    .opensource-section {
        overflow: hidden;
    }
    .opensource-desc {
        overflow-wrap: break-word;
        word-break: break-word;
    }
    .os-stats {
        gap: 0;
        flex-wrap: wrap;
        row-gap: 16px;
    }
    .os-stat {
        padding: 0 16px;
        min-width: 0;
    }
    .os-stat-label {
        white-space: normal;
        font-size: 11px;
        line-height: 1.3;
    }
    .opensource-title {
        font-size: 28px;
    }
    .code-content {
        font-size: 12px;
    }
    .code-body {
        padding: 20px 18px 24px;
    }

    /* Protocol Cloud */
    .protocol-cloud-wrap {
        padding: 24px 20px 28px;
    }

    /* Use Cases */
    .uc-tabs {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
    .uc-tab {
        padding: 8px 14px;
        font-size: 13px;
        gap: 5px;
    }
    .uc-panel.active {
        flex-direction: column;
        padding: 28px 20px;
        gap: 20px;
    }

    /* Blog */
    .blog-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .blog-col {
        flex-direction: column;
    }

    /* CTA */
    .cta-title {
        font-size: 28px;
    }
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

