/* Base Styles */
:root {
    --primary: #4F46E5;
    --primary-dark: #4338CA;
    --secondary: #EC4899;
    --text: #1F2937;
    --text-light: #6B7280;
    --bg: #FFFFFF;
    --bg-secondary: #F9FAFB;
    --border: #E5E7EB;
    --success: #10B981;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 12px;
}

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

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

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

/* Header */
.header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 1.2rem;
}

.logo-icon {
    color: var(--primary);
}

.nav {
    display: flex;
    gap: 30px;
}

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

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

/* Main */
.main {
    min-height: 60vh;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764BA2 100%);
    padding: 80px 0;
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #667eea 0%, #764BA2 100%);
    padding: 60px 0;
    color: white;
    text-align: center;
}

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

.page-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Content Section */
.content-section {
    padding: 80px 0;
}

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

.features h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
}

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

.feature-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-icon {
    width: 48px;
    height: 48px;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
}

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

.step {
    text-align: center;
}

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

.step h3 {
    margin-bottom: 10px;
}

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

/* Stats */
.stats {
    background: var(--primary);
    color: white;
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    /* wrapper for stat number and label */
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    opacity: 0.9;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.testimonials h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
}

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

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-author {
    color: var(--text-light);
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764BA2 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
    border-radius: var(--radius);
    margin: 40px 20px;
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.cta-section p {
    margin-bottom: 30px;
    opacity: 0.9;
}

/* CTA Button */
.cta-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
}

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

.cta-large {
    padding: 20px 60px;
    font-size: 1.2rem;
}

.cta-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    box-shadow: var(--shadow-lg);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* CTA Section Blog */
.cta-section-blog {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764BA2 100%);
    color: white;
    border-radius: var(--radius);
    margin: 40px 20px;
}

.cta-section-blog h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.cta-section-blog p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.blog-cta-bottom {
    text-align: center;
    padding: 40px 20px;
    background: var(--bg-secondary);
    margin: 40px 20px;
    border-radius: var(--radius);
}

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

.blog-cta-bottom a {
    color: var(--primary);
}

/* Page Specific Styles */
.steps-detailed {
    max-width: 800px;
    margin: 0 auto;
}

.step-detailed {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
}

.step-detailed .step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
}

.step-detailed .step-content h3 {
    margin-bottom: 10px;
    color: var(--text);
}

.step-detailed .step-content p {
    color: var(--text-light);
}

.cta-box {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
}

.cta-box h2 {
    margin-bottom: 10px;
}

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

/* Tips & Features List */
.tips-content, .features-list, .guidelines-content, .stories-grid {
    max-width: 900px;
    margin: 0 auto;
}

.tip-card, .feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    padding: 25px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
}

.tip-icon, .feature-icon-large {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    color: var(--primary);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon-large {
    width: 30px;
    height: 30px;
    color: white;
}

.feature-text h3 {
    margin-bottom: 8px;
}

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

.guideline-list {
    margin: 20px 0 40px 20px;
}

.guideline-list li {
    margin-bottom: 12px;
    color: var(--text-light);
}

.guideline-list.positive li::before {
    content: "✓ ";
    color: var(--success);
    font-weight: bold;
}

.guideline-list.negative li {
    margin-bottom: 10px;
}

.enforcement-list {
    margin: 20px 0 40px 20px;
}

.enforcement-list li {
    margin-bottom: 12px;
    color: var(--text-light);
}

.last-updated {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

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

.story-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

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

.story-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.story-avatar svg {
    width: 24px;
    height: 24px;
}

.story-meta h4 {
    margin-bottom: 2px;
}

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

.story-card p {
    font-style: italic;
    color: var(--text);
    margin-bottom: 15px;
}

.story-date {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

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

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

.blog-image {
    background: var(--primary);
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-image svg {
    width: 60px;
    height: 60px;
    color: white;
    opacity: 0.7;
}

.blog-card h2 {
    padding: 20px 20px 10px;
    font-size: 1.2rem;
}

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

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

.blog-card p {
    padding: 0 20px;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.read-more {
    display: block;
    padding: 0 20px 20px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

/* Blog Post */
.blog-post {
    text-align: center;
}

.blog-meta {
    color: var(--text-light);
    margin-top: 15px;
}

.blog-meta span {
    margin: 0 10px;
}

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

.blog-content h2 {
    margin: 40px 0 20px;
    color: var(--text);
}

.blog-content p {
    margin-bottom: 20px;
    color: var(--text);
}

.blog-content ul, .blog-content ol {
    margin: 20px 0;
    padding-left: 20px;
}

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

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

.blog-content a:hover {
    text-decoration: underline;
}

.blog-navigation {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.back-to-blog {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 30px;
}

.back-to-blog:hover {
    text-decoration: underline;
}

.related-posts h4 {
    margin-bottom: 15px;
}

.related-posts ul {
    list-style: none;
    padding: 0;
}

.related-posts li {
    margin-bottom: 8px;
}

.related-posts a {
    color: var(--text-light);
    text-decoration: none;
}

.related-posts a:hover {
    color: var(--primary);
}

/* Contact Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h2 {
    margin-bottom: 20px;
}

.contact-methods {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-item h4 {
    margin-bottom: 5px;
}

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

.contact-form-container h2 {
    margin-bottom: 25px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-weight: 500;
}

.form-group input, .form-group select, .form-group textarea {
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

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

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

/* Policy & Terms Content */
.policy-content, .terms-content {
    max-width: 800px;
    margin: 0 auto;
}

.policy-content h2, .terms-content h2 {
    margin: 40px 0 20px;
}

.policy-content p, .terms-content p {
    margin-bottom: 20px;
    color: var(--text);
}

.policy-content ul, .terms-content ul {
    margin: 20px 0;
    padding-left: 25px;
}

.policy-content li, .terms-content li {
    margin-bottom: 10px;
    color: var(--text);
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    text-align: left;
    transition: color 0.2s;
}

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

.faq-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
}

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

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

.faq-answer p {
    padding-bottom: 25px;
    color: var(--text-light);
}

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

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

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

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

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: white;
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav {
        gap: 15px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .features-grid, .steps, .testimonials-grid, .blog-grid, .stories-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .step-detailed {
        flex-direction: column;
        text-align: center;
    }

    .tip-card, .feature-item {
        flex-direction: column;
        text-align: center;
    }

    .cta-floating {
        position: relative;
        bottom: auto;
        right: auto;
        margin: 20px;
        text-align: center;
    }
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text);
}

.mobile-menu-btn svg {
    width: 24px;
    height: 24px;
    display: block;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg);
        flex-direction: column;
        gap: 0;
        padding: 20px;
        box-shadow: var(--shadow);
    }

    .nav.mobile-open {
        display: flex;
    }

    .nav-link {
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
    }

    .nav-link:last-child {
        border-bottom: none;
    }
}

/* Additional CTA sections */
.faq-extra,
.features-preview {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764BA2 100%);
    color: white;
    border-radius: var(--radius);
    margin: 40px 20px;
}
