/* 
 * Web3 & FinTech Ambassador Hub - Design System 
 * Theme: Dark SaaS, Futuristic, Glassmorphism
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Montserrat:wght@400;500;600;700&display=swap');

:root {
    /* Color Palette - GlowAI Theme */
    --bg-color: #0b0514;
    /* Deep Purple/Black */
    --bg-secondary: #1a1033;
    /* Lighter Purple */
    --text-primary: #ffffff;
    --text-secondary: #a78bfa;
    /* Light Purple Grey */

    --accent-color: #8b5cf6;
    /* Violet */
    --accent-secondary: #d946ef;
    /* Magenta/Pink */
    --accent-glow: rgba(139, 92, 246, 0.5);
    --accent-glow-secondary: rgba(217, 70, 239, 0.5);

    --border-color: rgba(139, 92, 246, 0.2);

    /* Glassmorphism */
    --glass-bg: rgba(26, 16, 51, 0.4);
    --glass-border: rgba(139, 92, 246, 0.1);
    --glass-blur: 16px;

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
}

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

body {
    background-color: var(--bg-color);
    background-image:
        radial-gradient(circle at 15% 50%, rgba(139, 92, 246, 0.15), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(217, 70, 239, 0.15), transparent 25%);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
    box-shadow: 0 4px 14px 0 var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 var(--accent-glow);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background-color: var(--bg-secondary);
    border-color: var(--text-secondary);
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, var(--accent-secondary) 50%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(217, 70, 239, 0.15);
}

/* Glassmorphism Card Style - Refined for "Bento" feel */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    /* More rounded like reference */
    padding: 2rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px 0 rgba(139, 92, 246, 0.2);
    border-color: var(--accent-color);
}

/* Adoption Section (Viral Stats) */
.adoption-section {
    padding: 6rem 0;
    text-align: center;
}

.adoption-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.adoption-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.comparison-chart {
    margin-bottom: 1.5rem;
}

.comp-row {
    margin-bottom: 1rem;
    text-align: left;
}

.comp-row span {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
    color: var(--text-secondary);
}

.bar {
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding-left: 10px;
    font-size: 0.8rem;
    color: white;
    font-weight: 600;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.internet-bar {
    background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 100%);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

.crypto-bar {
    background: linear-gradient(90deg, #d946ef 0%, #8b5cf6 100%);
    box-shadow: 0 0 15px rgba(217, 70, 239, 0.5);
    animation: pulseGlow 2s infinite alternate;
}

.stat-insight {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.big-number {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    margin: 1rem 0;
}

@keyframes pulseGlow {
    from {
        box-shadow: 0 0 10px rgba(217, 70, 239, 0.3);
    }

    to {
        box-shadow: 0 0 25px rgba(217, 70, 239, 0.7);
    }
}

/* Header / Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    top: 40px;
    background: rgba(11, 5, 20, 0.6);
}

/* Viral Ticker */
.viral-ticker {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: #000;
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #333;
    overflow: hidden;
}

.ticker-content {
    font-size: 0.9rem;
    display: flex;
    gap: 10px;
    align-items: center;
    animation: fadeIn 0.5s ease-out;
}

.ticker-label {
    color: var(--text-secondary);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.ticker-value {
    color: #4ade80;
    /* Neon Green */
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
    min-width: 60px;
}

.ticker-sub {
    color: var(--text-secondary);
    opacity: 0.8;
    font-size: 0.8rem;
}

.ticker-cta a {
    color: var(--accent-color);
    font-weight: 600;
    margin-left: 10px;
}

.ticker-cta a:hover {
    text-decoration: underline;
    color: #fff;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.05em;
}

/* Hero Section */
.hero {
    padding-top: calc(var(--header-height) + 6rem);
    /* Adjusted for ticker */
    padding-bottom: 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.4;
    z-index: -1;
    pointer-events: none;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: -0.03em;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
    background: rgba(11, 5, 20, 0.8);
    backdrop-filter: blur(10px);
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    font-size: 1.5rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid transparent;
}

.social-link svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: white;
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--accent-glow);
}

.copyright {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    width: 100%;
}

/* Animations */
/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.fade-in-up {
    opacity: 0;
    /* Hidden by default, JS triggers 'visible' */
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.floating {
    animation: float 4s ease-in-out infinite;
}

/* Podcast Section */
.podcast-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 0 40px var(--accent-glow);
    border: 1px solid var(--accent-secondary);
    margin-bottom: 2rem;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 10;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
}

.video-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Dark overlay */
    transition: background 0.3s ease;
}

.video-thumbnail:hover::before {
    background: rgba(0, 0, 0, 0.2);
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
}

.play-button i {
    color: white;
    font-size: 2rem;
    margin-left: 5px;
    /* Visual centering adjustment */
}

.video-thumbnail:hover .play-button {
    transform: scale(1.1);
    background: var(--accent-color);
    border-color: var(--accent-color);
}

/* Ambassador Culture Section */
.culture-section {
    padding: 6rem 0;
}

.culture-grid {
    max-width: 800px;
    margin: 0 auto;
}

.culture-list {
    padding: 2rem;
    max-height: 600px;
    overflow-y: auto;
    /* Custom Scrollbar */
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) var(--bg-secondary);
}

.culture-list::-webkit-scrollbar {
    width: 8px;
}

.culture-list::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

.culture-list::-webkit-scrollbar-thumb {
    background-color: var(--accent-color);
    border-radius: 20px;
}

.culture-item {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: all 0.3s ease;
}

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

.culture-item:hover {
    background: rgba(139, 92, 246, 0.1);
    transform: translateX(10px);
}

.culture-number {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--accent-secondary);
    font-size: 1.25rem;
    min-width: 30px;
}

.culture-content h4 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.culture-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Trust Bar */
.trust-bar {
    padding: 2rem 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    background: rgba(15, 23, 42, 0.5);
}

.trust-bar p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.logos-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    opacity: 0.6;
}

.logo-item {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-secondary);
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.logo-item:hover {
    filter: grayscale(0%);
    color: var(--text-primary);
    opacity: 1;
}

/* Feature Showcase - Uniform 6-Block Grid */
.features {
    padding: 6rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.feature-card {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    /* Ensure uniform look */
}

/* Remove old Bento Spans */
.feature-card:nth-child(n) {
    grid-column: auto;
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    width: fit-content;
}

.feature-card h3 {
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
}

.locked-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    /* Hidden by default, enable via class if needed or keep hidden to show what's inside, prompt says "Non-VIPs see 'locked' icons". */
    /* Wait, prompt says "Non-VIPs see 'locked' icons on premium features".
       It implies the content is visible but maybe overlayed or just has an icon?
       The prompt says "Integrate a gated content system. Non-VIPs see "locked" icons on premium features."
       Let's make it so the lock is a badge or subtle overlay, adhering to "Style: Dark mode... glassmorphism".
       I'll make the locked-overlay visible but semi-transparent so you can SEE what you're missing, 
       or just a lock ICON near the title. 
       Let's go with a 'Locked' badge approach for the features on the landing page so users can read them.
    */
    opacity: 1;
    background: transparent;
    pointer-events: none;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 1rem;
}

.locked-overlay span {
    background: rgba(0, 0, 0, 0.6);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    border: 1px solid var(--border-color);
}

.pricing-section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    align-items: start;
}

.pricing-card {
    padding: 3rem;
    position: relative;
    transition: transform 0.3s ease;
}

.vip-card {
    border-color: var(--accent-color);
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.1);
}

.vip-card:hover {
    transform: translateY(-10px);
}

.first-card {
    /* Style specifically for free card if needed */
    opacity: 0.9;
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px var(--accent-glow);
}

/* ... existing pricing styles ... */

/* Dashboard Styles */
.dashboard-section {
    padding: 100px 0;
    min-height: 100vh;
}

.hidden {
    display: none;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.span-2 {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .span-2 {
        grid-column: span 1;
    }
}

.dashboard-card {
    padding: 2rem;
}

.dashboard-card h3 {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.news-item {
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--accent-color);
    padding-left: 1rem;
}

.news-item .date {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.download-list li {
    margin-bottom: 0.75rem;
}

.download-list a:hover {
    color: var(--accent-color);
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
}

.leaderboard-table th,
.leaderboard-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.leaderboard-table th {
    color: var(--text-secondary);
    font-weight: 500;
}


.tier-name {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    text-align: center;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.price .period {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.features-list {
    margin-bottom: 2rem;
}

.features-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    color: var(--text-secondary);
}

.features-list li.active {
    color: var(--text-primary);
}

.features-list li.active::before {
    content: '✓';
    color: var(--accent-color);
    margin-right: 10px;
    font-weight: bold;
}

.features-list li.inactive {
    opacity: 0.5;
    text-decoration: line-through;
}

.features-list li.inactive::before {
    content: '×';
    color: var(--text-secondary);
    margin-right: 10px;
}

.w-100 {
    width: 100%;
}

.payment-methods {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.payment-methods .icons {
    margin-top: 0.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-size: 1.25rem;
}

/* Time Value Calculator */
.time-valuation {
    padding: 6rem 0;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
}

.calc-grid {
    display: flex;
    /* Changed from grid to flex for divider handling */
    gap: 2rem;
    align-items: stretch;
    justify-content: center;
}

@media (max-width: 768px) {
    .calc-grid {
        flex-direction: column;
        align-items: center;
    }
}

.calc-column {
    flex: 1;
    background: rgba(15, 23, 42, 0.3);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.calc-column h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

.calc-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-secondary);
    opacity: 0.5;
    font-family: 'Montserrat', sans-serif;
}

.static-input {
    margin-bottom: 1.5rem;
}

.static-input label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.styled-select {
    width: 100%;
    padding: 1rem;
    background-color: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #F8FAFC;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.styled-select:hover,
.styled-select:focus {
    border-color: var(--accent-color);
    background-color: rgba(30, 41, 59, 1);
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.styled-select option {
    background-color: #0F172A;
    color: white;
    padding: 10px;
}

.fake-input {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: monospace;
}

.calc-inputs input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: var(--accent-color);
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 15px var(--accent-glow);
    transition: transform 0.1s ease;
    margin-top: -9px;
    /* Centering fix for some browsers if track height differs */
}

.calc-inputs input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.calc-inputs input[type=range]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: var(--accent-color);
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 15px var(--accent-glow);
    transition: transform 0.1s ease;
}

.calc-inputs input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    background: #334155;
    border-radius: 4px;
}

.calc-metric {
    margin-top: auto;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.calc-metric span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.calc-metric h4 {
    font-size: 2rem;
    /* Big numbers */
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 0;
}

.text-red {
    color: #ef4444;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

.text-green {
    color: #22c55e;
    text-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

.calc-gap-analysis {
    margin-top: 3rem;
    text-align: center;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 1.5rem;
    border-radius: 8px;
}

.highlight-loss {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: underline;
    text-decoration-color: #ef4444;
}

/* Lead Magnets Section */
.lead-magnets {
    padding: 6rem 0;
    padding-bottom: 2rem;
    /* Reduce space before addictive hub */
}

/* Addictive Hub (Radar & Quests) */
.addictive-hub {
    padding: 4rem 0 8rem 0;
}

.hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.hub-card {
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.card-head h3 {
    margin: 0;
    font-size: 1.1rem;
}

.live-indicator {
    color: #ef4444;
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.blink-dot {
    width: 6px;
    height: 6px;
    background: #ef4444;
    border-radius: 50%;
    animation: blink 1s infinite;
}

/* Radar Chart (CSS Simulation) */
.radar-container {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 2rem;
}

.radar-chart {
    width: 200px;
    height: 200px;
    position: relative;
}

/* The Polygon Web */
.radar-web {
    width: 100%;
    height: 100%;
    background:
        repeating-radial-gradient(transparent 0,
            transparent 19px,
            rgba(255, 255, 255, 0.1) 20px),
        conic-gradient(from 0deg,
            rgba(255, 255, 255, 0.05) 0deg 360deg);
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

/* The Data Area */
.radar-area {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: rgba(59, 130, 246, 0.4);
    border: 2px solid var(--accent-color);
    clip-path: polygon(50% 10%, 90% 40%, 70% 90%, 30% 80%, 10% 30%);
    /* Dynamic shape */
    animation: pulseRadar 4s infinite ease-in-out;
}

@keyframes pulseRadar {
    0% {
        clip-path: polygon(50% 10%, 90% 40%, 70% 90%, 30% 80%, 10% 30%);
    }

    50% {
        clip-path: polygon(50% 15%, 85% 35%, 75% 95%, 25% 85%, 15% 35%);
    }

    100% {
        clip-path: polygon(50% 10%, 90% 40%, 70% 90%, 30% 80%, 10% 30%);
    }
}

.radar-label {
    position: absolute;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 600;
    white-space: nowrap;
}

.hub-stat {
    text-align: center;
    font-size: 0.9rem;
    margin-top: 1rem;
    color: var(--text-primary);
}

.hub-stat strong {
    color: var(--accent-color);
}

/* Daily Quests */
.refresh-timer {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--text-secondary);
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 8px;
    border-radius: 4px;
}

.quest-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-grow: 1;
}

.quest-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.quest-item.unlocked {
    border-color: rgba(34, 197, 94, 0.3);
}

.quest-icon {
    font-size: 1.25rem;
}

.quest-info {
    flex-grow: 1;
}

.quest-info h4 {
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.quest-info p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin: 0;
}

.quest-reward {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.quest-reward span {
    font-weight: 700;
    color: #22c55e;
    font-size: 0.9rem;
}

.btn-xs {
    padding: 2px 8px;
    font-size: 0.7rem;
    border-radius: 4px;
}

.btn-disabled {
    background: #334155;
    color: #94a3b8;
    cursor: not-allowed;
    border: 1px solid transparent;
}

/* Locked Quest Effect */
.quest-item.locked {
    position: relative;
    overflow: hidden;
}

.blur-content .quest-info,
.blur-content .quest-reward span {
    filter: blur(4px);
    opacity: 0.5;
    user-select: none;
}

.lock-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    padding: 4px 12px;
    border: 1px solid var(--accent-color);
    border-radius: 20px;
    z-index: 5;
}

.lock-overlay span {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 1px;
}

.quest-cta {
    margin-top: 1.5rem;
}

.magnets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.magnet-card {
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.magnet-card:hover {
    transform: translateY(-5px);
}

.magnet-cover {
    height: 200px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    position: relative;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* Culture Code 3x2 Grid */
.culture-section {
    padding: 6rem 0;
}

.culture-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .culture-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .culture-grid-container {
        grid-template-columns: 1fr;
    }
}

.article-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 0;
    /* Remove padding to handle image */
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-height: 400px;
    /* Taller for image */
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px var(--accent-glow);
    border-color: var(--accent-color);
}

.article-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: height 0.5s ease;
}

/* Gradient overlay on image */
.article-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(15, 23, 42, 1) 100%);
}

.article-content {
    position: relative;
    z-index: 1;
    padding: 1.5rem 2rem 2rem 2rem;
    margin-top: -40px;
    /* Pull up to overlap image */
}

.article-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.article-preview {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    display: block;
}

/* Expanded Text Area */
.article-full-text {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s ease-in-out;
    font-size: 1rem;
    line-height: 1.8;
    color: #cbd5e1;
    /* background: rgba(0,0,0,0.2); Not needed with card bg */
    border-radius: 8px;
    margin-bottom: 1rem;
    padding-right: 0.5rem;
    /* For scrollbar */
}

.article-full-text.open {
    max-height: 1000px;
    /* Arbitrary large height for expansion */
    opacity: 1;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.article-full-text p {
    margin-bottom: 1rem;
}

.learn-more-btn {
    margin: 0 2rem 2rem 2rem;
    /* Position at bottom with padding */
    margin-top: auto;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    transition: all 0.3s ease;
    z-index: 2;
}

.learn-more-btn:hover {
    background: var(--accent-color);
    padding-right: 2rem;
}

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

.learn-more-btn.active i {
    transform: rotate(90deg);
}

.learn-more-btn.active {
    background: var(--accent-color);
}

/* Gradient Variants for cards */
.article-card.variant-1 {
    background: linear-gradient(145deg, #1e1b4b, #0f172a);
}

.article-card.variant-2 {
    background: linear-gradient(145deg, #312e81, #0f172a);
}

.article-card.variant-3 {
    background: linear-gradient(145deg, #4c1d95, #0f172a);
}

.article-card.variant-4 {
    background: linear-gradient(145deg, #701a75, #0f172a);
}

.article-card.variant-5 {
    background: linear-gradient(145deg, #831843, #0f172a);
}

.article-card.variant-6 {
    background: linear-gradient(145deg, #0e7490, #0f172a);
}

.book-front {
    width: 120px;
    height: 160px;
    background: var(--accent-color);
    border-radius: 4px 8px 8px 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 2;
}

.book-spine {
    content: '';
    position: absolute;
    left: 86px;
    /* Centering tweak */
    width: 20px;
    height: 160px;
    background: #2563eb;
    transform: skewY(-20deg) translateX(-10px);
    /* 3D effect */
    z-index: 1;
    display: none;
    /* Keeping it simple for now, can enhance later */
}

.book-front span {
    font-size: 0.6rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.book-front h5 {
    font-size: 1rem;
    line-height: 1.2;
    color: white;
    margin: 0;
}

.magnet-icon-wrapper {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.magnet-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.magnet-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Alpha Tools Teaser */
.alpha-tools {
    padding: 6rem 0;
    overflow: hidden;
}

.tools-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tool-preview {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tool-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    /* Red for recording/live */
    border-radius: 50%;
    box-shadow: 0 0 10px #ef4444;
    animation: blink 2s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.fake-chart {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 100px;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
    gap: 5px;
}

.fake-chart .bar {
    width: 100%;
    background: var(--accent-color);
    opacity: 0.7;
    border-radius: 4px 4px 0 0;
    transition: height 0.5s ease;
}

.sentiment-meter {
    height: 20px;
    background: #334155;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
    position: relative;
}

.meter-bar {
    height: 100%;
    width: 100%;
}

.meter-bar .fill {
    height: 100%;
    background: linear-gradient(90deg, #ef4444, #eab308, #22c55e);
    border-radius: 10px;
}

.sentiment-value {
    display: block;
    text-align: right;
    font-size: 0.8rem;
    font-weight: 700;
    color: #22c55e;
    margin-top: 5px;
}

.tool-status {
    font-size: 0.8rem;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    font-family: monospace;
}

/* Social Proof Notifications */
.notification-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    /* Let clicks pass through */
}

.notification-toast {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-left: 3px solid var(--accent-color);
    padding: 1rem;
    border-radius: 8px;
    width: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(120%);
    animation: slideIn 0.5s forwards;
    pointer-events: auto;
}

.notification-toast.hide {
    animation: slideOut 0.5s forwards;
}

@keyframes slideIn {
    to {
        transform: translateX(0);
    }
}

@keyframes slideOut {
    to {
        transform: translateX(120%);
    }
}

.notif-icon {
    font-size: 1.5rem;
}

.notif-content h4 {
    font-size: 0.9rem;
    margin-bottom: 2px;
    color: var(--text-primary);
}

.notif-content p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .notification-container {
        display: none;
    }

    .hero h1 {
        font-size: 2.8rem;
    }
}
/* Blog Styles */
.blog-hero { padding: 10rem 0 4rem; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; }
.blog-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s ease; }
.blog-card:hover { transform: translateY(-5px); border-color: var(--accent-color); }
.card-image { height: 200px; background-size: cover; background-position: center; border-bottom: 1px solid var(--glass-border); }
.card-content { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }
.card-meta { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 1rem; }
.card-content h2 { font-size: 1.25rem; margin-bottom: 1rem; line-height: 1.4; }
.card-content h2 a:hover { color: var(--accent-color); }
.card-content .tags { margin-top: auto; padding-top: 1rem; }
.tag { font-size: 0.75rem; color: var(--accent-secondary); margin-right: 0.5rem; }
.card-footer { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; }
.read-more { color: var(--accent-color); font-weight: 600; font-size: 0.9rem; }

/* Article Page */
.single-article { padding: 8rem 0 4rem; }
.article-header { text-align: center; margin-bottom: 3rem; }
.article-header h1 { font-size: 3rem; max-width: 900px; margin: 1rem auto; }
.article-header .tags { display: flex; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; }
.meta-info { display: flex; gap: 2rem; justify-content: center; color: var(--text-secondary); margin-bottom: 2rem; }
.featured-image { width: 100%; max-height: 500px; object-fit: cover; border-radius: 16px; margin-bottom: 3rem; border: 1px solid var(--glass-border); box-shadow: 0 0 30px rgba(139,92,246,0.1); }
.article-body { max-width: 800px; margin: 0 auto; font-size: 1.1rem; line-height: 1.8; color: #d1d5db; }
.article-body h2 { margin-top: 3rem; margin-bottom: 1.5rem; font-size: 1.8rem; color: var(--text-primary); }
.article-body p { margin-bottom: 1.5rem; }
.article-body ul { list-style: disc; padding-left: 2rem; margin-bottom: 1.5rem; }
.article-footer { margin-top: 4rem; text-align: center; border-top: 1px solid var(--border-color); padding-top: 2rem; max-width: 800px; margin-left: auto; margin-right: auto; }
.share-buttons { display: flex; gap: 1rem; justify-content: center; margin-top: 2rem; }
