* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #66FF0C;
    --primary-light: #7FFF33;
    --primary-dark: #4CAA00;
    --dark-bg: #000000; /* full black for premium look */
    --darker-bg: #000000;
    --text-white: #ffffff;
    --text-gray: #bfbfbf;
    --highlight: #00d4ff;
    --accent-purple: #8B5CF6;
    --accent-blue: #0EA5E9;
    --shadow-sm: 0 3px 12px rgba(0, 0, 0, 0.6);
    --shadow-md: 0 12px 36px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.75);
}

.highlight {
    color: var(--primary-color);
}

html, body {
    overflow-x: hidden !important;
    width: 100%;
}

html {
    font-size: 16px;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-white);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    width: 100%;
    max-width: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

section {
  width: 100%;
}

h1, h2, h3, p {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hero,
.toc-section,
.footer,
.cards,
.grid,
.card {
  width: 100%;
  max-width: 100%;
}

/* ===== HEADER ===== */
header {
    background: #020202;
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-top: 1px solid rgba(102, 255, 12, 0.85);
    border-bottom: 1px solid rgba(102, 255, 12, 0.85);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(102, 255, 12, 0.85);
    box-shadow: none;
    z-index: 1;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.12rem;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--text-white);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    letter-spacing: -0.5px;
    height: 62px;
    width: auto;
    min-width: 0;
    transform: translateY(3px);
}

.logo:hover {
    transform: translateY(2px);
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(102, 255, 12, 0.3);
    cursor: pointer;
}

.logo-wrapper {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    background: transparent;
}

.logo-upload-hint {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s;
    white-space: nowrap;
    pointer-events: none;
}

.logo:hover .logo-upload-hint {
    opacity: 1;
}

/* Uploadable image wrapper and hint */
.upload-wrapper {
    position: relative;
    display: inline-block;
}

.upload-wrapper img {
    display: block;
    max-width: 100%;
    height: auto;
}

.upload-hint {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(0,0,0,0.6);
    color: var(--primary-color);
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 6px;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.upload-wrapper:hover .upload-hint {
    opacity: 1;
}

.logo-icon {
    width: 152%;
    height: 152%;
    object-fit: contain;
    object-position: center;
    border-radius: 50%;
    filter: drop-shadow(0 0 12px rgba(102, 255, 12, 0.3));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    background: transparent;
}

.tight-logo .logo-icon,
.download-page .logo-icon {
    mix-blend-mode: normal;
    filter: drop-shadow(0 0 12px rgba(102, 255, 12, 0.3));
}

.logo:hover .logo-icon {
    filter: none;
    transform: scale(1.05);
}

.logo-text {
    color: var(--text-white);
    font-weight: 750;
    letter-spacing: -0.2px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    font-size: 1.55rem;
    line-height: 1;
    white-space: nowrap;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.42);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 768px) {
    .logo {
        height: 52px;
        gap: 0.5rem;
    }

    .logo-wrapper {
        width: 52px;
        height: 52px;
        margin-right: 0;
    }

    .logo-text {
        font-size: 1.28rem;
        letter-spacing: -0.1px;
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 46px;
        gap: 0.42rem;
    }

    .logo-wrapper {
        width: 44px;
        height: 44px;
    }

    .logo-text {
        font-size: 1.08rem;
        max-width: 145px;
    }
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--text-white); /* higher contrast for accessibility */
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.18s ease, text-shadow 0.18s ease;
    border-bottom: 2px solid transparent;
    position: relative;
}

nav a:hover,
nav a:focus {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(102, 255, 12, 0.18);
    outline: none;
}

/* Mobile nav toggle (hamburger) */

.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.06);
    color: var(--text-white);
    padding: 0.45rem 0.8rem;
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
}

/* Mobile nav open state */
nav.open {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: linear-gradient(180deg, rgba(10,14,39,0.98), rgba(0,0,0,0.98));
    padding: 1rem 1.25rem;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.6);
    z-index: 1200;
}

nav.open ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

nav.open a {
    display: block;
    padding: 0.65rem 0.8rem;
    border-radius: 8px;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(102, 255, 12, 0.3);
}

/* Active/current page link - header and footer */
nav a.active {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(102, 255, 12, 0.18);
}

nav a.active::after {
    width: 100%;
}

.footer-section a.active,
.footer-links a.active {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(102, 255, 12, 0.18);
    text-decoration: underline;
}

.download-btn {
    background: linear-gradient(135deg, rgba(102,255,12,1) 0%, rgba(170,255,120,1) 100%);
    color: #041014;
    padding: 0.9rem 2.25rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.6px;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    cursor: pointer;
    display: inline-block;
    box-shadow: 0 12px 40px rgba(102,255,12,0.14), 0 6px 18px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.04);
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.download-btn:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 30px 90px rgba(102,255,12,0.12), 0 10px 36px rgba(0,0,0,0.6);
}

.download-btn:hover::before {
    left: 100%;
}

/* ===== HOMEPAGE TOC ===== */
.toc-section {
    padding: 1.5rem 1rem 0.5rem;
    background: linear-gradient(180deg, rgba(2, 6, 12, 0.9), rgba(2, 6, 12, 0.3));
}

.toc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.1rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
}

.toc-kicker {
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.toc-title {
    color: var(--text-white);
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.9rem;
}

.toc-menu-toggle {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(102, 255, 12, 0.38);
    background: linear-gradient(135deg, rgba(102, 255, 12, 0.18), rgba(0, 212, 255, 0.18));
    color: var(--text-white);
    font-size: 0.93rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    margin-bottom: 0.7rem;
}

.toc-menu-icon {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.14);
}

.toc-menu-toggle:hover,
.toc-menu-toggle:focus {
    transform: translateY(-1px);
    border-color: rgba(102, 255, 12, 0.58);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    outline: none;
}

.toc-panel {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease;
}

.toc-panel.open {
    max-height: 1200px;
    opacity: 1;
}

.toc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
    gap: 0.65rem;
}

.toc-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.68rem 0.75rem;
    border-radius: 999px;
    text-decoration: none;
    color: var(--text-white);
    font-size: 0.89rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    background: linear-gradient(135deg, rgba(102, 255, 12, 0.1), rgba(0, 212, 255, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.toc-icon {
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.toc-btn:hover,
.toc-btn:focus {
    transform: translateY(-2px);
    color: var(--primary-color);
    border-color: rgba(102, 255, 12, 0.5);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(102, 255, 12, 0.2) inset;
    outline: none;
}

.toc-btn:hover .toc-icon,
.toc-btn:focus .toc-icon {
    background: rgba(102, 255, 12, 0.2);
}

section[id] {
    scroll-margin-top: 95px;
}

@media (max-width: 768px) {
    .toc-section {
        padding: 1.2rem 0.8rem 0.3rem;
    }

    .toc-container {
        padding: 0.9rem;
    }

    .toc-title {
        font-size: 1.15rem;
    }

    .toc-menu-toggle {
        font-size: 0.88rem;
        padding: 0.7rem 0.85rem;
    }

    .toc-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
    }

    .toc-btn {
        font-size: 0.84rem;
        padding: 0.62rem 0.65rem;
        gap: 0.45rem;
    }
}

@media (max-width: 520px) {
    .toc-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(180deg, rgba(2, 6, 12, 0.98), rgba(7, 11, 18, 1));
    color: var(--text-white);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding: 60px 5%;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-left {
    flex: 1;
    min-width: 280px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(102, 255, 12, 0.12);
    box-shadow: 0 20px 80px rgba(0, 255, 0, 0.05);
    border-radius: 32px;
    padding: 2.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    width: 100%;
    justify-content: center;
}

.footer-logo img {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.footer-brand-copy h2 {
    font-size: 2rem;
    margin-bottom: 0;
    letter-spacing: -0.5px;
}

.footer-brand-copy p {
    color: var(--text-gray);
    max-width: 320px;
    line-height: 1.75;
}

.footer-right {
    flex: 2;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-column {
    min-width: 160px;
    display: flex;
    flex-direction: column;
}

.footer-column h3 {
    margin-bottom: 15px;
    text-align: left;
    color: var(--primary-color);
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-column a {
    display: block;
    margin-bottom: 10px;
    text-align: left;
    text-decoration: none;
    color: var(--text-gray);
    transition: color 0.22s ease;
}

.footer-column a:hover {
    color: var(--text-white);
}

.footer-column .social {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-bottom {
    width: 100%;
    margin-top: 30px;
    padding: 18px 0;
    background: var(--primary-color);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: #041014;
    font-weight: 700;
}

@media (max-width: 768px) {
    .footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-right {
        justify-content: center;
    }

    .footer-column {
        align-items: center;
        width: 100%;
        padding: 18px 16px;
        box-sizing: border-box;
    }

    .footer-column h3,
    .footer-column a {
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-left {
        width: 100%;
    }
}

/* Footer column centering override */
.footer-column {
    align-items: center;
}

.footer-column h3,
.footer-column a {
    text-align: center;
}

.footer-column .social {
    align-items: center;
}

/* ===== WHAT IS ONSTREAM SECTION ===== */
.what-is-section {
    background-color: var(--darker-bg);
    padding: 4rem 2rem;
}

.what-is-container {
    max-width: 1200px;
    margin: 0 auto;
}

.what-is-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch; /* ensure both columns take equal height */
}

.what-is-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Ensure grid children fill the full column height so inner boxes match heights */
.what-is-image,
.what-is-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.what-is-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.what-is-image:hover img {
    transform: scale(1.05);
}

@media (min-width: 769px) {
    .what-is-image {
        padding-top: 7rem;
    }
}

.what-is-logo-center {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.what-is-logo-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(102, 255, 12, 0.2), 0 8px 20px rgba(0,0,0,0.6);
    transition: transform 0.3s ease;
}

.what-is-logo-img:hover {
    transform: scale(1.08) translateY(-4px);
}

.what-is-content h2 {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    line-height: 1.2;
    text-align: center;
}

.discover-more {
    background: rgba(102, 255, 12, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

/* Section with a prominent green bar on the left */
.left-bar {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
}

.left-bar p,
.left-bar li {
    color: var(--text-gray);
    line-height: 1.5;
}

/* Improved alert/info card with green left accent, dark background, and rounded corners */
.left-bar-card {
    background-color: rgba(0, 0, 0, 0.6); /* semi-transparent dark tone */
    border-left: 4px solid var(--primary-color);
    padding: 1.75rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.6);
    color: var(--text-white);
    margin: 1.5rem 0;
}

.left-bar-card h3,
.left-bar-card h2 {
    margin-top: 0;
    color: var(--text-white);
}

.left-bar-card p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.discover-more h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.discover-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.discover-list li {
    color: var(--text-gray);
    padding: 0.5rem 0;
    font-size: 0.95rem;
    padding-left: 1.5rem;
    position: relative;
}

.discover-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.what-is-description {
    text-align: left;
    background: rgba(102, 255, 12, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.what-is-points {
    list-style: none;
    padding: 0;
    margin: 1.75rem 0 0;
}

.what-is-points li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.8;
}

.what-is-points li:last-child {
    margin-bottom: 0;
}

.what-is-points li::before {
    content: "✓";
    color: var(--primary-color);
    font-weight: 700;
    margin-top: 0.1rem;
}

/* ===== USER REVIEW ===== */
.user-review {
    padding: 2.5rem 1.5rem;
    background: linear-gradient(180deg, rgba(8,10,20,0.6), rgba(6,8,18,0.65));
}
.user-review-container {
    max-width: 1200px;
    margin: 0 auto;
}
.user-review-pill {
    display: inline-block;
    background: var(--primary-color);
    color: #081126;
    padding: 0.8rem 2.25rem;
    border-radius: 999px;
    font-weight: 900;
    margin: 0 auto 1.5rem auto;
    display: block;
    width: fit-content;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}
.review-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    margin-top: 1.25rem;
}
.review-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.04);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.review-avatar img {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 12px;
    border: 4px solid rgba(102,255,12,0.06);
    box-shadow: 0 8px 30px rgba(0,0,0,0.6);
}
.review-name {
    color: var(--text-white);
    font-weight: 800;
    margin-top: 0.25rem;
}
.review-rating {
    color: var(--primary-color);
    font-weight: 800;
}
.review-text {
    color: var(--text-gray);
    font-size: 0.98rem;
    line-height: 1.7;
    margin-top: 0.5rem;
}

@media (max-width: 780px) {
    .review-grid { grid-template-columns: 1fr; }
    .review-card { min-height: auto; padding: 1.25rem; }
    .user-review { padding: 1.5rem 1rem; }
    .user-review-pill { padding: 0.6rem 1.2rem; }
}

/* ===== VIDEO SECTION ===== */
.video-section {
    padding: 3.4rem 1.1rem;
    background: radial-gradient(circle at 12% 20%, rgba(184, 255, 0, 0.12), transparent 34%),
                radial-gradient(circle at 88% 78%, rgba(0, 212, 255, 0.1), transparent 38%),
                linear-gradient(180deg, #02050d 0%, #04070f 100%);
}
.video-container {
    max-width: 1120px;
    margin: 0 auto;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 18px;
    padding: 2.4rem 1rem 1.2rem;
    background: linear-gradient(145deg, rgba(255,255,255,0.02), rgba(255,255,255,0.008));
    box-shadow: 0 30px 80px rgba(0,0,0,0.62), inset 0 1px 0 rgba(255,255,255,0.06);
}
.video-container h2 {
    font-size: 2.15rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: -0.35px;
}
.video-controls {
    max-width: 900px;
    margin: 0 auto 1.25rem auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    align-items: center;
}

.video-controls.controls-collapsed .video-source-tabs,
.video-controls.controls-collapsed .youtube-input .btn,
.video-controls.controls-collapsed .local-input {
    display: none !important;
}

.video-controls.controls-collapsed .youtube-input {
    max-width: 860px;
}
.video-source-tabs {
    display:flex;
    gap:0.55rem;
    padding: 0.35rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(8, 13, 25, 0.75);
}
.video-source-tabs .source-btn {
    background: rgba(255,255,255,0.015);
    color: #dfe6f2;
    padding: 0.62rem 1rem;
    border-radius: 9px;
    border: 1px solid rgba(255,255,255,0.06);
    cursor: pointer;
    font-weight: 800;
    letter-spacing: 0.2px;
    transition: all 0.25s ease;
}
.video-source-tabs .source-btn.active {
    background: linear-gradient(135deg, #66FF0C 0%, #B8FF00 100%);
    color: #07120f;
    border-color: rgba(184,255,0,0.45);
    box-shadow: 0 8px 24px rgba(102,255,12,0.3);
}
.video-inputs { width:100%; display:flex; justify-content:center; }
.youtube-input {
    display:flex;
    gap:0.55rem;
    align-items:center;
    width:100%;
    max-width:760px;
}
.youtube-input input[type="url"] {
    flex:1;
    padding:0.78rem 0.85rem;
    border-radius:10px;
    border:1px solid rgba(255,255,255,0.1);
    background: rgba(10, 16, 29, 0.9);
    color: var(--text-white);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.youtube-input input[type="url"]::placeholder {
    color: #7f8aa0;
}
.youtube-input input[type="url"]:focus {
    border-color: rgba(184,255,0,0.55);
    box-shadow: 0 0 0 3px rgba(184,255,0,0.14);
}
.youtube-input .btn {
    padding:0.76rem 1.05rem;
    border-radius:10px;
    background: linear-gradient(135deg, #66FF0C 0%, #B8FF00 100%);
    color:#08120e;
    font-weight:800;
    border:1px solid rgba(184,255,0,0.45);
    box-shadow: 0 10px 22px rgba(102,255,12,0.26);
}
.youtube-input .btn:hover {
    transform: translateY(-1px);
}
.local-input input[type="file"] { padding:0.5rem; color:var(--text-white); }
.video-wrapper {
    margin: 0 auto;
    width: 100%;
    max-width: 980px;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 26px 70px rgba(0,0,0,0.65), 0 0 0 1px rgba(184,255,0,0.08);
}
.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.video-wrapper video { width:100%; height:100%; display:block; object-fit:cover; }

@media (max-width: 720px) {
    .video-container {
        padding: 1.8rem 0.8rem 0.9rem;
    }
    .video-container h2 { font-size: 1.45rem; }
    .youtube-input {
        flex-direction: column;
        align-items: stretch;
    }
    .youtube-input .btn {
        width: 100%;
    }
    .video-wrapper { aspect-ratio: 16 / 9; max-width: 100%; }
}

/* ===== DOWNLOAD TILE ===== */
.download-tile {
    margin: 1.25rem 0 1.5rem;
    padding: 1rem;
    background: linear-gradient(180deg, rgba(12,14,28,0.6), rgba(6,8,18,0.6));
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.04);
    box-shadow: 0 12px 36px rgba(0,0,0,0.6);
}
.download-tile-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.6rem 1rem;
}
.download-tile h3 {
    color: var(--text-white);
    font-weight: 900;
    text-align: center;
    margin-bottom: 0.75rem;
}
.download-options {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: stretch;
}
.download-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.02));
    border-radius: 10px;
    color: var(--text-white);
    text-decoration: none;
    width: 220px;
    border: 1px solid rgba(255,255,255,0.03);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.download-option:hover { transform: translateY(-6px); box-shadow: 0 18px 48px rgba(0,0,0,0.6); }
.option-icon { font-size: 2rem; }
.option-label { font-weight: 800; color: var(--primary-color); }
.option-cta { font-size: 0.95rem; color: var(--text-gray); }

@media (max-width: 880px) {
    .download-options { flex-direction: column; gap: 0.75rem; }
    .download-option { width: 100%; }
}



.sys-req-section {
    max-width: 1100px;
    margin: 1.75rem auto;
    padding: 0 1rem;
}
.sys-req-title {
    display: inline-block;
    background: linear-gradient(90deg, rgba(102,255,12,1) 0%, rgba(0,212,255,0.9) 100%);
    color: #041014;
    padding: 12px 20px;
    border-radius: 28px;
    font-weight: 900;
    box-shadow: 0 10px 28px rgba(0,0,0,0.45);
}
.sys-req-wrapper {
    margin-top: 14px;
    display: flex;
    justify-content: center;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.sys-req-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0 10px;
    color: var(--text-white);
    background: transparent;
    min-width: 640px;
    border-radius: 12px;
    overflow: visible;
    box-shadow: var(--shadow-sm);
}

.sys-req-table thead {
    display: table-header-group;
}

.sys-req-table thead tr {
    border: 2px solid var(--primary-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 6px rgba(255,255,255,0.1);
}

.sys-req-table thead th {
    text-align: left;
    padding: 16px 20px;
    background: linear-gradient(90deg, #66FF0C 0%, #4CAA00 100%);
    font-weight: 800;
    color: var(--dark-bg);
    border: none;
    font-size: 0.90rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    word-break: break-word;
}

/* Alternating row colors with clean, professional styling */
.sys-req-table tbody tr {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    background: rgba(10,25,15,0.6);
}

.sys-req-table tbody tr:nth-child(odd) {
    background: rgba(10,25,15,0.5);
    border-left: 3px solid #66FF0C;
}

.sys-req-table tbody tr:nth-child(even) {
    background: rgba(8,20,30,0.5);
    border-left: 3px solid rgba(102,255,12,0.6);
}

.sys-req-table tbody td {
    padding: 16px 20px;
    border-bottom: none;
    color: var(--text-gray);
    vertical-align: middle;
    font-size: 0.95rem;
    line-height: 1.5;
    word-break: break-word;
}
.sys-req-table tbody td:first-child {
    color: var(--primary-color);
    font-weight: 800;
    text-transform: none;
    width: 36%;
    font-size: 1rem;
    background: linear-gradient(90deg, rgba(102,255,12,0.2), rgba(102,255,12,0.08));
    border-radius: 8px 0 0 8px;
    padding: 16px 20px;
}
.sys-req-table tbody td:nth-child(2) {
    color: var(--text-white);
    font-weight: 700;
    background: transparent;
    border-radius: 0;
    padding: 16px 18px;
}
.sys-req-table tbody td:nth-child(3),
.sys-req-table tbody td:nth-child(4) {
    color: var(--text-white);
    font-weight: 700;
}

.sys-req-table tbody tr:nth-child(odd):hover {
    transform: translateY(-2px);
    background: rgba(15,35,20,0.7);
    box-shadow: 0 8px 20px rgba(102,255,12,0.12);
}

.sys-req-table tbody tr:nth-child(even):hover {
    transform: translateY(-2px);
    background: rgba(12,30,40,0.7);
    box-shadow: 0 8px 20px rgba(0,212,255,0.08);
}

.sys-req-table tbody tr:hover td:nth-child(2) {
    background: transparent;
    color: var(--text-white);
}

@media (max-width: 1200px) {
    .sys-req-table thead th,
    .sys-req-table tbody td {
        padding: 14px 14px;
        font-size: 0.9rem;
    }
    .sys-req-table tbody td:first-child {
        font-size: 0.95rem;
    }
}

/* Mobile and tablets: stack rows as cards using data-label attributes */
@media (max-width: 1024px) {
    .sys-req-wrapper {
        overflow-x: visible;
        padding: 0;
    }
    .sys-req-table {
        border-left: none;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
        min-width: 0;
        border-spacing: 0;
    }
    .sys-req-table thead { display: none; }
    .sys-req-table, .sys-req-table tbody, .sys-req-table tr, .sys-req-table td { display: block; width: 100%; }
    .sys-req-table tr { 
        margin-bottom: 12px; 
        border-radius: 8px; 
        padding: 12px; 
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
        transition: all 0.3s ease;
        background: rgba(10,20,25,0.5);
    }
    .sys-req-table tr:nth-child(odd) {
        background: rgba(10,25,15,0.5);
        border-left: 3px solid #66FF0C;
    }
    .sys-req-table tr:nth-child(even) {
        background: rgba(8,20,30,0.5);
        border-left: 3px solid rgba(102,255,12,0.6);
    }
    .sys-req-table tr:nth-child(odd):hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(102,255,12,0.12);
    }
    .sys-req-table tr:nth-child(even):hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0,212,255,0.08);
    }
    .sys-req-table td { 
        padding: 10px 8px; 
        border: none; 
        display: flex; 
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .sys-req-table td::before { 
        content: attr(data-label); 
        display: block; 
        font-weight: 700; 
        color: var(--primary-color); 
        font-size: 0.85rem; 
        text-transform: uppercase; 
        letter-spacing: 0.6px; 
        margin-right: 0; 
        line-height: 1.25;
        flex: 0 0 auto;
    }
    .sys-req-table td:first-child {
        color: var(--primary-color);
        font-weight: 800;
        background: transparent;
        border-radius: 0;
        padding: 10px 12px;
    }
    .sys-req-table td:nth-child(2) { 
        color: var(--text-white); 
        font-weight: 700;
        background: transparent;
        padding: 8px 12px;
        border-radius: 0;
    }
}

@media (min-width: 1025px) {
    .sys-req-wrapper { padding: 0.75rem; }
    .sys-req-table tr { display: table-row; grid-template-columns: none; padding: 0; }
    .sys-req-table td, .sys-req-table th { display: table-cell; }
    /* ensure table rows keep spacing between separate borders */
    .sys-req-table tbody { display: table-row-group; }
}

@media (max-width: 420px) {
    .sys-req-table tr {
        padding: 10px;
    }
    .sys-req-table td {
        padding: 8px 6px;
    }
    .sys-req-table td::before {
        font-size: 0.78rem;
        letter-spacing: 0.45px;
    }
}

.what-is-description h3 {
    font-size: 1.3rem;
    color: var(--text-white);
    margin-bottom: 1rem;
    font-weight: 600;
}

.what-is-description p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    color: var(--text-gray);
    padding: 0.75rem 0;
    padding-left: 1.8rem;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.6;
}

.features-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}



.what-is-section {
    margin-bottom: 4rem;
}

@media (max-width: 768px) {
    .what-is-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .what-is-content h2 {
        font-size: 2rem;
    }

    .discover-more,
    .what-is-description {
        text-align: left;
    }
}

/* ===== WHY CHOOSE IT SECTION ===== */
.why-choose-it {
    background-color: var(--darker-bg);
    padding: 4rem 2rem;
    margin-top: 4rem;
}

.why-choose-it-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== PROS / CONS SECTION ===== */
.pros-cons {
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 50%, #000000 100%);
    padding: 2.5rem 1rem;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.pros-cons::before {
    content: "";
    position: absolute;
    top: -120px;
    left: -120px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184, 255, 0, 0.12), transparent 70%);
    pointer-events: none;
}

.pros-cons-container {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.pros-cons-header {
    text-align: center;
    margin-bottom: 1.25rem;
}

.pros-cons-header h2 {
    margin: 0;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
}

.pros-cons-divider {
    width: 120px;
    height: 2px;
    margin: 0.7rem auto 0;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--primary-color), #FF6B6B);
}

.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    align-items: start;
}

.pros-cons-column {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.pros-cons-title {
    border-radius: 14px;
    text-align: center;
    padding: 0.55rem 0.9rem;
}

.pros-cons-title span {
    display: block;
    font-size: 1.65rem;
    line-height: 1;
    margin-bottom: 0.15rem;
}

.pros-cons-title h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.pros-cons-title p {
    margin: 0.12rem 0 0;
    font-size: 0.88rem;
    font-weight: 600;
}

.pros-title {
    background: linear-gradient(135deg, rgba(184, 255, 0, 0.14), rgba(102, 255, 12, 0.08));
    border: 2px solid var(--primary-color);
}

.pros-title h3,
.pros-title p,
.pros-title span {
    color: var(--primary-color);
}

.cons-title {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.16), rgba(255, 107, 107, 0.08));
    border: 2px solid #FF6B6B;
}

.cons-title h3,
.cons-title p,
.cons-title span {
    color: #FF6B6B;
}

.pros-cons-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.45rem;
}

.pros-cons-list li {
    color: var(--text-gray);
    padding: 0.9rem 1rem;
    font-size: 0.98rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border-radius: 14px;
    line-height: 1.35;
    font-weight: 600;
}

.item-icon {
    font-size: 1.25rem;
    width: 1.6rem;
    min-width: 1.6rem;
    text-align: center;
    line-height: 1;
}

.pros-items li {
    background: linear-gradient(135deg, rgba(184, 255, 0, 0.12), rgba(102, 255, 12, 0.05));
    border: 1px solid rgba(184, 255, 0, 0.45);
}

.cons-items li {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.16), rgba(255, 107, 107, 0.06));
    border: 1px solid rgba(255, 107, 107, 0.52);
}

@media (max-width: 768px) {
    .pros-cons-header h2 {
        font-size: 1.7rem;
    }

    .pros-cons-grid {
        grid-template-columns: 1fr;
    }

    .pros-cons-title h3 {
        font-size: 1.3rem;
    }

    .pros-cons-list li {
        font-size: 0.92rem;
        padding: 0.8rem 0.9rem;
    }
}

.why-choose-it h2 {
    text-align: center;
    font-size: 2.8rem;
    font-weight: bold;
    color: var(--text-white);
    margin-bottom: 3rem;
}

.why-choose-it h2 .highlight {
    color: var(--primary-color);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.why-choose-card {
    background: rgba(102, 255, 12, 0.1);
    border-left: 4px solid var(--primary-color);
    position: relative;
    border-radius: 8px;
    padding: 1.5rem;
    padding-left: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.why-choose-card::before {
    display: none;
}

.why-choose-card:hover {
    background: rgba(102, 255, 12, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(102, 255, 12, 0.2);
}

.why-choose-card:hover::before {
    display: none;
}


.why-choose-card h3 {
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.why-choose-card p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.why-choose-card ul {
    list-style: disc inside;
    margin: 0.9rem 0 0 0.8rem;
    padding: 0;
    color: var(--text-gray);
}

.why-choose-card ul li {
    margin-bottom: 0.4rem;
}

/* ===== FEATURE LINE BOXES (matches attached image) ===== */
.features-line {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

.feature-box {
    display: flex;
    align-items: flex-start;
    gap: 1.4rem;
    padding: 1.2rem 1.6rem;
    border-radius: 10px;
    background: transparent;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-bar {
    width: 8px;
    min-width: 8px;
    height: 72px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 2px;
    box-shadow: 0 6px 18px rgba(102,255,12,0.10);
    flex-shrink: 0;
}

.feature-content {
    flex: 1 1 auto;
    display: block;
}

.feature-content h3 {
    color: var(--primary-color);
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 0.6rem 0;
}

.feature-content p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0;
}

.feature-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(0,0,0,0.6);
}

/* Small screens: collapse to 1 or 2 columns */
@media (max-width: 900px) {
    .features-line {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet range: increase right-side spacing for hero image so it doesn't touch the page border */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero {
        padding-right: 3.5rem; /* increase right padding on tablet */
    }

    .hero .hero-image {
        padding-right: 0;
        justify-content: center;
    }

    .hero .hero-image img {
        display: block;
        max-width: 100%;
        margin: 0 auto; /* ensure proper centering */
    }

    /* Reduce device mockup offset and keep it centered on tablets */
    .hero .device-mockup {
        transform: translate(0, 0) !important;
        max-width: 100% !important;
        min-height: 320px; /* reduce minimum so it fits vertically on tablets */
        margin: 0 auto !important;
    }

    /* Hide any hero overflow that might show a page edge artifact */
    .hero {
        overflow-x: hidden;
    }
}

@media (max-width: 560px) {
    .features-line {
        grid-template-columns: 1fr;
    }
    .feature-bar {
        height: 56px;
    }
}

/* Mobile hero background image */
@media (max-width: 768px) {
    .hero {
        background-image: linear-gradient(rgba(0, 0, 0, 0.26), rgba(0, 0, 0, 0.42)), url('images/hero-section.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-blend-mode: multiply;
        grid-template-columns: 1fr;
        min-height: 80vh;
        position: relative;
    }

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.25);
        z-index: 1;
    }

    .hero-content {
        position: relative;
        z-index: 2;
        text-align: center;
        margin: 0 auto;
        background: transparent;
        box-shadow: none;
        border: none;
        width: 100%;
        max-width: 100%;
        padding: 2rem 1.5rem;
    }

    .hero-image {
        display: none;
    }

    .btn-download,
    .btn-primary {
        margin: 0 auto;
    }

    .cta-buttons {
        justify-content: center;
    }
}

/* Helper to keep existing .why-choose-card compatible */
.why-choose-card .feature-bar {
    width: 6px;
    height: 64px;
}

/* ===== HOW TO USE SECTION ===== */
.how-to-use {
    background-color: var(--darker-bg);
    padding: 4rem 2rem;
    margin-top: 4rem;
}

.how-to-use-container {
    max-width: 1000px;
    margin: 0 auto;
}

.how-to-use h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-white);
    margin-bottom: 3rem;
    text-align: center;
}

.how-to-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 2.5rem;
}

.how-to-column {
    display: block;
}

.how-to-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.how-to-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: flex-start;
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.how-to-list li:last-child {
    margin-bottom: 0;
}

.step-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(102, 255, 12, 0.12);
    border: 1px solid rgba(102, 255, 12, 0.18);
    font-size: 1.25rem;
    color: var(--primary-color);
}

.how-to-list li strong {
    display: block;
    color: var(--text-white);
    margin-bottom: 0.55rem;
    font-size: 1.05rem;
}

.how-to-list li p {
    margin: 0;
    color: var(--text-gray);
}

.compatibility-section {
    background: rgba(102, 255, 12, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: 8px;
}

.compatibility-section::before {
    display: none;
}

.compatibility-section::after {
    display: none;
}

.compatibility-section p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 768px) {
    .how-to-content {
        grid-template-columns: 1fr;
    }
}

/* ===== STANDOUT SECTION ===== */
.standout-section {
    background-color: var(--darker-bg);
    padding: 4rem 2rem;
}

.standout-container {
    max-width: 1200px;
    margin: 0 auto;
}

.standout-intro {
    font-size: 1.1rem;
    color: var(--text-white);
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.standout-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.standout-feature {
    padding: 1.8rem;
    background: linear-gradient(135deg, rgba(102, 255, 12, 0.05) 0%, rgba(10, 14, 39, 0.4) 100%);
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(102, 255, 12, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.standout-feature:hover {
    background: linear-gradient(135deg, rgba(102, 255, 12, 0.1) 0%, rgba(10, 14, 39, 0.5) 100%);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(102, 255, 12, 0.4);
}

.standout-feature h3 {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.standout-feature p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* ===== FEATURES DETAILS SECTION ===== */
.features-details {
    background-color: var(--darker-bg);
    padding: 4rem 2rem;
    margin-top: 4rem;
}

.features-details-container {
    max-width: 1200px;
    margin: 0 auto;
}

.features-details h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-white);
    margin-bottom: 3rem;
    text-align: left;
}

.recommended-requirements {
    margin-top: 2.5rem;
    padding: 1.75rem 1.8rem;
    background: #040405;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 20px 50px rgba(0, 0, 0, 0.25);
}

.recommended-requirements h3 {
    color: #ffffff;
    margin-bottom: 1.25rem;
    font-size: 1.45rem;
}

.recommended-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recommended-list li {
    position: relative;
    margin-bottom: 1rem;
    padding: 1rem 1.2rem 1rem 3.2rem;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 14px;
    color: #cfd8e3;
    line-height: 1.75;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.recommended-list li:last-child {
    margin-bottom: 0;
}

.recommended-list li::before {
    content: '•';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.4rem;
    line-height: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: linear-gradient(135deg, rgba(102, 255, 12, 0.07) 0%, rgba(10, 14, 39, 0.55) 100%);
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid rgba(102, 255, 12, 0.18);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(16px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(102, 255, 12, 0.4);
    background: linear-gradient(135deg, rgba(102, 255, 12, 0.1) 0%, rgba(10, 14, 39, 0.6) 100%);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    color: var(--text-white);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

@media (max-width: 1300px) {
    .features-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    .feature-card {
        padding: 1.6rem;
    }
    .features-details h2 {
        text-align: center;
    }
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

/* ===== DOWNLOAD ONSTREAM SECTION ===== */
.download-onstream {
    background-color: var(--darker-bg);
    padding: 4rem 2rem;
    margin-top: 4rem;
}

.download-onstream-container {
    max-width: 1200px;
    margin: 0 auto;
}

.download-onstream h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    text-align: center;
}

.download-onstream h2 .highlight {
    color: var(--primary-color);
}

.download-onstream-container p {
    color: var(--text-gray);
    font-size: 1rem;
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.download-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.download-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.download-link {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: #000;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: inline-block;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.download-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.download-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(102, 255, 12, 0.3);
    color: #000;
}

.download-link:hover::before {
    left: 100%;
}

.download-link:active {
    transform: translateY(-1px);
    color: #000;
}

/* ===== PREVIOUS VERSIONS SECTION ===== */
.previous-versions {
    background: radial-gradient(circle at 15% 20%, rgba(184, 255, 0, 0.12), transparent 35%),
                radial-gradient(circle at 85% 80%, rgba(0, 212, 255, 0.08), transparent 40%),
                linear-gradient(180deg, #000000 0%, #050505 100%);
    padding: 4.5rem 1.25rem;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

.previous-versions-container {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
    padding: 2.4rem 1.4rem;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    border: 1px solid rgba(184, 255, 0, 0.22);
    box-shadow: 0 28px 70px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.06);
    backdrop-filter: blur(8px);
}

.previous-versions h2 {
    font-size: 2.45rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 2.1rem;
    letter-spacing: -0.4px;
    text-shadow: 0 0 25px rgba(184, 255, 0, 0.12);
}

.previous-versions-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    align-items: center;
    max-width: 560px;
    margin: 0 auto;
}

.version-download-link {
    background: linear-gradient(135deg, #66FF0C 0%, #B8FF00 100%);
    color: #000;
    padding: 1rem 1.4rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    box-shadow: 0 10px 28px rgba(102, 255, 12, 0.22);
    min-width: 420px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(184, 255, 0, 0.45);
    letter-spacing: 0.15px;
}

.version-download-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.version-download-link::after {
    content: '⬇️';
    font-size: 0.95rem;
    line-height: 1;
}

.version-download-link:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 14px 34px rgba(102, 255, 12, 0.34);
}

.version-download-link:hover::before {
    left: 100%;
}

/* ===== INSTALL APK SECTION ===== */
.install-apk {
    background-color: var(--darker-bg);
    padding: 4rem 2rem;
    margin-top: 4rem;
}

.install-apk-container {
    max-width: 1000px;
    margin: 0 auto;
}

.install-apk h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-white);
    margin-bottom: 3rem;
    text-align: center;
}

.install-apk h2 .highlight {
    color: var(--primary-color);
}

.installation-phase {
    background: linear-gradient(135deg, rgba(102, 255, 12, 0.05) 0%, rgba(10, 14, 39, 0.5) 100%);
    border-left: 4px solid var(--primary-color);
    padding: 2.2rem;
    margin-bottom: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 255, 12, 0.2);
}

.installation-phase h3 {
    color: var(--text-white);
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.installation-phase ul {
    list-style-position: inside;
    padding-left: 0;
}

.installation-phase li {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.installation-phase li:last-child {
    margin-bottom: 0;
}

.installation-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(300px, 460px));
    justify-content: center;
    gap: 2.5rem;
    margin: 3rem auto 0;
}

.installation-step {
    background: linear-gradient(135deg, rgba(102, 255, 12, 0.05) 0%, rgba(10, 14, 39, 0.5) 100%);
    border: 1px solid rgba(102, 255, 12, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.installation-step.final-step {
    grid-column: 1 / -1;
}

.installation-step.combined-step {
    display: flex;
    flex-direction: column;
}

.step-detail {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.step-detail + .step-detail {
    margin-top: 1.25rem;
}

.installation-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(102, 255, 12, 0.2);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(102, 255, 12, 0.3);
    flex: 0 0 auto;
}

.step-detail .step-number {
    margin-bottom: 0;
}

.installation-step h3 {
    font-size: 1.2rem;
    color: var(--text-white);
    margin-bottom: 1rem;
    font-weight: 600;
}

.installation-step p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.installation-step p strong {
    color: var(--primary-color);
    font-weight: 600;
}

.step-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    background: rgba(0, 0, 0, 0.3);
    width: 92%;
    margin: 2.25rem auto;
}

.step-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.install-unknown-step-image {
    aspect-ratio: 1.08 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.install-unknown-step-image img {
    width: auto;
    height: 94%;
    max-width: none;
}

.installation-step:hover .step-image img {
    transform: scale(1.05);
}

.installation-step:hover .install-unknown-step-image img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .installation-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .installation-step.final-step {
        grid-column: auto;
    }
}

@media (max-width: 480px) {
    .installation-step {
        padding: 1.15rem;
    }

    .step-detail {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 0.85rem;
    }

    .step-number {
        width: 42px;
        height: 42px;
        font-size: 1.35rem;
    }

    .installation-step p {
        font-size: 0.9rem;
        line-height: 1.65;
    }

    .step-image {
        margin: 1.75rem auto;
    }
}

.installation-phase strong {
    color: var(--primary-color);
}

/* ===== TROUBLESHOOTING SECTION ===== */
.troubleshooting {
    background-color: var(--darker-bg);
    padding: 4rem 2rem;
    margin-top: 4rem;
}

.troubleshooting-container {
    max-width: 1200px;
    margin: 0 auto;
}

.troubleshooting h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-white);
    margin-bottom: 2rem;
    text-align: center;
}

.troubleshooting-intro {
    color: var(--text-gray);
    font-size: 1rem;
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.troubleshooting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.troubleshooting-card {
    background: rgba(102, 255, 12, 0.1);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.troubleshooting-card:hover {
    background: rgba(102, 255, 12, 0.15);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(102, 255, 12, 0.2);
}

.troubleshooting-card h3 {
    color: var(--text-white);
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.troubleshoot-icon {
    display: inline-block;
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.troubleshooting-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

.troubleshooting-outro {
    color: var(--text-gray);
    font-size: 1rem;
    text-align: center;
    line-height: 1.6;
}



/* ===== ALTERNATIVES SECTION ===== */
.alternatives {
    background-color: var(--darker-bg);
    padding: 4rem 2rem;
    margin-top: 4rem;
}

.alternatives-container {
    max-width: 1400px;
    margin: 0 auto;
}

.alternatives h2 {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--text-white);
    margin-bottom: 3.5rem;
    text-align: center;
    letter-spacing: 0.5px;
}

.alternatives h2 .highlight {
    color: var(--primary-color);
}

.alternatives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
}

.alternative-card {
    background: linear-gradient(135deg, rgba(102, 255, 12, 0.08) 0%, rgba(10, 14, 39, 0.6) 100%);
    border: 2px solid rgba(102, 255, 12, 0.3);
    border-radius: 20px;
    padding: 2.8rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.alternative-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 255, 12, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: 0;
}

.alternative-card:hover::before {
    left: 100%;
}

.alternative-card:hover {
    background: linear-gradient(135deg, rgba(102, 255, 12, 0.15) 0%, rgba(10, 14, 39, 0.7) 100%);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 0 40px rgba(102, 255, 12, 0.35), 0 20px 50px rgba(102, 255, 12, 0.15);
    border-color: rgba(102, 255, 12, 0.6);
}

.card-icon {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    display: block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 8px rgba(102, 255, 12, 0.2));
}

.alternative-card:hover .card-icon {
    transform: scale(1.25) rotate(-8deg);
    filter: drop-shadow(0 0 15px rgba(102, 255, 12, 0.5));
}

.alternative-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 800;
    margin: 1rem 0 0;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.alternative-card:hover h3 {
    color: var(--primary-light);
    text-shadow: 0 0 20px rgba(102, 255, 12, 0.5);
}

/* ===== FAQ SECTION ===== */
.faq {
    background-color: var(--darker-bg);
    padding: 5rem 2rem;
    margin-top: 4rem;
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

.faq h2 {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--text-white);
    margin-bottom: 4rem;
    text-align: center;
    letter-spacing: -0.5px;
}

.faq h2 .highlight {
    color: var(--primary-color);
    font-weight: 900;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: transparent;
    border: 1.5px solid rgba(102, 255, 12, 0.3);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    margin-bottom: 0.75rem;
    position: relative;
}

.faq-item:hover {
    background: linear-gradient(135deg, rgba(102, 255, 12, 0.08) 0%, rgba(10, 14, 39, 0.3) 100%);
    border-color: rgba(102, 255, 12, 0.5);
    box-shadow: var(--shadow-md);
}

.faq-item h3 {
    color: var(--text-gray);
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    line-height: 1.5;
}

.faq-item h3::before {
    content: '+';
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 900;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(102, 255, 12, 0.4);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.faq-item.active h3::before {
    content: '−';
    background: rgba(102, 255, 12, 0.1);
    border-color: var(--primary-color);
}

.faq-item p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0;
    margin-top: 1.5rem;
    display: none;
    animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.faq-item.active p {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-item.active {
    background: linear-gradient(135deg, rgba(102, 255, 12, 0.08) 0%, rgba(10, 14, 39, 0.4) 100%);
    border-color: rgba(102, 255, 12, 0.4);
    box-shadow: var(--shadow-md);
}

/* ===== CONCLUSION SECTION ===== */
.conclusion {
    background-color: var(--darker-bg);
    padding: 4rem 2rem;
    margin-top: 4rem;
}

.conclusion-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.conclusion h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-white);
    margin-bottom: 2rem;
}

.conclusion p {
    color: var(--text-gray);
    font-size: 1.05rem;
    line-height: 1.8;
    background: rgba(102, 255, 12, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: 8px;
}

.conclusion p::before {
    display: none;
}

.conclusion p::after {
    display: none;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 55% 45%;
    align-items: stretch;
    gap: 3.5rem;
    padding: 3.5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    overflow: visible;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -8%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(102, 255, 12, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.hero-content {
    align-self: start;
    padding: 1.15rem 1.55rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(102,255,12,0.01));
    border-radius: 18px;
    border: 1px solid rgba(102,255,12,0.06);
    box-shadow: 0 12px 40px rgba(0,0,0,0.6), 0 2px 8px rgba(102,255,12,0.02) inset;
    backdrop-filter: blur(6px);
    max-width: 900px;
    width: 100%;
    overflow: visible;
    max-height: none;
    margin-top: -1.65rem;
}

.hero-content h1 {
    font-size: 2.35rem;
    margin: 0.15rem 0 0.55rem 0;
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: 0px;
    color: var(--text-white);
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
    padding: 0.15rem;
}

.hero-content .subtitle {
    color: var(--primary-light);
    font-weight: 700;
    margin-top: 0.5rem;
    font-size: 1.05rem;
}

.hero-content p:not(.subtitle) {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.55;
    margin-top: 0.45rem;
    max-width: none;
    width: 100%;
    max-height: none;
    overflow: visible;
    white-space: normal;
}

.hero-content h1 .highlight {
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(102, 255, 12, 0.2);
    font-weight: 700;
}

.hero-content p {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin: 0.8rem 0;
}


/* Slightly lift the left-column hero heading to align with right column */
.hero-content h1 {
    margin-top: 0.15rem;
    display: inline-block;
    transform: translateY(-18px);
}
.hero-content .subtitle {
    color: var(--text-white);
    font-size: 0.98rem;
    font-weight: 600;
    margin-top: 0.55rem;
    margin-bottom: 0.55rem;
    line-height: 1.45;
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.9rem;
}

.feature-btn {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: var(--text-white);
    padding: 0.52rem 0.9rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-btn:hover {
    background: transparent;
    color: var(--highlight);
    border-color: var(--highlight);
    transform: translateY(-2px);
}

.cta-buttons {
    margin-top: 2.5rem;
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: #000;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-large {
    padding: 1.3rem 3.5rem !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
}

.btn-download {
    padding: 0.95rem 2.8rem !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    min-width: 300px;
    text-align: center;
    border-radius: 999px;
    letter-spacing: 0.6px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    color: #000 !important;
    box-shadow: 0 10px 30px rgba(102,255,12,0.18);
    border: 2px solid rgba(0,0,0,0.08);
}

.btn-download:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 14px 40px rgba(102,255,12,0.24);
}

.btn-download:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover::before {
    left: 100%;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
    margin: 0.85rem 0 1.05rem;
}

/* Reduce vertical gap between left heading and right logo inside hero */
.hero .hero-content h1 {
    margin-bottom: 0.25rem;
}

.hero .hero-cta {
    margin-top: 0.35rem;
    margin-bottom: 0.75rem;
}

.hero-logo {
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 3s ease-in-out infinite; /* faster movement as requested */
    position: relative;
    cursor: default;
    border-radius: 20px; /* rounded square */
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.12));
    padding: 10px;
    border: 2px solid rgba(102, 255, 12, 0.14);
    box-shadow: 0 6px 30px rgba(102,255,12,0.20), 0 0 90px rgba(102,255,12,0.08), inset 0 -6px 18px rgba(0,0,0,0.6);
}

/* Download hero: centered logo above a large pill-style download button */
.download-hero {
    text-align: center;
    margin: 1.6rem 0 2.4rem;
}
.download-hero .download-logo img {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.6), 0 0 36px rgba(102,255,12,0.08) inset;
    background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.45));
    display: inline-block;
    padding: 8px;
}
.download-hero .download-large {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 1.05rem 3.2rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: 1.05rem;
    text-decoration: none;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    color: #000;
    box-shadow: 0 14px 44px rgba(102,255,12,0.20);
    border: 2px solid rgba(0,0,0,0.08);
}
.download-hero .download-large:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 60px rgba(102,255,12,0.26);
}
.download-hero .download-large .icon { font-size: 1.25rem; }

/* Increase vertical spacing between first hero/heading and following content on non-home pages */
body:not(.home) .page-hero,
body:not(.home) .apk-hero,
body:not(.home) .hero {
    margin-bottom: 2.2rem;
    padding-bottom: 0.6rem;
}

body:not(.home) .page-content {
    margin-top: 1.2rem;
}

/* Slightly more spacing for very small screens */
@media (max-width: 600px) {
    body:not(.home) .page-hero,
    body:not(.home) .apk-hero,
    body:not(.home) .hero {
        margin-bottom: 1.4rem;
    }
    body:not(.home) .page-content {
        margin-top: 0.8rem;
    }
}

/* Compact hero: tighter spacing for specific pages (Download, iOS, FireStick, Smart TV, PC) */
body.compact-hero .page-hero,
body.compact-hero .apk-hero,
body.compact-hero .hero {
    margin-bottom: 0.9rem;
    /* reduce top/bottom padding so the heading sits closer to the header */
    padding: 1.2rem 2rem;
    min-height: 28vh;
}

/* Reduce gap between heading and the download/logo block */
body.compact-hero .download-hero {
    margin: 0.8rem 0 1.2rem;
}

/* Download page: pull the second heading closer to the hero heading */
body.download-page .page-hero {
    min-height: 22vh;
    padding-top: 2.2rem;
    padding-bottom: 2.2rem;
    margin-bottom: 0.4rem;
}

body.download-page .page-content {
    margin-top: 0.6rem;
}

/* Reduce spacing between CTP buttons/hero CTAs */
body.compact-hero .hero-cta,
body.compact-hero .cta-buttons {
    gap: 0.6rem;
    margin-top: 0.6rem;
}

/* Slightly smaller button padding on compact pages */
body.compact-hero .download-large,
body.compact-hero .btn-primary,
body.compact-hero .btn-download {
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

@media (max-width: 600px) {
    body.compact-hero .page-hero,
    body.compact-hero .apk-hero,
    body.compact-hero .hero {
        margin-bottom: 0.6rem;
    }
    body.compact-hero .download-hero {
        margin: 0.6rem 0 0.9rem;
    }

    body.download-page .page-hero {
        min-height: 18vh;
        padding-top: 1.6rem;
        padding-bottom: 1.6rem;
    }

    body.download-page .page-content {
        margin-top: 0.4rem;
    }
}

.hero-logo::after {
    content: '';
    position: absolute;
    inset: -16px;
    border-radius: 24px;
    background: radial-gradient(circle at 50% 40%, rgba(102,255,12,0.28), transparent 55%);
    filter: blur(34px);
    opacity: 1;
    pointer-events: none;
}

/* glossy overlay + animated shimmer sweep */
.hero-logo::before {
    content: '';
    position: absolute;
    left: -60%;
    top: -30%;
    width: 60%;
    height: 160%;
    transform: rotate(-20deg);
    background: linear-gradient(120deg, rgba(255,255,255,0.00) 0%, rgba(255,255,255,0.22) 48%, rgba(255,255,255,0.00) 100%);
    mix-blend-mode: screen;
    opacity: 0.6;
    filter: blur(6px);
    pointer-events: none;
    animation: shine 2.2s linear infinite;
    border-radius: 16px;
}

@keyframes shine {
    0% { transform: translateX(-160%) rotate(-20deg); opacity: 0.35 }
    40% { opacity: 0.9 }
    60% { opacity: 0.9 }
    100% { transform: translateX(160%) rotate(-20deg); opacity: 0.35 }
}

.hero-logo-upload-hint {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85rem;
    color: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s;
    white-space: nowrap;
    pointer-events: none;
}

.hero-logo:hover .hero-logo-upload-hint {
    opacity: 1;
}

.hero-logo-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 14px;
    filter: drop-shadow(0 8px 22px rgba(0,0,0,0.6)) drop-shadow(0 0 14px rgba(102,255,12,0.36));
    transition: transform 0.28s cubic-bezier(.2,.9,.3,1), filter 0.28s ease;
}

.hero-logo:hover .hero-logo-icon {
    transform: translateY(-2px) scale(1.02);
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.65)) drop-shadow(0 0 24px rgba(102,255,12,0.48));
}

.logo-circle {
    display: none;
}

.logo-slash {
    display: none;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

.btn-secondary {
    background-color: transparent;
    color: var(--highlight);
    border: 2px solid var(--highlight);
}

.btn-secondary:hover {
    background-color: var(--highlight);
    color: var(--darker-bg);
}

.hero-image {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

/* Right column: make it half the hero height and keep its position unchanged.
   Shorten from the bottom by limiting the image container and allowing the
   device mockup to fill that reduced height. */
.hero-image {
    height: 100%;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.hero .device-mockup {
    min-height: 0; /* override large minimum height */
    height: 100%; /* fill the shortened right column */
}
.device-mockup {
    width: 100%;
    max-width: 700px;
    background: linear-gradient(135deg, rgba(102, 255, 12, 0.08) 0%, rgba(102, 255, 12, 0.04) 100%);
    border-radius: 20px;
    padding: 14px;
    border: 2px solid rgba(102, 255, 12, 0.18);
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 0 36px rgba(102, 255, 12, 0.14), 0 18px 44px rgba(102, 255, 12, 0.06);
    backdrop-filter: blur(6px);
    margin: 0 auto;
}

.hero .device-mockup {
    margin: 0 auto;
    transform: translate(-70px, 18px);
    max-width: 450px;
    min-height: 560px;
    position: relative;
    z-index: 2;
    padding: 16px;
}

/* Slightly smaller in download/mid section to sit nicely */
.download-onstream .device-mockup {
    max-width: 300px;
    padding: 12px;
}

.device-mockup img {
    width: 100%;
    border-radius: 10px;
    display: block;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ===== SECTION ===== */
section {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

#features {
    max-width: 100%;
    padding: 3rem 2rem;
    background-color: var(--dark-bg);
}

#features > div {
    max-width: 1200px;
    margin: 0 auto !important;
}

#features > div > div {
    border-left: 5px solid var(--primary-color) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    padding: 2.5rem !important;
    border-radius: 15px !important;
}

#features > div > div h3 {
    color: var(--primary-color) !important;
    font-size: 1.3rem !important;
    margin-bottom: 1.5rem !important;
    font-weight: 600 !important;
}

#features > div > div p {
    color: var(--text-gray) !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.section-title .highlight {
    color: var(--primary-color);
}

/* ===== FOOTER ===== */
/* =========================
   FOOTER RESPONSIVE FIX
========================= */
footer,
.footer {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: var(--darker-bg);
    position: relative;
    margin-top: auto;
    border-top: 1px solid #39ff14;
}

/* Footer columns */
.footer-col {
    flex: 1 1 250px;
    max-width: 100%;
}

.footer-content {
    width: 100%;
    max-width: none;
    margin: 0;
}

.footer-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.3px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: var(--text-white); /* improved contrast in footer */
    text-decoration: none;
    transition: color 0.18s ease, text-shadow 0.18s ease;
}

.footer-section a:hover,
.footer-section a:focus {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(102, 255, 12, 0.18);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.copyright {
    color: #000000;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(420px, 10fr) minmax(180px, 0.7fr) minmax(180px, 0.7fr) minmax(180px, 0.7fr);
    gap: 2rem;
    padding: 2rem 2rem 1.5rem;
    min-height: 360px;
    align-items: stretch;
}

.footer-grid > .footer-section {
    position: relative;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    box-shadow: 0 0 16px rgba(57, 255, 20, 0.18);
}

.footer-grid > .footer-section:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
}

.footer-brand {
    padding-right: 5rem;
    min-width: 420px;
}

.footer-logo img {
    width: 96px;
    height: 96px;
    border-radius: 20px;
    object-fit: cover;
    border: 1px solid rgba(102, 255, 12, 0.22);
    box-shadow: 0 0 30px rgba(102, 255, 12, 0.18);
}

.footer-brand-title,
.footer-brand-tag {
    display: block;
    color: var(--text-white);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.2px;
    line-height: 1;
}

.footer-logo > div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-brand-title {
    display: inline-block;
    position: relative;
    white-space: nowrap;
}

.footer-brand-title::after {
    content: '';
    display: none;
    width: 100%;
    height: 2px;
    background: #39ff14;
    margin-top: 6px;
}

.footer-brand-tag {
    margin-top: -0.2rem;
}

.footer-brand-subtitle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    color: var(--text-white);
    font-size: 1rem;
    margin-top: 0.35rem;
    font-weight: 700;
    text-align: center;
}

.footer-brand-subtitle::before,
.footer-brand-subtitle::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: #39ff14;
}

.footer-section h3 {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: var(--primary-color);
    letter-spacing: 0.15px;
}

.footer-section h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 60px;
    height: 2px;
    background: #39ff14;
    box-shadow: 0 0 8px #39ff14;
    border-radius: 2px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 1rem;
}

.footer-section a {
    color: var(--text-white);
    opacity: 0.92;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section a:hover,
.footer-section a:focus {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.social-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(102, 255, 12, 0.12);
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 800;
    box-shadow: 0 0 24px rgba(102, 255, 12, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.social-icon:hover,
.social-icon:focus {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
}

.social-icon[aria-label="Facebook"],
.social-icon.facebook {
    background: radial-gradient(circle at 30% 30%, #5c86d6 0%, #4267B2 55%, #2d4373 100%);
    color: #fff;
}

.social-icon[aria-label="Instagram"],
.social-icon.instagram {
    background: radial-gradient(circle at 30% 35%, #feda75 0%, #fa7e1e 25%, #d6249f 55%, #285AEB 100%);
    color: #fff;
}

.social-icon[aria-label="Twitter"],
.social-icon.twitter {
    background: linear-gradient(135deg, #1DA1F2 0%, #0d95e8 100%);
    color: #fff;
}

.social-icon[aria-label="LinkedIn"],
.social-icon.linkedin {
    background: linear-gradient(135deg, #0077B5 0%, #005582 100%);
    color: #fff;
}

.footer-bottom.footer-copyright-row {
    width: 100%;
    margin: 0;
    padding: 0 1.5rem;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: none;
    box-sizing: border-box;
    background: #39ff14;
    box-shadow: inset 0 8px 18px rgba(57, 255, 20, 0.12);
    position: relative;
}

.footer-bottom.footer-copyright-row p {
    margin: 0;
    color: #000000;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.footer-bottom.footer-copyright-row .back-to-top {
    position: absolute;
    right: 1.5rem;
    bottom: 50%;
    transform: translateY(50%);
}


@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
        padding: 1.5rem;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid > .footer-section {
        border-right: none;
        padding: 0;
    }

    .footer-logo {
        justify-content: flex-start;
    }
}

/* ===== CUSTOM FOOTER OVERRIDES ===== */
.footer {
    background: linear-gradient(180deg, rgba(2, 6, 12, 0.98), rgba(7, 11, 18, 1));
    color: var(--text-white);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding: 60px 5%;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-left {
    flex: 1;
    min-width: 280px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(102, 255, 12, 0.12);
    box-shadow: 0 20px 80px rgba(0, 255, 0, 0.05);
    border-radius: 32px;
    padding: 2.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    width: 100%;
    justify-content: center;
}

.footer-brand-copy {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    text-align: center;
}

.footer-brand-copy h2 {
    font-size: 2rem;
    margin: 0;
    letter-spacing: -0.5px;
    line-height: 1;
}

.footer-brand-copy p {
    color: var(--text-gray);
    max-width: 280px;
    margin: 0;
    line-height: 1.8;
    font-weight: 700;
}

.footer-right {
    flex: 2;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-column {
    min-width: 160px;
    display: flex;
    flex-direction: column;
}

.footer-column h3 {
    margin-bottom: 15px;
    text-align: left;
    color: var(--primary-color);
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-column a {
    display: block;
    margin-bottom: 10px;
    text-align: left;
    text-decoration: none;
    color: var(--text-gray);
    transition: color 0.22s ease;
}

.footer-column a:hover {
    color: var(--text-white);
}

.footer-column .social {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-bottom {
    width: 100%;
    margin-top: 30px;
    padding: 18px 0;
    background: var(--primary-color);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: #041014;
    font-weight: 700;
}

@media (max-width: 768px) {
    .footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-right {
        justify-content: center;
    }

    .footer-column {
        align-items: center;
    }

    .footer-column h3,
    .footer-column a {
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-left {
        width: 100%;
    }
}

/* ===== PAGE CONTENT ===== */
.page-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.page-content h2 {
    font-size: 2rem;
    margin: 1.4rem 0 0.8rem;
    color: var(--primary-color);
    font-weight: 700;
}

.page-content p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Reduce top margin of the first heading inside page content (About/Contact/Policy/etc.) */
.page-content :is(h1,h2,h3):first-of-type {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

/* Even tighter spacing for specific pages */
body.tight-heading .page-content :is(h1,h2,h3):first-of-type {
    margin-top: 0;
    margin-bottom: 0.25rem;
}

/* Tighten download hero logo on specific device pages */
body.tight-logo .download-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

body.tight-logo .download-logo {
    margin-bottom: -10px; /* lift the logo slightly above the button */
    transform: translateY(-6px);
}

/* Mobile: undo the negative overlap to avoid crowding */
@media (max-width: 600px) {
    body.tight-logo .download-logo {
        margin-bottom: 0;
        transform: translateY(0);
    }
}

/* ===== CONTACT FORM ===== */
.contact-form {
    max-width: 600px;
    margin: 2rem auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    border-radius: 5px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-gray);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.15);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    /* Tablet: add extra space between right-column image/logo and page edges */
    header {
        padding-left: 1rem;
        padding-right: 1rem;
        overflow: visible;
    }

    /* Small margin for logo or right-side image when placed in header-container */
    .header-container .logo-wrapper,
    .header-container .hero-logo {
        margin-right: 1rem;
    }

/* ===== HOW TO DOWNLOAD FREE MOVIES SECTION ===== */
.download-movies {
    padding: 5rem 1rem 4rem 1rem;
    background: linear-gradient(180deg, rgba(6,8,25,0.95), rgba(10,14,39,0.95));
    margin-top: 2.25rem;
    position: relative;
    overflow: hidden;
}

/* Decorative top accent line */
.download-movies::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    box-shadow: 0 0 30px rgba(102,255,12,0.4);
}

.download-movies-container {
    max-width: 920px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(8,35,15,0.88), rgba(6,25,10,0.92));
    color: var(--text-gray);
    padding: 3rem 2.5rem;
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.8), 0 0 50px rgba(102,255,12,0.1);
    position: relative;
    border: 3px solid var(--primary-color);
    overflow: hidden;
}

/* Premium background glow effect */
.download-movies-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(102,255,12,0.08), transparent 50%);
    pointer-events: none;
    border-radius: 16px;
}

.download-movies-container::before {
    content: '';
    position: absolute;
    left: 22px;
    top: 24px;
    bottom: 24px;
    width: 5px;
    background: linear-gradient(180deg, rgba(102,255,12,1), rgba(68,190,10,0.92));
    border-radius: 6px;
    box-shadow: 0 0 30px rgba(102,255,12,0.35), 0 0 60px rgba(102,255,12,0.15);
    pointer-events: none;
    z-index: 1;
}

.download-movies h2 {
    font-size: 3rem;
    font-weight: 900;
    margin: 0 auto 1.3rem;
    text-align: center;
    display: block;
    width: 100%;
    color: var(--text-white);
    position: relative;
    z-index: 2;
    text-shadow: 0 0 18px rgba(102,255,12,0.12);
    letter-spacing: -0.5px;
    line-height: 1.1;
    max-width: 1000px;
}

.download-movies-intro {
    max-width: 860px;
    margin: 0 auto 2rem;
    color: rgba(236, 240, 241, 0.95);
    line-height: 1.9;
    font-size: 1rem;
    padding: 1.8rem 2rem;
    background: rgba(9, 14, 24, 0.96);
    border-radius: 24px;
    border: 1px solid rgba(102,255,12,0.2);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
}

.download-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    align-items: stretch;
    padding: 1rem;
    border-radius: 28px;
    background: rgba(7, 11, 19, 0.85);
    border: 1px solid rgba(255,255,255,0.05);
}

.download-step-card {
    background: linear-gradient(180deg, rgba(12, 18, 32, 0.98), rgba(9, 14, 24, 0.95));
    border: 1px solid rgba(102, 255, 12, 0.25);
    border-radius: 28px;
    padding: 2rem 1.6rem;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.4);
    transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease, background 0.32s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 300px;
    backdrop-filter: blur(14px);
}

.download-step-card::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -30%;
    width: 180%;
    height: 180%;
    background: radial-gradient(circle at top right, rgba(0, 212, 255, 0.2), transparent 45%);
    opacity: 0.2;
    pointer-events: none;
}

.download-step-card:hover {
    transform: translateY(-10px);
    border-color: rgba(102, 255, 12, 0.65);
    box-shadow: 0 30px 100px rgba(102, 255, 12, 0.16);
    background: linear-gradient(180deg, rgba(12, 18, 32, 1), rgba(10, 14, 26, 0.98));
}

.step-card-icon {
    width: 74px;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(102, 255, 12, 0.22), rgba(14, 165, 233, 0.12));
    border: 1px solid rgba(102, 255, 12, 0.28);
    font-size: 2.4rem;
    color: var(--primary-color);
    margin: 0 auto 1.4rem;
    transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease;
    box-shadow: inset 0 2px 10px rgba(255, 255, 255, 0.05);
}

.download-step-card:hover .step-card-icon {
    transform: scale(1.16) rotate(4deg);
    background: linear-gradient(135deg, rgba(102, 255, 12, 0.3), rgba(14, 165, 233, 0.18));
    border-color: rgba(102, 255, 12, 0.6);
    box-shadow: 0 0 24px rgba(102, 255, 12, 0.25);
}

.download-step-card h3 {
    margin: 0 0 0.8rem 0;
    color: var(--text-white);
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.download-step-card:hover h3 {
    color: var(--primary-color);
}

.download-step-card p {
    margin: 0;
    color: rgba(245, 247, 250, 0.88);
    line-height: 1.8;
    font-size: 0.97rem;
    flex-grow: 1;
}

/* TEXT */
.download-text {
  text-align: center;
  max-width: 700px;
  margin: auto;
  margin-bottom: 30px;
}

/* DOWNLOAD STEPS SECTION */
.download-steps {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: white;
}

.section-title span {
  color: #66ff14;
}

.section-description {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  color: #ccc;
  line-height: 1.8;
  font-size: 1rem;
}

/* CARDS GRID */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  width: 100%;
}

/* STEP CARD */
.step-card {
  background: linear-gradient(135deg, rgba(2, 6, 23, 0.95), rgba(3, 26, 15, 0.95));
  border: 1px solid rgba(102, 255, 20, 0.4);
  border-radius: 18px;
  padding: 25px;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.23, 1, 0.320, 1);
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(102, 255, 20, 0.15), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.step-card:hover {
  transform: translateY(-8px);
  border-color: rgba(102, 255, 20, 0.7);
  box-shadow: 0 20px 60px rgba(102, 255, 20, 0.2), 0 0 30px rgba(102, 255, 20, 0.15);
}

.step-card:hover::before {
  opacity: 1;
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  display: inline-block;
}

.step-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
  margin-top: 0;
}

.step-card p {
  color: #d0d0d0;
  line-height: 1.7;
  font-size: 0.95rem;
  margin: 0;
}

/* TABLET: 2 COLUMNS */
@media (max-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* MOBILE: 1 COLUMN */
@media (max-width: 576px) {
  .download-steps {
    padding: 40px 15px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-description {
    font-size: 0.95rem;
    margin-bottom: 35px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .step-card {
    padding: 20px;
  }

  .card-icon {
    font-size: 2rem;
  }

  .step-card h3 {
    font-size: 1.1rem;
  }

  .step-card p {
    font-size: 0.9rem;
  }
}

/* GRID (DESKTOP) */
.steps-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* CARD */
.step-box {
  background: #021a0f;
  border: 1px solid #00ff66;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
}

/* Old conflicting rules removed - using new grid design instead */



/* MOBILE: 1 COLUMN */
@media (max-width: 576px) {
  .download-steps {
    padding: 20px 15px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .step-card {
    padding: 15px;
  }

  .section-title {
    font-size: 24px;
  }
}

/* STEPS GRID */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* Cards */
.download-step,
.step-card,
.how-download .card {
  flex: 1 1 300px;
  max-width: 100%;
  width: 100%;
}

@media (max-width: 1200px) {
    .download-steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    /* Download section mobile fix */
    .download-section,
    .steps-section {
        padding: 15px;
    }

    /* Steps container one by one layout */
    .steps-container {
        grid-template-columns: 1fr;
    }

    .step-box {
        width: 100%;
    }

    /* Force vertical layout */
    .download-steps,
    .steps-grid,
    .how-download .row {
        flex-direction: column !important;
    }

    /* Full width cards */
    .download-step,
    .step-card,
    .how-download .card {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 20px !important;
    }

    .download-steps-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .download-step-card {
        padding: 2rem 1.5rem;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .step-card-icon {
        width: 68px;
        height: 68px;
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .download-step-card h3 {
        font-size: 1.05rem;
    }

    .download-step-card p {
        font-size: 0.9rem;
    }
}

.download-movies h2 .highlight {
    color: var(--primary-color);
}
/* inner descriptive box that matches the attached image */
.download-movies-container > p {
    display: block;
    max-width: 820px;
    margin: 0 auto 1rem;
    color: var(--text-gray);
    background: linear-gradient(180deg, rgba(6,20,8,0.92), rgba(4,16,6,0.95));
    border-radius: 10px;
    padding: 24px 28px 24px 42px;
    line-height: 1.85;
    border: 1px solid rgba(0,0,0,0.35);
    position: relative;
}
.download-movies-container > p::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 12px;
    bottom: 12px;
    width: 4px;
    background: linear-gradient(180deg, rgba(102,255,12,1), rgba(68,190,10,0.92));
    border-radius: 4px;
    box-shadow: 0 0 18px rgba(102,255,12,0.28);
}

/* Old list-based layout removed - using new grid card design */

.download-note { 
    margin-top: 1.5rem; 
    color: var(--text-gray); 
    font-weight: 600; 
    text-align: center;
    padding: 1rem;
    border-top: 1px solid rgba(102,255,12,0.2);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (min-width: 860px) {
    /* Using new grid layout */
}

@media (max-width: 720px) {
    .download-movies { padding: 1.6rem 0.8rem; }
    .download-movies h2 { font-size: 2rem; }
    .download-movies-container::before { left: 12px; top: 12px; bottom: 12px; width: 4px; }
    .download-movies p { padding-left: 28px; }
}
    .header-container {
        flex-wrap: nowrap;
        gap: 0.75rem;
        align-items: center;
    }

    nav ul {
        gap: 1rem;
    }

    /* Hide desktop nav links by default on mobile; toggle via JS */
    nav ul {
        display: none;
    }

    .mobile-nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        margin-left: auto; /* push hamburger to the right */
        order: 2;
        flex: 0 0 auto;
        font-size: 0.92rem;
        padding: 0.45rem 0.7rem;
        white-space: nowrap;
    }

    /* Ensure logo stays left of the toggle */
    .logo {
        order: 1;
        flex: 1 1 auto;
        min-width: 0;
        height: 50px;
        gap: 0;
        padding-left: 0;
    }

    .logo-wrapper {
        width: 40px;
        height: 40px;
    }

    .logo-text {
        font-size: 1.24rem;
        font-weight: 750;
        letter-spacing: 0.32px;
        margin-left: -3px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .logo-upload-hint {
        display: none;
    }

    nav a {
        font-size: 0.8rem;
    }

    .download-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 2rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-image {
        display: none;
    }

    .hero::before {
        width: 300px;
        height: 300px;
        right: -10%;
        top: -20%;
    }

    .features {
        gap: 0.5rem;
    }

    .feature-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    /* Make download buttons and large CTAs full width on smaller screens */
    .download-link,
    .version-download-link,
    .btn-download,
    .btn-primary {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Reduce heavy mockup sizes for mobile to avoid overflow */
    .device-mockup {
        max-width: 420px;
        min-height: 300px;
        margin: 1rem auto 0;
        transform: none;
    }

    /* Tidy hero content spacing on tablets/large phones */
    .hero-content {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 0.85rem;
    }

    .header-container {
        flex-wrap: nowrap;
        gap: 0.55rem;
    }

    .logo {
        font-size: 1rem;
        flex: 1 1 auto;
        margin-right: 0;
        gap: 0;
        height: 46px;
        padding-left: 0;
    }

    .logo-wrapper {
        width: 34px;
        height: 34px;
    }

    .logo-text {
        font-size: 1.12rem;
        font-weight: 750;
        letter-spacing: 0.24px;
        margin-left: -4px;
    }

    /* Use mobile hamburger on very small screens as well */
    nav ul {
        display: none;
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    /* Show compact menu button on very small screens */
    .mobile-nav-toggle {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.4rem 0.6rem;
        border-radius: 8px;
        background: rgba(255,255,255,0.04);
        border: 1px solid rgba(255,255,255,0.06);
        color: var(--text-white);
        font-size: 0.88rem;
    }

    .download-btn {
        width: 100%;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        text-align: center;
        width: 100%;
    }

    /* Ensure version download button doesn't force horizontal scroll */
    .version-download-link {
        min-width: 0;
        width: 100%;
    }

    /* Smaller device mockup on narrow phones */
    .device-mockup {
        max-width: 320px;
        min-height: 220px;
        padding: 10px;
    }

    /* Reduce global padding to fit small screens better */
    section, .what-is-section, .why-choose-it, .features-details, .download-onstream {
        padding: 2rem 1rem;
    }
}

/* Global section rhythm: tighten vertical gaps site-wide without over-compressing content */
body > section + section {
    margin-top: 2.4rem !important;
}

@media (max-width: 768px) {
    body > section + section {
        margin-top: 1.6rem !important;
    }
}

/* Global responsive fix */
* {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  max-width: 100%;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 0 15px;
}

.row {
  display: flex;
  flex-wrap: wrap;
}

[class*="col"] {
  flex: 1;
  min-width: 250px;
}

footer, .footer {
  text-align: center;
}

footer .row,
.footer .row {
  flex-direction: column;
  gap: 20px;
}

footer .col,
.footer .col {
  width: 100%;
}

@media (max-width: 768px) {
  .footer,
  footer {
    text-align: center;
  }

  .footer .row,
  footer .row {
    flex-direction: column;
    gap: 20px;
  }

  .footer .col,
  footer .col {
    width: 100%;
  }
}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 10px;
  }
}

button, .btn {
  width: auto;
  max-width: 100%;
}

/* Custom smart-tv footer styles */
.footer {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 60px 5%;
  align-items: start;
}

.footer-left {
  display: flex;
  align-items: center;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-column h3 {
  margin-bottom: 15px;
  text-align: left;
}

.footer-column a {
  display: block;
  margin-bottom: 10px;
  text-align: left;
  text-decoration: none;
}

.footer-column .social {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

@media (max-width: 900px) {
  .footer {
    grid-template-columns: 1fr 1fr;
    text-align: center;
  }

  .footer-left {
    justify-content: center;
  }

  .footer-column {
    align-items: center;
  }

  .footer-column h3,
  .footer-column a {
    text-align: center;
  }
}

@media (max-width: 500px) {
  .footer {
    grid-template-columns: 1fr;
  }
}

h1 {
  font-size: 26px;
}

h2 {
  font-size: 22px;
}

h3 {
  font-size: 18px;
}

@media (max-width: 768px) {
  h1 {
    font-size: 22px;
    line-height: 1.3;
  }

  h2 {
    font-size: 20px;
  }

  .row {
    flex-direction: column;
  }

  .container {
    padding: 0 12px;
  }
}

@media (max-width: 768px) {
    /* Footer mobile fix */
    footer,
    .footer {
        flex-direction: column;
    }

    .footer-col {
        width: 100%;
        text-align: center;
    }
}


    /* Social icons center */
    .social-icons {
        display: flex;
        justify-content: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
  h1, h2 {
    font-size: 20px;
    line-height: 1.3;
    text-align: center;
  }

  p {
    font-size: 14px;
    text-align: center;
  }

  h3 {
    font-size: 16px;
  }

  .row {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

/* =========================
   FIX CUTTING ISSUE
========================= */
.container,
.section,
.wrapper {
  max-width: 100%;
  width: 100%;
  overflow: hidden;
}

/* Remove any fixed width issue */
[class*="col"],
[class*="grid"] {
  max-width: 100% !important;
}

/* Images fix */
img {
  max-width: 100%;
  height: auto;
}

/* ===== PRODUCTION RESPONSIVE OVERRIDES ===== */
body.mobile-nav-open {
  overflow: hidden;
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
  z-index: 1090;
}

body.mobile-nav-open .mobile-nav-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (max-width: 768px) {
  header {
    z-index: 1300;
  }

  .header-container {
    max-width: 100%;
    position: relative;
  }

  .mobile-nav-toggle {
    min-height: 42px;
    touch-action: manipulation;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  }

  .mobile-nav-toggle[aria-expanded="true"] {
    background: rgba(102, 255, 12, 0.12);
    border-color: rgba(102, 255, 12, 0.55);
    color: var(--primary-color);
  }

  #mainNav {
    position: fixed;
    top: clamp(72px, 12vh, 96px);
    left: 1rem;
    right: 1rem;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    padding: 0;
    background: linear-gradient(180deg, rgba(3, 8, 5, 0.98), rgba(0, 0, 0, 0.98));
    border: 1px solid rgba(102, 255, 12, 0.28);
    border-radius: 14px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.72), 0 0 24px rgba(102, 255, 12, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
    z-index: 1400;
  }

  #mainNav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  #mainNav ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 0.55rem;
  }

  #mainNav a {
    display: block;
    width: 100%;
    padding: 0.85rem 0.95rem;
    border-radius: 10px;
    font-size: 0.96rem;
  }

  #mainNav a::after {
    display: none;
  }

  #mainNav a.active,
  #mainNav a:hover,
  #mainNav a:focus {
    background: rgba(102, 255, 12, 0.1);
  }

  .hero,
  .page-hero,
  .apk-hero {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-cta,
  .cta-buttons {
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
  }

  .hero .btn,
  .hero .btn-primary,
  .hero .btn-download,
  .page-hero .btn,
  .download-hero .download-large,
  .apk-hero .download-large {
    width: auto;
    min-width: min(220px, 100%);
    max-width: 100%;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .page-content,
  .content-section,
  .download-section,
  .toc-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 520px) {
  .hero .btn,
  .hero .btn-primary,
  .hero .btn-download,
  .page-hero .btn,
  .download-hero .download-large,
  .apk-hero .download-large {
    width: auto;
    min-width: 0;
    max-width: calc(100vw - 2rem);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }

  .page-hero {
    min-height: 34vh;
  }

  .page-hero h1,
  .hero-content h1 {
    overflow-wrap: anywhere;
  }
}

@media (min-width: 1440px) {
  .header-container,
  .install-apk-container,
  .page-content {
    max-width: min(1200px, calc(100vw - 4rem));
  }
}

/* Home install guide: mobile overflow fix */
@media (max-width: 768px) {
  .install-apk {
    padding: 2.5rem 1rem;
    margin-top: 2.5rem;
    overflow: hidden;
  }

  .install-apk-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .install-apk h2 {
    font-size: clamp(1.55rem, 7vw, 2rem);
    line-height: 1.2;
    margin-bottom: 1.4rem;
    overflow-wrap: anywhere;
  }

  .install-apk-container > p {
    max-width: 34rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 1rem;
    line-height: 1.75;
  }

  .installation-steps {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    gap: 1.35rem;
    margin-top: 1.8rem;
  }

  .installation-step {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    padding: 1.15rem;
  }

  .installation-step:hover {
    transform: none;
  }

  .step-detail {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 0.85rem;
    width: 100%;
    min-width: 0;
  }

  .step-detail p,
  .installation-step p {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
    text-align: left;
    margin-bottom: 0;
  }

  .step-image,
  .install-unknown-step-image {
    width: 100%;
    max-width: 100%;
    aspect-ratio: auto;
    margin: 1.25rem auto;
    display: block;
    overflow: hidden;
  }

  .step-image img,
  .install-unknown-step-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    transform: none;
  }

  .installation-step:hover .step-image img,
  .installation-step:hover .install-unknown-step-image img {
    transform: none;
  }
}

@media (max-width: 420px) {
  .install-apk {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .installation-step {
    padding: 1rem;
  }

  .step-detail {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 0.7rem;
  }

  .step-number {
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
  }
}

/* Home page section spacing cleanup */
body.home .what-is-section,
body.home .features-details,
body.home .download-section,
body.home .install-apk,
body.home .how-to-use,
body.home .user-reviews,
body.home .not-working,
body.home .download-steps,
body.home .faq {
  margin-top: 0 !important;
}

body.home .what-is-section,
body.home .features-details,
body.home .install-apk,
body.home .how-to-use,
body.home .faq {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

body.home .what-is-section {
  margin-bottom: 0;
}

body.home .previous-versions {
  padding-bottom: 1.5rem;
}

body.home .previous-versions + .install-apk {
  padding-top: 1.5rem;
}

@media (max-width: 768px) {
  body.home .what-is-section,
  body.home .features-details,
  body.home .install-apk,
  body.home .how-to-use,
  body.home .faq {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  body.home .features-details h2,
  body.home .faq h2 {
    margin-bottom: 1.7rem;
  }

  body.home .what-is-image {
    padding-top: 0;
    margin-top: 0.5rem;
  }

  body.home .previous-versions {
    padding-bottom: 1rem;
  }

  body.home .previous-versions + .install-apk {
    padding-top: 1rem;
  }
}


