/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2196F3;
    --primary-dark: #1976D2;
    --secondary-color: #0D47A1;
    --accent-color: #64B5F6;
    --text-dark: #212121;
    --text-light: #757575;
    --bg-light: #F5F5F5;
    --bg-white: #FFFFFF;
    --success-color: #4CAF50;
    --error-color: #F44336;
    --border-color: #E0E0E0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

/* Header */
header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.logo h1 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.logo .tagline {
    font-size: 12px;
    color: var(--text-light);
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-outline {
    padding: 12px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 16px;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

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

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

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

.btn-outline:hover {
    background-color: rgba(33, 150, 243, 0.1);
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-cta .btn-outline {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: white;
}

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

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.features h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 60px;
    color: var(--text-dark);
}

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

.feature-card {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* CRA Info Section */
.cra-info {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.cra-info h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.cra-info > .container > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 18px;
    color: var(--text-light);
}

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

.requirement {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.requirement h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.requirement p {
    color: var(--text-light);
}

/* Signup Section */
.signup {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.signup-box {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--bg-white);
    padding: 50px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.signup-box h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.signup-box > p {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-light);
}

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

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

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

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

.form-group small {
    display: block;
    margin-top: 5px;
    font-size: 13px;
    color: var(--text-light);
}

#form-message {
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: none;
}

#form-message.success {
    display: block;
    background-color: #E8F5E9;
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

#form-message.error {
    display: block;
    background-color: #FFEBEE;
    color: var(--error-color);
    border: 1px solid var(--error-color);
}

.signin-link {
    text-align: center;
    margin-top: 20px;
    color: var(--text-light);
}

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

.signin-link a:hover {
    text-decoration: underline;
}

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

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

.footer-section h4 {
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .features h2,
    .cra-info h2 {
        font-size: 28px;
    }

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

    .signup-box {
        padding: 30px 20px;
    }

    header .container {
        flex-direction: column;
        gap: 15px;
    }

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

/* Loading State */
button[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.pricing h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.pricing-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 50px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    border: 2px solid var(--border-color);
    padding: 40px 30px;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(33, 150, 243, 0.15);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    border-width: 3px;
    box-shadow: 0 8px 24px rgba(33, 150, 243, 0.2);
}

.pricing-card .badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

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

.pricing-header h3 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.price .amount {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
}

.price .period {
    font-size: 18px;
    color: var(--text-light);
}

.pricing-features {
    flex-grow: 1;
    margin-bottom: 30px;
}

.scans-limit {
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 16px;
}

.pricing-features ul {
    list-style: none;
}

.pricing-features li {
    padding: 10px 0;
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.6;
}

.btn-pricing {
    width: 100%;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: block;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    font-size: 16px;
    background-color: transparent;
    color: var(--primary-color);
}

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

.btn-pricing:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(33, 150, 243, 0.3);
}

.btn-pricing.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.founding-member-banner {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1a1a1a;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(255, 165, 0, 0.3);
}

.founding-member-banner h3 {
    font-size: 26px;
    margin-bottom: 10px;
}

.founding-member-banner p {
    font-size: 16px;
    line-height: 1.6;
}

.founding-member-banner strong {
    font-weight: 700;
    text-decoration: underline;
}

/* Select dropdown styling */
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background-color: var(--bg-white);
    cursor: pointer;
}

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

/* Responsive Pricing */
@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .pricing h2 {
        font-size: 28px;
    }

    .price .amount {
        font-size: 36px;
    }

    .founding-member-banner h3 {
        font-size: 20px;
    }

    .founding-member-banner p {
        font-size: 14px;
    }
}

/* ============================================
   BLOG AND CONTENT PAGES
   ============================================ */

/* Blog Post Layout */
.blog-post {
    padding: 60px 0;
    background-color: var(--bg-white);
}

.blog-header {
    max-width: 800px;
    margin: 0 auto 50px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.blog-meta span {
    font-size: 14px;
    color: var(--text-light);
}

.blog-meta .category {
    background-color: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 600;
}

.blog-header h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.blog-intro {
    font-size: 20px;
    color: var(--text-light);
    line-height: 1.7;
    font-style: italic;
}

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

.blog-content h2 {
    font-size: 32px;
    margin: 50px 0 20px;
    color: var(--text-dark);
    line-height: 1.3;
}

.blog-content h3 {
    font-size: 24px;
    margin: 30px 0 15px;
    color: var(--text-dark);
}

.blog-content h4 {
    font-size: 20px;
    margin: 25px 0 12px;
    color: var(--text-dark);
}

.blog-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-dark);
    font-size: 17px;
}

.blog-content ul,
.blog-content ol {
    margin-bottom: 25px;
    padding-left: 30px;
}

.blog-content li {
    margin-bottom: 10px;
    line-height: 1.7;
    color: var(--text-dark);
}

.blog-content a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.blog-content a:hover {
    border-bottom-color: var(--primary-color);
}

/* Feature List */
.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 15px;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 18px;
}

/* Code Blocks */
.blog-content pre {
    background-color: #f6f8fa;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 20px;
    overflow-x: auto;
    margin: 25px 0;
}

.blog-content code {
    background-color: #f6f8fa;
    padding: 3px 6px;
    border-radius: 3px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 15px;
    color: #e83e8c;
}

.blog-content pre code {
    background-color: transparent;
    padding: 0;
    color: var(--text-dark);
    display: block;
    line-height: 1.6;
}

/* Callout Boxes */
.callout {
    padding: 25px;
    border-radius: 8px;
    margin: 30px 0;
    border-left: 4px solid;
}

.callout h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 20px;
}

.callout p {
    margin-bottom: 0;
}

.callout-info {
    background-color: #E3F2FD;
    border-left-color: var(--primary-color);
}

.callout-info h3 {
    color: var(--primary-color);
}

.callout-warning {
    background-color: #FFF3E0;
    border-left-color: #FF9800;
}

.callout-warning h3 {
    color: #F57C00;
}

.callout-success {
    background-color: #E8F5E9;
    border-left-color: var(--success-color);
}

.callout-success h3 {
    color: var(--success-color);
}

/* Timeline */
.timeline {
    position: relative;
    padding: 30px 0;
    margin: 40px 0;
}

.timeline h3 {
    margin-bottom: 30px;
    font-size: 28px;
    color: var(--text-dark);
}

.timeline-item {
    position: relative;
    padding-left: 50px;
    padding-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 30px;
    bottom: -10px;
    width: 2px;
    background-color: var(--border-color);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 5px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 4px solid white;
    box-shadow: 0 0 0 2px var(--primary-color);
}

.timeline-item.highlighted .timeline-marker {
    width: 32px;
    height: 32px;
    left: -3px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 2px var(--primary-color), 0 0 0 6px rgba(33, 150, 243, 0.3);
    }
    50% {
        box-shadow: 0 0 0 2px var(--primary-color), 0 0 0 10px rgba(33, 150, 243, 0);
    }
}

.timeline-content h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.6;
}

.deadline-note {
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 8px;
}

/* Action Items & Checklists */
.action-items h4 {
    font-size: 20px;
    color: var(--primary-color);
    margin: 30px 0 15px;
}

.task-list {
    list-style: none;
    padding-left: 0;
}

.task-list li {
    padding: 10px 10px 10px 35px;
    position: relative;
    margin-bottom: 8px;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.task-list li::before {
    content: "☐";
    position: absolute;
    left: 10px;
    font-size: 18px;
    color: var(--text-light);
}

.checklist {
    margin: 40px 0;
}

.checklist h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 50px;
    border-radius: 12px;
    text-align: center;
    margin: 50px 0;
}

.cta-box h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: white;
}

.cta-box p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
    color: white;
}

.cta-box .btn-primary,
.cta-box .btn-secondary {
    margin: 0 10px;
}

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

.cta-box .btn-primary:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.cta-box .btn-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

.cta-box .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Related Posts */
.related-posts {
    max-width: 800px;
    margin: 60px auto 0;
    padding-top: 50px;
    border-top: 2px solid var(--border-color);
}

.related-posts h3 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--text-dark);
}

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

.related-card {
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.related-card:hover {
    background-color: #e8f4fd;
    transform: translateY(-4px);
}

.related-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

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

.related-card h4 a:hover {
    text-decoration: underline;
}

.related-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Author Bio */
.author-bio {
    max-width: 800px;
    margin: 40px auto 0;
    padding: 30px;
    background-color: var(--bg-light);
    border-radius: 8px;
}

.author-info h4 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.author-info p {
    color: var(--text-light);
    line-height: 1.7;
}

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

.tool-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
}

.tool-card h4 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.tool-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.tool-card ul {
    list-style: none;
    padding-left: 0;
}

.tool-card ul li {
    font-size: 14px;
    color: var(--text-dark);
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.tool-card ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* ============================================
   FAQ PAGE
   ============================================ */

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

.faq-section h2 {
    font-size: 40px;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.faq-category {
    max-width: 900px;
    margin: 0 auto 50px;
}

.faq-category h3 {
    font-size: 28px;
    margin-bottom: 25px;
    color: var(--primary-color);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.faq-item {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-white);
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--bg-light);
}

.faq-question h4 {
    margin: 0;
    font-size: 18px;
    color: var(--text-dark);
    font-weight: 600;
}

.faq-icon {
    font-size: 24px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

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

.faq-answer-content {
    padding: 0 25px 25px;
    color: var(--text-dark);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

/* ============================================
   RESOURCES PAGE
   ============================================ */

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

.resources-section h2 {
    font-size: 40px;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.resource-category {
    max-width: 1000px;
    margin: 0 auto 60px;
}

.resource-category h3 {
    font-size: 28px;
    margin-bottom: 25px;
    color: var(--primary-color);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.resource-list {
    display: grid;
    gap: 20px;
}

.resource-item {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px 25px;
    transition: all 0.3s ease;
}

.resource-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.15);
    transform: translateY(-2px);
}

.resource-item h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.resource-item h4 a {
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.resource-item h4 a::after {
    content: "↗";
    font-size: 16px;
}

.resource-item h4 a:hover {
    text-decoration: underline;
}

.resource-item p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    font-size: 15px;
}

.resource-url {
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 8px;
    display: block;
}

/* ============================================
   BLOG INDEX PAGE
   ============================================ */

.blog-index {
    padding: 60px 0;
}

.blog-index-header {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.blog-index-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.blog-index-header p {
    font-size: 18px;
    color: var(--text-light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(33, 150, 243, 0.15);
    transform: translateY(-4px);
}

.blog-card-content {
    padding: 30px;
}

.blog-card-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 13px;
    color: var(--text-light);
}

.blog-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    line-height: 1.3;
}

.blog-card h3 a {
    color: var(--text-dark);
    text-decoration: none;
}

.blog-card h3 a:hover {
    color: var(--primary-color);
}

.blog-card-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 15px;
}

.blog-card .read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.blog-card .read-more:hover {
    gap: 10px;
}

.blog-card .read-more::after {
    content: "→";
    transition: margin-left 0.3s ease;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 768px) {
    .blog-header h1 {
        font-size: 32px;
    }

    .blog-intro {
        font-size: 17px;
    }

    .blog-content h2 {
        font-size: 26px;
    }

    .blog-content h3 {
        font-size: 20px;
    }

    .blog-content p {
        font-size: 16px;
    }

    .cta-box {
        padding: 30px 20px;
    }

    .cta-box h3 {
        font-size: 22px;
    }

    .cta-box .btn-primary,
    .cta-box .btn-secondary {
        display: block;
        margin: 10px 0;
    }

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

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

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

    .timeline-item {
        padding-left: 40px;
    }
}

/* Navigation Menu */
nav {
    display: flex;
    gap: 15px;
    align-items: center;
}

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

nav a:not(.btn-primary):not(.btn-secondary):hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ============================================
   RESOURCES HIGHLIGHT SECTION
   ============================================ */

.resources-highlight {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.resources-highlight h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.resource-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.resource-highlight-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    transition: all 0.3s ease;
}

.resource-highlight-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(33, 150, 243, 0.15);
    transform: translateY(-4px);
}

.resource-highlight-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.resource-highlight-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.highlight-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 25px;
}

.highlight-list li {
    padding: 8px 0;
    color: var(--text-dark);
    font-size: 15px;
}

.highlight-list li a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.highlight-list li a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.highlight-list li:not(:has(a)) {
    padding-left: 20px;
    position: relative;
}

.highlight-list li:not(:has(a))::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

@media (max-width: 1024px) {
    .resource-highlights {
        grid-template-columns: 1fr;
    }
    
    .resources-highlight h2 {
        font-size: 32px;
    }
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-page {
    padding: 60px 0;
    background-color: var(--bg-white);
}

.contact-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.contact-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.contact-header p {
    font-size: 18px;
    color: var(--text-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto 60px;
}

.contact-info h2,
.contact-form-section h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.contact-method {
    margin-bottom: 40px;
}

.contact-method h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.contact-method p {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 12px;
}

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

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

.resource-links,
.response-times {
    list-style: none;
    padding-left: 0;
}

.resource-links li,
.response-times li {
    padding: 8px 0;
    color: var(--text-dark);
}

.resource-links li a {
    color: var(--primary-color);
    text-decoration: none;
}

.resource-links li a:hover {
    text-decoration: underline;
}

.contact-form {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
}

.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
    resize: vertical;
}

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

.form-note {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    color: var(--text-light);
}

#contact-form-message {
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: none;
}

#contact-form-message.success {
    display: block;
    background-color: #E8F5E9;
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

#contact-form-message.error {
    display: block;
    background-color: #FFEBEE;
    color: var(--error-color);
    border: 1px solid var(--error-color);
}

.common-questions {
    max-width: 1200px;
    margin: 0 auto 60px;
}

.common-questions h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.question-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.question-card {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.question-card h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.question-card p {
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 15px;
}

.question-card a {
    color: var(--primary-color);
    text-decoration: none;
}

.question-card a:hover {
    text-decoration: underline;
}

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

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

@media (max-width: 768px) {
    .contact-header h1 {
        font-size: 32px;
    }

    .contact-form {
        padding: 20px;
    }
}
