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

:root {
    --primary-color: #4169E1;
    --primary-dark: #2F4CCD;
    --primary-light: #6B8AFF;
    --secondary-color: #F8F9FA;
    --text-primary: #1A1A1A;
    --text-secondary: #666666;
    --text-light: #FFFFFF;
    --border-color: #E5E5E5;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
    --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: #FFFFFF;
}

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

/* Header */
.header {
    background: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    padding: 1rem 0;
}

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

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav-auth {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-login {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn-subscribe {
    background: var(--gradient);
    border: none;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-subscribe:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Hero Section */
.hero {
    background: var(--gradient);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-cta {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Blog Posts */
.blog-posts {
    padding: 4rem 0;
    background: var(--secondary-color);
}

.blog-posts h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--text-primary);
}

.post-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.post-badge {
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.free-badge {
    background: #E8F5E8;
    color: #2E7D2E;
}

.premium-badge {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #8B4513;
}

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

.post-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.post-excerpt {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.read-more {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.read-more:hover {
    border-bottom-color: var(--primary-color);
}

/* Paywall Overlay */
.paywall-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.8) 50%,
        rgba(255, 255, 255, 0.95) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.paywall-content {
    text-align: center;
    width: 100%;
}

.paywall-content h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.paywall-content p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.btn-unlock {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-unlock:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideIn 0.3s ease;
}

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

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--text-primary);
}

.modal h2 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-align: center;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-primary {
    width: 100%;
    background: var(--gradient);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.form-footer {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-secondary);
}

.form-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

/* Subscription Plans */
.subscription-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.plan {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.plan.featured {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(65, 105, 225, 0.05), rgba(107, 138, 255, 0.05));
    transform: scale(1.05);
}

.plan h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

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

.savings {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #8B4513;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.plan ul {
    list-style: none;
    margin: 1.5rem 0;
}

.plan li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

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

.plan li:before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-light);
}

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

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

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

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

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

/* Article Styles */
.article-main {
    padding: 2rem 0;
    background: var(--secondary-color);
    min-height: calc(100vh - 200px);
}

.article-main .container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.article-content {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: var(--shadow);
}

.article-header {
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2rem;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.article-badge {
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.article-date {
    color: var(--text-secondary);
}

.article-author {
    color: var(--text-secondary);
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.article-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.article-body {
    line-height: 1.8;
}

.article-body h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 2.5rem 0 1rem;
    color: var(--text-primary);
}

.article-body h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--text-primary);
}

.article-body p {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.article-body .lead {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(65, 105, 225, 0.05), rgba(107, 138, 255, 0.05));
    border-left: 4px solid var(--primary-color);
    border-radius: 0 8px 8px 0;
}

.article-body ul, .article-body ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.article-image {
    margin: 2rem 0;
    text-align: center;
}

.placeholder-image {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 12px;
    padding: 4rem 2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-content {
    font-size: 1.5rem;
    font-weight: 600;
}

.image-caption {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.article-quote {
    background: var(--secondary-color);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    position: relative;
}

.article-quote cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    font-weight: 600;
    color: var(--primary-color);
}

.info-box {
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid;
}

.info-box.success {
    background: #d4edda;
    border-color: #28a745;
    color: #155724;
}

.info-box.warning {
    background: #fff3cd;
    border-color: #ffc107;
    color: #856404;
}

.info-box h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.info-box ul {
    margin: 0;
    padding-left: 1.5rem;
}

.info-box li {
    margin-bottom: 0.5rem;
}

.investor-recommendations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.recommendation-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.recommendation-card h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.call-to-action {
    background: linear-gradient(135deg, rgba(65, 105, 225, 0.05), rgba(107, 138, 255, 0.05));
    border: 1px solid var(--primary-color);
    border-radius: 12px;
    padding: 2rem;
    margin: 3rem 0;
    text-align: center;
}

.call-to-action h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.call-to-action ul {
    text-align: left;
    margin: 1.5rem 0;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.share-btn {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

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

/* Article Sidebar */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-section {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.sidebar-section h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.market-data {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.market-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: var(--secondary-color);
    border-radius: 6px;
}

.market-item .asset {
    font-weight: 500;
    color: var(--text-primary);
}

.market-item .price {
    font-weight: 600;
    color: var(--text-primary);
}

.market-item .change {
    font-weight: 600;
    font-size: 0.9rem;
}

.market-item .change.positive {
    color: #28a745;
}

.market-item .change.negative {
    color: #dc3545;
}

.trending-articles {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.trending-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: var(--secondary-color);
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.trending-item:hover {
    background: var(--border-color);
}

.trending-item.premium-locked {
    opacity: 0.7;
}

.premium-lock {
    font-size: 0.9rem;
}

.trending-title {
    font-size: 0.9rem;
    font-weight: 500;
}

.newsletter {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light)) !important;
    color: white;
}

.newsletter h3 {
    color: white;
}

.newsletter p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-form input {
    padding: 0.8rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
}

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

/* Premium Content Styles */
.premium-content-gate {
    background: linear-gradient(135deg, rgba(65, 105, 225, 0.05), rgba(107, 138, 255, 0.05));
    border: 2px solid var(--primary-color);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    margin: 2rem 0;
}

.paywall-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.premium-content-gate h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.premium-content-gate p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.premium-preview {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow);
    text-align: left;
}

.premium-preview h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.premium-preview ul {
    list-style: none;
    padding: 0;
}

.premium-preview li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.premium-preview li:last-child {
    border-bottom: none;
}

.subscription-cta {
    margin: 2rem 0;
}

.subscription-cta h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.pricing-compact {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.price-option {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    min-width: 180px;
    transition: all 0.3s ease;
}

.price-option.featured {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(65, 105, 225, 0.05), rgba(107, 138, 255, 0.05));
    transform: scale(1.05);
}

.price-option .price {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.price-option .savings {
    display: block;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #8B4513;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.btn-subscribe-small {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-subscribe-small:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.benefits {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.login-alternative {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.login-alternative a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

/* Premium Article Specific Styles */
.coin-analysis {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow);
}

.coin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.coin-header h3 {
    color: var(--primary-color);
    margin: 0;
}

.rating {
    display: flex;
    gap: 1rem;
}

.risk, .potential {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

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

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

.key-metrics {
    background: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.key-metrics h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.trading-strategy {
    background: linear-gradient(135deg, rgba(65, 105, 225, 0.05), rgba(107, 138, 255, 0.05));
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    margin: 1.5rem 0;
}

.trading-strategy h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.portfolio-allocation {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow);
}

.portfolio-allocation h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.allocation-chart {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.allocation-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    align-items: center;
    padding: 1rem;
    background: var(--secondary-color);
    border-radius: 8px;
    font-weight: 500;
}

.allocation-item .coin {
    color: var(--text-primary);
}

.allocation-item .percentage {
    color: var(--primary-color);
    font-weight: 600;
    text-align: center;
}

.allocation-item .amount {
    color: var(--text-secondary);
    text-align: right;
}

/* Additional Article Styles */
.payment-methods, .storage-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.payment-method, .storage-option {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.payment-method h4, .storage-option h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.recommendation {
    background: linear-gradient(135deg, rgba(65, 105, 225, 0.05), rgba(107, 138, 255, 0.05));
    padding: 0.5rem;
    border-radius: 4px;
    margin-top: 1rem;
    font-weight: 600;
}

.staking-calculator {
    background: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.security-checklist {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.security-checklist label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.security-checklist label:hover {
    background: var(--secondary-color);
}

.security-checklist input[type="checkbox"] {
    accent-color: var(--primary-color);
}

.quick-tips p {
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--secondary-color);
    border-radius: 6px;
    border-left: 4px solid var(--primary-color);
}

.common-mistakes {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
}

.common-mistakes h3 {
    color: #856404;
    margin-bottom: 1rem;
}

.common-mistakes ul {
    margin: 0;
    padding-left: 1.5rem;
}

.common-mistakes li {
    margin-bottom: 0.8rem;
    color: #856404;
}

/* News Page Styles */
.page-hero {
    background: var(--gradient);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.news-section {
    padding: 3rem 0;
    background: var(--secondary-color);
}

.news-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
    justify-content: center;
}

.filter-btn {
    background: white;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

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

.news-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.news-card.breaking {
    border-left: 4px solid #ff4757;
}

.news-card.premium {
    border-left: 4px solid var(--primary-color);
}

.news-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.breaking-badge {
    background: linear-gradient(135deg, #ff4757, #ff3742);
    color: white;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.news-category {
    background: var(--secondary-color);
    padding: 0.2rem 0.8rem;
    border-radius: 12px;
    font-weight: 500;
}

.news-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.news-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.news-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.news-link:hover {
    border-bottom-color: var(--primary-color);
}

.paywall-overlay-small {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.lock-icon {
    font-size: 1rem;
}

.news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-btn {
    background: white;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 45px;
}

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

.page-btn.next {
    padding: 0.8rem 1.5rem;
    min-width: auto;
}

.page-dots {
    color: var(--text-secondary);
    font-weight: bold;
    padding: 0 1rem;
}

.newsletter-section {
    padding: 4rem 0;
    background: white;
}

.newsletter-box {
    background: var(--gradient);
    color: white;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-box h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter-box p {
    opacity: 0.9;
    margin-bottom: 2rem;
}

.newsletter-signup {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-signup input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

.newsletter-signup input:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
}

.newsletter-benefits {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Active navigation link */
.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Market Overview Styles */
.market-overview {
    padding: 3rem 0;
    background: white;
}

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

.stat-card {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.stat-card h3 {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.stat-change {
    font-weight: 600;
    font-size: 0.9rem;
}

.stat-change.positive {
    color: #28a745;
}

.stat-change.negative {
    color: #dc3545;
}

.stat-change.greed {
    color: #ff6b35;
}

.analysis-section {
    padding: 3rem 0;
    background: var(--secondary-color);
}

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

.analysis-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    position: relative;
    transition: transform 0.3s ease;
}

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

.analysis-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.analysis-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.analysis-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.analysis-excerpt {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.analysis-chart-placeholder {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    margin: 1.5rem 0;
    color: var(--text-secondary);
    border: 2px dashed var(--border-color);
}

.analysis-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.premium-cta-section {
    margin-top: 4rem;
}

.premium-cta-box {
    background: var(--gradient);
    color: white;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
}

.premium-cta-box h2 {
    margin-bottom: 1rem;
}

.premium-cta-box p {
    opacity: 0.9;
    margin-bottom: 2rem;
}

.premium-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.feature-icon {
    font-size: 1.2rem;
}

/* Tutorial Styles */
.tutorial-categories {
    margin-bottom: 4rem;
}

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

.category-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

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

.category-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.category-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.tutorial-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    position: relative;
    transition: transform 0.3s ease;
}

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

.tutorial-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.tutorial-level {
    padding: 0.2rem 0.8rem;
    border-radius: 12px;
    font-weight: 500;
}

.tutorial-level.beginner {
    background: #d4edda;
    color: #155724;
}

.tutorial-level.intermediate {
    background: #fff3cd;
    color: #856404;
}

.tutorial-level.expert {
    background: #f8d7da;
    color: #721c24;
}

.tutorial-duration {
    color: var(--text-secondary);
}

.tutorial-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.tutorial-excerpt {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tutorial-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
}

.tutorial-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.learning-path {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.path-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.step {
    text-align: center;
    max-width: 200px;
}

.step-number {
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin: 0 auto 1rem;
}

.step-arrow {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: bold;
}

/* Trading Styles */
.trading-signals {
    padding: 3rem 0;
    background: white;
}

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

.signal-card {
    background: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid;
}

.signal-card.long {
    border-color: #28a745;
}

.signal-card.short {
    border-color: #dc3545;
}

.signal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.signal-type {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.signal-type.long {
    background: #28a745;
    color: white;
}

.signal-type.short {
    background: #dc3545;
    color: white;
}

.signal-pair {
    font-weight: 600;
    color: var(--text-primary);
}

.signal-price {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.signal-targets {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.signal-sl {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.signal-status {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.8rem;
}

.signal-status.active {
    background: #007bff;
    color: white;
}

.signal-status.completed {
    background: #28a745;
    color: white;
}

.signal-card.premium-locked {
    background: var(--gradient);
    color: white;
    text-align: center;
    border: none;
}

.signal-lock {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.trading-content {
    padding: 3rem 0;
    background: var(--secondary-color);
}

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

.trading-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    position: relative;
    transition: transform 0.3s ease;
}

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

.trading-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.trading-level {
    padding: 0.2rem 0.8rem;
    border-radius: 12px;
    font-weight: 500;
}

.trading-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.trading-excerpt {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.trading-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
}

.stat {
    background: var(--secondary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
}

.trading-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.trading-tools {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    margin-top: 3rem;
}

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

.tool-card {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.tool-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.tool-demo input {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
}

.tool-demo button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
}

.tool-locked {
    text-align: center;
    padding: 2rem;
}

.tool-locked .lock-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .nav-auth {
        order: 2;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .post-card {
        padding: 1.5rem;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 1.5rem;
    }
    
    .subscription-plans {
        grid-template-columns: 1fr;
    }
    
    .plan.featured {
        transform: none;
    }
    
    .article-main .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .article-content {
        padding: 2rem;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-subtitle {
        font-size: 1.1rem;
    }
    
    .investor-recommendations {
        grid-template-columns: 1fr;
    }
    
    .article-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .article-share {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 10px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .blog-posts {
        padding: 2rem 0;
    }
    
    .post-card {
        padding: 1rem;
    }
    
    .paywall-overlay {
        padding: 1rem;
    }
    
    .article-content {
        padding: 1rem;
    }
    
    .article-title {
        font-size: 1.8rem;
    }
    
    .placeholder-image {
        padding: 2rem 1rem;
    }
    
    .placeholder-content {
        font-size: 1.2rem;
    }
}

/* Legal Pages Styles */
.legal-section {
    padding: 4rem 0;
    background: #FAFAFA;
}

.legal-content {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.legal-content h2 {
    color: var(--text-primary);
    font-size: 1.8rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.legal-content h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.legal-content ul, .legal-content ol {
    margin: 1rem 0 1.5rem 2rem;
    color: var(--text-secondary);
}

.legal-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.last-updated {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    border-left: 3px solid var(--primary-color);
    padding-left: 1rem;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.company-details, .contact-info {
    background: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    border-left: 4px solid var(--primary-color);
}

.important-notice {
    background: #FFF3CD;
    border: 1px solid #FFEAA7;
    border-radius: 8px;
    padding: 2rem;
    margin: 3rem 0;
}

.important-notice h2 {
    color: #856404;
    margin-top: 0;
    margin-bottom: 1rem;
}

.important-notice p {
    color: #856404;
    margin-bottom: 1rem;
}

.contact-cta {
    background: var(--gradient);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 3rem;
}

.contact-cta h2 {
    color: white;
    margin-bottom: 1rem;
    margin-top: 0;
    border: none;
    padding: 0;
}

.contact-cta p {
    color: white;
    margin-bottom: 1.5rem;
}

.btn-contact {
    background: white;
    color: var(--primary-color);
    padding: 0.8rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Contact Page Styles */
.page-hero {
    background: var(--gradient);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

.contact-section {
    padding: 4rem 0;
    background: #FAFAFA;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-info, .contact-form-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card, .form-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.contact-card h2, .form-card h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

.contact-methods, .support-hours {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    padding: 1rem;
    border-left: 3px solid var(--primary-color);
    background: var(--secondary-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input, .form-group textarea, .form-group select {
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    line-height: 1.4;
}

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

.btn-submit {
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-note {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--secondary-color);
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.faq-quick {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.faq-quick h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.quick-faq-item {
    background: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 8px;
}

.quick-faq-item h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.quick-faq-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.quick-faq-item a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Help Page Styles */
.help-section {
    padding: 4rem 0;
    background: #FAFAFA;
}

.help-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
}

.help-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.help-categories {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.help-categories h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.help-categories ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.help-categories li {
    margin-bottom: 0.5rem;
}

.help-category-link {
    display: block;
    padding: 0.8rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.help-category-link:hover, .help-category-link.active {
    background: var(--primary-color);
    color: white;
}

.contact-box {
    background: var(--gradient);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
}

.contact-box h3 {
    margin-bottom: 1rem;
    color: white;
}

.contact-box p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.help-content {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.faq-section {
    margin-bottom: 3rem;
}

.faq-section h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    background: var(--secondary-color);
    padding: 1.5rem;
    margin: 0;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--text-primary);
    transition: background 0.3s ease;
    position: relative;
}

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

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

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

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
}

.faq-answer ul, .faq-answer ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

/* Responsive for Legal Pages */
@media (max-width: 768px) {
    .legal-content {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
    
    .legal-content h2 {
        font-size: 1.5rem;
        margin-top: 2rem;
    }
    
    .page-hero {
        padding: 3rem 0;
    }
    
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .help-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .help-sidebar {
        order: 2;
    }
    
    .help-content {
        order: 1;
    }
    
    .quick-faq {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .legal-content {
        padding: 1.5rem;
    }
    
    .legal-content h1 {
        font-size: 1.8rem;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .contact-card, .form-card {
        padding: 1.5rem;
    }
    
    .help-categories {
        padding: 1.5rem;
    }
    
    .help-content {
        padding: 1.5rem;
    }
    
    .faq-question {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .faq-question::after {
        right: 1rem;
    }
}
/* --- Responsive Fix nur für Bilder im Artikel --- */
.article-content .article-body .article-figure,
.article-content .article-body .article-image {
  height: auto !important;          /* evtl. feste Höhen neutralisieren */
  overflow: visible !important;     /* kein Abschneiden */
}

.article-content .article-body img {
  display: block;
  max-width: 100%;
  width: 100%;                      /* füllt den Content-Block */
  height: auto !important;          /* behält Seitenverhältnis */
  object-fit: contain !important;   /* nichts beschneiden */
  object-position: center;
  aspect-ratio: auto !important;    /* evtl. gesetzte Ratios zurücksetzen */
}

/* Figcaption sauber umbrechen */
.article-content .article-body .article-figure figcaption,
.article-content .article-body .image-caption {
  margin-top: .5rem;
  white-space: normal;
  word-break: break-word;
  line-height: 1.35;
}

/* falls du irgendwo Side-by-Side-Bilder im Artikel hast */
@media (max-width: 768px) {
  .article-content .article-body .image-row,
  .article-content .article-body .figure-row {
    display: block !important;      /* statt grid/flex -> untereinander */
  }
  .article-content .article-body .image-row > *,
  .article-content .article-body .figure-row > * {
    width: 100% !important;
    margin-right: 0 !important;
  }
  
  /* Artikel-Layout Mobile Optimierungen */
  .article-main .container {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0;
    padding: 0 1rem;
    max-width: 100%;
  }
  
  .article-content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 1rem;
    margin-bottom: 1.5rem;
    box-sizing: border-box;
  }
  
  .article-header {
    text-align: left;
    padding-bottom: 1.5rem;
  }
  
  .article-title {
    font-size: 1.6rem;
    line-height: 1.2;
    margin-bottom: 0.8rem;
    word-wrap: break-word;
  }
  
  .article-subtitle {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 1rem;
  }
  
  .article-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    margin-bottom: 1.5rem;
  }
  
  .article-body h2 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
  }
  
  .article-body h3 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
  }
  
  .article-body pre {
    font-size: 0.85rem;
    padding: 1rem;
    overflow-x: auto;
  }
  
  .article-sidebar {
    order: 2;
    width: 100% !important;
    max-width: 100% !important;
    padding: 1rem;
    margin-top: 1rem;
    box-sizing: border-box;
  }
  
  .info-box {
    padding: 1.5rem;
    margin: 1.5rem 0;
  }
  
  .toc {
    padding: 1rem;
  }
  
  .toc-list {
    columns: 1;
  }
}

@media (max-width: 480px) {
  .article-main .container {
    padding: 0 0.5rem;
  }
  
  .article-content {
    padding: 0.8rem;
    margin-bottom: 1rem;
  }
  
  .article-title {
    font-size: 1.4rem;
    line-height: 1.1;
  }
  
  .article-subtitle {
    font-size: 0.9rem;
    line-height: 1.3;
  }
  
  .article-body h2 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
  }
  
  .article-body h3 {
    font-size: 1.05rem;
    margin-top: 1.2rem;
    margin-bottom: 0.6rem;
  }
  
  .article-body p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
  }
  
  .article-body pre {
    font-size: 0.75rem;
    padding: 0.6rem;
    line-height: 1.3;
  }
  
  .article-sidebar {
    padding: 0.8rem;
    margin-top: 0.5rem;
  }
  
  .sidebar-section {
    margin-bottom: 1.5rem;
  }
  
  .info-box {
    padding: 0.8rem;
    margin: 1rem 0;
  }
  
  .article-figure {
    margin: 1rem 0;
  }
  
  .article-meta span {
    font-size: 0.85rem;
  }
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

.lightbox.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
  animation: lightboxZoom 0.3s ease;
}

.lightbox-content img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: -40px;
  color: white;
  font-size: 2rem;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.lightbox-close:hover {
  background: rgba(0, 0, 0, 0.8);
}

.lightbox-caption {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
  border-radius: 4px;
}

@keyframes lightboxZoom {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Clickable images cursor */
.article-figure img,
.article-image img {
  cursor: zoom-in;
  transition: opacity 0.3s ease;
}

.article-figure img:hover,
.article-image img:hover {
  opacity: 0.9;
}

/* Mobile Lightbox adjustments */
@media (max-width: 768px) {
  .lightbox-content {
    max-width: 95%;
    max-height: 85%;
  }
  
  .lightbox-close {
    top: -30px;
    right: -10px;
    width: 35px;
    height: 35px;
    font-size: 1.5rem;
  }
  
  .lightbox-caption {
    bottom: -40px;
    padding: 0.8rem;
    font-size: 0.8rem;
  }
}
