/* ============================================================================
   NRICH LOBBY HYBRID CSS
   presentation styling + System functional CSS
   ============================================================================ */

/* ============================================================================
   1. CSS VARIABLES
   ============================================================================ */
:root {
    /* PRESENTATION VARIABLES */
    --color-background: #18212f;
    --color-background-section-dark: #111827;
    --color-background-section-light: #1f2937;
    --color-background-card: #1f2937;
    --color-text-primary: #ffffff;
    --color-text-secondary: #d1d5db;
    --color-text-tertiary: #9ca3af;
    --color-accent-purple: #8b5cf6;
    --color-accent-indigo: #6366f1;
    --color-accent-pink: #ec4899;
    --color-accent-green: #16a34a;
    --gradient-primary: linear-gradient(90deg, #ec4899 0%, #8b5cf6 100%);
    --gradient-divider: linear-gradient(90deg, #6366f1 0%, #ec4899 100%);
    /* SYSTEM VARIABLES (for functional elements) */
    --color-bg-dark: #111827;
    --color-bg-medium: #1f2937;
    --color-bg-light: #374151;
    --color-text-light: #ffffff;
    --color-text-medium: #d1d5db;
    --color-text-dark: #9ca3af;
    --color-primary: #8b5cf6;
    --color-secondary: #6366f1;
    --color-accent: #ec4899;
    --color-success: #16a34a;
    --signature-green: #00bf02;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;
}

/* ============================================================================
   2. BASE & RESET STYLES
   ============================================================================ */
* {
    box-sizing: border-box;
}

body {
    background-color: var(--color-background);
    color: var(--color-text-secondary);
    font-family: var(--font-primary); /* Poppins for system consistency */
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.5;
    overflow-x: hidden;
}

.page-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    overflow: hidden;
    background-color: var(--color-background-section-dark);
}

.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 80px;
    padding-right: 80px;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-text-primary);
    font-weight: 700;
    margin: 0;
}

p {
    margin: 0;
}

a {
    color: inherit;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================================================
   3. BUTTON COMPONENTS (System Styles for Consistency)
   ============================================================================ */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 16px 32px;
    border-radius: 0.375rem;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}

    .btn-primary:hover {
        opacity: 0.9;
    }

.btn-secondary {
    background-color: var(--color-bg-light);
    border: 1px solid #4b5563;
    color: var(--color-text-light);
}

    .btn-secondary:hover {
        background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
    }

.btn-accent {
    background-color: var(--color-accent);
    color: var(--color-text-light);
}

    .btn-accent:hover {
        opacity: 0.9;
    }

.btn-success {
    background-color: var(--color-success);
    color: var(--color-text-light);
}

    .btn-success:hover {
        opacity: 0.9;
    }

/* Additional button variants for sections */
.btn-green {
    background-color: var(--color-accent-green);
    color: var(--color-text-light);
}

    .btn-green:hover {
        opacity: 0.9;
    }

.btn-pink {
    background-color: var(--color-accent-pink);
    color: var(--color-text-light);
}

    .btn-pink:hover {
        opacity: 0.9;
    }

/* Context-specific button sizing overrides (can be added to elements needing different sizes) */
.btn-large {
    padding: 16px 48px;
    font-size: 18px;
}

.cta-btn {
    padding: 16px 48px;
    font-size: 18px;
}

.app-btn {
    margin-top: 40px;
}

.plan-btn {
    margin-top: auto;
}

/* ============================================================================
   4. UTILITY COMPONENTS
   ============================================================================ */
.section-divider {
    height: 4px;
    background: var(--gradient-divider);
    margin: 0 auto;
}

/* Icon wrappers with colored backgrounds */
.feature-icon-wrapper,
.app-card-icon,
.share-card-icon,
.privacy-card-icon,
.token-card-icon {
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.feature-icon-wrapper {
    width: 48px;
    height: 48px;
}

.app-card-icon,
.focus-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 16px;
}

.share-card-icon,
.privacy-card-icon,
.token-card-icon {
    width: 64px;
    height: 64px;
}

    /* Icon color styles */
    .style-indigo,
    .feature-icon-wrapper.style-indigo,
    .app-card-icon.style-indigo,
    .share-card-icon.style-indigo,
    .privacy-card-icon.style-indigo,
    .token-card-icon.style-indigo,
    .focus-icon.style-1 {
        background-color: rgba(99, 102, 241, 0.2);
    }

    .style-purple,
    .feature-icon-wrapper.style-purple,
    .app-card-icon.style-purple,
    .share-card-icon.style-purple,
    .privacy-card-icon.style-purple,
    .token-card-icon.style-purple,
    .focus-icon.style-2 {
        background-color: rgba(139, 92, 246, 0.2);
    }

    .style-pink,
    .feature-icon-wrapper.style-pink,
    .app-card-icon.style-pink,
    .share-card-icon.style-pink,
    .privacy-card-icon.style-pink,
    .token-card-icon.style-pink,
    .focus-icon.style-3 {
        background-color: rgba(236, 72, 153, 0.2);
    }

.feature-icon-wrapper img,
.app-card-icon img,
.focus-icon img {
    width: 20px;
    height: 20px;
    display: block;
}

/* ============================================================================
   5. SYSTEM FUNCTIONAL CSS (Status Bar, Dropdowns, System Buttons)
   ============================================================================ */

/* Status Bar - System Component */
.status-bar {
    background-color: var(--color-bg-dark);
    border-bottom: 1px solid var(--color-bg-light);
    padding: 0.75rem;
    display: flex;
    align-items: center;
    font-family: var(--font-primary);
    font-size: 16px;
    color: var(--color-text-medium);
    position: relative;
    z-index: 100;
}

.user-info {
    width: 100%;
    display: flex;
    align-items: center;
}

.left-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.right-info {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

/* System Toolbar Buttons */
.toolbar-button {
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    border: 1px solid var(--color-bg-light);
    background-color: var(--color-bg-medium);
    color: var(--color-text-light);
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

    .toolbar-button:hover {
        background-color: var(--color-bg-light);
    }

/* Dropdown Menu - System Component */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-bg-medium);
    width: max-content;
    border: 1px solid var(--color-bg-light);
    border-radius: 0.375rem;
    display: none;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

    .dropdown-menu a {
        display: block;
        padding: 0.75rem 1rem;
        color: var(--color-text-medium);
        white-space: nowrap;
        border-bottom: 1px solid var(--color-bg-light);
        text-decoration: none;
    }

        .dropdown-menu a:last-child {
            border-bottom: none;
        }

        .dropdown-menu a:hover {
            background-color: var(--color-bg-light);
            color: var(--color-text-light);
        }

.dropdown-item-with-icon {
    display: flex !important;
    align-items: center;
    gap: 8px;
}

.dropdown-menu img {
    flex-shrink: 0;
}

/* Avatar */
.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

/* Membership Button - System Component */
.membership-button {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.375rem 0.75rem;
    background-color: var(--color-bg-medium);
    border-radius: 0.375rem;
    border: 1px solid var(--color-bg-light);
    color: var(--color-text-light);
    height: 2.5rem;
    box-sizing: border-box;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .membership-button:hover {
        background-color: var(--color-bg-light);
    }

    .membership-button.disabled {
        color: var(--color-text-medium);
        cursor: not-allowed;
        opacity: 0.6;
    }

        .membership-button.disabled:hover {
            background-color: var(--color-bg-medium);
        }

.membership-buttons-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tier-not-available {
    color: #4CAF50;
    font-weight: 500;
    background: rgba(76, 175, 80, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    display: inline-block;
}

#tokenButton {
    align-items: baseline;
}

/* ============================================================================
   6. SECTION STYLES - PRESENTATION LAYERS
   ============================================================================ */

/* -------- Announcement Bar -------- */
.announcement-bar {
    background: var(--gradient-primary);
    padding: 16px 0;
    overflow: hidden;
}

.announcement-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.announcement-text {
    color: var(--color-text-primary);
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    min-height: 27px;
}

    .announcement-text.active {
        opacity: 1;
    }

.announcement-icon {
    width: 24px;
    height: 24px;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

    .announcement-icon.active {
        opacity: 1;
    }

/* -------- Hero Section -------- */
.hero-section {
    padding: 80px 0;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 48px;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
}

.hero-title {
    font-size: 60px;
    font-weight: 700;
    line-height: 1.2;
}

    .hero-title strong {
        color: var(--color-accent-purple);
    }

.hero-subtitle {
    font-size: 24px;
    line-height: 1.3;
    color: var(--color-text-tertiary);
}

.hero-description {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text-tertiary);
    max-width: 597px;
}

.hero-image-wrapper {
    flex: 1;
    max-width: 600px;
}

.hero-image {
    width: 100%;
    border-radius: 16px;
}

/* -------- Applications Section -------- */
.applications-section {
    background-color: var(--color-background-section-dark);
    padding: 80px 0;
}

.applications-intro {
    text-align: center;
    max-width: 896px;
    margin: 0 auto 80px;
}

    .applications-intro h2 {
        font-size: 36px;
        line-height: 1.2;
        margin-bottom: 24px;
    }

    .applications-intro p {
        font-size: 18px;
        line-height: 1.7;
        color: var(--color-text-secondary);
        margin-bottom: 16px;
    }

        .applications-intro p strong {
            color: var(--color-text-primary);
        }

.app-showcase {
    display: flex;
    gap: 48px;
    align-items: center;
    margin-bottom: 80px;
}

    .app-showcase.reverse {
        flex-direction: row-reverse;
    }

.app-image-wrapper {
    flex: 1;
    max-width: 600px;
}

.app-image {
    width: 100%;
    border-radius: 16px;
}

.app-content {
    flex: 1;
    max-width: 600px;
}

    .app-content h3 {
        font-size: 30px;
        line-height: 1.2;
    }

    .app-content h4 {
        font-size: 20px;
        font-weight: 400;
        color: var(--color-accent-indigo);
        margin-top: 12px;
        margin-bottom: 40px;
    }

.app-features {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-text h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-text p {
    color: var(--color-text-secondary);
    font-size: 16px;
    line-height: 1.5;
}

.app-btn {
    float: right;
}

.app-showcase.reverse .app-btn {
    float: left;
}

/* -------- Coming Soon Section -------- */
.coming-soon-section {
    background-color: var(--color-background-section-dark);
    padding: 80px 0;
}

.coming-soon-intro {
    text-align: center;
    max-width: 896px;
    margin: 0 auto 80px;
}

    .coming-soon-intro h2 {
        font-size: 36px;
        line-height: 1.2;
        margin-bottom: 24px;
    }

    .coming-soon-intro p {
        font-size: 18px;
        line-height: 1.7;
        color: var(--color-text-secondary);
        margin-bottom: 16px;
    }

.apps-grid,
.focus-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.app-card,
.cs-card {
    background-color: var(--color-background-card);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.app-card-icon {
    margin-bottom: 16px;
}

.app-card h3,
.cs-card h3 {
    font-size: 18px;
    font-weight: 600;
}

.app-card p,
.cs-card p {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.4;
}

.coming-soon-footer {
    text-align: center;
    margin-top: 80px;
}

    .coming-soon-footer h3,
    .coming-soon-footer h4 {
        font-size: 30px;
        margin-bottom: 24px;
    }

/* -------- Share & Earn Section -------- */
.share-earn-section {
    background-color: var(--color-background-section-light);
    padding: 80px 0;
}

.share-earn-intro {
    text-align: center;
    margin-bottom: 80px;
}

    .share-earn-intro h2 {
        font-size: 36px;
    }

.share-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    gap: 32px;
    margin-bottom: 48px;
}

    .share-cards-grid .share-card:nth-child(n+4) {
        grid-column: span 1;
    }

    .share-cards-grid .share-card:nth-child(4) {
        grid-column-start: 1;
        grid-column-end: 3;
    }

    .share-cards-grid .share-card:nth-child(5) {
        grid-column-start: 3;
        grid-column-end: 5;
    }

.share-card {
    background-color: var(--color-background-card);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
}

.share-card-icon {
    margin: 0 auto 24px;
}

.share-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.share-card p {
    color: var(--color-text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* -------- Why Join Section -------- */
.why-join-section {
    background-color: var(--color-background-section-dark);
    padding: 80px 0;
}

.why-join-container {
    display: flex;
    align-items: center;
    gap: 48px;
}

.why-join-image-wrapper {
    flex: 1;
    max-width: 600px;
}

.why-join-image {
    width: 100%;
    border-radius: 16px;
}

.why-join-content {
    flex: 1;
    max-width: 600px;
}

    .why-join-content h2 {
        font-size: 36px;
        margin-bottom: 24px;
    }

    .why-join-content p {
        font-size: 18px;
        line-height: 1.7;
        color: var(--color-text-secondary);
        margin-bottom: 32px;
    }

    .why-join-content .btn {
        font-size: 16px;
        padding: 12px 24px;
    }

/* -------- Privacy Section -------- */
.privacy-section {
    background-color: rgba(31, 41, 55, 0.5);
    padding: 80px 0;
}

.privacy-intro {
    text-align: center;
    margin-bottom: 80px;
}

    .privacy-intro h2 {
        font-size: 36px;
    }

.privacy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.privacy-card {
    background-color: var(--color-background-card);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
}

.privacy-card-icon {
    margin: 0 auto 24px;
}

.privacy-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.privacy-card p {
    color: var(--color-text-secondary);
    font-size: 16px;
    line-height: 1.5;
}

/* -------- Get Started CTA Section -------- */
.get-started-cta-section {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    padding: 80px 0;
}

.cta-container {
    text-align: center;
}

    .cta-container h2 {
        font-size: 36px;
        margin-bottom: 16px;
    }

    .cta-container p {
        font-size: 20px;
        color: var(--color-text-secondary);
        margin-bottom: 32px;
    }

/* -------- Pricing Section -------- */
.pricing-section {
    padding: 80px 0;
}

.pricing-intro {
    text-align: center;
    margin-bottom: 80px;
}

    .pricing-intro h2 {
        font-size: 48px;
        margin-bottom: 16px;
    }

    .pricing-intro p {
        font-size: 20px;
        color: var(--color-text-secondary);
    }

.pricing-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.pricing-card {
    background-color: var(--color-background-card);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    border-top: 8px solid;
    box-shadow: 0px 20px 25px 0px rgba(0, 0, 0, 0.1), 0px 8px 10px 0px rgba(0, 0, 0, 0.1);
    flex-basis: calc(33.333% - 16px);
    max-width: calc(33.333% - 16px);
}

    .pricing-card.plan-discover {
        border-color: var(--color-accent-indigo);
    }

    .pricing-card.plan-commit {
        border-image: linear-gradient(90deg, #8b5cf6 0%, #6366f1 100%) 1;
    }

    .pricing-card.plan-shape {
        border-color: var(--color-accent-purple);
    }

    .pricing-card.plan-elevate {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
        border-color: transparent;
    }

    .pricing-card.plan-infinity-lite {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
        border-color: transparent;
    }

    .pricing-card.plan-infinity-max {
        background: linear-gradient(135deg, rgba(139, 92, 246, 0.3) 0%, rgba(236, 72, 153, 0.3) 100%);
        border-image: linear-gradient(90deg, #ec4899 0%, #8b5cf6 50%, #6366f1 100%) 1;
        flex-basis: calc(50% - 12px);
        max-width: calc(50% - 12px);
    }

.plan-header {
    flex-grow: 1;
}

    .plan-header h3 {
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 8px;
    }

    .plan-header p {
        font-size: 14px;
        color: var(--color-text-tertiary);
        min-height: 34px;
    }

.price {
    font-size: 36px;
    font-weight: 700;
    margin: 16px 0;
}

.price-period {
    font-size: 18px;
    font-weight: 400;
    color: var(--color-text-tertiary);
}

.tokens {
    font-size: 16px;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 24px 0;
    text-align: left;
}

    .features-list li {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 16px;
    }

        .features-list li img {
            width: 14px;
            height: 16px;
        }

.most-popular {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-accent-pink);
    font-size: 14px;
    font-weight: 500;
    margin: -16px auto 16px;
    background-color: var(--color-background-card);
    padding: 4px 12px;
    border-radius: 99px;
}

.plan-infinity-max h3 {
    font-size: 30px;
}

.plan-infinity-max .price {
    font-size: 36px;
}

.plan-infinity-max .price-period {
    font-size: 20px;
}

.plan-infinity-max .features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.plan-infinity-max .plan-btn {
    padding: 16px 32px;
    font-size: 18px;
}

/* -------- Tokens Section -------- */
.tokens-section {
    background-color: var(--color-background-section-light);
    padding: 80px 0;
}

.tokens-intro {
    text-align: center;
    margin-bottom: 48px;
}

    .tokens-intro h3 {
        font-size: 30px;
        margin-bottom: 12px;
    }

    .tokens-intro p {
        font-size: 16px;
        color: var(--color-text-secondary);
    }

.tokens-info-wrapper {
    background-color: #374151;
    border-radius: 16px;
    padding: 48px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.token-info-card {
    text-align: center;
}

.token-card-icon {
    margin: 0 auto 24px;
}

.token-info-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.token-info-card p {
    font-size: 14px;
    color: var(--color-text-secondary);
}

/* -------- FAQ Section -------- */
.faq-section {
    padding: 80px 0;
}

.faq-intro {
    text-align: center;
    margin-bottom: 64px;
}

    .faq-intro h2 {
        font-size: 30px;
    }

.faq-list {
    max-width: 864px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.faq-item {
    background-color: var(--color-background-card);
    border-radius: 12px;
    padding: 24px;
}

    .faq-item h3 {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 12px;
    }

    .faq-item p {
        font-size: 16px;
        color: var(--color-text-secondary);
        line-height: 1.5;
    }

/* -------- Footer -------- */
.site-footer-main {
    background-color: var(--color-background-section-light);
    padding: 80px 0;
    font-size: 16px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
}

.footer-col.about {
    max-width: 288px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-primary);
    display: block;
    margin-bottom: 24px;
}

.footer-col.about p {
    color: var(--color-text-tertiary);
    line-height: 1.5;
}

.footer-col.links h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
}

.footer-col.links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col.links a {
    color: var(--color-text-tertiary);
}

    .footer-col.links a:hover {
        color: var(--color-text-primary);
    }

/* ============================================================================
   7. RESPONSIVE STYLES
   ============================================================================ */

@media (max-width: 1200px) {
    /* Pricing cards */
    .pricing-card,
    .pricing-card.plan-infinity-max {
        flex-basis: calc(50% - 12px);
        max-width: calc(50% - 12px);
    }

    /* Share & Earn grid */
    .share-cards-grid {
        grid-template-columns: 1fr 1fr;
    }

        .share-cards-grid .share-card:nth-child(3) {
            grid-column: 1 / -1;
        }

        .share-cards-grid .share-card:nth-child(4),
        .share-cards-grid .share-card:nth-child(5) {
            grid-column: span 1;
        }

    /* Coming soon grid */
    .apps-grid,
    .focus-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    /* Hero */
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        align-items: center;
    }

    .hero-btn {
        align-self: center;
    }

    /* Applications */
    .app-showcase,
    .app-showcase.reverse {
        flex-direction: column;
    }

        .app-btn,
        .app-showcase.reverse .app-btn {
            float: none;
            display: block;
            text-align: center;
        }

    /* Why Join */
    .why-join-container {
        flex-direction: column;
    }

    /* Privacy */
    .privacy-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Coming soon */
    .apps-grid,
    .focus-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .container {
        padding-left: 40px;
        padding-right: 40px;
    }
}
@media (max-width: 768px) {
    /* Container */
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* Hero */
    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle,
    .hero-description {
        font-size: 16px;
    }

    /* Announcement */
    .announcement-container p {
        font-size: 14px;
    }

    .announcement-icon:last-child {
        display: none;
    }

    /* Pricing */
    .pricing-card,
    .pricing-card.plan-infinity-max {
        flex-basis: 100%;
        max-width: 100%;
    }

    /* Share & Earn */
    .share-cards-grid {
        grid-template-columns: 1fr;
    }

        .share-cards-grid .share-card:nth-child(n) {
            grid-column: 1 / -1;
        }

    /* Privacy */
    .privacy-grid {
        grid-template-columns: 1fr;
    }

    /* Tokens */
    .tokens-info-wrapper {
        grid-template-columns: 1fr;
        padding: 32px;
    }

    /* Coming soon */
    .apps-grid,
    .focus-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col.about {
        max-width: 100%;
    }
}

/* ============================================================================
   8. VOTING SYSTEM STYLES (JavaScript-triggered)
   ============================================================================ */

.cs-card.voted {
    border: 2px solid var(--signature-green);
    box-shadow: 0 0 15px rgba(0, 191, 2, 0.5);
}

.cs-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

    .cs-card:hover {
        transform: translateY(-4px);
    }

@keyframes wobble {
    0%, 100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-3deg);
    }

    50% {
        transform: rotate(3deg);
    }

    75% {
        transform: rotate(-1deg);
    }
}

.cs-card.wobbling {
    animation: wobble 0.5s ease-in-out infinite;
}

/* Leader badges */
.leader-badge {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 12px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    z-index: 10;
}

/* ============================================================================
   9. MODAL STYLES (JavaScript-triggered)
   ============================================================================ */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

    .modal-overlay.active {
        opacity: 1;
    }

.modal-content {
    background: var(--color-background-secondary, #1f2937);
    padding: 32px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    position: relative;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--color-text-secondary, #9ca3af);
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    line-height: 32px;
}

    .modal-close:hover {
        color: var(--color-text-primary, #ffffff);
    }

.modal-content h2 {
    margin: 0 0 16px 0;
    color: var(--color-text-primary, #ffffff);
    font-size: 24px;
}

.modal-content p {
    margin: 0 0 24px 0;
    color: var(--color-text-secondary, #d1d5db);
    font-size: 16px;
    line-height: 1.6;
}

    .modal-content p strong {
        color: var(--signature-green, #00bf02);
    }

.modal-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

    .modal-actions .btn {
        flex: 1;
        min-width: 140px;
        text-align: center;
    }

/* ============================================================================
   10. TOAST NOTIFICATIONS (JavaScript-triggered)
   ============================================================================ */

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

#vote-toast {
    position: fixed;
    top: 80px;
    right: 24px;
    z-index: 9999;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    font-size: 16px;
    font-weight: 500;
    animation: slideInRight 0.3s ease-out;
}

/* ============================================================================
   ORIGINAL FOOTER STYLES (Your System)
   ============================================================================ */
.site-footer {
    background-color: var(--color-bg-medium);
    padding: 80px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-col .logo {
    margin-bottom: 24px;
    display: inline-block;
}

.footer-description {
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text-dark);
    max-width: 270px;
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-light);
    margin-bottom: 24px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-col a {
    font-size: 16px;
    color: var(--color-text-dark);
    transition: color 0.3s ease;
}

    .footer-col a:hover {
        color: var(--color-text-light);
    }

.footer-bottom {
    color: var(--color-text-muted);
    padding-left: 1rem;
    padding-top: 1rem;
}

    .footer-bottom p {
        font-size: 14px;
        color: var(--color-text-muted);
    }

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-description {
        margin: 0 auto;
    }
}

@media (max-width: 1024px) {
    .announcement-text {
        white-space: normal;
        min-height: 54px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .announcement-icon:last-child {
        display: none;
    }
}

/* Hide on mobile */
@media (max-width: 768px) {
    .right-info {
        display: none !important;
    }
}

/* ============================================================================
   SHARE & COMPARE PANEL
   ============================================================================ */
.share-compare-section {
    background-color: var(--color-background-section-light);
    padding: 48px 0;
}

    .share-compare-section .coming-soon-intro {
        margin-bottom: 32px;
    }

.share-compare-search {
    max-width: 400px;
    margin: 0 auto 32px;
}

    .share-compare-search input {
        width: 100%;
        padding: 12px 20px;
        border-radius: 0.375rem;
        border: 1px solid var(--color-bg-light);
        background-color: var(--color-bg-dark);
        color: var(--color-text-light);
        font-size: 16px;
        font-family: var(--font-primary);
    }

        .share-compare-search input::placeholder {
            color: var(--color-text-tertiary);
        }

        .share-compare-search input:focus {
            outline: none;
            border-color: var(--color-primary);
            box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2);
        }

.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 180px));
    gap: 20px;
    margin-bottom: 32px;
    justify-content: center;
}

.match-card {
    background-color: var(--color-background-card);
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .match-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    }

.match-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin-bottom: 12px;
    border: 3px solid var(--color-accent-purple);
    object-fit: cover;
}

.match-name {
    color: var(--color-text-primary);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.match-score {
    font-size: 24px;
    font-weight: 700;
    color: var(--signature-green);
}

.match-score-label {
    font-size: 12px;
    color: var(--color-text-tertiary);
}

.share-compare-cta {
    text-align: center;
}

.matches-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 32px;
    color: var(--color-text-secondary);
}

    .matches-empty p {
        margin-bottom: 16px;
    }

/* Responsive */
@media (max-width: 768px) {
    .share-compare-section {
        padding: 32px 0;
    }

    .matches-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .match-card {
        padding: 16px 8px;
    }

    .match-avatar {
        width: 48px;
        height: 48px;
    }

    .match-name {
        font-size: 13px;
    }

    .match-score {
        font-size: 20px;
    }

    .match-score-label {
        font-size: 11px;
    }
}
