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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    color: #1a365d;
}

h2 {
    font-size: 2rem;
    color: #2d4a6b;
}

h3 {
    font-size: 1.5rem;
    color: #2d4a6b;
}

h4 {
    font-size: 1.25rem;
    color: #4a5568;
}

p {
    margin-bottom: 1rem;
    color: #4a5568;
}

a {
    color: #3182ce;
    text-decoration: none;
}

a:hover {
    color: #2c5aa0;
    text-decoration: underline;
}

/* Header and Navigation */
header {
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a365d;
    text-decoration: none;
}

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

.nav-menu a {
    color: #4a5568;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #3182ce;
    text-decoration: none;
}

/* Main Layout */
main {
    min-height: calc(100vh - 140px);
}

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

/* Hero Sections */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.page-hero {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    color: white;
    text-align: center;
    padding: 3rem 2rem;
}

.page-hero h1 {
    color: white;
    font-size: 2.5rem;
}

.lead {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background: #38a169;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 0.5rem;
}

.cta-button:hover {
    background: #2f855a;
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
}

.cta-button.secondary {
    background: #e2e8f0;
    color: #2d4a6b;
}

.cta-button.secondary:hover {
    background: #cbd5e0;
    color: #2d4a6b;
}

/* Content Sections */
.intro, .content-section, .refund-sources, .how-it-works, .statistics, .recent-posts {
    padding: 3rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.content-section {
    padding: 2rem 1rem;
}

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

.source-card {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #3182ce;
}

.source-card h3 {
    color: #2d4a6b;
    margin-bottom: 1rem;
}

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

.post-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.post-card h3 a {
    color: #2d4a6b;
    text-decoration: none;
}

.post-card h3 a:hover {
    color: #3182ce;
}

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

.stat {
    text-align: center;
    padding: 2rem;
    background: #f7fafc;
    border-radius: 12px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #3182ce;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #4a5568;
    font-weight: 500;
}

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

.stat-card-detailed {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.stat-card-detailed h3 {
    color: #3182ce;
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Lists */
.steps-list {
    counter-reset: step-counter;
    list-style: none;
    padding-left: 0;
}

.steps-list li {
    counter-increment: step-counter;
    margin-bottom: 2rem;
    padding-left: 3rem;
    position: relative;
}

.steps-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: #3182ce;
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* FAQ Styles */
.faq-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.faq-item {
    margin-bottom: 3rem;
    background: #f7fafc;
    border-radius: 12px;
    padding: 2rem;
}

.faq-item h2 {
    color: #2d4a6b;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.faq-item ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.faq-item li {
    margin-bottom: 0.5rem;
}

/* Blog Styles */
.blog-posts {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.blog-post-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.blog-post-card h2 {
    margin-bottom: 1rem;
}

.blog-post-card h2 a {
    color: #2d4a6b;
    text-decoration: none;
}

.blog-post-card h2 a:hover {
    color: #3182ce;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #718096;
}

.post-category {
    background: #e2e8f0;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.post-excerpt {
    margin-bottom: 1.5rem;
}

.post-highlights {
    background: #f7fafc;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.post-highlights h4 {
    margin-bottom: 0.75rem;
    color: #2d4a6b;
}

.post-highlights ul {
    margin: 0;
    padding-left: 1.5rem;
}

.read-more {
    color: #3182ce;
    font-weight: 600;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}

/* Blog Sidebar */
.blog-sidebar {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 12px;
    height: fit-content;
}

.sidebar-section {
    margin-bottom: 2rem;
}

.sidebar-section h3 {
    color: #2d4a6b;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

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

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

.resource-links a {
    color: #4a5568;
    text-decoration: none;
    padding: 0.25rem 0;
    display: block;
}

.resource-links a:hover {
    color: #3182ce;
}

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

.topic-tag {
    background: #e2e8f0;
    color: #4a5568;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

.fact-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
}

.fact-box p {
    margin-bottom: 1rem;
}

.learn-more-link {
    color: #3182ce;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.9rem;
}

.quick-start-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
}

/* Individual Blog Post Styles */
.blog-post {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.post-header {
    margin-bottom: 3rem;
}

.breadcrumb {
    color: #718096;
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: #718096;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #3182ce;
}

.post-intro {
    font-size: 1.125rem;
    color: #4a5568;
    font-style: italic;
    border-left: 4px solid #3182ce;
    padding-left: 1.5rem;
    margin: 2rem 0;
}

.post-content {
    line-height: 1.8;
}

.post-content h2 {
    margin: 2.5rem 0 1.5rem 0;
    color: #2d4a6b;
}

.post-content h3 {
    margin: 2rem 0 1rem 0;
    color: #2d4a6b;
}

.post-content h4 {
    margin: 1.5rem 0 0.75rem 0;
    color: #4a5568;
}

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

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

/* Special Content Boxes */
.alert-box,
.important-note,
.warning-box,
.caution-box {
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid;
}

.alert-box {
    background: #fef5e7;
    border-left-color: #f6ad55;
}

.important-note {
    background: #ebf8ff;
    border-left-color: #4299e1;
}

.warning-box {
    background: #fed7d7;
    border-left-color: #e53e3e;
}

.caution-box {
    background: #faf5ff;
    border-left-color: #805ad5;
}

.source-highlight {
    background: #f0fff4;
    border: 1px solid #9ae6b4;
    border-radius: 8px;
    padding: 1rem;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}

.statistics-box {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.case-study {
    background: #fffaf0;
    border-left: 4px solid #f6ad55;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.scam-scenario {
    background: #fed7d7;
    border: 1px solid #fc8181;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.red-flags {
    background: #fef5e7;
    border: 1px solid #f6ad55;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.important-fact {
    background: #ebf8ff;
    border: 1px solid #4299e1;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    font-weight: 500;
}

.comparison-table {
    margin: 2rem 0;
}

.comparison-section {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 8px;
}

.comparison-section:first-child {
    background: #f0fff4;
}

.comparison-section:last-child {
    background: #fed7d7;
}

.checklist {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.checklist h3 {
    color: #2d4a6b;
    margin-bottom: 1rem;
}

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

.checklist li:before {
    content: "⚠️ ";
    color: #f6ad55;
    margin-right: 0.5rem;
}

/* Contact Form Styles */
.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2,
.contact-form-section h2 {
    color: #2d4a6b;
    margin-bottom: 1.5rem;
}

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

.important-reminder {
    background: #fef5e7;
    border-left: 4px solid #f6ad55;
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
    margin: 2rem 0;
}

.contact-form {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 12px;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2d4a6b;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.5;
    cursor: pointer;
}

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

.submit-button {
    background: #38a169;
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-button:hover {
    background: #2f855a;
}

.response-time {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #ebf8ff;
    border-radius: 8px;
}

/* Quick Help Sections */
.quick-help,
.emergency-resources,
.blog-categories {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.quick-help-grid,
.emergency-grid,
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.help-card,
.emergency-card,
.category-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
}

.help-card h3,
.emergency-card h3,
.category-card h3 {
    color: #2d4a6b;
    margin-bottom: 1rem;
}

.help-link {
    display: inline-block;
    color: #3182ce;
    font-weight: 600;
    text-decoration: none;
    margin-top: 1rem;
}

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

/* Newsletter and CTA Sections */
.newsletter-signup,
.cta-section {
    background: #f7fafc;
    text-align: center;
    padding: 3rem 2rem;
    margin: 3rem 0;
}

.newsletter-form {
    max-width: 600px;
    margin: 2rem auto 0;
}

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

/* Related Posts */
.related-posts {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 2rem 1rem;
    background: #f7fafc;
    border-radius: 12px;
}

.related-posts h2 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.related-post {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
}

.related-post h3 {
    margin-bottom: 1rem;
}

.related-post h3 a {
    color: #2d4a6b;
    text-decoration: none;
}

.related-post h3 a:hover {
    color: #3182ce;
}

/* Disclaimer Section */
.disclaimer-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 1rem;
    background: #f7fafc;
    border-radius: 12px;
}

.disclaimer-content h3 {
    color: #2d4a6b;
    margin: 2rem 0 1rem 0;
}

.disclaimer-content h3:first-child {
    margin-top: 0;
}

/* Footer */
footer {
    background: #2d4a6b;
    color: white;
    padding: 3rem 0 1rem 0;
    margin-top: 4rem;
}

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

.footer-section h4 {
    color: #e2e8f0;
    margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
    color: #cbd5e0;
    text-decoration: none;
}

.footer-section ul li a:hover {
    color: white;
    text-decoration: underline;
}

.disclaimer {
    color: #a0aec0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 2rem 1rem 0;
    border-top: 1px solid #4a5568;
    text-align: center;
    color: #a0aec0;
}

.footer-bottom a {
    color: #cbd5e0;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 1rem;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle,
    .lead {
        font-size: 1rem;
    }
    
    .sources-grid,
    .posts-grid,
    .stats-grid,
    .stat-cards {
        grid-template-columns: 1fr;
    }
    
    .blog-posts {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .steps-list li {
        padding-left: 3rem;
    }
}

@media (max-width: 480px) {
    .hero,
    .page-hero {
        padding: 2rem 1rem;
    }
    
    .hero h1,
    .page-hero h1 {
        font-size: 1.5rem;
    }
    
    .source-card,
    .post-card,
    .blog-post-card {
        padding: 1.5rem;
    }
    
    .faq-item {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}