/* ============================================
   BEMOREFAMOUS - COMPLETE STYLESHEET
   Colors: Sapphire Blue, Teal, Orange
   Mobile-First Responsive Design
   ============================================ */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================
   CSS VARIABLES - BLUE/TEAL THEME
   ============================================ */
:root {
    /* Primary Colors */
    --primary-blue: #DF7026;
    --dark-blue: #AA4500;
    --light-blue: #FFDEC7;
    
    /* Secondary/Accent */
    --accent-teal: #00C9A7;
    --accent-teal-dark: #00A085;
    
    /* Error/Warning */
    --warning-orange: #FF9F1C;
    --warning-orange-dark: #E68A00;
    
    /* Neutrals */
    --black: #000000;
    --white: #FFFFFF;
    --off-white: #F7F9FC;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    
    /* Semantic Colors */
    --success: #00C9A7;
    --warning: #FF9F1C;
    --danger: #FF9F1C;
    --info: #005A9C;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Layout */
    --header-height: 70px;
    --border-radius: 8px;
}

/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Calibri', 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-900);
    background-color: var(--off-white);
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--black);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--dark-blue);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}
.specific-svg-override {
    /* Step 1: Give it a defined max-width */
    max-width: 500px; 
    
    /* Step 2: Center it using auto margins */
    margin-left: auto;
    margin-right: auto;
    
    /* Ensure the original 'display: block;' is still applied */
    display: block; 
}
.specific-svg-override img {
    /* Set the specific size using CSS, not the HTML attribute */
    width: 30px; 
    height: 30px;
    /* This rule will ensure the image is treated as inline content */
    display: inline-block; 
}
/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   HEADER
   ============================================ */
header {
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.logo:hover {
    color: var(--dark-blue);
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-placeholder {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--black);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Navigation */
.main-nav {
    display: block;
}

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

.nav-menu li {
    margin: 0;
}

.nav-menu li a {
    color: var(--gray-900);
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: var(--primary-blue);
    text-decoration: none;
}

.nav-menu li a.nav-cta {
    color: var(--primary-blue);
    font-weight: 600;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1.5;
}

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

.btn-primary:hover {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

.btn-secondary {
    background-color: var(--gray-600);
    color: var(--white);
    border-color: var(--gray-600);
}

.btn-secondary:hover {
    background-color: var(--gray-700);
    border-color: var(--gray-700);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
    display: block;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.btn-hero {
    padding: 1.25rem 2.5rem;
    font-size: 1.2rem;
    background-color: var(--accent-teal);
    color: var(--white);
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-hero:hover {
    background-color: var(--accent-teal-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--gray-900);
    font-size: 0.95rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-family: 'Calibri', 'Arial', sans-serif;
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius);
    background-color: var(--white);
    transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 90, 156, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-help {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.form-error {
    color: var(--danger);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Checkbox and Radio */
.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-right: 0.5rem;
    cursor: pointer;
}

.form-check label {
    cursor: pointer;
    margin: 0;
}

/* ============================================
   CARDS
   ============================================ */
.card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-header {
    border-bottom: 2px solid var(--gray-200);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--black);
}

.card-body {
    padding: 0;
}

/* ============================================
   PRICING CARDS
   ============================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Subscription pricing - 2 columns on desktop, stack on mobile */
.pricing-grid-subscriptions {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
    margin: 0 auto 4rem;
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary-blue);
    border-width: 3px;
}

.pricing-card .badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--accent-teal);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--black);
}

.pricing-price,
.pricing-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.pricing-price small,
.pricing-amount small {
    font-size: 1rem;
    color: var(--gray-600);
    font-weight: 400;
}

.pricing-vat {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: flex-start;
}

.pricing-features li:before {
    content: "✓";
    color: var(--success);
    font-weight: bold;
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

/* ============================================
   ALERTS
   ============================================ */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    border-left: 4px solid;
    background-color: var(--white);
}

.alert-success {
    background-color: #D1FAE5;
    color: #065F46;
    border-color: var(--success);
}

.alert-danger,
.alert-error {
    background-color: #FFF4E6;
    color: #7C2D12;
    border-color: var(--danger);
}

.alert-warning {
    background-color: #FFF4E6;
    color: #7C2D12;
    border-color: var(--warning);
}

.alert-info {
    background-color: var(--light-blue);
    color: #003D6B;
    border-color: var(--info);
}

/* ============================================
   TABLES
   ============================================ */
.table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.table thead {
    background-color: var(--gray-100);
}

.table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--gray-900);
    border-bottom: 2px solid var(--gray-300);
}

.table td {
    padding: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.table tbody tr:hover {
    background-color: var(--off-white);
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ============================================
   BADGES & LABELS
   ============================================ */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.badge-danger {
    background-color: var(--danger);
    color: var(--white);
}

.badge-warning {
    background-color: var(--warning);
    color: var(--white);
}

.badge-info {
    background-color: var(--info);
    color: var(--white);
}

.badge-secondary {
    background-color: var(--gray-500);
    color: var(--white);
}

/* ============================================
   HERO SLIDER (Homepage)
   ============================================ */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 500px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   background: linear-gradient(135deg, rgba(223, 112, 38, 1.0) 0%, rgba(248, 167, 115, 0.6) 50%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 2rem;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    line-height: 1.1;
    color: var(--white);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
    font-weight: 300;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255,255,255,0.2);
    color: var(--white);
    border: 2px solid var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.hero-nav:hover {
    background-color: var(--accent-teal);
    border-color: var(--accent-teal);
    transform: translateY(-50%) scale(1.1);
}

.hero-prev {
    left: 2rem;
}

.hero-next {
    right: 2rem;
}

.hero-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    border: 2px solid var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active,
.indicator:hover {
    background-color: var(--accent-teal);
    transform: scale(1.3);
}

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

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--black);
}

.section-subtitle {
    text-align: center;
    color: var(--gray-600);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.categories-section,
.features-section,
.cta-section {
    padding: 5rem 0;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.category-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.category-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}

.category-card.disabled {
    opacity: 0.5;
    pointer-events: none;
}

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

.category-name {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--black);
}

.category-count {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

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

.feature-card p {
    color: var(--gray-600);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
}

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

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

/* ============================================
   FOOTER
   ============================================ */
footer {
    background-color: var(--black);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 5rem;
}

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

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

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

.footer-links a {
    color: var(--gray-400);
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 2rem;
    text-align: center;
    color: var(--gray-400);
}

/* ============================================
   DASHBOARD & ARTICLES
   ============================================ */

/* Article Page Specific Styles */
.article-header {
    background: var(--white);
    padding: 2rem 0 1.5rem;
    margin-top: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
}

.article-meta a {
    color: var(--white);
    text-decoration: underline;
}

.article-meta a:hover {
    color: var(--accent-teal);
}

.article-category {
    font-weight: 600;
}

.article-date {
    color: rgba(255, 255, 255, 0.9);
}

.article-featured-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin: 2rem 0;
    box-shadow: var(--shadow-lg);
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-900);
    margin: 2rem 0;
}

.article-body h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
    font-size: 1.8rem;
}

.article-body h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--dark-blue);
    font-size: 1.4rem;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body a {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: underline;
}

.article-body a:hover {
    color: var(--accent-teal);
}

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

.article-body li {
    margin-bottom: 0.75rem;
}

.article-body img {
    max-width: 100%;
    height: auto;
    margin: 2rem auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.article-body blockquote {
    border-left: 4px solid var(--accent-teal);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: var(--off-white);
    font-style: italic;
    color: var(--gray-700);
}

.contact-section {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--light-blue);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-blue);
}

.contact-section h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

/* Container Narrow for Articles */
.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .container-narrow {
        padding: 0 15px;
    }
    
    .article-header {
        margin-top: 0;
        padding: 1rem 0;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .article-body {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .article-body h2 {
        font-size: 1.5rem;
    }
    
    .article-body h3 {
        font-size: 1.25rem;
    }
}

/* Article Grid (for listing pages) */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.article-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.article-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-card-content {
    padding: 1.5rem;
}

.article-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.article-category {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
}

.article-date {
    color: var(--gray-600);
}

.article-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.article-card-title a {
    color: var(--black);
    text-decoration: none;
}

.article-card-title a:hover {
    color: var(--primary-blue);
}

.article-card-excerpt {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.article-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
    font-size: 0.875rem;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray-600);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.pagination-link,
.pagination-current {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination-link {
    background-color: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--gray-300);
}

.pagination-link:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.pagination-current {
    background-color: var(--primary-blue);
    color: var(--white);
    border: 2px solid var(--primary-blue);
    font-weight: 600;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-blue { color: var(--primary-blue); }
.text-teal { color: var(--accent-teal); }
.text-black { color: var(--black); }
.text-gray { color: var(--gray-600); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }

/* ============================================
   MOBILE RESPONSIVE (CRITICAL!)
   ============================================ */
@media (max-width: 768px) {
    /* Mobile Menu */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--white);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        padding: 2rem;
    }
    
    .main-nav.active {
        transform: translateX(0);
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }
    
    .nav-menu li {
        border-bottom: 1px solid var(--gray-200);
    }
    
    .nav-menu li a {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
    }
    
    /* Hero */
    .hero-slider {
        height: 70vh;
    }
    
    .hero-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .hero-prev {
        left: 1rem;
    }
    
    .hero-next {
        right: 1rem;
    }
    
    /* Grids */
    .categories-grid,
    .features-grid,
    .pricing-grid,
    .pricing-grid-subscriptions {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    /* Buttons */
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-large {
        width: 100%;
    }
    
    /* Tables */
    .table-responsive {
        overflow-x: scroll;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Forms */
    .btn-block {
        width: 100%;
    }
}

@media (max-width: 480px) {
    /* Extra small screens */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 15px;
    }
}

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

@media (max-width: 700px) {
    .how-it-works-grid {
        grid-template-columns: 1fr;
    }
}



table { width: 100%; border-collapse: collapse; margin-top: 20px; }
        th, td { border: 1px solid #ddd; padding: 12px; text-align: left; }
        th { background-color: #f2f2f2; color: #333; font-weight: bold; }
        .ai-focus { background-color: #e6f7ff; }
        .backlink-focus { background-color: #fff4e6; }




/* ============================================
   CONTENT BLOCKS - Add to style.css
   ============================================ */

/* Base Content Block Styles */
.content-block {
    padding: 4rem 0;
}

.content-block-inner {
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================
   BLOCK 1: SIMPLE TEXT SECTION
   ============================================ */
.content-block-simple {
    background: var(--white);
}

.content-block-simple .content-block-inner {
    text-align: center;
}

.content-block-simple h1 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.content-block-simple h2 {
    color: var(--primary-blue);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-block-simple h3 {
    color: var(--dark-blue);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.content-block-simple p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}

/* ============================================
   BLOCK 2: TWO-COLUMN TEXT
   ============================================ */
.content-block-two-column {
    background: var(--off-white);
}

.content-block-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.content-block-column h1 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.content-block-column h2 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.content-block-column h3 {
    color: var(--dark-blue);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.content-block-column p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 1rem;
}

/* ============================================
   BLOCK 3: HIGHLIGHTED BOX (Blue Background)
   ============================================ */
.content-block-highlight {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
}

.content-block-highlight .content-block-inner {
    text-align: center;
}

.content-block-highlight h1,
.content-block-highlight h2,
.content-block-highlight h3 {
    color: var(--white);
}

.content-block-highlight h1 {
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.content-block-highlight h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.content-block-highlight h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--accent-teal);
}

.content-block-highlight p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
}

.content-block-highlight a {
    color: var(--accent-teal);
    text-decoration: underline;
    font-weight: 600;
}

.content-block-highlight a:hover {
    color: var(--white);
}

/* ============================================
   BLOCK 4: BOXED CONTENT (Card Style)
   ============================================ */
.content-block-boxed {
    background: var(--off-white);
}

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

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

.content-block-card h2 {
    color: var(--primary-blue);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    border-left: 4px solid var(--accent-teal);
    padding-left: 1rem;
}

.content-block-card h3 {
    color: var(--dark-blue);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1.4rem;
}

.content-block-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}

.content-block-card a {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: underline;
}

.content-block-card a:hover {
    color: var(--accent-teal);
}

/* Lists in content blocks */
.content-block ul,
.content-block ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.content-block li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.content-block-card ul,
.content-block-card ol {
    color: var(--gray-700);
}

.content-block-card li {
    font-size: 1.05rem;
}

/* Images in content blocks */
.content-block img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin: 2rem auto;
    display: block;
}

.content-block-card img {
    box-shadow: var(--shadow-md);
}

/* Blockquotes in content blocks */
.content-block blockquote {
    border-left: 4px solid var(--accent-teal);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: var(--off-white);
    font-style: italic;
    color: var(--gray-700);
}

.content-block-highlight blockquote {
    border-left-color: var(--accent-teal);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .content-block {
        padding: 2rem 0;
    }
    
    /* Two-column becomes single column */
    .content-block-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Card padding reduced */
    .content-block-card {
        padding: 2rem 1.5rem;
    }
    
    .content-block-card h1 {
        font-size: 2rem;
    }
    
    .content-block-card h2 {
        font-size: 1.5rem;
    }
    
    /* Adjust font sizes */
    .content-block-simple p,
    .content-block-highlight p {
        font-size: 1rem;
    }
    
    .content-block-card p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .content-block {
        padding: 1.5rem 0;
    }
    
    .content-block-card {
        padding: 1.5rem 1rem;
    }
    
    .content-block-card h1 {
        font-size: 1.75rem;
    }
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 0s linear 1s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 1s ease-in-out, visibility 0s linear 0s;
    z-index: 1;
}