/*
Theme Name: FishpondTG 2026
Theme URI: https://fishpondtradinggroup.com
Author: Fish Pond Trading Group
Author URI: https://fishpondtradinggroup.com
Description: FishpondTG 2026 v3.2 - Contemporary Pro Trader card styling, YouTube 5min+ filter with persistent back-catalogue cache, testimonials carousel hook, promo banner badges on tier cards
Version: 3.2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fishpond
*/

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

:root {
    --primary-color: #1a4d6d;
    --secondary-color: #2c7da0;
    --accent-color: #f77f00;
    --dark-bg: #0a1929;
    --light-bg: #f8f9fa;
    --text-dark: #212529;
    --text-light: #6c757d;
    --white: #ffffff;
    --success: #28a745;
    --warning: #ffc107;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Navigation */
nav {
    background: var(--dark-bg);
    padding: 0.75rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 60px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-shrink: 0;
    max-width: 300px;
}

.logo img,
.logo .custom-logo,
.custom-logo-link img,
nav .logo img,
nav .logo > img,
.nav-container .logo img {
    height: 40px !important;
    width: 40px !important;
    max-height: 40px !important;
    max-width: 40px !important;
    min-height: 40px !important;
    min-width: 40px !important;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}

.site-name {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    white-space: nowrap;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0a1929 0%, #1a4d6d 50%, #2c7da0 100%);
    color: var(--white);
    padding: 140px 5% 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 60px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(247, 127, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(44, 125, 160, 0.15) 0%, transparent 50%);
    opacity: 0.6;
}

.hero-content {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero .subtitle {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(247, 127, 0, 0.35);
}

.btn-primary:hover {
    background: #d66e00;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(247, 127, 0, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

/* Section Styles */
.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--dark-bg);
    font-weight: 900;
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 4rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Markets Section */
.markets { padding: 80px 5%; background: var(--white); }

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

.market-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
}

.market-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: var(--accent-color);
}

.market-icon { font-size: 3rem; margin-bottom: 1rem; }

.market-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.market-symbols {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.market-link {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    transition: color 0.3s;
}

.market-link:hover { color: var(--accent-color); }

/* ====================================================
   Pro Trader Development Section — Contemporary v2
   ==================================================== */
.pro-trader {
    padding: 110px 5%;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.pro-trader-content { max-width: 1400px; margin: 0 auto; }

.pro-trader-intro {
    max-width: 900px;
    margin: 0 auto 4.5rem;
    text-align: center;
}

.pro-trader-intro p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.pro-trader-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Card: white surface, no left border, soft shadow, top accent bar grows on hover */
.pro-trader-card {
    position: relative;
    background: #ffffff;
    padding: 3rem 2.5rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(10, 25, 41, 0.06);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    overflow: hidden;
    border: 1px solid rgba(10, 25, 41, 0.04);
}

/* Top accent bar — gradient, animates from 0 to full width on hover */
.pro-trader-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 0;
    background: linear-gradient(90deg, var(--accent-color), #ffb84d);
    transition: width 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 20px 20px 0 0;
}

.pro-trader-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(10, 25, 41, 0.14);
    border-color: rgba(247, 127, 0, 0.18);
}

.pro-trader-card:hover::before {
    width: 100%;
}

/* Icon: large colored circle pill instead of plain emoji */
.pro-trader-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(247, 127, 0, 0.12), rgba(247, 127, 0, 0.04));
    font-size: 2.4rem;
    margin-bottom: 1.75rem;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
                background 0.35s ease;
}

.pro-trader-card:hover .pro-trader-icon {
    transform: scale(1.06) rotate(-3deg);
    background: linear-gradient(135deg, rgba(247, 127, 0, 0.22), rgba(247, 127, 0, 0.08));
}

.pro-trader-card h3 {
    font-size: 1.5rem;
    color: var(--dark-bg);
    margin-bottom: 0.85rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.pro-trader-card > p {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 1.75rem;
    font-size: 1rem;
}

/* Bullet list: cleaner check icons, tighter spacing */
.pro-trader-list {
    list-style: none;
    padding-left: 0;
    border-top: 1px solid rgba(10, 25, 41, 0.06);
    padding-top: 1.25rem;
}

.pro-trader-list li {
    padding: 0.5rem 0 0.5rem 1.85rem;
    position: relative;
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.5;
}

.pro-trader-list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(247, 127, 0, 0.15);
}

.pro-trader-list li:after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1.05rem;
    width: 6px;
    height: 3px;
    border-left: 1.5px solid #ffffff;
    border-bottom: 1.5px solid #ffffff;
    transform: rotate(-45deg);
}

/* Products Section */
.products { padding: 100px 5%; background: var(--light-bg); }

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

/* Tier Cards */
.tier-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 2.5rem 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid #e0e0e0;
}

.tier-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.tier-featured {
    border: 2px solid #f77f00;
    box-shadow: 0 2px 8px rgba(247, 127, 0, 0.12);
}

.tier-featured:hover {
    box-shadow: 0 4px 16px rgba(247, 127, 0, 0.2);
}

.tier-badge-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #f77f00;
    color: #ffffff;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.tier-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    text-align: center;
}

.tier-price {
    font-size: 2.75rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
    margin: 1.5rem 0 0.25rem;
    text-align: center;
}

.tier-period {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 400;
}

.tier-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.tier-features li {
    padding: 0.6rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333;
}

.tier-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10a37f;
    font-weight: 700;
    font-size: 1rem;
}

.btn-tier {
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    width: 100%;
    text-align: center;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    background: #f77f00;
    color: #ffffff;
    transition: all 0.2s;
    text-decoration: none;
    display: block;
}

.btn-tier:hover {
    background: #e67000;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(247, 127, 0, 0.3);
}

.tier-note-blue {
    background: #e7f5ff;
    border-left: 2px solid #339af0;
    color: #1864ab;
    padding: 0.85rem 1rem;
    margin-top: 1.25rem;
    border-radius: 4px;
    font-size: 0.85rem;
    line-height: 1.5;
}

.tier-note-yellow {
    background: #fff4e6;
    border-left: 2px solid #fd7e14;
    color: #d9480f;
    padding: 0.85rem 1rem;
    margin-top: 1.25rem;
    border-radius: 4px;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Clickable Tier Boxes */
.tier-clickable {
    cursor: pointer;
    transition: all 0.3s ease;
}

.tier-clickable:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.tier-clickable.tier-selected {
    border-color: #f77f00;
    box-shadow: 0 8px 25px rgba(247, 127, 0, 0.25);
    background: linear-gradient(180deg, #ffffff 0%, #fff9f5 100%);
}

.tier-click-hint {
    text-align: center;
    font-size: 0.85rem;
    color: #f77f00;
    font-weight: 600;
    margin-top: 1.5rem;
    padding: 0.75rem;
    background: rgba(247, 127, 0, 0.05);
    border-radius: 8px;
    transition: all 0.3s;
}

.tier-clickable:hover .tier-click-hint {
    background: rgba(247, 127, 0, 0.1);
    color: #e67000;
}

/* Billing Toggle */
.pricing-toggle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.toggle-label-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
    transition: all 0.3s;
}

.toggle-label-text.inactive { color: #999; }

.toggle-switch-container {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
}

.toggle-switch-container input { opacity: 0; width: 0; height: 0; }

.toggle-track {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #e0e0e0;
    transition: 0.3s;
    border-radius: 34px;
}

.toggle-track:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: #666;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch-container input:checked + .toggle-track:before {
    transform: translateX(24px);
}

.tier-price-display {
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.tier-price-display .tier-price {
    font-size: 3rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.tier-price-display .tier-period {
    font-size: 0.9rem;
    color: #666;
}

.savings-text {
    font-size: 0.75rem;
    font-weight: 500;
    color: #10a37f;
    margin-left: 0.25rem;
}

/* Full-Width Expansion Box */
.tier-details-fullwidth {
    width: 100%;
    margin-top: 3rem;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 3rem;
    border: 2px solid #e0e0e0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.tier-details-fullwidth .tier-details-content {
    max-width: 1200px;
    margin: 0 auto;
}

.tier-heading-banner {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.tier-heading-badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.5rem;
}

.tier-heading-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.tier-heading-price {
    font-size: 2rem;
    font-weight: 700;
    color: #f77f00;
}

.tier-heading-price span {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255,255,255,0.8);
    margin-left: 0.5rem;
}

.details-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    text-align: center;
}

.details-intro p {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 1rem;
}

.details-included {
    background: #e7f5ff;
    padding: 1.25rem;
    border-radius: 6px;
    margin: 1.5rem 0;
    border-left: 3px solid #339af0;
}

.details-included h5 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.details-included p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

.details-tagline {
    text-align: center;
    font-size: 1.1rem;
    color: #f77f00;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-left: 4px solid #f77f00;
    border-radius: 8px;
}

.btn-large {
    max-width: 400px;
    margin: 2rem auto 0;
    display: block;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

/* FAQ Section */
.faq { padding: 80px 5%; background: var(--light-bg); }

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-question {
    padding: 1.25rem 1.5rem;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #1a1a1a;
    transition: all 0.3s;
    user-select: none;
}

.faq-question:hover { background: #e9ecef; }

.faq-question.active {
    background: #2c5282;
    color: white;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.3s;
}

.faq-question.active .faq-icon { transform: rotate(45deg); }

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
    color: #4a4a4a;
    line-height: 1.7;
}

.faq-answer.active {
    padding: 1.5rem;
    max-height: 500px;
}

/* CTA Section */
.cta-section {
    padding: 80px 5%;
    background: linear-gradient(135deg, var(--accent-color) 0%, #d66e00 100%);
    color: var(--white);
    text-align: center;
}

.cta-content { max-width: 900px; margin: 0 auto; }

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

/* Toolkit */
.toolkit-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a4a4a;
    text-align: center;
    margin-bottom: 2.5rem;
}

/* Footer */
footer a { color: var(--accent-color); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* Smooth transitions */
#tier2-content, #tier3-content {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==================== MOBILE ==================== */
@media (max-width: 1024px) {
    .markets-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: 1fr; gap: 2rem; }
    .tier-heading-title { font-size: 1.75rem; }
    .tier-heading-price { font-size: 1.5rem; }
}

@media (max-width: 768px) {
    nav { padding: 0.5rem 5%; }
    .nav-container { min-height: 50px; }
    
    .logo img,
    nav .logo img,
    .nav-container .logo img {
        height: 32px !important;
        width: 32px !important;
        max-height: 32px !important;
        max-width: 32px !important;
        min-height: 32px !important;
        min-width: 32px !important;
    }
    
    .site-name { font-size: 0.95rem; }
    .hero h1 { font-size: 2.5rem; }
    .hero .subtitle { font-size: 1.2rem; }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 50px;
        left: 0; right: 0;
        background: var(--dark-bg);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        max-height: calc(100vh - 50px);
        overflow-y: auto;
    }
    
    .nav-links.active { display: flex; }
    .mobile-menu-toggle { display: block; }
    
    .products-grid,
    .pro-trader-grid { grid-template-columns: 1fr; }
    
    .markets-grid { grid-template-columns: 1fr; }
    
    .faq-grid { grid-template-columns: 1fr; }
    
    .section-title { font-size: 2rem; }
    .cta-section h2 { font-size: 2rem; }
    
    .tier-details-fullwidth { padding: 2rem 1.5rem; }
}

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

/* Nav CTA Button */
.nav-cta {
    background: var(--accent-color) !important;
    color: var(--white) !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: 6px;
    font-weight: 700 !important;
    transition: background 0.3s !important;
}

.nav-cta:hover {
    background: #e67000 !important;
}

/* Green Trial Note (VTF) */
.tier-note-green {
    background: #e6f9f0;
    border-left: 2px solid #10a37f;
    color: #0d6b53;
    padding: 0.85rem 1rem;
    margin-top: 1.25rem;
    border-radius: 4px;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Warning Box (Mentorship) */
.details-warning {
    background: #fff4e6;
    border-left: 3px solid #fd7e14;
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 4px;
}

.details-warning h5 {
    margin-bottom: 0.5rem;
    color: #d9480f;
}

.details-warning p {
    margin: 0 0 0.5rem;
    font-size: 0.9rem;
}

/* Toolkit Section */
.toolkit-section {
    background: var(--white) !important;
}

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

.toolkit-price-card {
    background: var(--white);
}

.toolkit-student-card {
    border: 2px solid #10a37f !important;
}

.toolkit-price-value {
    font-size: 2.5rem;
    margin: 1rem 0;
}

.toolkit-student-price {
    color: #10a37f;
}

.toolkit-student-note {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1rem;
}

.toolkit-btn-wrap {
    text-align: center;
    margin-top: 1.5rem;
}

.btn-student {
    background: #10a37f !important;
}

.btn-student:hover {
    background: #0d8a6b !important;
}

.toolkit-desc-box {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--light-bg);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Section background alternation (V10 order) */
/* Products/Membership = light bg (default from .products) */
/* Markets = white bg (default from .markets) */
/* Pro Trader = light bg */
.pro-trader {
    background: var(--light-bg);
}

/* Toolkit = white bg */
/* FAQs = light bg (default from .faq) */

/* Mobile: toolkit grid */
@media (max-width: 768px) {
    .toolkit-price-grid {
        grid-template-columns: 1fr;
    }
}


/* ==================== MARKET SPEC PANELS ==================== */
.market-clickable {
    cursor: pointer;
    transition: all 0.3s ease;
}

.market-clickable:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12) !important;
    border-color: #f77f00 !important;
}

.market-clickable.market-active {
    border-color: #f77f00 !important;
    box-shadow: 0 8px 25px rgba(247, 127, 0, 0.2) !important;
    background: linear-gradient(180deg, #ffffff 0%, #fff9f5 100%) !important;
}

.market-click-hint {
    font-size: 0.8rem;
    color: #f77f00;
    font-weight: 600;
    margin-top: 1rem;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.market-clickable:hover .market-click-hint { opacity: 1; }

/* Main Panel Container */
#market-spec-panel.msp {
    display: none;
    margin-top: 2.5rem;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #e0e0e0;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

#market-spec-panel.msp.msp-active {
    display: block;
    animation: mspFadeIn 0.3s ease;
}

@keyframes mspFadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Dark Header */
.msp-header {
    background: #0a1929;
    color: #ffffff;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.msp-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
}

a.msp-exchange-link {
    color: #f77f00;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

a.msp-exchange-link:hover { color: #ffa940; text-decoration: none; }

/* Two-Column Body */
.msp-body {
    display: grid;
    grid-template-columns: 200px 1fr;
    min-height: 300px;
}

/* Left Sidebar: Ticker Buttons */
.msp-tickers {
    background: #f1f3f5;
    border-right: 1px solid #e0e0e0;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

button.msp-ticker-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    font-size: 0.9rem;
    font-family: inherit;
    color: #333;
    width: 100%;
}

button.msp-ticker-btn:hover {
    border-color: #f77f00;
    background: #fff9f5;
}

button.msp-ticker-btn.msp-ticker-active {
    border-color: #f77f00;
    background: #f77f00;
    color: #ffffff;
}

button.msp-ticker-btn span {
    font-weight: 700;
    font-size: 1rem;
    min-width: 35px;
}

button.msp-ticker-btn small {
    color: #6c757d;
    font-weight: 400;
    font-size: 0.82rem;
}

button.msp-ticker-btn.msp-ticker-active small {
    color: rgba(255,255,255,0.8);
}

/* Right Side: Spec Details */
.msp-details {
    padding: 2rem;
}

.msp-spec-title {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.msp-sym {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0a1929;
}

.msp-name {
    font-size: 1.1rem;
    color: #6c757d;
    font-weight: 500;
}

p.msp-desc {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Spec Data Grid */
.msp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.msp-cell {
    background: #f8f9fa;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    border-left: 3px solid #f77f00;
}

.msp-cell-wide {
    grid-column: 1 / -1;
}

.msp-cell-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6c757d;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.msp-cell-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0a1929;
}

.msp-cell-note {
    display: block;
    font-size: 0.82rem;
    font-weight: 400;
    color: #6c757d;
    margin-top: 0.25rem;
}

/* Individual Asset Link */
a.msp-asset-link {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.7rem 1.5rem;
    background: #0a1929;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: 6px;
    transition: all 0.2s;
}

a.msp-asset-link:hover {
    background: #f77f00;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(247, 127, 0, 0.3);
}

/* Mobile: Spec Panel */
@media (max-width: 768px) {
    .msp-body {
        grid-template-columns: 1fr;
    }
    
    .msp-tickers {
        flex-direction: row;
        flex-wrap: wrap;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
    
    button.msp-ticker-btn {
        flex: 1;
        min-width: 70px;
        justify-content: center;
        padding: 0.6rem 0.5rem;
    }
    
    button.msp-ticker-btn small {
        display: none;
    }
    
    .msp-grid {
        grid-template-columns: 1fr;
    }
    
    .msp-spec-title {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .msp-details {
        padding: 1.5rem;
    }
}

/* ==================== MICRO CONTRACT HIGHLIGHT ==================== */
.msp-micro {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 2px solid #10a37f;
    border-radius: 10px;
    position: relative;
}

.msp-micro-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.msp-micro-badge {
    display: inline-block;
    background: #10a37f;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
}

.msp-micro-sym {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0a1929;
}

.msp-micro-name {
    font-size: 1rem;
    color: #6c757d;
    font-weight: 500;
}

.msp-micro-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.msp-micro-cell {
    background: rgba(255,255,255,0.8);
    padding: 0.85rem 1rem;
    border-radius: 6px;
    border-left: 3px solid #10a37f;
}

a.msp-micro-link {
    display: inline-block;
    padding: 0.55rem 1.25rem;
    background: #10a37f;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 6px;
    transition: all 0.2s;
}

a.msp-micro-link:hover {
    background: #0d8a6b;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 163, 127, 0.3);
}

@media (max-width: 768px) {
    .msp-micro-grid {
        grid-template-columns: 1fr;
    }
    .msp-micro-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }
}

/* ==================== WORDPRESS PAGE NAV SUPPORT ==================== */
.nav-links .page-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links .page-link:hover {
    color: #f77f00;
}


/* ═══════════════════════════════════════════════════════════
   UPDATES PAGE STYLES
   Added for: YouTube/Substack feed + Small Account Challenge
   ═══════════════════════════════════════════════════════════ */

/* Updates Hero */
.updates-hero {
    background: linear-gradient(135deg, #0a1929 0%, #1a4d6d 50%, #2c7da0 100%);
    color: #fff;
    padding: 120px 5% 60px;
    text-align: center;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.updates-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 40%, rgba(247, 127, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(44, 125, 160, 0.12) 0%, transparent 50%);
}

.updates-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.updates-hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.updates-hero-sub {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    max-width: 650px;
    margin: 0 auto;
}

/* ─── Layout: Sidebar + Main ────────────────────────────── */
.updates-layout {
    background: #f4f5f7;
    padding: 3rem 5%;
}

.updates-container {
    max-width: 1500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 1200px) {
    .updates-container {
        grid-template-columns: 340px 1fr;
        gap: 2rem;
    }
}

@media (max-width: 960px) {
    .updates-container {
        grid-template-columns: 1fr;
    }
    
    .sac-sidebar {
        order: -1;
    }
}

/* ═══════════════════════════════════════════════════════════
   SMALL ACCOUNT CHALLENGE SIDEBAR
   ═══════════════════════════════════════════════════════════ */

.sac-sidebar {
    position: sticky;
    top: 90px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.15) transparent;
}

.sac-sidebar::-webkit-scrollbar {
    width: 5px;
}

.sac-sidebar::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.15);
    border-radius: 10px;
}

@media (max-width: 960px) {
    .sac-sidebar {
        position: static;
        max-height: none;
        overflow: visible;
    }
}

.sac-wrapper {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #e0e0e0;
}

/* SAC Header */
.sac-header {
    background: linear-gradient(135deg, #0f2b3d 0%, #1e3a5f 100%);
    color: #fff;
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
}

.sac-badge {
    display: inline-block;
    background: #10a37f;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 0.75rem;
    animation: sacPulse 3s ease-in-out infinite;
}

@keyframes sacPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 163, 127, 0.4); }
    50% { box-shadow: 0 0 0 6px rgba(16, 163, 127, 0); }
}

.sac-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    letter-spacing: -0.01em;
}

.sac-year {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    font-weight: 400;
}

/* SAC Philosophy */
.sac-philosophy {
    padding: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.sac-philosophy p {
    font-size: 0.88rem;
    line-height: 1.65;
    color: #4a4a4a;
    margin-bottom: 0.75rem;
}

.sac-philosophy p:last-child {
    margin-bottom: 0;
}

.sac-contrast {
    color: #1e3a5f !important;
    font-weight: 600;
    font-size: 0.85rem !important;
    background: #f0f7ff;
    padding: 0.75rem;
    border-radius: 6px;
    border-left: 3px solid #2c7da0;
}

/* SAC Chart */
.sac-chart-container {
    padding: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.sac-chart-container canvas {
    max-height: 220px;
}

.sac-section-heading {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #999;
    margin-bottom: 1rem;
}

/* SAC Audit Notice */
.sac-audit-notice {
    display: flex;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    background: #f8fffe;
    border-bottom: 1px solid #f0f0f0;
    align-items: flex-start;
}

.sac-audit-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.sac-audit-notice strong {
    display: block;
    font-size: 0.85rem;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.sac-audit-notice p {
    font-size: 0.8rem;
    line-height: 1.55;
    color: #666;
    margin: 0;
}

/* SAC Method Note */
.sac-method-note {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: #fffbf5;
    border-bottom: 1px solid #f0f0f0;
    align-items: flex-start;
}

.sac-method-note span {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.sac-method-note p {
    font-size: 0.8rem;
    line-height: 1.55;
    color: #666;
    margin: 0;
}

/* SAC Weekly Entries */
.sac-entries {
    padding: 1.5rem;
}

.sac-entry-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid #eee;
    transition: all 0.2s;
}

.sac-entry-card:hover {
    border-color: #d0d5dd;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.sac-entry-card:last-child {
    margin-bottom: 0;
}

.sac-entry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.sac-week-badge {
    background: #1e3a5f;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sac-entry-date {
    font-size: 0.8rem;
    color: #999;
}

.sac-entry-balance {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.sac-balance-label {
    font-size: 0.78rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.sac-balance-value {
    font-size: 1.35rem;
    font-weight: 800;
    color: #1a1a1a;
    font-variant-numeric: tabular-nums;
}

.sac-entry-pnl {
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 0.75rem;
    font-variant-numeric: tabular-nums;
}

.sac-entry-pnl.positive {
    background: #eafaf4;
    color: #0d8a6a;
}

.sac-entry-pnl.negative {
    background: #fef2f2;
    color: #dc3545;
}

.sac-entry-pnl.neutral {
    background: #f5f5f5;
    color: #666;
}

.sac-entry-assets {
    margin-bottom: 0.75rem;
}

.sac-assets-label {
    display: block;
    font-size: 0.72rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    margin-bottom: 0.4rem;
}

.sac-asset-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.sac-asset-tag {
    background: #e8eef5;
    color: #1e3a5f;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    letter-spacing: 0.5px;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
}

.sac-entry-notes {
    border-top: 1px solid #e9ecef;
    padding-top: 0.75rem;
}

.sac-entry-notes p {
    font-size: 0.82rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
    font-style: italic;
}

.sac-entry-placeholder {
    text-align: center;
    padding: 2rem 1.25rem;
}

.sac-entry-placeholder p {
    font-size: 0.9rem;
    color: #999;
    margin: 0;
}


/* ═══════════════════════════════════════════════════════════
   MAIN CONTENT: FEED CARDS
   ═══════════════════════════════════════════════════════════ */

.updates-main {
    min-width: 0; /* prevent grid blowout */
}

/* Feed Filter Tabs */
.feed-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    background: #fff;
    padding: 0.4rem;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    border: 1px solid #e0e0e0;
}

.feed-tab {
    flex: 1;
    padding: 0.7rem 1rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.25s;
}

.feed-tab:hover {
    background: #f0f0f0;
    color: #333;
}

.feed-tab.active {
    background: #1e3a5f;
    color: #fff;
    box-shadow: 0 2px 6px rgba(30, 58, 95, 0.25);
}

/* Feed Grid */
.feed-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Feed Cards */
.feed-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #e8e8e8;
    transition: all 0.25s;
}

.feed-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

/* Video Wrapper */
.feed-card-media {
    position: relative;
}

.feed-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #0a1929;
    cursor: pointer;
}

.feed-video-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s, filter 0.3s;
}

.feed-video-wrapper:hover .feed-video-thumb {
    transform: scale(1.03);
    filter: brightness(0.85);
}

.feed-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
    opacity: 0.9;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

.feed-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.12);
    opacity: 1;
}

/* Feed Card Body */
.feed-card-body {
    padding: 1.5rem;
}

.feed-card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.feed-source-badge {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
}

.feed-badge-youtube {
    background: #fce4e4;
    color: #cc0000;
}

.feed-badge-substack {
    background: #fff0e6;
    color: #f77f00;
}

.feed-date {
    font-size: 0.82rem;
    color: #999;
}

.feed-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}

.feed-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.feed-card-title a:hover {
    color: #2c7da0;
}

.feed-card-desc {
    font-size: 0.92rem;
    line-height: 1.65;
    color: #555;
    margin-bottom: 1rem;
}

.feed-card-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.88rem;
    font-weight: 600;
    color: #2c7da0;
    text-decoration: none;
    transition: color 0.2s;
}

.feed-card-link:hover {
    color: #f77f00;
}

/* Substack-only card (no media) */
.feed-substack .feed-card-body {
    border-left: 4px solid #f77f00;
}

/* Feed Empty State */
.feed-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: #fff;
    border-radius: 14px;
    border: 2px dashed #d0d5dd;
}

.feed-empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feed-empty h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.feed-empty p {
    font-size: 1rem;
    color: #666;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

.feed-empty a {
    color: #2c7da0;
    text-decoration: none;
    font-weight: 600;
}

.feed-empty a:hover {
    color: #f77f00;
}

/* Feed Card Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feed-card {
    animation: fadeInUp 0.4s ease both;
}

.feed-card:nth-child(2) { animation-delay: 0.05s; }
.feed-card:nth-child(3) { animation-delay: 0.1s; }
.feed-card:nth-child(4) { animation-delay: 0.15s; }
.feed-card:nth-child(5) { animation-delay: 0.2s; }


/* ─── Mobile Responsive ─────────────────────────────────── */
@media (max-width: 768px) {
    .updates-hero {
        padding: 100px 5% 40px;
    }
    
    .updates-hero h1 {
        font-size: 2.2rem;
    }
    
    .updates-layout {
        padding: 2rem 4%;
    }
    
    .sac-wrapper {
        border-radius: 12px;
    }
    
    .sac-title {
        font-size: 1.3rem;
    }
    
    .feed-tabs {
        flex-wrap: nowrap;
    }
    
    .feed-tab {
        font-size: 0.82rem;
        padding: 0.6rem 0.5rem;
    }
    
    .feed-card-title {
        font-size: 1.1rem;
    }
    
    .feed-card-body {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .updates-hero h1 {
        font-size: 1.8rem;
    }
    
    .sac-header {
        padding: 1.5rem 1.25rem;
    }
    
    .sac-philosophy,
    .sac-chart-container,
    .sac-entries {
        padding: 1.25rem;
    }
    
    .sac-entry-card {
        padding: 1rem;
    }
    
    .sac-balance-value {
        font-size: 1.15rem;
    }
}

/* ==================== FEED CARD V2 - Horizontal Layout ==================== */

/* Horizontal row layout for feed cards */
.feed-card-row {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 0;
    min-height: 160px;
}

/* Thumbnail column */
.feed-card-thumb {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    background: #0a1929;
    border-radius: 14px 0 0 14px;
}

.feed-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s, filter 0.3s;
    display: block;
}

.feed-card-thumb:hover img {
    transform: scale(1.05);
    filter: brightness(0.8);
}

.feed-thumb-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.85;
    transition: opacity 0.2s, transform 0.2s;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

.feed-card-thumb:hover .feed-thumb-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Video duration badge (bottom-right of thumbnail) */
.feed-thumb-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.85);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    padding: 3px 7px;
    border-radius: 4px;
    pointer-events: none;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.feed-shorts-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #ff0000;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
}

/* Substack cards - no thumbnail, full width body */
.feed-substack .feed-card-row {
    grid-template-columns: 1fr;
}

.feed-substack .feed-card-body {
    border-left: 4px solid #ff6719;
}

/* Source icons */
.feed-source-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    flex-shrink: 0;
}

.feed-icon-youtube {
    background: #fce4e4;
}

.feed-icon-substack {
    background: #fff0e6;
}

.feed-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}

/* Shorts cards - shorter thumbnail */
.feed-shorts .feed-card-thumb {
    max-width: 160px;
}

.feed-shorts .feed-card-row {
    grid-template-columns: 160px 1fr;
}

/* Mobile: stack vertically */
@media (max-width: 768px) {
    .feed-card-row {
        grid-template-columns: 1fr;
    }
    
    .feed-card-thumb {
        border-radius: 14px 14px 0 0;
        max-height: 200px;
    }
    
    .feed-shorts .feed-card-row {
        grid-template-columns: 1fr;
    }
    
    .feed-shorts .feed-card-thumb {
        max-width: 100%;
    }
}

/* ==================== SAC COMPACT ENTRIES + SCROLL NAV ==================== */

/* Compact entry cards */
.sac-entry-compact {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 0.65rem 0.85rem;
    margin-bottom: 0.5rem;
    border: 1px solid #eee;
    transition: all 0.2s;
}

.sac-entry-compact:hover {
    border-color: #d0d5dd;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.sac-entry-compact:last-child {
    margin-bottom: 0;
}

.sac-compact-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.sac-compact-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sac-compact-left .sac-week-badge {
    font-size: 0.6rem;
    padding: 0.15rem 0.4rem;
}

.sac-compact-left .sac-entry-date {
    font-size: 0.75rem;
    color: #888;
}

.sac-compact-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-align: right;
}

.sac-compact-right .sac-balance-value {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
}

.sac-compact-right .sac-entry-pnl {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    margin: 0;
    display: inline-block;
}

.sac-compact-assets {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-top: 0.35rem;
}

.sac-compact-assets .sac-asset-tag {
    font-size: 0.65rem;
    padding: 0.1rem 0.35rem;
}

.sac-compact-notes {
    font-size: 0.75rem;
    color: #666;
    font-style: italic;
    margin-top: 0.35rem;
    line-height: 1.4;
    border-top: 1px solid #e9ecef;
    padding-top: 0.35rem;
}

/* Scroll navigation */
.sac-scroll-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    margin-bottom: 0.5rem;
}

.sac-scroll-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #d0d5dd;
    background: #fff;
    color: #1e3a5f;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    padding: 0;
}

.sac-scroll-btn:hover {
    background: #1e3a5f;
    color: #fff;
    border-color: #1e3a5f;
}

.sac-scroll-info {
    font-size: 0.72rem;
    color: #999;
    font-weight: 500;
    letter-spacing: 0.5px;
    min-width: 70px;
    text-align: center;
}

/* Entries header with heading */
.sac-entries-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ==================== LEGAL PAGES (Privacy, Terms, Risk) ==================== */

.legal-hero {
    background: linear-gradient(135deg, #0a1929 0%, #1a4d6d 50%, #2c7da0 100%);
    color: #fff;
    padding: 120px 5% 50px;
    text-align: center;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.legal-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 40%, rgba(247, 127, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(44, 125, 160, 0.12) 0%, transparent 50%);
}

.legal-hero-risk::before {
    background:
        radial-gradient(circle at 30% 40%, rgba(220, 53, 69, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(44, 125, 160, 0.12) 0%, transparent 50%);
}

.legal-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.legal-hero h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.legal-updated {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
}

.legal-content {
    background: #f4f5f7;
    padding: 3rem 5%;
}

.legal-container {
    max-width: 850px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #e0e0e0;
}

.legal-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 2rem;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f77f00;
    display: inline-block;
}

.legal-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e3a5f;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 0.75rem;
}

.legal-section a {
    color: #2c7da0;
    text-decoration: none;
    font-weight: 500;
}

.legal-section a:hover {
    color: #f77f00;
}

.legal-highlight {
    background: #fff4e6;
    border-left: 4px solid #f77f00;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.legal-highlight p {
    margin-bottom: 0;
    color: #333;
}

.legal-highlight-red {
    background: #fef2f2;
    border-left-color: #dc3545;
}

.legal-highlight-red p {
    color: #721c24;
}

.legal-notice {
    margin-top: 3rem;
    padding: 1.5rem;
    background: #e7f5ff;
    border-left: 4px solid #339af0;
    border-radius: 8px;
}

.legal-notice p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #1864ab;
    margin: 0;
}

@media (max-width: 768px) {
    .legal-hero {
        padding: 100px 5% 40px;
    }
    
    .legal-hero h1 {
        font-size: 2rem;
    }
    
    .legal-container {
        padding: 2rem 1.5rem;
        border-radius: 12px;
    }
    
    .legal-section h2 {
        font-size: 1.15rem;
    }
}
