/* TOS Hub Pages - Clean Design */
/* Version: 2.0.9 - Updated 2025-07-29 - Added course layouts */

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

/* --- COURSE LAYOUTS --- */

.tos-fibonacci-spiral {
    position: absolute;
    top: 50%;
    right: -200px;
    transform: translateY(-50%);
    width: 800px;
    height: 500px;
    opacity: 0.1;
}

.tos-fib-svg {
    width: 100%;
    height: 100%;
}

.tos-fib-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawSpiral 3s ease-out forwards;
}

@keyframes drawSpiral {
    to {
        stroke-dashoffset: 0;
    }
}

.tos-instructor-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tos-instructor-label {
    font-size: 14px;
    color: var(--gray-500);
}

.tos-instructor-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
}

.tos-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.tos-btn-primary {
    background: var(--green);
    color: white;
}

.tos-btn-primary:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(71, 131, 52, 0.3);
}

.tos-btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.tos-progress-circle {
    width: 60px;
    height: 60px;
}

.tos-circular-chart {
    display: block;
    margin: 0 auto;
    max-width: 100%;
}

.tos-circle-bg {
    fill: none;
    stroke: var(--gray-200);
    stroke-width: 3.8;
}

.tos-circle {
    fill: none;
    stroke: var(--green);
    stroke-width: 3.8;
    stroke-linecap: round;
    animation: progress 1s ease-out forwards;
}

.tos-percentage {
    fill: var(--black);
    font-size: 10px;
    font-weight: 600;
    text-anchor: middle;
}

.tos-progress-label {
    font-size: 16px;
    color: var(--gray-600);
}

.tos-learning-objectives {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 60px;
}

.tos-objective {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.tos-check-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--green);
}

.tos-objective p {
    font-size: 17px;
    line-height: 1.6;
    color: var(--gray-700);
}

.tos-price-label {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.tos-price {
    font-size: 36px;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 4px;
}

.tos-price-note {
    font-size: 14px;
    color: var(--gray-600);
}

/* DUPLICATE - Commented out

.tos-lessons-list {
    border-top: 1px solid var(--gray-100);
}

.tos-lesson {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 32px;
    border-bottom: 1px solid var(--gray-100);
    transition: all 0.2s ease;
}

.tos-lesson:last-child {
    border-bottom: none;
}

.tos-lesson:hover {
    background: var(--gray-50);
}

.tos-lesson-status {
    flex-shrink: 0;
}

.tos-lesson-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.tos-check-circle {
    width: 32px;
    height: 32px;
    color: var(--green);
}

.tos-lesson.completed .tos-lesson-title {
    color: var(--gray-500);
}

.tos-lesson-content {
    flex: 1;
}

.tos-lesson-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 4px;
}

.tos-lesson-description {
    font-size: 15px;
    color: var(--gray-600);
    margin-bottom: 8px;
}

.tos-lesson-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    color: var(--gray-500);
}

.tos-lesson-type {
    display: flex;
    align-items: center;
    gap: 4px;
}

.tos-lesson-type svg {
    width: 16px;
    height: 16px;
}

.tos-lesson-action {
    background: none;
    border: 1px solid var(--gray-300);
    color: var(--gray-700);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tos-lesson-action:hover {
    background: var(--green);
    color: white;
    border-color: var(--green);
}

.tos-lesson.completed .tos-lesson-action {
    background: var(--green-bg);
    color: var(--green);
    border-color: var(--green-bg);
}


.tos-cta-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--black);
}

.tos-cta-content p {
    font-size: 20px;
    color: var(--gray-700);
    margin-bottom: 40px;
}

.tos-cta-note {
    margin-top: 20px;
    font-size: 16px;
    color: var(--gray-600);
}

/* Responsive Design for Courses */
@media (max-width: 1024px) {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
        padding: 80px 0 60px;
    }
    
    .tos-fibonacci-spiral {
        opacity: 0.05;
    }
    
    .tos-lesson {
        padding: 20px 24px;
        flex-wrap: wrap;
    }
    
    .tos-lesson-content {
        width: 100%;
    }
    
    .tos-lesson-action {
        width: 100%;
        margin-top: 12px;
    }
}

/* Prevent horizontal scroll */
body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

/* --- Course Layouts (continued) --- */

.tos-fibonacci-spiral {
    position: absolute;
    top: 50%;
    right: -200px;
    transform: translateY(-50%);
    width: 800px;
    height: 500px;
    opacity: 0.1;
}

.tos-fib-svg {
    width: 100%;
    height: 100%;
}

.tos-fib-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawSpiral 3s ease-out forwards;
}

@keyframes drawSpiral {
    to {
        stroke-dashoffset: 0;
    }
}

.tos-instructor-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tos-instructor-label {
    font-size: 14px;
    color: var(--gray-500);
}

.tos-instructor-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
}

.tos-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.tos-btn-primary {
    background: var(--green);
    color: white;
}

.tos-btn-primary:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(71, 131, 52, 0.3);
}

.tos-btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.tos-progress-circle {
    width: 60px;
    height: 60px;
}

.tos-circular-chart {
    display: block;
    margin: 0 auto;
    max-width: 100%;
}

.tos-circle-bg {
    fill: none;
    stroke: var(--gray-200);
    stroke-width: 3.8;
}

.tos-circle {
    fill: none;
    stroke: var(--green);
    stroke-width: 3.8;
    stroke-linecap: round;
    animation: progress 1s ease-out forwards;
}

.tos-percentage {
    fill: var(--black);
    font-size: 10px;
    font-weight: 600;
    text-anchor: middle;
}

.tos-progress-label {
    font-size: 16px;
    color: var(--gray-600);
}

.tos-learning-objectives {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 60px;
}

.tos-objective {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.tos-check-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--green);
}

.tos-objective p {
    font-size: 17px;
    line-height: 1.6;
    color: var(--gray-700);
}

.tos-price-label {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.tos-price {
    font-size: 36px;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 4px;
}

.tos-price-note {
    font-size: 14px;
    color: var(--gray-600);
}


.tos-nav-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    transition: all 0.2s;
}

.tos-nav-button:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateX(-4px);
}

.tos-nav-button.tos-nav-next {
    margin-left: auto;
}

.tos-nav-button.tos-nav-next:hover {
    transform: translateX(4px);
}

.tos-nav-label {
    font-size: 12px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tos-nav-title {
    font-size: 16px;
    color: #1e293b;
    font-weight: 600;
}

.tos-hero-cta-button {
    display: inline-block;
    padding: 16px 32px;
    background: white;
    color: #10b981;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.tos-hero-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}


.tos-video-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    align-items: center;
}

.tos-video-description {
    font-size: 18px;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 24px;
}

/* Container and Layout Styles */
.tos-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.tos-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.tos-section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.tos-cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.tos-cta-title {
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.tos-cta-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    line-height: 1.6;
}

.tos-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.tos-cta-button {
    display: inline-block;
    padding: 18px 40px;
    background: white;
    color: #10b981;
    border-radius: 8px;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.tos-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    background: #f0fdf4;
}

.tos-cta-button.tos-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.tos-cta-button.tos-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.tos-cta-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

/* Hero Content Layout */
.tos-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0;
}

.tos-hero-left {
    z-index: 2;
}

.tos-hero-right {
    z-index: 2;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .tos-container,
    .tos-hero-container,
    .tos-section-container,
    .tos-cta-container {
        padding: 0 16px;
    }
    
    .tos-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 0;
    }
    
    .tos-cta-title {
        font-size: 32px;
    }
    
    .tos-cta-subtitle {
        font-size: 18px;
    }
    
    .tos-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .tos-cta-button {
        width: 100%;
        max-width: 300px;
    }
}



/* Footer Bottom CTA */
.tos-footer-bottom {
    margin-top: 60px;
    padding-top: 60px;
    text-align: center;
    position: relative;
}

/* Remove old chart bg styles - using new chart animation instead */


.tos-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.tos-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.tos-footer-about h3,
.tos-footer-resources h3,
.tos-footer-support h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
}

.tos-footer-about p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 20px;
}

.tos-footer-resources ul,
.tos-footer-support ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tos-footer-resources li,
.tos-footer-support li {
    margin-bottom: 12px;
}

.tos-footer-resources a,
.tos-footer-support a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

.tos-footer-resources a:hover,
.tos-footer-support a:hover {
    color: #10b981;
}

/* Trust Badges */
.tos-trust-badges {
    display: flex;
    gap: 16px;
    align-items: center;
}

.tos-trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f8fafc;
    border-radius: 8px;
    font-size: 14px;
    color: #64748b;
}

.tos-trust-badge svg {
    width: 20px;
    height: 20px;
    color: #10b981;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .tos-footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .tos-footer-bottom h3 {
        font-size: 28px;
    }
    
    .tos-trust-badges {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Container for CTA content */
.tos-container {
    position: relative;
    z-index: 1;
}

.tos-tool-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
}

.tos-tool-icon svg {
    width: 24px;
    height: 24px;
}

.tos-tool-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.tos-tool-features li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

.tos-tool-features li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Chart Animation Background */
.tos-chart-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

.tos-chart-line {
    position: absolute;
    bottom: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to top, 
        rgba(59, 130, 246, 0) 0%, 
        rgba(59, 130, 246, 0.3) 30%, 
        rgba(59, 130, 246, 0.5) 50%, 
        rgba(59, 130, 246, 0.3) 70%,
        rgba(59, 130, 246, 0) 100%);
    border-radius: 1px;
    animation: chartWave 10s ease-in-out infinite;
    transform-origin: bottom;
}

/* Create varied delays for organic movement - heights handled by animation */
.tos-chart-line:nth-child(1) { left: 5%; animation-delay: 0s; }
.tos-chart-line:nth-child(2) { left: 10%; animation-delay: 0.5s; }
.tos-chart-line:nth-child(3) { left: 15%; animation-delay: 1.0s; }
.tos-chart-line:nth-child(4) { left: 20%; animation-delay: 1.5s; }
.tos-chart-line:nth-child(5) { left: 25%; animation-delay: 2.0s; }
.tos-chart-line:nth-child(6) { left: 30%; animation-delay: 2.5s; }
.tos-chart-line:nth-child(7) { left: 35%; animation-delay: 3.0s; }
.tos-chart-line:nth-child(8) { left: 40%; animation-delay: 3.5s; }
.tos-chart-line:nth-child(9) { left: 45%; animation-delay: 4.0s; }
.tos-chart-line:nth-child(10) { left: 50%; animation-delay: 4.5s; }
.tos-chart-line:nth-child(11) { left: 55%; animation-delay: 5.0s; }
.tos-chart-line:nth-child(12) { left: 60%; animation-delay: 5.5s; }
.tos-chart-line:nth-child(13) { left: 65%; animation-delay: 6.0s; }
.tos-chart-line:nth-child(14) { left: 70%; animation-delay: 6.5s; }
.tos-chart-line:nth-child(15) { left: 75%; animation-delay: 7.0s; }
.tos-chart-line:nth-child(16) { left: 80%; animation-delay: 7.5s; }
.tos-chart-line:nth-child(17) { left: 85%; animation-delay: 8.0s; }
.tos-chart-line:nth-child(18) { left: 90%; animation-delay: 8.5s; }
.tos-chart-line:nth-child(19) { left: 95%; animation-delay: 9.0s; }

@keyframes chartWave {
    0%, 100% {
        transform: scaleY(0.7);
        opacity: 0.15;
    }
    25% {
        transform: scaleY(0.9);
        opacity: 0.25;
    }
    50% {
        transform: scaleY(0.6);
        opacity: 0.2;
    }
    75% {
        transform: scaleY(0.85);
        opacity: 0.3;
    }
}

/* Footer Bottom Styles Update */
.tos-footer-bottom h3 {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 32px;
}

/* Responsive */
@media (max-width: 768px) {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Remove extra space after checklist */
.tos-card-features li:last-child {
    margin-bottom: 0;
}

/* --- Indicators Collection Page Styles --- */

/* CSS Variables - Matches Landing Page Design System */
:root {
    --tos-green: #478334;
    --tos-green-hover: #3a6b2b;
    --tos-green-light: #5a9945;
    --tos-green-bg: rgba(71, 131, 52, 0.08);
    --tos-dark: #111827;
    --tos-white: #ffffff;
    --tos-cream: #f8f9fa;
    --tos-gray-50: #f9fafb;
    --tos-gray-100: #f3f4f6;
    --tos-gray-200: #e5e7eb;
    --tos-gray-300: #d1d5db;
    --tos-gray-400: #9ca3af;
    --tos-gray-500: #6b7280;
    --tos-gray-600: #4b5563;
    --tos-gray-700: #374151;
    --tos-gray-900: #111827;
    --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

/* --- HERO SECTION --- */
.tos-hero {
    padding: 80px 0 60px;
    background: linear-gradient(180deg, var(--tos-cream) 0%, var(--tos-white) 100%);
}

.tos-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 48px;
}

.tos-container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
}

.tos-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.tos-hero-left {
    max-width: 560px;
}

.tos-hero-right {
    max-width: 500px;
}

.tos-display,
.tos-hero-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 48px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--tos-gray-900);
    margin: 0 0 16px;
}

.tos-hero-tagline {
    font-size: 18px;
    line-height: 1.6;
    color: var(--tos-gray-600);
    margin: 0 0 32px;
}

/* Search */
.tos-search-wrapper {
    position: relative;
    margin-bottom: 32px;
}

.tos-search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.tos-search-icon {
    position: absolute;
    left: 16px;
    color: var(--tos-gray-400);
    pointer-events: none;
}

.tos-search-input {
    width: 100%;
    padding: 16px 48px 16px 48px;
    font-size: 16px;
    font-family: var(--font-body);
    border: 1px solid var(--tos-gray-200);
    border-radius: var(--radius-md);
    background: var(--tos-white);
    color: var(--tos-gray-900);
    transition: all 0.2s ease;
}

.tos-search-input:focus {
    outline: none;
    border-color: var(--tos-green);
    box-shadow: 0 0 0 3px var(--tos-green-bg);
}

.tos-search-input::placeholder {
    color: var(--tos-gray-400);
}

.tos-search-clear {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--tos-gray-400);
    display: none;
}

.tos-search-clear:hover {
    color: var(--tos-gray-600);
}

.tos-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--tos-white);
    border: 1px solid var(--tos-gray-200);
    border-radius: var(--radius-md);
    margin-top: 8px;
    box-shadow: var(--shadow-lg);
    z-index: 100;
    max-height: 400px;
    overflow-y: auto;
}

/* Hero Stats */
.tos-hero-stats {
    display: flex;
    gap: 48px;
}

.tos-hero-stat {
    text-align: left;
}

.tos-hero-stat-number {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 600;
    color: var(--tos-green);
    letter-spacing: -0.02em;
    line-height: 1;
}

.tos-hero-stat-label {
    font-size: 14px;
    color: var(--tos-gray-500);
    margin-top: 4px;
}

/* Testimonials Slider */
.tos-hero-dynamic {
    background: var(--tos-white);
    border: 1px solid var(--tos-gray-200);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
}

.tos-dynamic-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--tos-green);
    margin-bottom: 20px;
}

.tos-dynamic-header svg {
    color: var(--tos-green);
}

.tos-testimonials-slider {
    position: relative;
    min-height: 120px;
}

.tos-testimonial {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tos-testimonial.active {
    display: block;
}

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

.tos-testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--tos-gray-700);
    font-style: italic;
    margin: 0 0 16px;
}

.tos-testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tos-testimonial-author strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--tos-gray-900);
}

.tos-testimonial-author span {
    font-size: 12px;
    color: var(--tos-gray-500);
}

.tos-testimonial-dots {
    display: flex;
    gap: 6px;
    margin-top: 16px;
    justify-content: center;
}

.tos-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--tos-gray-200);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tos-dot.active,
.tos-dot:hover {
    background: var(--tos-green);
}

/* --- MAIN CONTENT LAYOUT --- */
.tos-content-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 48px;
    padding: 48px 0;
}

/* Mobile Filters (hidden on desktop) */
.tos-mobile-filters {
    display: none;
    gap: 16px;
    padding: 24px 0;
}

.tos-mobile-filter-section {
    flex: 1;
}

.tos-mobile-filter-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--tos-gray-500);
    margin-bottom: 8px;
}

.tos-select-field {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    font-family: var(--font-body);
    border: 1px solid var(--tos-gray-200);
    border-radius: var(--radius-sm);
    background: var(--tos-white);
    color: var(--tos-gray-900);
    cursor: pointer;
}

/* --- SIDEBAR --- */
.tos-sidebar {
    position: sticky;
    top: 24px;
    height: fit-content;
}

.tos-sidebar-section {
    margin-bottom: 32px;
}

.tos-sidebar-title {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--tos-gray-500);
    margin: 0 0 16px;
}

.tos-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tos-sidebar-item {
    margin-bottom: 4px;
}

.tos-sidebar-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    font-size: 14px;
    color: var(--tos-gray-700);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all 0.15s ease;
}

.tos-sidebar-link:hover {
    background: var(--tos-gray-50);
    color: var(--tos-gray-900);
}

.tos-sidebar-link.active {
    background: var(--tos-green-bg);
    color: var(--tos-green);
    font-weight: 600;
}

.tos-sidebar-count {
    font-size: 12px;
    color: var(--tos-gray-400);
    background: var(--tos-gray-100);
    padding: 2px 8px;
    border-radius: 10px;
}

.tos-sidebar-link.active .tos-sidebar-count {
    background: rgba(71, 131, 52, 0.15);
    color: var(--tos-green);
}

/* --- INDICATORS SECTION --- */
.tos-indicators-section {
    min-width: 0;
}

.tos-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.tos-section-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--tos-gray-900);
    margin: 0;
}

.tos-showing-count {
    color: var(--tos-green);
}

.tos-header-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.tos-access-select {
    padding: 10px 16px;
    font-size: 14px;
    font-family: var(--font-body);
    border: 1px solid var(--tos-gray-200);
    border-radius: var(--radius-sm);
    background: var(--tos-white);
    color: var(--tos-gray-700);
    cursor: pointer;
}

.tos-view-controls {
    display: flex;
    gap: 4px;
    padding: 4px;
    background: var(--tos-gray-100);
    border-radius: var(--radius-sm);
}

.tos-view-btn {
    padding: 8px;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: var(--tos-gray-400);
    cursor: pointer;
    transition: all 0.15s ease;
}

.tos-view-btn:hover {
    color: var(--tos-gray-600);
}

.tos-view-btn.active {
    background: var(--tos-white);
    color: var(--tos-gray-900);
    box-shadow: var(--shadow-sm);
}

/* --- INDICATOR CARDS GRID --- */
.tos-indicators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.tos-indicators-grid.list-view {
    grid-template-columns: 1fr;
}

.tos-indicator-card {
    background: var(--tos-white);
    border: 1px solid var(--tos-gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.2s ease;
    cursor: pointer;
}

.tos-indicator-card:hover {
    border-color: var(--tos-green);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.tos-indicator-preview {
    position: relative;
    aspect-ratio: 16/10;
    background: var(--tos-gray-100);
    overflow: hidden;
}

.tos-indicator-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tos-indicator-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--tos-gray-100) 0%, var(--tos-gray-200) 100%);
}

.tos-placeholder-text {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--tos-gray-400);
    text-transform: uppercase;
}

/* Badges */
.tos-indicator-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
}

.tos-badge-free {
    background: var(--tos-green);
    color: var(--tos-white);
}

.tos-badge-vb {
    background: var(--tos-dark);
    color: var(--tos-white);
}

/* Video indicator */
.tos-video-indicator {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Locked overlay */
.tos-locked-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tos-lock-icon {
    color: var(--tos-white);
    opacity: 0.9;
}

/* Card Content */
.tos-indicator-content {
    padding: 20px;
}

.tos-indicator-name {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--tos-gray-900);
    margin: 0 0 12px;
    line-height: 1.3;
}

.tos-indicator-meta-top {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    align-items: center;
}

.tos-skill-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    background: var(--tos-gray-100);
    color: var(--tos-gray-600);
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.tos-time-duration {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--tos-gray-500);
}

.tos-time-icon {
    width: 14px;
    height: 14px;
}

.tos-download-count {
    font-size: 13px;
    color: var(--tos-gray-500);
}

.tos-indicator-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--tos-gray-600);
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tos-indicator-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-body);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    background: var(--tos-gray-100);
    color: var(--tos-gray-700);
    border: 1px solid var(--tos-gray-200);
}

.tos-indicator-action:hover {
    background: var(--tos-gray-200);
    color: var(--tos-gray-900);
}

.tos-indicator-action.free {
    background: var(--tos-green);
    color: var(--tos-white);
    border-color: var(--tos-green);
}

.tos-indicator-action.free:hover {
    background: var(--tos-green-hover);
    border-color: var(--tos-green-hover);
}

/* No Results */
.tos-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 64px 24px;
    color: var(--tos-gray-500);
    font-size: 16px;
}

/* Loading Spinner Overlay */
.tos-loading-overlay {
    position: relative;
    min-height: 200px;
}

.tos-loading-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 10;
}

.tos-loading-overlay::before {
    content: 'Loading...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 11;
    font-size: 14px;
    font-weight: 600;
    color: var(--tos-green);
    padding-top: 48px;
}

.tos-loading-spinner {
    position: absolute;
    top: calc(50% - 20px);
    left: calc(50% - 20px);
    width: 40px;
    height: 40px;
    border: 3px solid var(--tos-gray-200);
    border-top-color: var(--tos-green);
    border-radius: 50%;
    animation: tosSpinner 0.7s linear infinite;
    z-index: 12;
}

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

.tos-sidebar-link.tos-loading {
    opacity: 0.6;
    pointer-events: none;
}

/* --- PAGINATION --- */
.tos-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--tos-gray-200);
}

.tos-page-btn {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-body);
    color: var(--tos-gray-600);
    background: var(--tos-white);
    border: 1px solid var(--tos-gray-200);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.15s ease;
}

.tos-page-btn:hover {
    background: var(--tos-gray-50);
    border-color: var(--tos-gray-300);
}

.tos-page-btn.active {
    background: var(--tos-green);
    color: var(--tos-white);
    border-color: var(--tos-green);
}

/* --- FOOTER CTA --- */
.tos-footer-cta {
    position: relative;
    padding: 80px 0;
    background: var(--tos-dark);
    overflow: hidden;
}

.tos-chart-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    padding: 0 10%;
    opacity: 0.1;
}

.tos-chart-line {
    width: 2px;
    background: linear-gradient(to top, var(--tos-green), transparent);
    animation: chartPulse 3s ease-in-out infinite;
}

.tos-chart-line:nth-child(1) { height: 40%; animation-delay: 0s; }
.tos-chart-line:nth-child(2) { height: 60%; animation-delay: 0.5s; }
.tos-chart-line:nth-child(3) { height: 35%; animation-delay: 1s; }
.tos-chart-line:nth-child(4) { height: 70%; animation-delay: 1.5s; }
.tos-chart-line:nth-child(5) { height: 50%; animation-delay: 2s; }
.tos-chart-line:nth-child(6) { height: 45%; animation-delay: 2.5s; }

@keyframes chartPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.tos-footer-cta .tos-container {
    position: relative;
    z-index: 1;
}

.tos-footer-cta-title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 600;
    color: var(--tos-white);
    text-align: center;
    margin: 0 0 48px;
}

.tos-featured-tools {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

.tos-featured-tool {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: all 0.2s ease;
}

.tos-featured-tool:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.tos-tool-icon {
    width: 56px;
    height: 56px;
    background: var(--tos-green-bg);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--tos-green-light);
}

.tos-featured-tool h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--tos-white);
    margin: 0 0 12px;
}

.tos-featured-tool p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 20px;
}

.tos-tool-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.tos-tool-features li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.tos-tool-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--tos-green-light);
}

.tos-tool-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--tos-green-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.tos-tool-link:hover {
    color: var(--tos-white);
}

.tos-footer-bottom {
    text-align: center;
    padding-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tos-footer-bottom h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--tos-white);
    margin: 0 0 24px;
}

.tos-footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-body);
    text-decoration: none;
    background: var(--tos-green);
    color: var(--tos-white);
    border-radius: 0;
    transition: all 0.2s ease;
}

.tos-footer-cta-btn:hover {
    background: var(--tos-green-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
    .tos-container,
    .tos-container-wide {
        padding: 0 32px;
    }

    .tos-hero-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .tos-hero-left,
    .tos-hero-right {
        max-width: 100%;
    }

    .tos-content-layout {
        grid-template-columns: 220px 1fr;
        gap: 32px;
    }

    .tos-featured-tools {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .tos-container,
    .tos-container-wide {
        padding: 0 24px;
    }

    .tos-hero {
        padding: 48px 0;
    }

    .tos-display,
    .tos-hero-title {
        font-size: 32px;
    }

    .tos-hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .tos-hero-stat-number {
        font-size: 28px;
    }

    .tos-mobile-filters {
        display: flex;
    }

    .tos-content-layout {
        grid-template-columns: 1fr;
    }

    .tos-sidebar {
        display: none;
    }

    .tos-indicators-grid {
        grid-template-columns: 1fr;
    }

    .tos-section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .tos-footer-cta {
        padding: 48px 0;
    }

    .tos-footer-cta-title {
        font-size: 24px;
    }

    .tos-featured-tool {
        padding: 24px;
    }
}

/* --- LIST VIEW STYLES --- */
.tos-indicators-grid.list-view .tos-indicator-card {
    display: grid;
    grid-template-columns: 200px 1fr;
}

.tos-indicators-grid.list-view .tos-indicator-preview {
    aspect-ratio: auto;
    height: 100%;
    min-height: 150px;
}

.tos-indicators-grid.list-view .tos-indicator-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 768px) {
    .tos-indicators-grid.list-view .tos-indicator-card {
        grid-template-columns: 1fr;
    }

    .tos-indicators-grid.list-view .tos-indicator-preview {
        aspect-ratio: 16/10;
        height: auto;
        min-height: auto;
    }
}

/* ==========================================================================
   Access Modal Styles
   ========================================================================== */

.tos-access-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tos-access-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.tos-access-modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.tos-access-modal-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px;
}

.tos-access-modal-content p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 24px;
}

.tos-access-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, background-color 0.2s;
}

.tos-access-modal-close:hover {
    color: #1e293b;
    background: #f1f5f9;
}

.tos-access-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tos-access-primary-btn {
    display: block;
    text-align: center;
    padding: 14px 24px;
    background: #2a7882;
    color: #ffffff;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s;
}

.tos-access-primary-btn:hover {
    background: #236871;
    color: #ffffff;
    text-decoration: none;
}

.tos-access-secondary-btn {
    display: block;
    text-align: center;
    padding: 12px 24px;
    background: transparent;
    color: #64748b;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}

.tos-access-secondary-btn:hover {
    border-color: #94a3b8;
    color: #1e293b;
    text-decoration: none;
}

body.tos-modal-open {
    overflow: hidden;
}

/* Login Modal Form Styles */
.tos-login-modal .tos-login-form {
    margin-top: 16px;
}

.tos-login-modal .tos-form-group {
    margin-bottom: 14px;
}

.tos-login-modal .tos-form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    color: #1e293b;
    background: #f8fafc;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.tos-login-modal .tos-form-group input:focus {
    outline: none;
    border-color: #2a7882;
    background: #ffffff;
}

@media (max-width: 480px) {
    .tos-access-modal-content {
        padding: 28px 20px;
        border-radius: 12px;
    }
}
