/* Base Reset & Variables */
:root {
    --bg-dark: #0a0a0a;
    --text-primary: #ffffff;
    --text-dim: #888888;
    --accent: #2d2d2d;
    --glass-bg: rgba(20, 20, 20, 0.65);
    --glass-border: rgba(255, 255, 255, 0.08);
}

/* Custom Premium Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Firefox Support */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) var(--bg-dark);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Glassmorphic Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.nav-brand {
    font-weight: 900;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* Typography & Buttons */
.accent-text {
    background: linear-gradient(135deg, #ffffff, #666666);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-primary,
.btn-primary-small,
.btn-download {
    background: var(--text-primary);
    color: var(--bg-dark);
    text-decoration: none;
    font-weight: 800;
    border-radius: 40px;
    transition: transform 0.3s ease, background 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-primary-small {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn-download {
    padding: 14px 28px;
    font-size: 0.95rem;
}

.btn-primary:hover,
.btn-primary-small:hover,
.btn-download:hover {
    transform: translateY(-2px);
    background: #eaeaea;
}

.btn-download.outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-download.outline:hover {
    background: rgba(255, 255, 255, 0.05);
}

.section-padding {
    padding: 120px 5%;
}

@media (max-width: 900px) {
    .section-padding {
        padding: 80px 5%;
    }
}

.section-badge {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--text-dim);
    margin-bottom: 15px;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 50px;
}

@media (max-width: 900px) {
    .section-title {
        font-size: 2rem;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 5% 40px;
    margin-top: 0;
}

@media (max-width: 900px) {
    .hero {
        padding: 100px 5% 40px;
    }
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 30px;
    background: var(--glass-bg);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

@media (max-width: 900px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

.hero-subtitle {
    color: var(--text-dim);
    font-size: 1.2rem;
    max-width: 500px;
    margin-bottom: 40px;
}

/* Mockup CSS art */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    border-radius: 40px;
    background: linear-gradient(145deg, #1f1f1f, #050505);
    border: 8px solid #222;
    box-shadow: -20px 20px 60px rgba(0, 0, 0, 0.8), inset 0 0 0 2px #444;
    position: relative;
    overflow: hidden;
    transform: rotate(5deg) translateY(-20px);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
}

.app-replica {
    width: 100%;
    height: 100%;
    position: relative;
    background: #000;
    overflow: hidden;
    z-index: 10;
    border-radius: 32px;
    /* strictly enforce rounded corners clamping videos natively */
}

.replica-feed {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    z-index: 1;
}

.sim-video {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    object-position: center;
    transition: object-fit 0.4s ease;
}

.sim-video.cover {
    object-fit: cover;
}

.sim-video.contain {
    object-fit: contain;
}

.replica-ui {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 50;
    display: flex;
    flex-direction: column;
}

.r-topbar {
    position: absolute;
    top: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    z-index: 60;
}

.r-logo-text {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.r-gear {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 36px;
    height: 36px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    pointer-events: auto;
    cursor: pointer;
    position: absolute;
    right: 20px;
}

.r-bottom-dock {
    position: absolute;
    bottom: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 60;
}

.dock-pill {
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 12px 24px;
    border-radius: 30px;
    display: flex;
    gap: 24px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#btnLike.liked {
    fill: #ff2b54;
    stroke: #ff2b54;
}

/* Pause Overlay mapping */
.r-pause-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 55;
}

.r-pause-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.r-play-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.r-floating-resize {
    position: absolute;
    bottom: 105px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
}

/* Replica Modal */
.replica-modal {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    padding: 24px 20px 40px;
    z-index: 100;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: auto;
    transform: translateY(100%);
}

.replica-modal.open {
    transform: translateY(0);
}

.r-drag-handle {
    width: 40px;
    height: 5px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    margin: 0 auto 20px;
}

.r-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.r-close-modal {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.r-modal-section {
    margin-bottom: 24px;
}

.r-segment {
    display: flex;
    background: #1a1a1a;
    padding: 3px;
    border-radius: 8px;
}

.r-seg-btn {
    flex: 1;
    padding: 6px;
    text-align: center;
    font-size: 10px;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 6px;
}

.r-seg-btn.active {
    background: #fff;
    color: #000;
    font-weight: bold;
}

.r-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1a1a1a;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid #333;
}

.r-action.active {
    background: #fff;
    border-color: #fff;
}

.r-icon-circle {
    width: 24px;
    height: 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Touch Cursor */
.touch-cursor {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    opacity: 0;
    z-index: 100;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(1);
    transition: top 0.6s ease, left 0.6s ease, opacity 0.3s ease;
}

.touch-cursor.click {
    animation: clickRipple 0.5s ease-out;
}

@keyframes clickRipple {
    0% {
        transform: translate(-50%, -50%) scale(1);
        background: rgba(255, 255, 255, 0.8);
    }

    40% {
        transform: translate(-50%, -50%) scale(0.6);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0;
    }
}

/* Top Banner Hint */
.top-hint {
    position: fixed;
    top: 90px;
    /* a little further below the navbar */
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(18, 18, 18, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    white-space: normal;
    text-align: center;
    max-width: 90%;
    width: auto;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.top-hint.hidden {
    opacity: 0;
    transform: translateX(-50%) translateY(-12px);
    pointer-events: none;
}

/* Countdown border — shrinks from full width to 0 */
.top-hint::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 100%;
    background: rgba(255, 255, 255, 0.35);
    animation: hintCountdown 20s linear forwards;
}

@keyframes hintCountdown {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

.top-hint-icon {
    flex-shrink: 0;
    font-style: normal;
    font-size: 0.9rem;
}

.top-hint-close {
    position: relative;
    margin-left: 6px;
    cursor: pointer;
    opacity: 0.5;
    font-size: 0.75rem;
    transition: opacity 0.2s;
    pointer-events: auto;
}

.top-hint-close:hover {
    opacity: 1;
}

@media (max-width: 600px) {
    .top-hint {
        top: 80px;
        padding: 14px 34px 14px 16px;
        /* Extra right padding for the close button */
        font-size: 0.8rem;
        border-radius: 30px;
        /* Fully curved like desktop */
        gap: 8px;
        width: calc(100% - 40px);
        white-space: normal;
        max-width: none;
        align-items: flex-start;
        /* Better alignment for wrapped text */
        text-align: left;
    }

    .top-hint-icon {
        font-size: 0.85rem;
        margin-top: 2px;
        /* Aligns emoji with the first line of text */
    }

    .top-hint-close {
        position: absolute;
        top: 10px;
        right: 14px;
        margin-left: 0;
    }
}

/* Community Hub */
.community {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.reviews-section {
    width: 100%;
}

.review-mask-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.review-mask-wrapper::before,
.review-mask-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 200px; /* Deep coverage for card outlines */
    z-index: 10;
    pointer-events: none;
}

.review-mask-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #0a0a0a 0%, transparent 100%);
}

.review-mask-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #0a0a0a 0%, transparent 100%);
}

.review-grid {
    /* Mask removed for legacy browser stability; handled by Anchored Overlays above */
}

.community-sub {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 40px;
    max-width: 600px;
}

/* Review Grid & Carousel */
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* Horizontal Carousel State */
.review-carousel {
    display: flex !important;
    gap: 25px;
    padding: 10px 0 30px;
    margin: 30px 0 0;
    width: max-content;
    animation: marquee 60s linear infinite;
    /* Slightly slower for better readability */
    will-change: transform;
    pointer-events: auto;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    perspective: 1000px;
}

@keyframes marquee {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}

@media (max-width: 600px) {
    .review-carousel .review-card {
        min-width: 180px;
        /* Experimental compact width */
        padding: 14px;
        font-size: 0.8rem;
    }
}

.review-carousel .review-card {
    min-width: 350px;
    max-width: 400px;
    scroll-snap-align: start;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .review-carousel .review-card {
        width: 210px;
        min-width: 210px;
        padding: 16px;
        font-size: 0.85rem;
        border-radius: 20px;
    }
}

.review-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.04);
    /* Subtler border to prevent vertical line feel */
    border-radius: 20px;
    padding: 25px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.empty-state {
    border: 1px dashed rgba(255, 255, 255, 0.15);
    background: transparent !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.review-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.review-version {
    font-size: 0.7rem;
    color: #4ade80;
    /* Premium Green */
    background: rgba(74, 222, 128, 0.1);
    padding: 2px 8px;
    border-radius: 20px;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(74, 222, 128, 0.15);
}

.review-author {
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
}

.review-date {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

.review-content {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Community Action Grid */
.community-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.community-card {
    position: relative;
    background: rgba(15, 15, 15, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 35px 30px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.community-card:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.15);
    transform: scale(1.02);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
    transition: opacity 0.5s;
    opacity: 0;
}

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

.community-card h3 {
    font-size: 1.4rem;
    margin: 15px 0 10px;
    color: #fff;
}

.community-card p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 25px;
}

.card-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: opacity 0.2s;
}

.card-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.icon-pink {
    color: #ff2a5f !important;
}

.icon-blue {
    color: #2a9d8f !important;
}

/* Utilities */
.spacer-large {
    height: 80px;
}

@media (max-width: 900px) {
    .community-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Feedback Modal Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 2000;
    display: none;
    /* Toggled by JS */
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-overlay.active .modal-panel {
    transform: translateY(0);
}

.modal-panel {
    background: rgba(18, 18, 18, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border-radius: 32px;
    width: 100%;
    max-width: 480px;
    padding: 30px;
    /* Entrance animation start state */
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: none;
}

.modal-panel::-webkit-scrollbar {
    display: none;
}


.modal-overlay.active .modal-panel {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.modal-title {
    font-size: 1.5rem;
    /* Slightly smaller for compactness */
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.modal-close {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #888;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Support Modal Specifics */
.support-panel {
    max-width: 800px; /* Widened for side-by-side desktop layout */
}

@media (max-width: 768px) {
    .support-panel {
        max-width: 480px; /* Force back to standard width on smaller screens */
    }
}

.modal-viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 20px;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Mobile-First Slider Track */
.modal-slider-track {
    display: flex;
    flex-direction: row;
    width: 200%;
    transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
    align-items: flex-start; /* Allow items to have different heights */
    gap: 0;
}

.modal-column, .support-options {
    width: 50% !important;
    padding: 0 10px;
    flex: none !important;
}

.modal-slider-track.step-2-active {
    transform: translateX(-50%);
}

@media (min-width: 768px) {
    .modal-viewport {
        overflow: visible;
        border-radius: 0;
    }

    .modal-slider-track {
        width: 100%;
        transform: none !important;
        gap: 40px;
    }

    .modal-column, .support-options {
        width: auto !important;
        flex: 1 !important;
        padding: 0;
    }

    .mobile-only {
        display: none !important;
    }
}

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

.support-hint {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 24px;
}

@media (max-width: 900px) {
    .support-hint {
        background: none;
        border: none;
        padding: 0;
    }
}

.hint-badge {
    font-size: 0.6rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent); /* Premium highlight */
    margin-bottom: 12px;
}

.support-hint p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.support-security-note {
    font-size: 0.75rem;
    color: #555;
    margin-top: 10px;
}

.hint-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.h-feat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
}

.h-feat i {
    color: var(--accent);
}

.support-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.support-options .section-label {
    font-size: 0.65rem;
    font-weight: 800;
    color: #777;
    margin-bottom: 12px;
    letter-spacing: 0.08em;
}

.custom-amount-wrapper {
    margin-top: 25px;
}

/* Free-input contribution UI */
.support-free-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.5;
}

.free-input-wrapper {
    margin-top: 0;
}

.free-input-row {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.free-input-row:focus-within {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.free-currency-symbol {
    padding: 0 16px 0 20px;
    font-size: 1.6rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.25);
    user-select: none;
}

.free-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 18px 20px 18px 0;
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    outline: none;
    font-family: inherit;
}

.support-note {
    text-align: center;
    font-size: 0.78rem;
    color: #444;
    margin-top: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.custom-amount-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 20px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    transition: all 0.3s;
    font-family: inherit;
    outline: none;
}

.custom-amount-input:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.custom-amount-input::placeholder {
    color: #444;
}

/* Hide arrows/spinners for number input */
.custom-amount-input::-webkit-outer-spin-button,
.custom-amount-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.support-tier {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.support-tier:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.support-tier.active {
    background: #fff;
    border-color: #fff;
}

.support-tier.active .tier-name,
.support-tier.active .tier-price {
    color: #000;
}

.tier-name {
    font-weight: 700;
    font-size: 0.95rem;
}

.tier-price {
    font-weight: 800;
    color: #fff;
    font-size: 1.1rem;
}

/* Form Styling */
.feedback-form .form-group {
    margin-bottom: 15px;
    /* Compacted */
}

.feedback-form label {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    color: #777;
    margin-bottom: 6px;
    letter-spacing: 0.08em;
}

.feedback-form input,
.feedback-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 16px;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.3s;
    font-family: inherit;
}

/* Custom Select Styling */
.custom-select {
    position: relative;
    width: 100%;
}

.select-trigger {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 16px;
    color: #fff;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.select-trigger:hover,
.custom-select.active .select-trigger {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.select-options {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    background: rgba(25, 25, 25, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.custom-select.active .select-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.option-item {
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.option-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.option-item.latest {
    color: var(--accent);
}

.feedback-form input:focus,
.feedback-form textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--accent);
}

/* Success State */
.feedback-success {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    font-size: 4rem;
    color: #4caf50;
    margin-bottom: 20px;
}

.feedback-success p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

@media (max-width: 600px) {
    .modal-panel {
        padding: 30px 24px;
        border-radius: 24px;
    }

    .modal-title {
        font-size: 1.5rem;
    }
}

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

@media (max-width: 900px) {
    .thesis-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.thesis-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: clamp(25px, 5vw, 40px);
    border-radius: 24px;
}

.card-icon {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 20px;
}

.thesis-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.thesis-card p {
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* Features Section Upgrades */
.features {
    display: flex;
    flex-direction: column;
    gap: 120px; /* Restored generous breathing room */
}

.feature-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px; /* Restored premium desktop gap */
}

.feature-row:nth-child(even) {
    flex-direction: row-reverse; /* Restored alternating pattern */
}

@media (max-width: 900px) {
    .features {
        gap: 60px;
    }

    .feature-row, .feature-row:nth-child(even) {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
}

.feature-text {
    flex: 1;
}

.feature-desc {
    color: var(--text-dim);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.feature-pill-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pill {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
}

.pill i {
    color: var(--accent); /* Consistent green for technical confirmation */
    font-size: 1.1rem;
}

.feature-visual {
    flex: 1;
    position: relative;
    border-radius: 32px;
    padding: 30px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(circle at top left, rgba(255,255,255,0.03) 0%, transparent 70%);
}

/* Glass Panels & Mock UI */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}

.mock-ui {
    width: 240px;
    background: #0d0d0d;
    border-radius: 20px;
    padding: 12px;
    border: 1px solid #222;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.feature-row:hover .mock-ui {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

/* Chapter 1: Engine Visuals */
.sync-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    margin-bottom: 8px;
    border: 1px solid transparent;
    transition: all 0.3s;
}

.sync-item.active {
    background: #fff;
    color: #000;
}

.sync-item.active i { color: #000; }

.sync-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: ripple 4s infinite;
}

/* Chapter 2: Performance Core Visuals */
.performance-meter {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.meter-line {
    background: rgba(255,255,255,0.05);
    height: 12px;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.meter-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: #fff;
    border-radius: 6px;
    width: 0;
    transition: width 2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active .meter-fill.f-80 { width: 80%; }
.reveal.active .meter-fill.f-20 { width: 22%; } /* Efficient ram usage */

.hardware-node {
    position: absolute;
    padding: 12px 20px;
    background: #fff;
    color: #000;
    border-radius: 40px;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 5;
}

/* Chapter 3: Gesture Visuals */
.gesture-icon-burst {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 43, 84, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 43, 84, 0.3);
    animation: burst 2s infinite;
}

.gesture-icon-burst i {
    color: #ff2b54;
    font-size: 2rem;
}

@keyframes ripple {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0; }
}

@keyframes burst {
    0% { transform: scale(0.5); opacity: 0; }
    50% { opacity: 1; transform: scale(1.1); }
    100% { transform: scale(1); opacity: 0; }
}

/* Chapter 4: Privacy Visuals */
.shield-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shield-ring {
    position: absolute;
    border: 1px dashed rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: spin 20s linear infinite;
}

.ring-outer { width: 240px; height: 240px; }
.ring-inner { width: 180px; height: 180px; animation-direction: reverse; }

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Download Section */
.download-table {
    max-width: 800px;
    margin: 60px auto 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dl-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

.dl-row.active-release {
    border-color: rgba(255, 255, 255, 0.3);
}

.dl-col.info h3 {
    font-size: 1.4rem;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.dl-col.info p {
    color: var(--text-dim);
    font-size: 0.9rem;
}

.tag {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: #fff;
    color: #000;
    padding: 4px 8px;
    border-radius: 6px;
}

footer {
    border-top: 1px solid var(--glass-border);
    padding: 40px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.f-brand {
    font-weight: 900;
    font-size: 1.2rem;
}

.f-text {
    color: var(--text-dim);
    font-size: 0.85rem;
}

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

.f-link {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    transition: color 0.3s;
}

.f-link:hover {
    color: #fff;
}

/* Micro-animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive constraints */
@media (max-width: 900px) {
    .navbar {
        position: fixed;
    }

    /* Nav stays locked at top, content scrolls underneath */
    .nav-links {
        display: none;
    }

    /* Hero */
    .hero,
    .feature-row {
        flex-direction: column;
        text-align: center;
    }

    .hero-content,
    .hero-visual {
        flex: none;
        width: 100%;
        margin-bottom: 40px;
    }

    .hero-visual {
        justify-content: center;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        margin: 0 auto 30px;
    }

    /* Features Section */
    .features {
        padding: 60px 5%;
    }

    .feature-row {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .feature-text {
        flex: none;
        width: 100%;
    }

    .feature-text .section-title {
        font-size: 1.8rem;
    }

    .feature-desc {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .feature-pill-list {
        align-items: center;
    }

    .feature-visual {
        flex: none;
        width: 100%;
        padding: 24px;
        box-sizing: border-box;
    }

    .mock-ui {
        padding: 16px;
    }

    .sync-row {
        font-size: 0.9rem;
        padding: 12px;
    }

    /* Thesis / Download */
    .thesis-grid {
        grid-template-columns: 1fr;
    }

    .dl-row {
        flex-direction: column;
        text-align: left;
        align-items: flex-start;
        gap: 20px;
    }
}

/* --- Dynamic Change Logs (Accordion) --- */

.dl-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.dl-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.dl-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    cursor: pointer;
}

.dl-card.active {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.whats-new-link {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--accent);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.whats-new-link:hover {
    color: #fff;
    transform: translateX(3px);
}

.dl-dot {
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.changelog-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.changelog-btn i {
    transition: transform 0.3s ease;
}

.dl-card.active .changelog-btn {
    background: #fff;
    color: #000;
}

.dl-card.active .changelog-btn i {
    transform: rotate(180deg);
}

.changelog-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(0, 0, 0, 0.2);
}

.dl-card.active .changelog-panel {
    max-height: 500px;
    /* Large enough to accommodate list */
}

.changelog-content {
    padding: 10px 30px 30px;
}

.changelog-header {
    font-size: 0.7rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.change-item {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.change-item::before {
    content: "•";
    color: var(--accent);
    font-weight: 900;
}

@media (max-width: 600px) {
    .dl-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 20px;
    }

    .changelog-content {
        padding: 0 20px 20px;
    }
}

/* --- Dedicated Changelog Page & Timeline --- */

.changelog-page {
    background: #000;
    color: #fff;
}

.changelog-page .navbar {
    background: rgba(0, 0, 0, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.changelog-page .nav-brand,
.changelog-page .nav-links a,
.changelog-page .nav-accent {
    color: #fff !important;
}

.changelog-container {
    max-width: 1100px;
    margin: 100px auto 0;
    padding: 60px 20px 120px;
}

.changelog-hero {
    text-align: left;
    margin-bottom: 80px;
    padding-left: 20%;
}

.changelog-hero .hero-title {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 900;
    margin-top: 10px;
    letter-spacing: -0.04em;
}

.changelog-hero .hero-subtitle {
    color: #888;
    font-size: 1.1rem;
    max-width: 600px;
}

.timeline-wrapper {
    width: 100%;
}

.timeline-grid-header {
    display: grid;
    grid-template-columns: 180px 280px 1fr;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
    font-weight: 700;
    color: #888;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.h-des {
    padding-left: 0;
    /* Aligns with the 3rd column (Card) */
}

.timeline-items {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 180px 280px 1fr;
    gap: 0;
    align-items: flex-start;
}

.v-info {
    padding-top: 40px;
}

.v-num {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    display: block;
    margin-bottom: 5px;
}

.v-date {
    font-size: 0.9rem;
    color: #555;
    font-weight: 600;
}

.ag-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(40px);
    border-radius: 48px;
    padding: 60px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.ag-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.2;
    padding-right: 40px;
    padding-top: 10px;
}

.ag-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(40px);
    border-radius: 40px;
    padding: 40px 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.ag-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.ag-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.15rem;
    line-height: 1.7;
    text-align: left;
    margin-bottom: 30px;
}

/* Accordion Sections */
.ag-categories {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cat-group {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cat-trigger {
    width: 100%;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #888;
    transition: color 0.2s;
}

.cat-trigger:hover {
    color: #fff;
}

.cat-trigger i {
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.cat-group.active .cat-trigger i {
    transform: rotate(180deg);
}

.cat-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.cat-group.active .cat-content {
    max-height: 500px;
}

.cat-list {
    list-style: none;
    padding: 0 0 25px 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cat-item {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    padding-left: 25px;
    position: relative;
}

.cat-item::before {
    content: "•";
    position: absolute;
    left: 5px;
    color: #444;
}

@media (max-width: 1000px) {
    .changelog-hero {
        padding-left: 0;
        text-align: center;
        margin-bottom: 60px;
    }

    .changelog-hero .hero-title {
        font-size: 2.8rem;
    }

    .timeline-grid-header {
        display: none;
    }

    .timeline-items {
        gap: 60px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .v-info {
        padding-top: 0;
        margin-bottom: 10px;
        display: flex;
        align-items: baseline;
        gap: 15px;
    }

    .v-num {
        font-size: 1.1rem;
    }

    .v-date {
        font-size: 0.8rem;
    }

    .ag-title {
        font-size: 1.6rem;
        padding-right: 0;
        padding-top: 0;
        margin-bottom: 20px;
    }

    .ag-card {
        padding: 30px;
        border-radius: 32px;
    }

    .ag-desc {
        font-size: 1.05rem;
        margin-bottom: 25px;
        max-width: 100%;
    }

    .cat-trigger {
        padding: 15px 0;
        font-size: 0.95rem;
    }
}

@media (max-width: 600px) {
    .changelog-container {
        padding: 40px 15px 80px;
    }

    .changelog-hero .hero-title {
        font-size: 2.2rem;
    }

    .ag-card {
        padding: 25px 20px;
        border-radius: 24px;
    }

/* Step Navigation & Pagers */
.step-transition-link {
    display: inline-block;
    color: #4ade80; /* Premium Ecosystem Green matches .review-version */
    text-decoration: none;
    font-weight: 800;
    font-size: 1.05rem;
    margin-top: 25px;
    opacity: 0.85; /* Subtle branding */
    transition: all 0.3s;
}

.step-transition-link i {
    font-size: 1.1rem;
    margin-left: 5px;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.step-transition-link:hover {
    color: #fff;
    text-decoration: underline;
}

.step-transition-link:hover i {
    transform: translate(3px, -3px);
    text-decoration: none;
}

.step-back-btn {
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
    padding: 0;
    transition: color 0.2s;
}

.step-back-btn:hover {
    color: #fff;
}

.modal-pager {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

.pager-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.pager-dot.active {
    background: var(--accent);
    width: 20px;
    border-radius: 10px;
}

.support-security-note {
    font-size: 0.75rem;
    color: #555;
    margin-top: 15px;
}
}

/* ============================================================
   NEW PREMIUM OPEN SOURCE & GITHUB INTEGRATIONS
   ============================================================ */

/* Navbar GitHub Star Badge Style */
.btn-github-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 16px;
    border-radius: 40px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-github-nav:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.btn-github-nav i {
    font-size: 1rem;
}

.stars-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.btn-github-nav:hover .stars-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Hide star text on smaller navbar screens to avoid overlapping */
@media (max-width: 600px) {
    .btn-github-nav .github-text {
        display: none;
    }
    .btn-github-nav {
        padding: 8px 12px;
    }
}

/* Hero View Source Button */
.btn-secondary-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
    padding: 16px 28px;
    border-radius: 40px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-secondary-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-stars-count {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.85);
    display: inline-flex;
    align-items: center;
    margin-left: 4px;
}

.btn-secondary-outline:hover .hero-stars-count {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

/* Remodeled Sponsorship Modal Styles */
.support-modal-row {
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .support-modal-row {
        flex-direction: column !important;
        gap: 20px !important;
    }
    .support-options {
        padding: 20px !important;
    }
}

.github-sponsor-icon {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
    animation: pulseGlow 3s infinite ease-in-out;
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.15));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.35));
    }
}