@font-face {
    font-family: "B Yekan";
    src: url("/static/fonts/BYekan+.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "League Spartan";
    src: url("/static/fonts/LeagueSpartan-Thin.ttf") format("truetype");
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: "League Spartan";
    src: url("/static/fonts/LeagueSpartan-ExtraLight.ttf") format("truetype");
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: "League Spartan";
    src: url("/static/fonts/LeagueSpartan-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "League Spartan";
    src: url("/static/fonts/LeagueSpartan-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "League Spartan";
    src: url("/static/fonts/LeagueSpartan-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "League Spartan";
    src: url("/static/fonts/LeagueSpartan-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: "League Spartan";
    src: url("/static/fonts/LeagueSpartan-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "League Spartan";
    src: url("/static/fonts/LeagueSpartan-ExtraBold.ttf") format("truetype");
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: "League Spartan";
    src: url("/static/fonts/LeagueSpartan-Black.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
}

:root {
    --font-body: "B Yekan", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

:root:lang(en) {
    --font-body:
        "League Spartan", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

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

html {
    scroll-behavior: auto;
}

body {
    font-family: var(--font-body);
    background-color: #000000;
    color: #c0c0c0;
    line-height: 1.6;
    min-height: 100vh;
}

/* Video Background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

#bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    font-family: var(--font-body);
}

/* Header Styles */
header {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: fixed;
    top: 0;
    z-index: 1000;
    width: 100%;
}

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

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

.right-section {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
}

.header-logo-img {
    height: 50px;
    width: auto;
    display: block;
}

.header-content .trae-style-logo {
    margin-inline-start: 35px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 24px;
    margin: 0;
    padding: 0;
}

nav a {
    font-family: var(--font-body) !important;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

nav a:hover {
    color: #ffffff;
}

/* --- Hamburger Button --- */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1100;
}

.hamburger-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-btn.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-btn.open span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Mobile Nav Overlay --- */
@media (max-width: 768px) {
    .hamburger-btn {
        display: flex;
    }

    nav {
        display: none !important;
    }

    nav.mobile-open {
        display: flex !important;
        position: fixed;
        top: 0;
        right: 0;
        width: 75%;
        max-width: 300px;
        height: 40vh;
        background: rgba(10, 10, 15, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 80px 30px 30px;
        z-index: 1050;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
    }

    nav.mobile-open ul {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

    nav.mobile-open ul li a {
        font-size: 1.1rem;
        display: block;
        padding: 8px 0;
        width: 100%;
    }

    .mobile-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1040;
    }
}

.login-btn-header {
    background: #ffffff;
    color: #000000;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.login-btn-header:hover {
    opacity: 0.9;
}

/* Simple Black Hero Section */
.hero-simple {
    min-height: 100vh;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 20px 60px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 830px;
    width: 100%;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 40px;
    padding: 70px 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-title-main {
    font-size: 4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-desc-main {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.8;
}

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

.hero-cta-primary {
    background: #ffffff;
    color: #000000;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.hero-cta-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.2s ease;
}

.hero-cta-primary:hover {
    transform: scale(1.02);
}
.hero-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.red-text {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: #a0a0a0;
    margin-right: 10px;
    margin-left: 10px;
}

/* Scroll Dot - Below domain lines */
.scroll-dot-item {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.scroll-dot {
    width: 10px;
    height: 10px;
    background: #dc2626;
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

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

/* Dots Transition Section */
.dots-transition {
    min-height: 80vh;
    background: #000000;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-dots-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.floating-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-radius: 50%;
    opacity: 0.9;
    will-change: transform, opacity;
}

/* Old Hero Section (kept for compatibility) */
.hero {
    padding: 150px 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-family: var(--font-body) !important;
    font-size: 4.5rem;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 50%, #c0c0c0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.5;
    white-space: nowrap;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.hero p {
    font-family: var(--font-body) !important;
    font-size: 2rem;
    color: #ffffff;
    max-width: 900px;
    margin: 0 auto 50px;
    line-height: 1.8;
    font-weight: bold;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

.cta-button {
    font-family: var(--font-body) !important;
    display: inline-block;
    background: linear-gradient(135deg, #707070 0%, #5a5a5a 50%, #4a4a4a 100%);
    color: #ffffff;
    padding: 20px 60px;
    font-size: 1.4rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #808080;
    font-weight: bold;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

.cta-button:hover {
    background: linear-gradient(135deg, #808080 0%, #6a6a6a 50%, #5a5a5a 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
}

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

/* Section Styles - Black Theme */
.section {
    padding: 30px 0;
    background: transparent;
    scroll-margin-top: 80px;
}

.section-title {
    font-family: var(--font-body) !important;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #ffffff;
}

.section-title span {
    color: #dc2626;
}

.section-title img {
    height: 60px;
    width: 110px;
    vertical-align: middle;
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.feature-card {
    background: rgba(13, 13, 13, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #4c1d95, transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.8);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

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

.feature-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.feature-custom-icon {
    width: 32px;
    height: 32px;
    display: block;
}

#os-download-card {
    text-align: right;
    direction: rtl;
}

#os-download-card .feature-icon {
    justify-content: flex-start;
}

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

.feature-card h3 {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #ffffff;
    text-align: right;
}

.feature-card p {
    font-family: var(--font-body);
    color: #a0a0a0;
    line-height: 1.6;
    font-size: 0.85rem;
    text-align: right;
}

/* About Section */
.about {
    background: linear-gradient(135deg, #1a1a1a 0%, #1f1f1f 50%, #1a1a1a 100%);
    padding: 80px;
    border-radius: 20px;
    border: 1px solid #3a3a3a;
    margin: 40px 0;
}

.about h2 {
    font-family: var(--font-body) !important;
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: #e0e0e0;
}

.about p {
    font-family: var(--font-body) !important;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #b0b0b0;
}

/* Stats Grid */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-card {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
    border-radius: 15px;
    border: 1px solid #3a3a3a;
}

.stat-number {
    font-family: var(--font-body) !important;
    font-size: 2.5rem;
    font-weight: bold;
    color: #c0c0c0;
    margin-bottom: 10px;
}

.stat-label {
    font-family: var(--font-body) !important;
    color: #808080;
    font-size: 1rem;
}

/* Footer - Section Style */
footer {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 28px 0 16px;
    position: relative;
    z-index: 10;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 28px;
    align-items: start;
}

.footer-brand .footer-logo-img {
    height: 28px;
    width: auto;
    margin-bottom: 14px;
    display: block;
    opacity: 0.9;
}

.footer-brand p {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    max-width: 240px;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 16px;
}

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

.footer-col ul li a {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: #ffffff;
}

.footer-bottom {
    max-width: 1100px;
    margin: 18px auto 0;
    padding: 14px 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* User avatar button in header */
.user-avatar-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ffffff;
    color: #000000;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
    flex-shrink: 0;
}

.user-avatar-btn:hover {
    opacity: 0.85;
    transform: scale(1.06);
}

.footer-copy {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* Language toggle button */
.lang-toggle-btn {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    padding: 2px 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.04em;
    line-height: 1.6;
}

.lang-toggle-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

/* legacy selectors kept for login/admin pages */
.footer-content {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

.footer-link {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ffffff;
}

.footer-separator {
    font-family: var(--font-body);
    color: rgba(255, 255, 255, 0.3);
    font-size: 1rem;
}

/* ================================================================
   RESPONSIVE DESIGN
   ================================================================ */

/* Tablet: 768px and below */
@media (max-width: 768px) {
    /* --- Header --- */
    .header-content {
        padding: 8px 16px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .left-section {
        gap: 0;
        flex: unset;
    }

    .right-section {
        flex: unset;
    }

    .header-logo-img {
        height: 38px;
    }

    .header-content .trae-style-logo {
        margin-inline-start: 0;
    }

    nav {
        display: none !important;
    }

    .login-btn-header {
        padding: 6px 16px;
        font-size: 0.82rem;
        border-radius: 16px;
    }

    /* --- Hero Simple --- */
    .hero-simple {
        padding: 100px 16px 50px;
        min-height: auto;
    }

    .hero-content {
        max-width: 100%;
        padding: 40px 24px;
        border-radius: 24px;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }

    .hero-title-main {
        font-size: 2.2rem;
        margin-bottom: 14px;
    }

    .hero-desc-main {
        font-size: 1rem;
        max-width: 100%;
        margin-bottom: 28px;
        line-height: 1.7;
    }

    .hero-cta-group {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 300px;
    }

    .hero-cta-primary,
    .hero-cta-secondary {
        width: 100%;
        text-align: center;
        padding: 14px 24px;
        font-size: 0.95rem;
    }

    /* --- Old Hero --- */
    .hero h1 {
        font-size: 1.8rem;
        white-space: normal;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 16px;
    }

    .cta-button {
        padding: 14px 36px;
        font-size: 1.1rem;
    }

    /* --- Sections --- */
    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 24px;
    }

    .section-title img {
        height: 40px;
        width: auto;
    }

    /* --- Features Grid --- */
    .features {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card {
        padding: 24px 20px;
    }

    .feature-card h3 {
        font-size: 1.05rem;
    }

    .feature-card p {
        font-size: 0.82rem;
    }

    /* --- About --- */
    .about {
        padding: 32px 24px;
        margin: 20px 0;
        border-radius: 16px;
    }

    .about h2 {
        font-size: 1.5rem;
        margin-bottom: 16px;
    }

    .about p {
        font-size: 0.95rem;
    }

    /* --- Stats --- */
    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin-top: 24px;
    }

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

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    /* --- Dots Transition --- */
    .dots-transition {
        min-height: 50vh;
    }

    .floating-dot {
        width: 12px;
        height: 12px;
    }

    /* --- Red text / Noqte title --- */
    .noqte-title {
        font-size: 2.2rem;
    }

    .red-text {
        font-size: 0.9rem;
    }

    /* --- Download buttons --- */
    .download-buttons-container {
        bottom: 12px;
        right: 12px;
        flex-direction: column;
        gap: 8px;
    }

    .download-btn {
        min-width: 160px;
        height: 44px;
        padding: 0 24px;
        font-size: 0.85rem;
        border-radius: 6px;
    }

    /* --- Footer --- */
    footer {
        padding: 32px 0 20px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 0 20px;
    }

    .footer-brand p {
        max-width: 100%;
        font-size: 0.8rem;
    }

    .footer-col h4 {
        font-size: 0.68rem;
        margin-bottom: 12px;
    }

    .footer-col ul {
        gap: 8px;
    }

    .footer-col ul li a {
        font-size: 0.82rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px 20px 0;
    }

    .footer-bottom-links {
        gap: 14px;
    }

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

    .footer-link {
        font-size: 0.82rem;
    }

    /* --- Logo --- */
    .logo {
        font-size: 1.3rem;
        order: 1;
        width: 50px;
    }

    /* --- Others --- */
    .hero-dots-left {
        width: 100%;
        height: 40vh;
        order: 2;
    }

    .hero-content {
        order: 1;
    }

    .red-dots-row {
        gap: 8px;
    }

    .red-dot {
        width: 10px;
        height: 10px;
    }
}

/* Small phones: 480px and below */
@media (max-width: 480px) {
    /* --- Header --- */
    .header-content {
        padding: 6px 12px;
    }

    .header-logo-img {
        height: 30px;
    }

    .login-btn-header {
        padding: 5px 12px;
        font-size: 0.75rem;
    }

    .user-avatar-btn {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }

    /* --- Hero Simple --- */
    .hero-simple {
        padding: 90px 12px 40px;
    }

    .hero-content {
        padding: 32px 18px;
        border-radius: 20px;
    }

    .hero-title-main {
        font-size: 1.7rem;
    }

    .hero-desc-main {
        font-size: 0.9rem;
        line-height: 1.65;
    }

    .hero-cta-group {
        max-width: 100%;
    }

    .hero-cta-primary,
    .hero-cta-secondary {
        padding: 12px 20px;
        font-size: 0.88rem;
    }

    /* --- Old Hero --- */
    .hero h1 {
        font-size: 1.5rem;
        white-space: normal;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }

    /* --- Sections --- */
    .section {
        padding: 30px 0;
    }

    .section-title {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .section-title img {
        height: 32px;
    }

    .container {
        padding: 0 16px;
    }

    /* --- Features --- */
    .feature-card {
        padding: 20px 16px;
        border-radius: 12px;
    }

    .feature-icon {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }

    .feature-icon svg {
        width: 26px;
        height: 26px;
    }

    .feature-custom-icon {
        width: 26px;
        height: 26px;
    }

    .feature-card h3 {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .feature-card p {
        font-size: 0.78rem;
    }

    /* --- About --- */
    .about {
        padding: 24px 18px;
        border-radius: 12px;
    }

    .about h2 {
        font-size: 1.3rem;
    }

    .about p {
        font-size: 0.85rem;
    }

    /* --- Stats --- */
    .stats {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .stat-card {
        padding: 16px 12px;
        border-radius: 12px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.78rem;
    }

    /* --- Download --- */
    .download-buttons-container {
        bottom: 10px;
        right: 10px;
        flex-direction: column;
        gap: 6px;
    }

    .download-btn {
        min-width: 140px;
        height: 42px;
        padding: 0 20px;
        font-size: 0.8rem;
    }

    /* --- Footer --- */
    footer {
        padding: 24px 0 16px;
    }

    .footer-inner {
        gap: 24px;
        padding: 0 16px;
    }

    .footer-brand .footer-logo-img {
        height: 22px;
    }

    .footer-brand p {
        font-size: 0.76rem;
    }

    .footer-col h4 {
        font-size: 0.65rem;
    }

    .footer-col ul li a {
        font-size: 0.78rem;
    }

    .footer-bottom {
        padding: 10px 16px 0;
    }

    .footer-copy {
        font-size: 0.72rem;
    }

    .footer-bottom-links a {
        font-size: 0.72rem;
    }

    .footer-bottom-links {
        gap: 10px;
    }

    .lang-toggle-btn {
        font-size: 0.65rem;
        padding: 2px 8px;
    }

    /* --- Dots --- */
    .noqte-title {
        font-size: 1.6rem;
    }

    .red-text {
        font-size: 0.8rem;
    }

    .floating-dot {
        width: 10px;
        height: 10px;
    }

    /* --- Other --- */
    #os-download-card .hero-cta-primary {
        margin-top: 30px;
        font-size: 0.85rem;
    }
}

/* ================================================================
   DOWNLOAD BUTTONS (Scroll Following)
   ================================================================ */

/* Download Buttons - Scroll Following */
.download-buttons-container {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    z-index: 1000;
    transition: transform 0.1s ease-out;
    will-change: transform;
}

.download-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.025em;
    white-space: nowrap;
    transition: all 0.2s ease;
    height: 50px;
    padding: 0 40px;
    min-width: 200px;
    background: rgba(0, 0, 0, 0.4);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    text-decoration: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

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

.download-btn:focus-visible {
    outline: 2px solid #4c1d95;
    outline-offset: 2px;
}

.download-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.download-btn > div {
    transform: translateY(1px);
}
