/* CTR™ Framework - Main Stylesheet */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400&family=Nunito+Sans:wght@300;400;600;700&display=swap');

/* Custom Threads Icon */
.fab.fa-threads::before {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%235e8b7e' d='M331.5 235.7c2.2 .9 4.2 1.9 6.3 2.8c29.2 14.1 50.6 35.2 61.8 61.4c15.7 36.5 17.2 95.8-30.3 143.2c-36.2 36.2-80.3 52.5-142.6 53h-.3c-70.2-.5-124.1-24.1-160.4-70.2c-32.3-41-48.9-98.1-49.5-169.6V256v-.2C17 184.3 33.6 127.2 65.9 86.2C102.2 40.1 156.2 16.5 226.4 16h.3c70.3 .5 124.9 24 162.3 69.9c18.4 22.7 32 50 40.6 81.7l-40.4 10.8c-7.1-25.8-17.8-47.8-32.2-65.4c-29.2-35.8-73-54.2-130.5-54.6c-57 .5-100.1 18.8-128.2 54.4C72.1 146.1 58.5 194.3 58 256c.5 61.7 14.1 109.9 40.3 143.3c28 35.6 71.2 53.9 128.2 54.4c51.4-.4 85.4-12.6 113.7-40.9c32.3-32.2 31.7-71.8 21.4-95.9c-6.1-14.2-17.1-26-31.9-34.9c-3.7 26.9-11.8 48.3-24.7 64.8c-17.1 21.8-41.4 33.6-72.7 35.3c-23.6 1.3-46.3-4.4-63.9-16c-20.8-13.8-33-34.8-34.3-59.3c-2.5-48.3 35.7-83 95.2-86.4c21.1-1.2 40.9-.3 59.2 2.8c-2.4-14.8-7.3-26.6-14.6-35.2c-10-11.7-25.6-17.7-46.2-17.8H227c-16.6 0-39 4.6-53.3 26.3l-34.4-23.6c19.2-29.1 50.3-45.1 87.8-45.1h.8c62.6 .4 99.9 39.5 103.7 107.7l-.2 .2zm-156 68.8c1.3 25.1 28.4 36.8 54.6 35.3c25.6-1.4 54.6-11.4 59.5-73.2c-13.2-2.9-27.8-4.4-43.4-4.4c-4.8 0-9.6 .1-14.4 .4c-42.9 2.4-57.2 23.2-56.2 41.8l-.1 .1z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    vertical-align: middle;
}

/* Consolidated from original files - all styling values preserved exactly */

:root {
    --primary: #5e8b7e;
    --primary-light: #7dab9d;
    --primary-lighter: #dfeeea;
    --primary-dark: #436b5e;
    --accent: #e6b89c;
    --accent-light: #f2daca;
    --accent-dark: #d39f7b;
    --secondary: #8b7e5e;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #888;
    --background: #f9f9f9;
    --surface: #ffffff;
    --border: #e5e7eb;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-lg: rgba(0, 0, 0, 0.15);
    --gradient-warm: linear-gradient(135deg, #dfeeea 0%, #f2daca 100%);
    --gradient-cool: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}
/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito Sans', sans-serif; /* Changed from 'Georgia', serif */
    line-height: 1.7;
    color: var(--text);
    background-color: var(--background);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Lora', serif; /* Added font-family */
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    font-weight: 400; /* Changed from normal to 400 (max weight for Lora) */
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* Navigation Styles */
.nav-bar, .header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-dark);
    font-weight: normal;
    font-size: 1.5rem;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 12px;
    font-size: 1.1rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.5rem 0;
    display: block;
    transition: color 0.3s ease;
    position: relative;
    font-weight: normal;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px var(--shadow);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    padding: 0.8rem 0;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    color: var(--text);
    text-decoration: none;
    padding: 0.6rem 1.5rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.dropdown-link:hover {
    background-color: var(--primary-lighter);
    color: var(--primary);
}

.dropdown-link.active {
    background-color: var(--primary-lighter);
    color: var(--primary);
}

.dropdown-icon {
    width: 1.2rem;
    height: 1.2rem;
    margin-right: 0.8rem;
    color: var(--primary);
}

.start-button {
    background: var(--accent);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.start-button:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 184, 156, 0.3);
}

/* Main Content */
.main {
    margin-top: 70px;
    padding: 40px 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--accent-light) 100%);
    padding: 120px 0 80px;
    text-align: center;
    margin: 20px 0;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: normal;
    color: var(--primary-dark);
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.5;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Button Styles */
.btn {
    font-family: 'Nunito Sans', sans-serif; /* Added font-family */
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(94, 139, 126, 0.3);
}

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

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(94, 139, 126, 0.3);
}

.btn-accent {
    background: var(--accent);
    color: white;
}

.btn-accent:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 184, 156, 0.3);
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: normal;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 16px;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature, .feature-card {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover, .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-lg);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.5rem;
}

.feature h3, .feature-title {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-weight: normal;
}

.feature p, .feature-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* CTA Section */
.cta, .cta-section {
    background: #436b5e;
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.btn-accent {
    background: var(--accent);
    color: white;
}

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

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: normal;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

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

/* Page Header */
.page-title {
    font-size: 3rem;
    font-weight: normal;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.page-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    position: relative;
}

.footer-section h3 {
    color: var(--accent-light);
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: normal;
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 10px;
    opacity: 0.9;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* CTR Attribution in Footer */
.ctr-attribution-footer, .website-ctr {
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 4px solid var(--accent);
}

.website-ctr-title, .ctr-attribution-footer h4 {
    color: var(--accent-light);
    font-size: 1rem;
    margin-bottom: 8px;
    font-weight: normal;
}

.website-ctr-rating, .ctr-rating-footer {
    font-weight: 500;
    margin-bottom: 10px;
}

.website-ctr-details, .ctr-description-footer {
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Hide only the desktop nav items, NOT the whole container */
    .nav-links,
    .start-button {
        display: none;
    }
    
    /* Keep nav-container visible but adjust layout */
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
        height: auto;
        min-height: 70px;
        position: relative;
        overflow: visible;
    }
    
    /* Show the hamburger menu on mobile */
    .mobile-menu-toggle {
        display: flex !important;
        position: relative;
        z-index: 1001;
        align-items: center;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-buttons, .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
}

/* Mobile Navigation Styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
    margin: 3px auto;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: right 0.3s ease;
    align-items: center;
    justify-content: center;
}

body .mobile-menu-overlay.active {
    display: flex !important;
    right: 0 !important;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1002;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-nav {
    width: 100%;
    max-width: 400px;
    padding: 2rem;
    overflow-y: auto;
    max-height: 100vh;
}

.mobile-nav-item {
    margin-bottom: 1rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.3s ease;
    min-height: 44px;
}

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

.mobile-dropdown {
    display: none;
    padding-left: 1rem;
    margin-top: 0.5rem;
}

.mobile-nav-item.active .mobile-dropdown {
    display: block;
}

.mobile-dropdown-link {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 0.8rem 0;
    font-size: 1rem;
    transition: color 0.3s ease;
    min-height: 44px;
}

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

.mobile-dropdown-link .dropdown-icon {
    width: 1.2rem;
    height: 1.2rem;
    margin-right: 0.8rem;
    color: var(--accent);
}

.mobile-nav-cta {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-start-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    transition: background-color 0.3s ease;
    min-height: 44px;
}

.mobile-start-button:hover {
    background: var(--primary-dark);
    color: white;
}

/* Prevent body scroll when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
}

/* CTA Cards */
.cta-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.cta-card {
    background: var(--surface);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px var(--shadow-lg);
    border-color: var(--primary-light);
}

.cta-card:hover::before {
    opacity: 1;
}

.cta-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-dark);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.cta-card:hover .cta-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
}

.cta-title {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--text);
}

.cta-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    background: var(--primary);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    gap: 8px;
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(94, 139, 126, 0.3);
}

.cta-button i {
    font-size: 0.9rem;
}

/* Note display styles */
.note-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.note-content {
    font-family: 'Special Elite', monospace;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
    word-wrap: break-word;
}

.note-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: var(--text-light);
}

.note-timestamp {
    font-style: italic;
}

.note-actions {
    display: flex;
    gap: 8px;
}

.note-action-btn {
    padding: 4px 8px;
    background: none;
    border: 1px solid var(--border);
    border-radius: 4px;
    cursor: pointer;
    font-size: 10px;
    transition: all 0.2s ease;
}

.note-action-btn:hover {
    background: var(--primary-lighter);
    border-color: var(--primary);
}

.note-action-btn.delete:hover {
    background: #fee;
    border-color: #f88;
    color: #c44;
}

/* Signature display styles */
.signature-item, .ai-signature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

.signature-item:hover, .ai-signature-item:hover {
    border-color: var(--primary);
    background: var(--primary-lighter);
}

.signature-item.active, .ai-signature-item.selected {
    border-color: var(--primary);
    background: var(--primary-lighter);
}

.signature-preview, .ai-signature-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: white;
}

.signature-info, .ai-signature-info {
    flex: 1;
}

.signature-name, .ai-signature-name {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text);
}

.signature-type, .ai-signature-type {
    display: block;
    font-size: 10px;
    color: var(--text-light);
}

.signature-actions, .ai-signature-actions {
    display: flex;
    gap: 6px;
}

.signature-btn, .ai-signature-btn {
    padding: 4px 8px;
    border: 1px solid var(--border);
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 10px;
    transition: all 0.2s ease;
}

.signature-btn:hover, .ai-signature-btn:hover {
    border-color: var(--primary);
    background: var(--primary-lighter);
}

.signature-btn.active, .ai-signature-btn.selected {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.signature-btn.delete:hover {
    background: #fee;
    border-color: #f88;
    color: #c44;
}

/* Placeholder icon styles */
.placeholder-icon {
    width: 16px;
    height: 16px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 8px;
    font-weight: bold;
}

/* Selected icons preview */
.selected-icons-preview {
    display: flex;
    gap: 4px;
}

.mini-icon {
    width: 16px;
    height: 16px;
    border-radius: 2px;
    background: var(--primary-lighter);
    border: 1px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
}

/* Scripts intro styling */
.scripts-intro {
    margin-bottom: 20px;
    padding: 15px;
    background: var(--primary-lighter);
    border-radius: 6px;
    border-left: 4px solid var(--primary);
    font-size: 12px;
    color: var(--text);
}

/* Clear all scripts button */
.clear-all-scripts {
    margin-top: 20px;
    padding: 8px 15px;
    background: #f5f5f5;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    width: 100%;
    transition: all 0.2s ease;
}

.clear-all-scripts:hover {
    background: #fee;
    border-color: #f88;
    color: #c44;
}

/* Page attribution styles */
.page-attribution {
    background: linear-gradient(135deg, #f8faf9, #e8f5e8);
    border-top: 1px solid var(--border);
    padding: 40px 0;
    margin-top: 60px;
}

.attribution-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.attribution-content h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
    color: var(--primary-dark);
    font-weight: 500;
}

.attribution-rating {
    font-family: 'Special Elite', monospace;
    font-size: 16px;
    margin: 15px 0;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border: 2px solid var(--primary);
}

.attribution-story {
    font-size: 14px;
    line-height: 1.6;
    margin: 20px 0;
    color: var(--text);
}

.attribution-credit {
    font-style: italic;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 10px;
}

/* Key Innovation Box */
.key-innovation {
    background: var(--accent-light);
    border-radius: 16px;
    padding: 40px;
    margin: 40px 0;
    border-left: 4px solid var(--accent);
}

.key-innovation h3 {
    color: var(--accent-dark);
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.innovation-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.benefit-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border-left: 3px solid var(--accent);
}

.benefit-item strong {
    color: var(--accent-dark);
    display: block;
    margin-bottom: 8px;
}


/* Enhanced responsive design for mobile */
@media (max-width: 768px) {
    .note-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .note-actions {
        align-self: flex-end;
    }
    
    .signature-item, .ai-signature-item {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .signature-actions, .ai-signature-actions {
        justify-content: center;
    }
    
    .page-attribution {
        padding: 30px 20px;
    }
    
    .attribution-rating {
        font-size: 14px;
        padding: 10px;
    }
}

/* Form enhancements */
.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--text);
}

.contact-form input, 
.contact-form select, 
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.contact-form input:focus, 
.contact-form select:focus, 
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(94, 139, 126, 0.2);
}

.contact-form .checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.contact-form .checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.contact-form .checkbox-group label {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
}

.submit-button {
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.submit-button:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* Contact methods styling */
.contact-methods {
    margin: 30px 0;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.method-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.method-info h3 {
    margin: 0 0 5px 0;
    font-size: 14px;
    color: var(--primary-dark);
}

.method-info p {
    margin: 0;
    font-size: 12px;
    color: var(--text);
}

.method-info a {
    color: var(--primary);
    text-decoration: none;
}

.method-info a:hover {
    text-decoration: underline;
}

/* Research page specific styles */
.research-areas-section .research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.research-area {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
}

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

.area-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 24px;
}

.area-title {
    margin: 0 0 15px 0;
    font-size: 18px;
    color: var(--primary-dark);
}

.area-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 15px;
}

.area-sources {
    font-size: 12px;
    color: var(--primary);
    font-weight: 500;
    padding: 5px 10px;
    background: var(--primary-lighter);
    border-radius: 15px;
    display: inline-block;
}

/* Bibliography styles */
.bibliography-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.bibliography-category {
    background: white;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.category-title {
    margin: 0 0 20px 0;
    font-size: 16px;
    color: var(--primary-dark);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
}

.source-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-light);
}

.source-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.source-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 5px;
}

.source-authors {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 3px;
}

.source-publication {
    font-size: 11px;
    color: var(--primary);
    font-style: italic;
}

.bibliography-actions {
    text-align: center;
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Creator section styles */
.creator-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.creator-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.creator-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 12px;
    transition: all 0.3s ease;
}

.creator-link:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.framework-highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.highlight-box {
        background: var(--accent-light);
        border-radius: 12px;
        padding: 30px;
        margin: 30px 0;
        border-left: 4px solid var(--accent);
}

.highlight-number {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 5px;
}

.highlight-label {
    font-size: 11px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Enhanced responsive design */
@media (max-width: 768px) {
    .creator-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .creator-links {
        justify-content: center;
    }
    
    .bibliography-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .framework-highlights {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .highlight-box {
        padding: 15px;
    }
    
    .highlight-number {
        font-size: 18px;
    }
} 

/* CTR™ Framework - Components Stylesheet */
/* Page-specific components and styling preserved from original HTML files */

/* Implementation Options Cards - Social Media Page */
.implementation-section {
    background: white;
    border-radius: 16px;
    padding: 50px;
    margin-bottom: 50px;
    box-shadow: 0 4px 20px var(--shadow);
}

.implementation-section h2 {
    font-size: 2rem;
    font-weight: normal;
    color: var(--primary-dark);
    margin-bottom: 25px;
    text-align: center;
}

.implementation-section p {
    font-size: 1.2rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.6;
}

.implementation-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.option-group {
    background: var(--surface);
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.option-group:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.option-group h4 {
    color: var(--primary-dark);
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.option-list {
    list-style: none;
    padding: 0;
}

.option-list li {
    color: var(--text);
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.option-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.instructions {
    background: var(--accent-light);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--accent);
    text-align: center;
    font-size: 1.1rem;
    color: var(--text);
}

.instructions strong {
    color: var(--accent-dark);
}

/* Example Cards */
.example-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.example-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-lg);
}

.example-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border);
}

.example-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.example-description {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.5;
}

.example-text {
    background: var(--background);
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    margin-bottom: 30px;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text);
}

.example-text strong {
    color: var(--primary-dark);
}

/* CTR Section */
.ctr-section {
    background: var(--primary-lighter);
    padding: 30px;
    border-radius: 12px;
    border: 2px solid var(--primary);
}

.ctr-rating {
    font-family: "Inter", monospace;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.ctr-details {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin: 15px 0;
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.5;
    border: 1px solid var(--border);
    font-style: italic;
}

.ctr-attribution {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 15px;
    text-align: center;
    font-style: italic;
}

/* Copy Button */
.copy-button {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 25px;
    font-size: 1rem;
}

.copy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(230, 184, 156, 0.4);
}

.copy-button.copied {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.copy-icon {
    width: 20px;
    height: 20px;
}

/* Auto-Generated Examples */
.auto-generated-section {
    margin: 60px 0;
}

.auto-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.auto-section-title {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-weight: normal;
}

.auto-section-subtitle {
    color: var(--text-light);
    font-size: 1.2rem;
    line-height: 1.6;
}

.auto-examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.auto-example-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auto-example-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.auto-example-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.auto-example-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 15px;
    font-size: 1.1rem;
}

.auto-example-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.auto-content-preview {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 3px solid var(--primary);
    font-style: italic;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

.auto-ctr-display {
    background: var(--primary-lighter);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--primary);
    font-family: "Courier New", monospace;
    font-size: 0.9rem;
}

.auto-ctr-rating {
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.auto-ctr-credit {
    color: var(--text-light);
    font-size: 0.8rem;
    font-style: italic;
    margin-top: 12px;
}

.licensing-note {
    background: var(--accent-light);
    padding: 30px;
    border-radius: 12px;
    margin-top: 40px;
    border-left: 4px solid var(--accent);
}

.licensing-note h4 {
    color: var(--accent-dark);
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.licensing-note p {
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .implementation-section {
        padding: 30px 20px;
    }
    
    .implementation-options {
        grid-template-columns: 1fr;
    }
    
    .auto-examples-grid {
        grid-template-columns: 1fr;
    }
    
    .example-card {
        padding: 25px 20px;
    }
    
    .auto-section-title {
        font-size: 1.6rem;
    }
    
    .implementation-section h2 {
        font-size: 1.6rem;
    }
}

/* Footer Styles */
.footer {
    background: #436b5e;
    color: rgba(255, 255, 255, 0.9);
    padding: 60px 0 30px;
    margin-top: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    color: white;
    font-size: 1.5rem;
    font-weight: normal;
    margin-bottom: 15px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #7dab9d, #e6b89c);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 12px;
    font-size: 1.1rem;
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* Enhanced Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
}

/* Copyright and License */
.footer-bottom > p {
    margin-bottom: 12px;
    opacity: 0.85;
}

.footer-bottom a {
    color: #f2daca;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Website CTR with Corner Tab */
.website-ctr {
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    padding: 20px 25px;
    border-radius: 8px;
    margin: 25px auto 0;
    max-width: 800px;
    font-size: 0.85rem;
    line-height: 1.5;
    overflow: hidden;
}

/* Corner Tab Button */
.corner-tab {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 40px 40px 0;
    border-color: transparent rgba(255, 255, 255, 0.2) transparent transparent;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.corner-tab:hover {
    border-right-color: rgba(255, 255, 255, 0.3);
}

.corner-tab::after {
    content: '+';
    position: absolute;
    top: 3px;
    right: -35px;
    color: white;
    font-size: 14px;
    font-weight: 300;
    opacity: 0.8;
}

.website-ctr-title {
    font-weight: 500;
    margin-bottom: 8px;
    opacity: 0.7;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.website-ctr-rating {
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.website-ctr-story {
    margin-bottom: 10px;
    opacity: 0.85;
    font-style: italic;
}

.website-ctr-credit {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 10px;
    font-style: italic;
}

/* Dark modal backdrop */
.ctr-modal-dark {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: auto;
}

.ctr-modal-dark.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dark modal content box - FORCE dark background */
.long-form-modal-dark {
    background-color: #2a2a2a !important;
    background: #2a2a2a !important;
    margin: 5% auto;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    position: relative;
    color: white !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Ensure all child elements have no white background */
.long-form-modal-dark * {
    background-color: transparent !important;
    background: transparent !important;
}

/* Close button */
.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: var(--accent-light, #f2daca);
    transform: scale(1.1);
}

/* Modal title */
.modal-title {
    font-size: 1.2rem;
    color: var(--accent-light, #f2daca);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Modal CTR rating */
.modal-ctr {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: white;
}

/* Modal content text specifically */
.modal-content-dark {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9) !important;
    background: transparent !important;
}

.modal-content-dark p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9) !important;
    background: transparent !important;
}

.modal-content-dark strong {
    color: white !important;
}

/* Override any inherited styles */
.long-form-modal-dark .modal-title,
.long-form-modal-dark .modal-ctr,
.long-form-modal-dark .modal-content-dark {
    background: none !important;
    background-color: transparent !important;
}

/* CTR Icon styling */
.ctr-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin: 0 2px;
    display: inline-block;
}

/* Footer Contact & Newsletter Section */
.footer-contact-newsletter {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 60px;
    align-items: center;
    padding: 40px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.contact-column {
    text-align: left;
}

.newsletter-column {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Newsletter form styling */
.newsletter-form {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 600px;
}

.newsletter-form label {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 1rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.newsletter-input-group {
    display: flex;
    gap: 0;
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

/* Email input field */
.newsletter-form input[type="email"] {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    color: white;
    font-size: 0.95rem;
    height: 48px;
    outline: none;
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Focus state for the input group */
.newsletter-input-group:focus-within {
    border-color: var(--accent-light);
    background: rgba(255, 255, 255, 0.12);
}

/* Submit button */
.newsletter-submit {
    padding: 12px 24px;
    background: transparent;
    color: white;
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    white-space: nowrap;
}

.newsletter-submit:hover {
    background: rgba(255, 255, 255, 0.1);
}

.newsletter-submit i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.newsletter-submit:hover i {
    transform: translateX(3px);
}

/* Contact button styling */
.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    font-size: 0.95rem;
    height: 48px;
    white-space: nowrap;
}

.contact-button:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent-light);
}

.contact-button i {
    font-size: 1.2rem;
    color: var(--accent-light);
}

/* Mobile Responsive Footer Updates */
@media (max-width: 968px) {
    .footer-contact-newsletter {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .contact-column {
        text-align: center;
    }
    
    .newsletter-column {
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .newsletter-form label {
        text-align: center;
    }
    
    .newsletter-input-group {
        width: 100%;
    }
    
    .contact-button {
        width: 100%;
        justify-content: center;
    }
}

/* Tablet view */
@media (max-width: 1024px) {
    .footer-contact-newsletter {
        gap: 40px;
    }
    
    .newsletter-form {
        max-width: 450px;
    }
}

/* ===================== */
/* Research Page Styles  */
/* ===================== */


.research-validation {
    background: var(--primary-lighter);
    border-radius: 16px;
    padding: 40px;
    margin: 40px 0;
    border-left: 4px solid var(--primary);
}

.intro-section {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px var(--shadow);
}
.intro-section h2 {
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-size: 1.8rem;
}
.intro-section p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.7;
}
.research-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin: 30px 0;
}
.stat-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border-left: 3px solid var(--primary);
}
.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
    display: block;
}
.stat-label {
    color: var(--text);
    font-size: 0.9rem;
    margin-top: 5px;
    line-height: 1.3;
}
.research-category {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: 0 4px 20px var(--shadow);
}
.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--primary-lighter);
}
.category-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 20px;
    font-size: 1.4rem;
}
.category-title {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--primary-dark);
}
.category-description {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-top: 10px;
}
/*.citation {
    background: var(--gradient-warm);
    border-radius: 12px;
    padding: 30px;
    margin: 25px 0;
    border-left: 4px solid var(--primary);
}*/
.citation-title {
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 12px;
    font-size: 1.2rem;
}
.peer-reviewed-badge {
    background: #4caf50;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-left: 10px;
    display: inline-block;
}
.citation-authors {
    color: var(--text);
    margin-bottom: 8px;
    font-size: 1rem;
}
.citation-details {
    color: var(--text-light);
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 15px;
}
.citation-abstract {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}
.ctr-relevance {
    color: var(--primary-dark);
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
    padding: 15px;
    background: rgba(94, 139, 126, 0.1);
    border-radius: 6px;
}
.citation-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.citation-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 6px 12px;
    border: 1px solid var(--primary);
    border-radius: 4px;
    transition: all 0.3s ease;
}
.citation-link:hover {
    background: var(--primary);
    color: white;
}
.expandable-section {
    margin: 20px 0;
}
.section-toggle {
    background: var(--primary-lighter);
    border: none;
    padding: 15px 20px;
    width: 100%;
    text-align: left;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}
.section-toggle:hover {
    background: var(--primary-light);
    color: white;
}
.section-toggle.active {
    background: var(--primary);
    color: white;
}
.toggle-icon {
    transition: transform 0.3s ease;
}
.section-toggle.active .toggle-icon {
    transform: rotate(180deg);
}
.section-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.section-content.active {
    max-height: none;
    padding: 20px 0;
}
.source-counter {
    background: var(--primary-lighter);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin: 40px 0;
}
.source-counter h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 1.5rem;
}
.source-counter p {
    color: var(--text);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .research-stats {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
}

/* ============================= */
/* Micro-Signatures™ Page Styles */
/* ============================= */

.page-header {
    background: var(--gradient-warm);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 60px;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="10" height="10" patternUnits="userSpaceOnUse"><circle cx="5" cy="5" r="0.5" fill="%235e8b7e" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>') repeat;
    opacity: 0.5;
}

.page-header-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

/* Content Sections */
.content-section {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px var(--shadow);
}

.content-section h2 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 25px;
    font-weight: normal;
}

.content-section h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin: 30px 0 20px 0;
    font-weight: normal;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Info Box */
.info-box {
    background: var(--primary-lighter);
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
    border-left: 4px solid var(--primary);
}

.info-box h4 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.info-box p {
    margin-bottom: 0;
    font-size: 1.05rem;
}

/* Signature Examples */
.signature-examples {
    display: grid;
    gap: 20px;
    margin: 25px 0;
}

.signature-card {
    background: var(--gradient-warm);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid var(--border);
}

.signature-title {
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.signature-example {
    background: white;
    padding: 15px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    margin-bottom: 12px;
    border-left: 3px solid var(--primary);
}

.signature-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.benefit-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 15px var(--shadow);
    border-left: 4px solid var(--accent);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.benefit-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.benefit-description {
    color: var(--text-light);
    line-height: 1.5;
    font-size: 1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.2rem;
    }
    
    .content-section {
        padding: 30px 25px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
} 

/* Philosophy Page Specific Styles */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.philosophy-card {
    background: var(--primary-lighter);
    border-radius: 12px;
    padding: 30px;
    border-left: 4px solid var(--primary);
}

.philosophy-card h4 {
    color: var(--primary-dark);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.philosophy-card p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

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

/* Benefits List */
.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.benefit-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border-left: 3px solid var(--primary);
}

.benefit-item strong {
    color: var(--primary-dark);
    display: block;
    margin-bottom: 8px;
}

/* Mobile Responsive for Philosophy Page */
@media (max-width: 768px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-list {
        grid-template-columns: 1fr;
    }
} 

/* Regulatory Page Specific Styles */
.content-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    margin-top: 20px;
}

/* Table of Contents Sidebar */
.toc {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px var(--shadow);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.toc h3 {
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 500;
}

.toc-list {
    list-style: none;
}

.toc-list li {
    margin-bottom: 8px;
}

.toc-list a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    display: block;
    padding: 4px 0;
}

.toc-list a:hover {
    color: var(--primary);
}

.toc-list .active {
    color: var(--primary);
    font-weight: 500;
}

/* Update Notice */
.update-notice {
    background: var(--accent-light);
    border-left: 4px solid var(--accent);
    padding: 20px;
    margin: 30px 0;
    border-radius: 8px;
}

.update-notice h4 {
    color: var(--accent-dark);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Platform Grid and Cards */
.content {
    background: white;
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 4px 20px var(--shadow);
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.platform-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid var(--border);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.platform-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow);
}

.platform-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.platform-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 15px;
    font-size: 1.1rem;
}

.platform-title {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--primary-dark);
    margin: 0;
}

/* Compliance Level Badges */
.compliance-level {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.comprehensive {
    background: #d4edda;
    color: #155724;
}

.advanced {
    background: #d1ecf1;
    color: #0c5460;
}

.basic {
    background: #fff3cd;
    color: #856404;
}

.minimal {
    background: #f8d7da;
    color: #721c24;
}

.none {
    background: #e2e3e5;
    color: #383d41;
}

.community-driven {
    background: #e2e3e5;
    color: #383d41;
}

/* Platform Requirements */
.platform-requirements {
    margin-bottom: 15px;
}

.platform-requirements h5 {
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-size: 1rem;
    font-weight: 500;
}

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

.requirement-list li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
    padding-left: 20px;
    position: relative;
}

.requirement-list li::before {
    content: '•';
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.requirement-list strong {
    color: var(--primary-dark);
    font-weight: 600;
    display: block;
    margin-bottom: 2px;
}

/* Timeline Styles */
.regulatory-timeline {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    border: 1px solid var(--border);
}

.timeline-item {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.timeline-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.timeline-date {
    min-width: 120px;
    font-weight: 500;
    color: var(--primary-dark);
    margin-right: 20px;
    flex-shrink: 0;
}

.timeline-content {
    flex: 1;
}

.timeline-content h4 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
}

.timeline-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Executive Summary */
.executive-summary {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px var(--shadow);
    border-left: 6px solid var(--primary);

}

.executive-summary h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 25px 0;
}




.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

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

/* Mobile Responsive for Regulatory Page */
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .toc {
        position: static;
        order: 2;
    }
    
    .content {
        padding: 30px 20px;
        order: 1;
    }
    
    .platform-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-date {
        margin-bottom: 10px;
        margin-right: 0;
    }
} 

/* Framework Page Specific Styles */
.page-header {
    background: var(--gradient-warm);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 60px;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="10" height="10" patternUnits="userSpaceOnUse"><circle cx="5" cy="5" r="0.5" fill="%235e8b7e" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>') repeat;
    opacity: 0.5;
}

.page-header-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

/* Domain Grid */
.domains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.domain-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px var(--shadow);
    border-left: 6px solid var(--primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.domain-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-lg);
}

.domain-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.domain-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 20px;
    font-size: 1.3rem;
}

.domain-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.domain-weight {
    background: var(--accent-light);
    color: var(--accent-dark);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 5px;
    display: inline-block;
}

.domain-description {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.domain-examples {
    color: var(--text-light);
    font-size: 0.95rem;
    font-style: italic;
}

/* Implementation Examples */
.implementation-example {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
    border-left: 4px solid var(--secondary);
}

.implementation-example h4 {
    color: var(--secondary);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.example-calculation {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin: 15px 0;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    line-height: 1.6;
}

.example-result {
    background: var(--primary-lighter);
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    font-weight: 500;
}

/* Professional Application Box */
.professional-application {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
    border-left: 4px solid var(--primary);
}

.professional-application h4 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.application-example {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin: 15px 0;
    border: 1px solid var(--border);
}

.application-example pre {
    white-space: pre-wrap;
    font-family:'Lora', serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text);
}

/* Attribution Format Box */
.attribution-format {
    background: var(--secondary);
    color: white;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    text-align: center;
}

.attribution-format h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.format-example {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    margin: 15px 0;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    line-height: 1.6;
}

/* Implementation Guide */
.implementation-guide {
    background: var(--gradient-warm);
    border-radius: 16px;
    padding: 40px;
    margin: 40px 0;
    text-align: center;
}

.implementation-guide h3 {
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-size: 1.6rem;
}

.implementation-guide p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

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

.implementation-button {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.implementation-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(94, 139, 126, 0.3);
}

.implementation-button.secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.implementation-button.secondary:hover {
    background: var(--primary);
    color: white;
}

/* Citation styling 
.citation {
    background: #f0f4f8;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.85rem;
    color: var(--primary-dark);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    vertical-align: super;
    line-height: 1;
}*/

.citation:hover {
    background: var(--primary-lighter);
}

.terms-section2 {
    padding: 20px 25px;
    cursor: pointer;
    display: block;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border);
}

.section-title2 {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--primary-dark);
    margin: 0;
}

.section-header2 {
    background: var(--gradient-warm);
    padding: 20px 25px;
    cursor: pointer;
    display: block;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border);
}
/* Footnotes section */
.footnotes-section {
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin: 40px 0;
    border-left: 4px solid var(--secondary);
}

.footnotes-section h3 {
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footnotes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.footnote-item {
    margin-bottom: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footnote-number {
    font-weight: 600;
    color: var(--secondary);
    margin-right: 8px;
}

.footnote-link {
    color: var(--primary);
    text-decoration: none;
    margin-left: 8px;
}

.footnote-link:hover {
    text-decoration: underline;
}

/* Mobile Responsive for Framework Page */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .content-section {
        padding: 30px 25px;
    }
    
    .domains-grid {
        grid-template-columns: 1fr;
    }
    
    .research-stats {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .implementation-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footnotes-grid {
        grid-template-columns: 1fr;
    }
} 

/* Implementation Guide Page Specific Styles */
.journey-indicator {
    background: rgba(255, 255, 255, 0.8);
    padding: 20px 30px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 20px;
}

.journey-text {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.journey-steps {
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
}

.step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
}

.step-connector {
    width: 20px;
    height: 2px;
    background: var(--primary-light);
}

/* Implementation Steps Grid */
.implementation-section {
    margin-bottom: 60px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: normal;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.cards-grid .final-step {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
}

.implementation-card {
    background: white;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    min-height: 480px;
}

.implementation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-lg);
    border-color: var(--primary-light);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.card-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    font-weight: 500;
    margin-right: 20px;
    flex-shrink: 0;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--primary-dark);
    margin: 0;
    line-height: 1.3;
}

.card-gist {
    font-size: 1rem;
    color: var(--accent-dark);
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.4;
}

.card-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 1.05rem;
}

.card-features {
    list-style: none;
    margin-bottom: 25px;
}

.card-features li {
    padding: 6px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1rem;
    color: var(--text);
}

.card-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

.card-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.card-action {
    color: var(--primary);
    font-weight: 500;
    font-size: 1rem;
}

.card-arrow {
    color: var(--primary);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.implementation-card:hover .card-arrow {
    transform: translateX(5px);
}

/* Navigation Section */
.navigation-section {
    background: var(--gradient-warm);
    padding: 50px 0;
    border-radius: 20px;
    text-align: center;
    margin-top: 60px;
}

.navigation-title {
    font-size: 2rem;
    font-weight: normal;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.navigation-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.nav-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.nav-button.primary {
    background: var(--primary);
    color: white;
}

.nav-button.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(94, 139, 126, 0.3);
}

.nav-button.secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.nav-button.secondary:hover {
    background: var(--primary-lighter);
    color: var(--primary-dark);
}

/* Mobile Responsive for Implementation Guide */
@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .implementation-card {
        padding: 25px;
    }
    
    .navigation-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .journey-steps {
        flex-wrap: wrap;
        gap: 5px;
    }
}


/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.contact-card {
    background: white;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 4px 20px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-lg);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin: 0 auto 25px;
}

.contact-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.contact-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.contact-email {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 10px 20px;
    border: 2px solid var(--primary);
    border-radius: 8px;
    display: inline-block;
    transition: all 0.3s ease;
}

.contact-email:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Response Information */
.response-info {
    background: var(--primary-lighter);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    border-left: 4px solid var(--primary);
}

.response-info h3 {
    color: var(--primary-dark);
    margin-bottom: 25px;
    font-size: 1.8rem;
    font-weight: normal;
}

.response-info p {
    margin-bottom: 15px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.response-info p:last-child {
    margin-bottom: 0;
}

.response-info strong {
    color: var(--primary-dark);
}

/* Creator Connection */
.creator-connection {
    background: var(--accent-light);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    border-left: 4px solid var(--accent);
    text-align: center;
}

.creator-connection h3 {
    color: var(--accent-dark);
    margin-bottom: 20px;
    font-size: 1.6rem;
    font-weight: normal;
}

.creator-connection p {
    color: var(--text);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.creator-link {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.creator-link:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 184, 156, 0.3);
}

/* Mobile Responsive for Contact Page */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Terms Page Styles */
.terms-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.terms-nav {
    position: sticky;
    top: 2rem;
    height: fit-content;
    background: var(--surface-color);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.terms-nav h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.terms-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.terms-nav li {
    margin-bottom: 0.5rem;
}

.terms-nav a {
    color: var(--text-color);
    text-decoration: none;
    display: block;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.terms-nav a:hover {
    background: var(--hover-color);
    color: var(--primary-color);
}

.terms-nav a.active {
    background: var(--primary-color);
    color: white;
}

.terms-section {
    background: var(--surface-color);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.section-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0;
}

.section-content {
    color: var(--text-color);
    line-height: 1.6;
}

.section-content p {
    margin-bottom: 1rem;
}

.section-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.section-content li {
    margin-bottom: 0.5rem;
}

.section-content strong {
    color: var(--primary-color);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .terms-content {
        grid-template-columns: 1fr;
    }
    
    .terms-nav {
        position: static;
        margin-bottom: 2rem;
    }
    
    .terms-section {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
}

/* CTR Mindset Page Styles */


.page-title {
    font-size: 3rem;
    font-weight: normal;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Content Sections */
.content-section {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px var(--shadow);
}

.content-section h2 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 25px;
    font-weight: normal;
}

.content-section h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin: 30px 0 20px 0;
    font-weight: normal;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.content-section ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.content-section li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Responsibility Cards */
.responsibilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.responsibility-card {
    background: var(--surface);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px var(--shadow);
    border-left: 4px solid var(--primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.responsibility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-lg);
}

.responsibility-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.responsibility-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.responsibility-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.responsibility-features {
    list-style: none;
    padding: 0;
}

.responsibility-features li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--text);
    font-size: 1rem;
}

.responsibility-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Highlight Box */
.highlight-box {
    background: var(--accent-light);
    border-radius: 16px;
    padding: 30px;
    margin: 30px 0;
    border-left: 4px solid var(--accent);
}

.highlight-box h3 {
    color: var(--accent-dark);
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.highlight-box p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.highlight-box p:last-child {
    margin-bottom: 0;
}

/* Attribution Formats */
.attribution-formats {
    background: var(--primary-lighter);
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
}

.attribution-formats h4 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.format-example {
    background: white;
    padding: 15px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    margin-bottom: 15px;
    border-left: 3px solid var(--primary);
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.format-example2 {
    padding: 15px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    margin-bottom: 15px;
    border-left: 3px solid var(--primary);
    word-wrap: break-word;
    overflow-wrap: break-word;
}


.format-example:last-child {
    margin-bottom: 0;
}

/* Support Section */
.support-section {
    background: var(--primary-lighter);
    border-radius: 16px;
    padding: 30px;
    margin: 30px 0;
}

.support-section h3 {
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.support-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border-left: 3px solid var(--primary);
}

.support-item h4 {
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.support-item ul {
    list-style: none;
    padding: 0;
}

.support-item li {
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
    font-size: 0.95rem;
}

.support-item li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Contact Links */
.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
}

.contact-link {
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.contact-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.2rem;
    }
    
    .content-section {
        padding: 25px 20px;
    }
    
    .responsibilities-grid {
        grid-template-columns: 1fr;
    }
    
    .support-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-links {
        flex-direction: column;
    }
}

/* ==========================================================================
   Licensing Page Styles
   ========================================================================== */

/* License Cards */
.license-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.license-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px var(--shadow);
    border-left: 4px solid var(--primary);
}

.license-card.commercial {
    border-left-color: var(--accent);
}

.license-card h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.license-card.commercial h3 {
    color: var(--accent-dark);
}

.license-features {
    list-style: none;
    margin: 20px 0;
}

.license-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 1rem;
}

.license-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

.license-card.commercial .license-features li::before {
    color: var(--accent);
}

.license-price {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-dark);
    margin: 20px 0;
}

.license-card.commercial .license-price {
    color: var(--accent-dark);
}

/* CC License Explanation */
.cc-explanation {
    background: var(--primary-lighter);
    padding: 30px;
    border-radius: 16px;
    margin: 30px 0;
}

.cc-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.cc-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.cc-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.cc-item {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px var(--shadow);
}

.cc-item h4 {
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Examples Section */
.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.example-card {
    background: var(--gradient-warm);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--accent);
}

.example-card h4 {
    color: var(--accent-dark);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.example-card.commercial {
    border-left-color: var(--secondary);
}

.example-card.commercial h4 {
    color: var(--secondary);
}

/* Attribution Examples */
.attribution-examples {
    background: var(--surface);
    padding: 30px;
    border-radius: 12px;
    margin: 25px 0;
    border: 1px solid var(--border);
}

.attribution-example {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 15px 0;
    font-family: monospace;
    font-size: 0.9rem;
    border-left: 4px solid var(--primary);
}

/* Contact Section */
.contact-section {
    background: var(--accent-light);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    margin: 40px 0;
}

.contact-section h3 {
    color: var(--accent-dark);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 25px;
}

/* Mobile Responsive Styles for Licensing Page */
@media (max-width: 768px) {
    .license-cards {
        grid-template-columns: 1fr;
    }
    
    .cc-breakdown {
        grid-template-columns: 1fr;
    }
    
    .examples-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Project Planning Page Styles */
.step-badge {
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
    display: inline-block;
}

.decision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.decision-card {
    background: var(--gradient-warm);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid var(--border);
}

.decision-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.accept-icon {
    background: #22c55e;
}

.adjust-icon {
    background: #f59e0b;
}

.decision-title {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.decision-description {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.5;
}

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

.decision-list li {
    padding: 4px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text);
}

.decision-list li::before {
    content: '•';
    color: var(--primary);
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.process-step {
    background: var(--surface);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid var(--border);
    text-align: center;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto 15px;
    font-size: 1.2rem;
    font-weight: 500;
}

.step-title {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.step-description {
    color: var(--text-light);
    line-height: 1.5;
}

/* Mobile Responsive for Project Planning */
@media (max-width: 768px) {
    .decision-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
}

/* Review & Adjust Page Styles */
.step-badge {
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
    display: inline-block;
}

.decision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.decision-card {
    background: var(--gradient-warm);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid var(--border);
}

.decision-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.accept-icon {
    color: var(--primary);
}

.adjust-icon {
    color: var(--accent);
}

.decision-title {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.decision-description {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.5;
}

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

.decision-list li {
    padding: 4px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text);
}

.decision-list li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.process-step {
    background: var(--surface);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid var(--border);
    text-align: center;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto 15px;
    font-size: 1.2rem;
    font-weight: 500;
}

.step-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.step-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .decision-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
}

/* Research in Progress Page Styles */
.abstract {
    background: var(--primary-lighter);
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    border-left: 4px solid var(--primary);
}

.abstract h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.abstract p {
    color: var(--text);
    line-height: 1.7;
    font-size: 1.1rem;
}

.keywords {
    background: var(--accent-light);
    border-radius: 8px;
    padding: 15px 20px;
    margin: 20px 0 30px;
    font-size: 0.95rem;
    color: var(--text);
}

.keywords strong {
    color: var(--accent-dark);
    font-weight: 500;
}

.research-questions {
    background: var(--surface);
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    border: 1px solid var(--border);
}

.research-questions h4 {
    color: var(--primary-dark);
    margin: 25px 0 10px;
    font-size: 1.2rem;
}

.research-questions h4:first-child {
    margin-top: 0;
}

.research-questions p {
    color: var(--text);
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.future-research {
    background: var(--gradient-warm);
    border-radius: 12px;
    padding: 40px;
    margin: 40px 0;
    border: 1px solid var(--border);
}

.future-research h2 {
    color: var(--primary-dark);
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.future-research h3 {
    color: var(--primary);
    margin: 25px 0 15px;
    font-size: 1.3rem;
}

.future-research p {
    color: var(--text);
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .abstract,
    .research-questions,
    .future-research {
        padding: 20px;
    }
    
    .abstract h3,
    .research-questions h4,
    .future-research h3 {
        font-size: 1.2rem;
    }
    
    .abstract p,
    .research-questions p,
    .future-research p {
        font-size: 1rem;
    }
}

/* Domain Weighting Analysis Page Styles */
.domain-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin: 40px 0;
}

.domain-section {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px var(--shadow);
    border-left: 6px solid var(--primary);
}

.domain-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--primary-lighter);
}

.domain-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 25px;
    font-size: 1.5rem;
}

.domain-title-section {
    flex: 1;
}

.domain-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.domain-weight {
    background: var(--accent);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: 600;
    display: inline-block;
}

.research-methodology {
    background: var(--accent-light);
    padding: 25px;
    border-radius: 12px;
    margin: 25px 0;
    border-left: 4px solid var(--accent);
}

.research-methodology h4 {
    color: var(--accent-dark);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.evidence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.evidence-item {
    background: var(--primary-lighter);
    padding: 20px;
    border-radius: 8px;
    border-left: 3px solid var(--primary);
}

.evidence-item h5 {
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-size: 1rem;
    font-weight: 600;
}

.evidence-item p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 10px;
}

/* Mobile Responsive Styles for Domain Weighting Page */
@media (max-width: 768px) {
    .domain-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .domain-section {
        padding: 25px;
    }
    
    .domain-header {
        flex-direction: column;
        text-align: center;
    }
    
    .domain-icon {
        margin: 0 0 15px 0;
    }
    
    .evidence-grid {
        grid-template-columns: 1fr;
    }
}

/* Context Comparison Table */
.comparison-table-container {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: 0 4px 20px var(--shadow);
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 1rem;
    min-width: 800px;
}

.comparison-table th {
    background: var(--primary);
    color: white;
    padding: 15px 10px;
    text-align: center;
    font-weight: 500;
    border-right: 1px solid rgba(255,255,255,0.2);
}

.comparison-table th:first-child {
    text-align: left;
    background: var(--primary-dark);
}

.comparison-table td {
    padding: 12px 10px;
    text-align: center;
    border-bottom: 1px solid var(--border);
    border-right: 1px solid var(--border);
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--primary-dark);
    background: var(--primary-lighter);
}

.comparison-table tbody tr:hover {
    background: rgba(94, 139, 126, 0.05);
}

/* Mobile Responsive Styles for Comparison Table */
@media (max-width: 768px) {
    .comparison-table {
        font-size: 0.9rem;
    }
    
    .comparison-table th, .comparison-table td {
        padding: 8px 6px;
    }
}

/* Research Overview */
.research-overview {
    background: var(--primary-lighter);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    border-left: 4px solid var(--primary);
}

.research-overview h3 {
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.research-overview p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Mobile Responsive Styles for Research Overview */
@media (max-width: 768px) {
    .research-overview {
        padding: 25px;
    }
    
    .research-overview h3 {
        font-size: 1.3rem;
    }
    
    .research-overview p {
        font-size: 1rem;
    }
}

/* Mobile Responsive Styles for Hero Section */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* About Page Specific Styles */
.hero-section {
    background: white;
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 8px 30px var(--shadow);
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: 1fr 250px;
    gap: 40px;
    align-items: center;
}

.profile-card {
    background: var(--primary-lighter);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    border: 1px solid var(--border);
}

.profile-image {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 3rem;
    color: white;
}

.profile-name {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 8px;
}

.profile-title {
    color: var(--text-light);
    margin-bottom: 20px;
}

.connect-section {
    background: var(--accent-light);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    border-left: 4px solid var(--accent);
}

.connect-section h3 {
    color: var(--accent-dark);
    margin-bottom: 20px;
    font-size: 1.6rem;
}

.connect-section p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.6;
}

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

.connect-link {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.connect-link:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 30px;
    }
    
    .connect-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Quick Start Page Specific Styles */

#what-is-ctr p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: left;
}

.hero-demo-callout {
    background: rgba(255, 255, 255, 0.9);
    padding: 25px;
    border-radius: 12px;
    margin: 30px auto;
    max-width: 800px;
    border-left: 4px solid var(--accent);
    text-align: left;
}

.hero-demo-callout h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.hero-demo-callout p {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.framework-preview {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    font-family: monospace;
    text-align: center;
    border: 1px solid var(--border);
    font-size: 1rem;
}

.collaboration-control {
    background: var(--primary-lighter);
    padding: 25px;
    border-radius: 12px;
    margin: 30px 0;
    border-left: 4px solid var(--primary);
}

.collaboration-control h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.category-btn {
    background: white;
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
}

.category-btn:hover {
    border-color: var(--primary);
    background: var(--primary-lighter);
    transform: translateY(-2px);
}

.category-btn.active {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
}

.category-btn.active .category-icon {
    color: white;
}

.category-name {
    font-size: 1.1rem;
    font-weight: 500;
}

.category-link {
    position: absolute;
    bottom: 8px;
    right: 8px;
    color: var(--primary);
    font-size: 0.85rem;
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-btn:hover .category-link,
.category-btn.active .category-link {
    opacity: 1;
}

.category-btn.active .category-link {
    color: white;
}

.demo-section {
    background: var(--gradient-cool);
    border-radius: 16px;
    padding: 40px;
    margin-top: 40px;
    border: 2px solid var(--primary-light);
    display: none;
}

.demo-section.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.demo-title {
    font-size: 1.6rem;
    color: var(--primary-dark);
    font-weight: normal;
    margin-bottom: 20px;
    text-align: center;
}

.demo-instructions {
    background: white;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 25px;
    border-left: 4px solid var(--accent);
}

.demo-instructions h4 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.demo-box {
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 25px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
    margin-bottom: 25px;
    max-height: 400px;
    overflow-y: auto;
}

.demo-button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
}

.demo-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(94, 139, 126, 0.3);
}

.demo-button.copied {
    background: #4caf50;
}

.demo-disclaimer {
    background: var(--accent-light);
    border-left: 4px solid var(--accent);
    padding: 25px;
    border-radius: 8px;
    margin-top: 25px;
    font-style: italic;
}

.demo-disclaimer strong {
    color: var(--accent-dark);
}

/* Quick Start Page Mobile Responsive */
@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .demo-box {
        font-size: 0.8rem;
    }
    
    .hero-demo-callout {
        padding: 20px;
    }
    
    .demo-section {
        padding: 25px;
    }
}

/* Integration Paths */
.integration-section {
    background: white;
    border-radius: 16px;
    padding: 50px;
    margin-bottom: 50px;
    box-shadow: 0 4px 20px var(--shadow);
}

.integration-section h2 {
    font-size: 2.2rem;
    font-weight: normal;
    color: var(--primary-dark);
    margin-bottom: 25px;
    text-align: center;
}

.integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.integration-card {
    background: var(--gradient-cool);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid var(--border);
    transition: transform 0.2s ease;
}

.integration-card:hover {
    transform: translateY(-4px);
}

.integration-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.integration-title {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 15px;
}

.integration-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.integration-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.integration-link:hover {
    color: var(--primary-dark);
    transform: translateX(3px);
}

/* Coming Soon */
.coming-soon {
    background: var(--primary-lighter);
    border-radius: 16px;
    padding: 40px;
    margin: 40px 0;
    text-align: center;
    border: 2px solid var(--primary-light);
}

.coming-soon h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.coming-soon p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Update mobile responsive styles */
@media (max-width: 768px) {
    .integration-section {
        padding: 30px 25px;
    }
    
    .integration-grid {
        grid-template-columns: 1fr;
    }
    
    .coming-soon {
        padding: 30px 25px;
    }
}

/* Intro Section */
.intro-section {
    background: white;
    border-radius: 16px;
    padding: 50px;
    margin-bottom: 50px;
    box-shadow: 0 4px 20px var(--shadow);
}

.intro-section h2 {
    font-size: 2.2rem;
    font-weight: normal;
    color: var(--primary-dark);
    margin-bottom: 25px;
    text-align: center;
}

.intro-section p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.intro-card {
    background: var(--gradient-cool);
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    transition: transform 0.2s ease;
}

.intro-card:hover {
    transform: translateY(-4px);
}

.intro-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.intro-title {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 15px;
}

.intro-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Steps Section */
.steps-section {
    background: white;
    border-radius: 16px;
    padding: 50px;
    margin-bottom: 50px;
    box-shadow: 0 4px 20px var(--shadow);
}

.steps-section h2 {
    font-size: 2.2rem;
    font-weight: normal;
    color: var(--primary-dark);
    margin-bottom: 15px;
    text-align: center;
}

.steps-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step-card {
    background: var(--gradient-cool);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid var(--border);
    transition: transform 0.2s ease;
    position: relative;
}

.step-card:hover {
    transform: translateY(-4px);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 30px;
    background: var(--primary);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

#how-it-works .step-number {
    position: relative;
}

#how-it-works .step-title,
#how-it-works .step-description {
    text-align: center;
}
#interactive-demo .category-icon{
    width: auto;
    height: auto;
    background: none;
}


.step-title {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text);
    margin: 15px 0;
}

.step-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.step-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-features li {
    color: var(--text-light);
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.step-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Update mobile responsive styles */
@media (max-width: 768px) {
    .intro-section,
    .steps-section {
        padding: 30px 25px;
    }
    
    .intro-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .step-card {
        padding: 25px;
    }
    
    .step-number {
        top: -12px;
        left: 25px;
    }
}

/* Template Library Page Specific Styles */
.template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.template-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.template-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.template-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.template-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.template-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

.template-content {
    padding: 25px;
}

.template-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 1rem;
}

.template-examples {
    margin-bottom: 20px;
}

.template-examples h5 {
    color: var(--primary-dark);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.examples-list li {
    padding: 4px 0;
    font-size: 0.9rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.examples-list li::before {
    content: '→';
    color: var(--primary);
    font-weight: bold;
}

.template-button {
    background: var(--primary);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
}

.template-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(94, 139, 126, 0.3);
}

/* Guidelines Section */
.guidelines-section {
    background: white;
    border-radius: 16px;
    padding: 50px;
    margin-bottom: 50px;
    box-shadow: 0 4px 20px var(--shadow);
}

.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.guideline-card {
    background: var(--gradient-cool);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid var(--border);
}

.guideline-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.guideline-icon {
    width: 35px;
    height: 35px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 12px;
    font-size: 1rem;
}

.guideline-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.guideline-description {
    color: var(--text);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Mobile Responsive Updates */
@media (max-width: 768px) {
    .template-grid {
        grid-template-columns: 1fr;
    }
    
    .guidelines-grid {
        grid-template-columns: 1fr;
    }
    
    .template-card {
        margin-bottom: 20px;
    }
    
    .template-header {
        padding: 15px;
    }
    
    .template-content {
        padding: 20px;
    }
}

/* Academic & Research Page Specific Styles */
/* Added for examples/academic-research.php */

/* Context-Specific Weighting Section */
.weighting-section {
    background: white;
    border-radius: 16px;
    padding: 50px;
    margin-bottom: 50px;
    box-shadow: 0 4px 20px var(--shadow);
}

.weighting-section h2 {
    font-size: 2rem;
    font-weight: normal;
    color: var(--primary-dark);
    margin-bottom: 25px;
}

.weighting-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.weighting-rationale {
    background: var(--primary-lighter);
    padding: 30px;
    border-radius: 12px;
    margin: 30px 0;
    border-left: 4px solid var(--primary);
}

.weighting-rationale h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.weighting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.weight-item {
    border-left: 3px solid var(--primary);
    padding-left: 15px;
}

.weight-label {
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.weight-value {
    font-size: 1.2rem;
    color: var(--accent-dark);
    font-weight: bold;
}

/* Navigation Tabs */
.navigation-grid {
    display: flex;
    gap: 0;
    margin-bottom: 30px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.nav-section {
    flex: 1;
    background: white;
    border: none;
    padding: 24px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
}

.nav-section::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: var(--border);
}

.nav-section:last-child::after {
    display: none;
}

.nav-section.active {
    background: var(--primary-lighter);
}

.nav-section:hover:not(.active) {
    background: #f5f5f5;
}

.nav-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.nav-header i {
    font-size: 1.8rem;
    color: var(--primary);
}

.nav-section.active .nav-header i {
    color: var(--primary-dark);
}

.nav-header span {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text);
}

.nav-section.active .nav-header span {
    color: var(--primary-dark);
    font-weight: 600;
}

/* Sub-navigation Template Selector */
.template-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.nav-content {
    display: none;
}

.nav-content.active {
    display: block;
}

.nav-item-example {
    background: var(--primary-lighter);
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 20px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1rem;
    color: var(--text);
}

.nav-item-example:hover {
    background: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(94, 139, 126, 0.15);
}

.nav-item-example.active {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(94, 139, 126, 0.15);
}

.scenario-icon {
    display: flex;
    gap: 4px;
    align-items: center;
}

.scenario-icon i {
    font-size: 1.1rem;
    color: var(--primary);
}

/* Example sections */
.example-section {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: none;
}

.example-section.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

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

.example-section h2 {
    color: var(--primary-dark);
    font-size: 1.8rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: normal;
}

.example-section h2 .scenario-icon {
    font-size: 1rem;
}

/* Bio section */
.bio-section {
    background: #edf2f7;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    border-left: 3px solid var(--accent);
}

.bio-label {
    font-weight: 500;
    color: var(--text);
    line-height: 1.6;
    font-style: italic;
}

/* Format toggle */
.format-toggle {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    justify-content: center;
}

.toggle-btn {
    padding: 8px 16px;
    border: 2px solid var(--primary);
    background: white;
    color: var(--primary);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 0.9rem;
}

.toggle-btn.active {
    background: var(--primary);
    color: white;
}

.format-content {
    display: none;
}

.format-content.active {
    display: block;
}

/* CTR section */
.ctr-section {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin: 15px 0;
    border: 2px solid var(--primary-lighter);
    position: relative;
    padding-bottom: 60px;
}

.ctr-rating {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.ctr-story {
    color: var(--text);
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 15px;
}

.ctr-attribution {
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 15px;
}


.copy-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(94, 139, 126, 0.3);
}

.copy-button.copied {
    background: #4caf50;
    animation: pulse 0.3s ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.copy-icon {
    width: 12px;
    height: 12px;
    opacity: 0.9;
}

/* Micro Signatures */
.micro-sig {
    font-size: 0.9rem;
    margin-right: 4px;
    opacity: 0.8;
}

/* Multi-contributor formatting */
.multi-contributor {
    line-height: 1.8;
}

.multi-contributor .contributor {
    display: block;
    margin-bottom: 8px;
}

/* Future Integration Sections */
.future-integration-section {
    background: var(--gradient-warm);
    border-radius: 16px;
    padding: 40px;
    margin: 30px 0;
    border: 2px solid var(--accent-light);
    position: relative;
}

.future-integration-section::before {
    content: 'Future Integration';
    position: absolute;
    top: -15px;
    left: 30px;
    background: var(--accent);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.future-section-header {
    text-align: center;
    margin-bottom: 30px;
}

.future-section-title {
    font-size: 1.5rem;
    font-weight: normal;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.future-section-subtitle {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

.future-example-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid var(--border);
}

.future-example-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.future-example-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 15px;
    font-size: 1.1rem;
}

.future-example-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.future-content-preview {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 3px solid var(--primary);
    font-style: italic;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

.future-ctr-display {
    background: var(--primary-lighter);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--primary);
    font-size: 0.9rem;
}

.future-ctr-rating {
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.future-ctr-details {
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.5;
    font-style: italic;
}

.future-ctr-credit {
    color: var(--text-light);
    font-size: 0.8rem;
    font-style: italic;
}

/* Responsive design for academic page */
@media (max-width: 1024px) {
    .navigation-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }

    .nav-section::after {
        display: none;
    }

    .nav-section:nth-child(odd) {
        border-right: 1px solid var(--border);
    }

    .nav-section:nth-child(1),
    .nav-section:nth-child(2) {
        border-bottom: 1px solid var(--border);
    }
}

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

    .nav-section {
        border-right: none !important;
        border-bottom: 1px solid var(--border);
    }

    .nav-section:last-child {
        border-bottom: none;
    }

    .template-selector {
        grid-template-columns: 1fr;
    }
}

/* Academic Research Tool Styles */
/* Comprehensive styling for the academic research template tool */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--accent-light) 100%);
    padding: 60px 40px;
    text-align: center;
    border-radius: 16px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="10" height="10" patternUnits="userSpaceOnUse"><circle cx="5" cy="5" r="0.5" fill="%235e8b7e" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>') repeat;
    opacity: 0.5;
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: 2.8rem;
    font-weight: normal;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Introduction Section */
.intro-section {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px var(--shadow);
    border-left: 4px solid var(--primary);
}

.intro-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text);
}

/* Tab Navigation */
.tab-navigation {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px var(--shadow);
}

.tab-container {
    display: flex;
    background: #f1f5f3;
    border-radius: 12px;
    overflow: hidden;
}

.tab-button {
    flex: 1;
    padding: 18px 20px;
    background: none;
    border: none;
    font-size: 1rem;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family:'Lora', serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.tab-button:hover {
    background: rgba(255, 255, 255, 0.5);
}

.tab-button.active {
    background: white;
    color: var(--primary-dark);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.tab-icon {
    font-size: 1.3rem;
    color: var(--primary);
}

.tab-label {
    font-weight: 500;
    text-align: center;
}

/* Template Tool */
.template-tool {
    background: white;
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 4px 20px var(--shadow);
    min-height: 400px;
}

.tool-step {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.tool-step.active {
    display: block;
}

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

.step-header {
    text-align: center;
    margin-bottom: 40px;
}

.step-title {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.step-description {
    color: var(--text-light);
    font-size: 1.05rem;
}

/* Choice Buttons */
.choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.choice-button {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.choice-button:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(94, 139, 126, 0.2);
}

.choice-button.selected {
    background: var(--primary-lighter);
    border-color: var(--primary);
}

.choice-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.choice-description {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* CTR Output Display */
.output-section {
    margin-top: 40px;
}

.format-toggle {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
}

.toggle-btn {
    padding: 10px 20px;
    border: 2px solid var(--primary);
    background: white;
    color: var(--primary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 0.95rem;
    font-family:'Lora', serif;
}

.toggle-btn.active {
    background: var(--primary);
    color: white;
}

.ctr-display {
    background: #f8fafc;
    border-radius: 12px;
    padding: 30px;
    border: 2px solid var(--primary-light);
    position: relative;
    margin-bottom: 20px;
}

.ctr-content {
    font-family:'Lora', serif;
    line-height: 1.6;
    white-space: pre-wrap;
}

.ctr-rating {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.ctr-story {
    color: var(--text);
    margin-bottom: 15px;
    font-style: italic;
}

.ctr-attribution {
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
}

.copy-button {
    background: var(--accent);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-family:'Lora', serif;
    font-weight: 500;
}

.copy-button:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 184, 156, 0.3);
}

.copy-button.copied {
    background: #4caf50;
}

/* Collapsible Weighting Info */
.weighting-toggle {
    text-align: center;
    margin: 30px 0;
}

.weighting-toggle-btn {
    background: none;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-family:'Lora', serif;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.weighting-toggle-btn:hover {
    background: var(--primary-lighter);
}

.weighting-info {
    display: none;
    background: var(--primary-lighter);
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
    border-left: 4px solid var(--primary);
}

.weighting-info.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

/* Navigation Buttons */
.nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    gap: 20px;
}

.nav-button {
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family:'Lora', serif;
    font-weight: 500;
}

.nav-button.back {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.nav-button.back:hover {
    background: var(--primary-lighter);
}

.nav-button.next {
    background: var(--primary);
    color: white;
    margin-left: auto;
}

.nav-button.next:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.nav-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Progress Dots */
.progress-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.progress-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    transition: all 0.3s ease;
}

.progress-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* Footer Note */
.footer-note {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
}

/* Responsive Design for Academic Research Tool */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .tab-container {
        flex-direction: column;
    }
    
    .choice-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-buttons {
        flex-direction: column;
    }
    
    .nav-button.next {
        margin-left: 0;
    }
    
    .template-tool {
        padding: 30px 20px;
    }
    
    .page-header {
        padding: 40px 20px;
    }
    
    .intro-section {
        padding: 30px 20px;
    }
    
    .tab-navigation {
        padding: 15px;
    }
    
    .format-toggle {
        flex-direction: column;
        align-items: center;
    }
    
    .ctr-display {
        padding: 20px;
    }
    
    .weighting-info {
        padding: 20px;
    }
}

/* Social Media Templates Styles */
/* Comprehensive styling for the social media templates tool */

/* CTR Two Parts Info Box */
.ctr-parts-info {
    background: linear-gradient(135deg, #f0f7ff 0%, #f8f0ff 100%);
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
    border-left: 4px solid #7c3aed;
}

.ctr-parts-info h4 {
    color: #5b21b6;
    margin-bottom: 10px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ctr-parts-info p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.ctr-parts-info p:last-child {
    margin-bottom: 0;
}

/* Citation styles */
.citation {
    vertical-align: super;
    font-size: 0.8rem;
    color: var(--primary-dark);
    text-decoration: none;
    cursor: pointer;
    }

.citation:hover {
    text-decoration: underline;
}

/* How to Use section */
.how-to-use {
    background: var(--accent-light);
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
    font-style: italic;
    font-size: 1.05rem;
    text-align: center;
}

/* Visual Story Section */
.visual-story-display {
    background: var(--accent-light);
    border-radius: 12px;
    padding: 25px;
    border: 2px solid var(--accent);
    margin-top: 20px;
}

.visual-story-content {
    font-family:'Lora', serif;
    line-height: 1.6;
    color: var(--text);
    font-style: italic;
}

.visual-story-label {
    font-weight: 600;
    color: var(--accent-dark);
    margin-right: 8px;
}

/* Combination Instructions */
.combination-instructions {
    background: #f0f7ff;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    border-left: 4px solid #3b82f6;
}

.combination-instructions h5 {
    color: #1e40af;
    margin-bottom: 10px;
}

.combination-instructions p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text);
}

.combination-instructions ol {
    margin-top: 10px;
    margin-left: 20px;
}

.combination-instructions li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Domain Info */
.domain-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.domain-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.domain-name {
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.domain-description {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 40px;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease;
}

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

.modal-header {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    text-align: center;
}

.terms-checklist {
    margin: 20px 0;
}

.terms-item {
    display: flex;
    align-items: flex-start;
    margin: 15px 0;
    padding: 15px;
    background: var(--primary-lighter);
    border-radius: 8px;
}

.terms-item input[type="checkbox"] {
    margin-right: 15px;
    margin-top: 5px;
    cursor: pointer;
}

.terms-item label {
    cursor: pointer;
    flex: 1;
}

.terms-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.terms-link:hover {
    text-decoration: underline;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.modal-button {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family:'Lora', serif;
    font-weight: 500;
}

.modal-button.cancel {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.modal-button.cancel:hover {
    background: var(--primary-lighter);
}

.modal-button.proceed {
    background: var(--primary);
    color: white;
}

.modal-button.proceed:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.modal-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Future Integration Section */
.future-integration {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: 0 4px 20px var(--shadow);
    border-left: 4px solid var(--accent);
}

.future-integration h2 {
    color: var(--accent-dark);
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: normal;
}

.integration-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.integration-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid var(--border);
}

.integration-card h4 {
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.integration-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text);
}

/* Footer Note */
.footer-note {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
}

/* Social Media Templates Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .tab-container {
        flex-direction: column;
    }
    
    .choice-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-buttons {
        flex-direction: column;
    }
    
    .nav-button.next {
        margin-left: 0;
    }
    
    .template-tool {
        padding: 30px 20px;
    }
    
    .copy-buttons-container {
        flex-direction: column;
        width: 100%;
    }
    
    .copy-button {
        width: 100%;
    }
}

/* Collapsible sections */
.collapsible {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    margin: 20px 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.collapsible-header {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--primary-lighter);
    transition: background 0.3s ease;
}

.collapsible-header:hover {
    background: #d0e5df;
}

.collapsible-title {
    font-weight: 600;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.collapsible-icon {
    transition: transform 0.3s ease;
}

.collapsible.active .collapsible-icon {
    transform: rotate(180deg);
}

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

.collapsible.active .collapsible-content {
    max-height: 2000px; /* Adjust as needed */
}

.collapsible-inner {
    padding: 25px;
}

/* How to Use section */
.how-to-use {
    background: var(--accent-light);
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
    font-style: italic;
    font-size: 1.05rem;
    text-align: center;
}

/* Weighting Info Enhanced Styles */
.weighting-baseline {
    background: linear-gradient(135deg, #f8faf9 0%, #e8f5e8 100%);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.weighting-baseline-title {
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

.weighting-percentages {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.percentage-item {
    background: white;
    padding: 16px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.percentage-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.percentage-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.percentage-header strong {
    color: var(--primary-dark);
    font-size: 0.95rem;
}

.percentage-value {
    color: var(--primary);
    font-weight: 600;
    font-size: 1rem;
}

.percentage-bar {
    width: 100%;
    height: 8px;
    background: rgba(94, 139, 126, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.percentage-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 4px;
    transition: width 0.8s ease;
    position: relative;
    overflow: hidden;
}

/* Animated shimmer effect on the bars */
.percentage-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Different colors for each domain for visual variety */
.percentage-item:nth-child(1) .percentage-fill { 
    background: linear-gradient(90deg, #5e8b7e 0%, #7dab9d 100%); 
}
.percentage-item:nth-child(2) .percentage-fill { 
    background: linear-gradient(90deg, #7dab9d 0%, #8fb8aa 100%); 
}
.percentage-item:nth-child(3) .percentage-fill { 
    background: linear-gradient(90deg, #e6b89c 0%, #f2daca 100%); 
}
.percentage-item:nth-child(4) .percentage-fill { 
    background: linear-gradient(90deg, #d39f7b 0%, #e6b89c 100%); 
}
.percentage-item:nth-child(5) .percentage-fill { 
    background: linear-gradient(90deg, #8b7e5e 0%, #a89f7e 100%); 
}
.percentage-item:nth-child(6) .percentage-fill { 
    background: linear-gradient(90deg, #a89f7e 0%, #c0b896 100%); 
}

/* Domain Explanation Enhanced Styles (remains the same) */
.domain-explanation {
    margin-top: 30px;
}

.domain-explanation-title {
    color: var(--primary-dark);
    margin-bottom: 25px;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

.domain-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.domain-item {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(94, 139, 126, 0.15);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.domain-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(94, 139, 126, 0.15);
    border-color: var(--primary);
}

.domain-name {
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 12px;
    font-size: 1.05rem;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-lighter);
}

.domain-description {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text);
}

.domain-description em {
    color: var(--accent-dark);
    font-style: italic;
    background: rgba(230, 184, 156, 0.1);
    padding: 2px 4px;
    border-radius: 3px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .weighting-percentages {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .domain-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .domain-explanation-title {
        text-align: left;
        font-size: 1.1rem;
    }
}

/* Visual Story Specific Styles */
.visual-story-options {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.visual-story-choice {
    min-width: 200px;
    padding: 30px;
    font-size: 1.1rem;
}

.visual-type-choices,
.visual-ai-choices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.visual-type,
.visual-ai {
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.visual-ai small {
    font-size: 0.8rem;
    color: var(--text-light);
    text-align: center;
}

/* Output Section Styles */
.output-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.output-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-lighter);
}

.output-header h4 {
    margin: 0;
    color: var(--primary-dark);
    font-size: 1.2rem;
}

.copy-button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.copy-button:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.copy-button.copied {
    background: #4CAF50;
}

.output-content {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text);
    white-space: normal !important;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

/* Combined Preview */
.combined-preview {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #f8faf9 0%, #e8f5e8 100%);
    border-radius: 12px;
    border: 2px dashed var(--primary-light);
}

.combined-preview h4 {
    color: var(--primary-dark);
    margin-bottom: 20px;
    text-align: center;
}

.preview-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Terms Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-content h3 {
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.terms-checklist {
    margin: 20px 0;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
    cursor: pointer;
}

.checkbox-item a {
    color: var(--primary);
    text-decoration: underline;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 25px;
}

.modal-cancel,
.modal-confirm {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.modal-cancel {
    background: #e0e0e0;
    color: #333;
}

.modal-cancel:hover {
    background: #d0d0d0;
}

.modal-confirm {
    background: var(--primary);
    color: white;
}

.modal-confirm:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.modal-confirm:not(:disabled):hover {
    background: var(--primary-dark);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .visual-story-options {
        flex-direction: column;
    }
    
    .visual-type-choices,
    .visual-ai-choices {
        grid-template-columns: 1fr;
    }
    
    .output-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .copy-button {
        align-self: flex-end;
    }
}



/* Version Toggle Buttons */
.version-options {
  display: flex;
  gap: 10px;
  margin: 18px 0 10px 0;
  justify-content: flex-start;
  align-items: center;
}
.version-btn {
  background: var(--surface);
  color: var(--primary-dark);
  border: 2px solid var(--primary-light);
  border-radius: 22px;
  padding: 8px 22px;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  outline: none;
  margin-right: 0px;
  box-shadow: 0 2px 8px var(--shadow);
}
.version-btn:hover {
  background: var(--primary-lighter);
  border-color: var(--primary);
  color: var(--primary);
}
.version-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary-dark);
  box-shadow: 0 4px 16px var(--shadow-lg);
}

/* --- Unified Attribution (Step 8) Styles from SM10 --- */
.unified-attribution {
    background: white;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 2px solid var(--primary-light);
    margin-bottom: 30px;
}
.attribution-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between; /* This pushes button to the right */
    gap: 15px;
}
.ctr-brand {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1px;
}
.attribution-type {
    font-size: 0.9rem;
    opacity: 0.9;
    font-style: italic;
}
.content-section, .visual-section {
    padding: 20px 25px;
    position: relative;
}
.visual-section {
    background: linear-gradient(135deg, rgba(230, 184, 156, 0.1) 0%, rgba(230, 184, 156, 0.2) 100%);
}
.section-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.content-section .section-label::before {
    content: "✍️";
    font-size: 1rem;
}
.visual-section .section-label::before {
    content: "🎨";
    font-size: 1rem;
}
.attribution-line {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 8px;
}
.attribution-story {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text);
}
.attribution-story em {
    font-style: italic;
}
.framework-credit {
    background: var(--primary-lighter);
    padding: 12px 25px;
    font-size: 0.85rem;
    color: var(--primary-dark);
    font-style: italic;
    text-align: center;
    border-top: 1px solid var(--border);
}
.compact-attribution {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    border: 1px solid var(--primary-light);
}
.compact-header {
    display: flex;
    align-items: center;
    justify-content: space-between; /* This pushes button to the right */
    gap: 10px;
    margin-bottom: 15px;
}
.compact-brand {
    background: var(--primary);
    color: white;
    padding: 4px 10px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.9rem;
}
.compact-divider {
    height: 1px;
    background: var(--border);
    margin: 12px 0;
}
.version-label {
    text-align: center;
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.1rem;
}
.header-copy {
    margin-left: auto; /* Ensures button stays on right */
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.section-copy {
    font-size: 0.85rem;
    padding: 4px 12px;
}

/* Template Library - Additional Styles */
/* Add these styles to your main.css file */

/* Full Width Template Cards */
.template-card--full-width {
    grid-column: 1 / -1;
    max-width: 100%;
}

/* Badge for "In Refinement" */
.template-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ff6b6b;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Ensure template-card has relative positioning for badge */
.template-card {
    position: relative;
}

/* Disabled Template Buttons */
.template-button--disabled {
    background: #e0e0e0 !important;
    color: #999 !important;
    cursor: not-allowed !important;
    opacity: 0.7;
    border: 2px solid transparent !important;
}

.template-button--disabled:hover {
    background: #e0e0e0 !important;
    transform: none !important;
    box-shadow: none !important;
}

.template-button--disabled i {
    margin-right: 8px;
}

/* Adjust template grid for full-width items */
@media (min-width: 992px) {
    .template-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    /* Full width cards span all columns */
    .template-card--full-width {
        grid-column: 1 / -1;
    }
    
    /* Ensure full-width cards have appropriate internal layout */
    .template-card--full-width .template-content {
        max-width: 100%;
    }
    
    .template-card--full-width .template-examples {
        margin-top: 20px;
    }
}

/* Mobile responsiveness for full-width cards */
@media (max-width: 991px) {
    .template-card,
    .template-card--full-width {
        width: 100%;
        max-width: 100%;
    }
}

/* Template Library - Additional Styles */
/* Add these styles to your main.css file */

/* Full Width Template Cards */
.template-card--full-width {
    grid-column: 1 / -1;
    max-width: 100%;
}

/* Badge for "In Refinement" */
.template-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ff6b6b;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Ensure template-card has relative positioning for badge */
.template-card {
    position: relative;
}

/* Two-column layout for examples lists in full-width cards */
.examples-list--two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
    list-style: none;
    padding: 0;
}

.examples-list--two-column li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.examples-list--two-column li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Disabled Template Buttons */
.template-button--disabled {
    background: #e0e0e0 !important;
    color: #999 !important;
    cursor: not-allowed !important;
    opacity: 0.7;
    border: 2px solid transparent !important;
}

.template-button--disabled:hover {
    background: #e0e0e0 !important;
    transform: none !important;
    box-shadow: none !important;
}

.template-button--disabled i {
    margin-right: 8px;
}

/* Next Up button styling - different shade to indicate it's next in line */
.template-button--next-up {
    background: #b0b0b0 !important;
    color: #666 !important;
    cursor: not-allowed !important;
    opacity: 0.8;
    border: 2px solid transparent !important;
}

.template-button--next-up:hover {
    background: #b0b0b0 !important;
    transform: none !important;
    box-shadow: none !important;
}

.template-button--next-up i {
    margin-right: 8px;
}

/* Adjust template grid for full-width items */
@media (min-width: 992px) {
    .template-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    /* Full width cards span all columns */
    .template-card--full-width {
        grid-column: 1 / -1;
    }
    
    /* Ensure full-width cards have appropriate internal layout */
    .template-card--full-width .template-content {
        max-width: 100%;
    }
    
    .template-card--full-width .template-examples {
        margin-top: 20px;
    }
}

/* Mobile responsiveness for full-width cards and two-column lists */
@media (max-width: 991px) {
    .template-card,
    .template-card--full-width {
        width: 100%;
        max-width: 100%;
    }
    
    /* Stack two-column lists on mobile */
    .examples-list--two-column {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.format-toggle {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
}

.form-toggle {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

/* Multi-select visual feedback */
.choice-button.multi-select {
    position: relative;
}

.choice-button.multi-select.selected::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

/* AI Category Sections for Step 7 */
.ai-category-section {
    margin-bottom: 25px;
    padding: 20px;
    background: #fafafa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.ai-category-title {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.ai-category-title::before {
    font-size: 1.5rem;
    margin-right: 10px;
}

/* Responsive adjustments for AI categories */
@media (max-width: 768px) {
    .ai-category-section {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .ai-category-title {
        font-size: 1rem;
    }
}

/* International Note Styles for Step 7 */
.international-note {
    background: #f0f7f5;
    border: 1px solid #e6b89c;
    border-radius: 6px;
    padding: 15px;
    margin-top: 20px;
    font-style: italic;
    color: #666;
    line-height: 1.5;
    text-align: center;
}

.international-note a {
    color: #5e8b7e;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.international-note a:hover {
    text-decoration: underline;
    color: #4a7063;
}

.international-note strong {
    color: #5e8b7e;
    font-weight: 600;
}

/* Responsive adjustments for international note */
@media (max-width: 768px) {
    .international-note {
        padding: 12px;
        margin-top: 15px;
        font-size: 0.9rem;
    }
}

/* Visual Attribution Line Styles */
.attribution-line {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.combination-instructions {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 15px;
    border-left: 4px solid var(--primary-color);
}

.combination-instructions p {
    margin-bottom: 10px;
    line-height: 1.5;
}

.combination-instructions strong {
    color: var(--primary-dark);
}

.template-descriptions {
    margin-top: 15px;
    padding-left: 20px;
}

.tool-description {
    margin-bottom: 10px;
    font-size: 0.95em;
    line-height: 1.5;
    padding: 8px;
    background: white;
    border-radius: 4px;
    border-left: 3px solid var(--primary-color);
}

.tool-description strong {
    color: var(--primary-dark);
    font-weight: 600;
}

.clipboard-script-section {
    margin-top: 20px;
    padding: 15px;
    background: #e8f4f8;
    border-radius: 8px;
    border: 1px solid #b8d4da;
}

.clipboard-script-section h4 {
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-size: 1rem;
}

.copy-script-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.2s ease;
}

.copy-script-btn:hover {
    background: var(--primary-dark);
}

.copy-script-btn i {
    margin-right: 5px;
}

/* Copy button states */
.copy-button.copied {
    background: #28a745 !important;
    color: white !important;
}

.prompt-copy-section {
    margin-top: 20px;
    text-align: center;
}

.prompt-copy-section .copy-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.2s ease;
}

.prompt-copy-section .copy-button:hover {
    background: var(--primary-dark);
}

.formatting-helper {
    background: #f0f8ff;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    border-left: 4px solid #2c5aa0;
}

.formatting-helper h4 {
    color: #2c5aa0;
    margin-bottom: 10px;
    font-size: 1rem;
}

.formatting-helper ol {
    margin-left: 20px;
    margin-bottom: 10px;
}

.formatting-helper li {
    margin-bottom: 5px;
    line-height: 1.4;
}

.formatting-helper p {
    margin-bottom: 10px;
    line-height: 1.5;
}

.formatting-helper p:last-child {
    margin-top: 10px;
    font-style: italic;
    color: #666;
}

.visual-prompt-section {
    background: #f0f8ff;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    margin: 15px 0;
}

.copy-button.copied {
    background: #4CAF50 !important;
    color: white !important;
}

/* Attribution output styling */
.attribution-output {
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
}

.output-section {
    background: white;
    border-radius: 12px;
    padding: 0;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}
.output-section:last-child {
    margin-bottom: 0;
}

/* 3. Output Header */
.output-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}
.output-header h4 {
    margin: 0;
    color: #495057;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* 4. Output Content Padding */
.output-content {
    padding: 15px 20px;
    white-space: normal !important;
}
.output-content .ctr-line,
.output-content .ctr-story {
    margin: 0;
    padding: 0;
}
.ctr-line {
    font-weight: 500;
    margin-bottom: 8px;
}
.ctr-story {
    font-style: italic;
    color: #666;
    line-height: 1.5;
}

/* 5. Visual Story Specific Styling */
.combination-instructions {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
}
.combination-instructions p {
    margin: 0 0 8px 0 !important;
}
.combination-instructions p:last-child {
    margin-bottom: 0 !important;
}
.visual-prompt-section {
    margin: 8px 0 !important;
}
.visual-prompt-section p {
    margin: 0 !important;
    font-size: 0.85rem;
    color: #666;
}
.template-descriptions {
    margin-top: 8px !important;
}
.tool-description {
    margin: 0 0 6px 0 !important;
    font-size: 0.9rem;
    line-height: 1.4;
}
.tool-description:last-child {
    margin-bottom: 0 !important;
}

/* 6. Remove Redundant Spacing */
.visual-section .output-content {
    padding: 15px 20px;
}
.output-content .combination-instructions {
    margin: -15px -20px;
    border-radius: 0;
}
/* Ensure visual section has proper padding when combination-instructions is present */
.visual-section .output-content:has(.combination-instructions) {
    padding: 0;
}
/* Alternative for browsers that don't support :has() */
.visual-section.has-combination-instructions .output-content {
    padding: 0;
}

/* 9. Visual Section Whitespace Fix */
.visual-section .output-content {
    white-space: normal !important;
}
.combination-instructions {
    white-space: normal !important;
}
.combination-instructions p {
    white-space: normal !important;
}
.template-descriptions {
    white-space: normal !important;
}
.tool-description {
    white-space: normal !important;
}

/* 8. Button Styling Consistency */
.copy-button {
    background: #5e8b7e;
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}
.copy-button:hover {
    background: #4a6f64;
}