:root {
    --primary-color: #1a2332;
    --secondary-color: #2a4a6f;
    --accent-color: #4a90e2;
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #ffffff;
    --bg-secondary: #f5f7fa;
    --border-color: #e0e6ed;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 20px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

[data-theme="dark"] {
    --primary-color: #e0e6ed;
    --secondary-color: #a8b8d8;
    --accent-color: #6ba3f5;
    --text-color: #e0e6ed;
    --text-light: #a8b8d8;
    --bg-color: #1a1f2e;
    --bg-secondary: #252b3b;
    --border-color: #3a4254;
    --shadow: 0 2px 10px rgba(0,0,0,0.3);
    --shadow-lg: 0 4px 20px rgba(0,0,0,0.4);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: var(--transition);
}

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

.container-fluid {
    width: 100%;
    padding: 0 20px;
}

#theme-switcher {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--accent-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: var(--transition);
}

#theme-switcher:hover {
    transform: scale(1.1);
}

.main-header {
    background: var(--primary-color);
    color: white;
    padding: 15px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-logo {
    border-radius: 50%;
    object-fit: cover;
}

.brand-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.primary-nav ul {
    display: flex;
    list-style: none;
    gap: 5px;
}

.primary-nav a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.primary-nav a:hover,
.primary-nav a.active {
    background: var(--accent-color);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.hero-matrix {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    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"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.03)"/></svg>');
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-headline {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

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

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-item i {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 10px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
}

.engagement-matrix-grid {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.section-intro {
    text-align: center;
    margin-bottom: 60px;
}

.section-intro h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
}

.matrix-zones {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.zone-card {
    background: var(--bg-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--accent-color);
}

.zone-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.zone-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

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

.zone-metrics {
    margin: 20px 0;
}

.metric {
    margin-bottom: 15px;
}

.metric-label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: var(--text-light);
}

.metric-bar {
    height: 8px;
    background: var(--accent-color);
    border-radius: 4px;
    transition: width 1s ease;
}

.zone-card p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.zone-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.zone-cta:hover {
    gap: 15px;
}

.visualization-section {
    padding: 80px 0;
}

.visualization-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.chart-container {
    max-width: 800px;
    margin: 0 auto 60px;
    background: var(--bg-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

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

.visual-item {
    text-align: center;
    padding: 20px;
}

.visual-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.visual-item h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.blog-posts-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.blog-posts-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 60px;
    color: var(--primary-color);
}

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

.post-card {
    background: var(--bg-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.post-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.post-content {
    padding: 25px;
}

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

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

.post-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.post-link:hover {
    gap: 12px;
}

.disclaimer-section {
    padding: 60px 0;
}

.disclaimer-box {
    background: #fff3cd;
    border-left: 4px solid var(--warning-color);
    padding: 30px;
    border-radius: 5px;
}

.disclaimer-box h3 {
    color: #856404;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.disclaimer-box p {
    color: #856404;
    margin-bottom: 15px;
}

.site-footer {
    background: var(--primary-color);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-tagline {
    opacity: 0.7;
    font-size: 0.9rem;
}

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

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.copyright {
    opacity: 0.7;
    font-size: 0.9rem;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-color);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 20px;
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content h4 {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.cookie-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

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

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

.btn-decline {
    background: var(--text-light);
    color: white;
}

.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.content-section {
    padding: 80px 0;
}

.content-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.main-content {
    background: var(--bg-color);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.featured-image {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 30px;
}

.main-content h3 {
    color: var(--primary-color);
    margin: 30px 0 15px;
    font-size: 1.8rem;
}

.main-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.highlight-box {
    background: var(--bg-secondary);
    border-left: 4px solid var(--accent-color);
    padding: 20px;
    margin: 30px 0;
    border-radius: 5px;
}

.highlight-box h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--accent-color);
}

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

.info-card {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.info-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.info-card h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: var(--bg-color);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.sticky-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget h4 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

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

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

.related-links a {
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

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

.dimension-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dimension-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

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

.dimension-indicator {
    height: 6px;
    background: var(--accent-color);
    border-radius: 3px;
}

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

.depth-card {
    background: var(--bg-secondary);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
}

.depth-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.depth-card h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: var(--bg-color);
    box-shadow: var(--shadow);
}

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

.data-table th {
    background: var(--bg-secondary);
    font-weight: 600;
    color: var(--primary-color);
}

.quote-box {
    background: var(--bg-secondary);
    padding: 30px;
    margin: 30px 0;
    border-left: 4px solid var(--accent-color);
    border-radius: 5px;
}

.quote-box blockquote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.quote-box cite {
    color: var(--text-light);
    font-size: 0.9rem;
}

.blog-post-container {
    padding: 40px 0;
}

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

.post-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.post-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.post-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

.post-featured-image {
    margin-bottom: 40px;
}

.post-featured-image img {
    width: 100%;
    border-radius: 10px;
}

.post-content-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
}

.post-sidebar {
    order: -1;
}

.post-main-content {
    background: var(--bg-color);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

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

.post-toc a {
    display: block;
    padding: 8px 0;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.post-toc a:hover {
    color: var(--accent-color);
    padding-left: 10px;
}

.sidebar-stats {
    background: var(--bg-secondary);
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
}

.sidebar-stats h5 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.stat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.share-widget {
    margin-top: 20px;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: white;
    transition: var(--transition);
}

.share-btn.facebook { background: #3b5998; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.email { background: var(--text-light); }

.share-btn:hover {
    transform: scale(1.1);
}

.info-box,
.warning-box {
    padding: 20px;
    margin: 30px 0;
    border-radius: 5px;
}

.info-box {
    background: #d1ecf1;
    border-left: 4px solid #17a2b8;
}

.info-box h4 {
    color: #0c5460;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.info-box p {
    color: #0c5460;
}

.warning-box {
    background: #fff3cd;
    border-left: 4px solid var(--warning-color);
}

.warning-box h4 {
    color: #856404;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.warning-box p {
    color: #856404;
}

.post-main-content h2 {
    color: var(--primary-color);
    margin: 40px 0 20px;
    font-size: 2rem;
}

.post-main-content h3 {
    color: var(--secondary-color);
    margin: 30px 0 15px;
    font-size: 1.5rem;
}

.post-main-content ul,
.post-main-content ol {
    margin: 20px 0 20px 30px;
}

.post-main-content li {
    margin-bottom: 10px;
}

.cycle-visualization {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
}

.cycle-chart {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 200px;
    margin: 20px 0;
}

.cycle-day {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    background: var(--accent-color);
    width: 12%;
    border-radius: 5px 5px 0 0;
    position: relative;
}

.day-label {
    position: absolute;
    bottom: -25px;
    font-weight: 600;
}

.day-value {
    color: white;
    font-weight: 600;
    padding: 10px 0;
}

.chart-caption {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 30px;
}

.framework-diagram {
    margin: 30px 0;
}

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

.framework-level {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 10px;
}

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

.level-header i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.level-header h5 {
    color: var(--primary-color);
}

.framework-level ul {
    list-style: none;
    margin: 0;
}

.framework-level li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.framework-level li:last-child {
    border-bottom: none;
}

.loyalty-pyramid {
    margin: 30px 0;
}

.pyramid-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin: 20px 0;
}

.pyramid-level {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    border-radius: 5px;
    color: white;
}

.pyramid-level.level-3 {
    background: #28a745;
    width: 50%;
}

.pyramid-level.level-2 {
    background: var(--accent-color);
    width: 75%;
}

.pyramid-level.level-1 {
    background: var(--text-light);
    width: 100%;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.comparison-table th,
.comparison-table td {
    padding: 12px;
    text-align: left;
    border: 1px solid var(--border-color);
}

.comparison-table th {
    background: var(--bg-secondary);
    font-weight: 600;
}

.metric-high { color: var(--success-color); font-weight: 600; }
.metric-medium { color: var(--warning-color); font-weight: 600; }
.metric-low { color: var(--danger-color); font-weight: 600; }

.conclusion-section {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 10px;
    margin: 40px 0;
}

.post-tags {
    margin: 40px 0;
    padding: 20px 0;
    border-top: 2px solid var(--border-color);
}

.post-tags h4 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.tag {
    display: inline-block;
    background: var(--bg-secondary);
    color: var(--text-color);
    padding: 5px 15px;
    border-radius: 20px;
    margin: 5px;
    font-size: 0.9rem;
}

.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 40px 0;
}

.prev-post,
.next-post {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.prev-post:hover,
.next-post:hover {
    background: var(--accent-color);
    color: white;
}

.next-post {
    text-align: right;
}

.related-posts {
    margin-top: 60px;
}

.related-posts h3 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
}

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

.related-card {
    background: var(--bg-secondary);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
}

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

.related-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.related-content {
    padding: 20px;
}

.related-content h4 a {
    color: var(--primary-color);
    text-decoration: none;
}

.related-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 10px;
}

@media (max-width: 1024px) {
    .content-layout,
    .post-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .post-sidebar {
        order: 1;
    }
    
    .sticky-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .primary-nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-color);
        flex-direction: column;
        padding: 20px;
        display: none;
    }
    
    .primary-nav ul.active {
        display: flex;
    }
    
    .hero-headline {
        font-size: 1.8rem;
    }
    
    .hero-subtext {
        font-size: 1rem;
    }
    
    .matrix-zones,
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .post-navigation {
        grid-template-columns: 1fr;
    }
}