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

:root {
    --primary: #e63946;
    --primary-dark: #c1121f;
    --secondary: #457b9d;
    --dark: #1d3557;
    --light: #f1faee;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --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: 8px;
    --radius-lg: 12px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--light);
}

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

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

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

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

.logo svg {
    width: 32px;
    height: 32px;
    stroke: var(--primary);
}

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

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

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

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

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

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

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

/* Page Hero */
.page-hero {
    background: var(--primary);
    color: white;
    padding: 80px 0;
    text-align: center;
}

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

.page-hero .lead {
    font-size: 1.25rem;
    opacity: 0.9;
}

.breadcrumb {
    text-align: left;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Buttons */
.cta-btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: var(--primary);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: var(--shadow);
}

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

.cta-btn:active {
    transform: translateY(0);
}

.cta-primary {
    font-size: 1.125rem;
    padding: 18px 40px;
}

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

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

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

.content-block {
    margin-bottom: 40px;
}

.content-block h2 {
    font-size: 1.75rem;
    margin-bottom: 16px;
    color: var(--dark);
}

.content-block p {
    margin-bottom: 16px;
}

.content-block ul {
    margin: 16px 0;
    padding-left: 24px;
}

.content-block li {
    margin-bottom: 8px;
}

/* Features */
.features {
    background: white;
    padding: 100px 0;
}

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

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

.feature-card {
    background: var(--light);
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: transform 0.2s;
}

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

.feature-card svg {
    width: 48px;
    height: 48px;
    stroke: var(--primary);
    margin-bottom: 16px;
}

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

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

/* Steps */
.how-it-works {
    background: var(--light);
    padding: 100px 0;
}

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

.steps {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

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

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

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

.step p {
    color: var(--gray);
    font-size: 0.95rem;
}

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

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

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

.stat {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

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

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

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.95;
}

/* Inline CTA */
.content-cta {
    text-align: center;
    padding: 60px 0;
    background: var(--light);
    margin: 0 -20px;
}

.cta-in-section {
    text-align: center;
    padding: 40px 0;
}

.cta-medium {
    background: var(--light);
    padding: 80px 0;
    text-align: center;
}

.cta-medium .cta-btn {
    font-size: 1.25rem;
    padding: 18px 40px;
}

.cta-inline {
    background: var(--gray-light);
    padding: 80px 0;
    text-align: center;
}

/* Blog CTA */
.blog-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 60px 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    margin-top: 40px;
}

.blog-cta h3 {
    font-size: 1.75rem;
    margin-bottom: 12px;
}

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

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

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 30px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer p {
    text-align: center;
    opacity: 0.7;
    font-size: 0.9rem;
}

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

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

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

.blog-card-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-image svg {
    width: 64px;
    height: 64px;
    stroke: white;
    opacity: 0.8;
}

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

.blog-card-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    line-height: 1.3;
}

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

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

.blog-card-content p {
    color: var(--gray);
    margin-bottom: 16px;
}

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

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

/* Blog Article */
.blog-article {
    max-width: 800px;
    margin: 0 auto;
}

.article-content h2 {
    font-size: 1.75rem;
    margin: 40px 0 16px;
    color: var(--dark);
}

.article-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.article-content ul {
    margin: 20px 0;
    padding-left: 24px;
}

.article-content li {
    margin-bottom: 10px;
    line-height: 1.7;
}

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

.faq-item {
    background: white;
    padding: 24px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    box-shadow: var(--shadow);
}

.faq-item h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.faq-item p {
    color: var(--gray);
    line-height: 1.7;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

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

.contact-method {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-method svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
    flex-shrink: 0;
    margin-top: 4px;
}

.contact-method h4 {
    margin-bottom: 4px;
}

.contact-method p {
    color: var(--gray);
}

.contact-form-wrapper {
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

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

.contact-info h2 {
    font-size: 1.75rem;
    margin-bottom: 16px;
    color: var(--dark);
}

.contact-info p {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

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

/* Additional Pages */
.steps-large {
    max-width: 900px;
    margin: 40px auto;
}

.step-large {
    display: flex;
    gap: 24px;
    margin-bottom: 30px;
    align-items: flex-start;
}

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

.step-large-content h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

/* 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-lg);
    box-shadow: var(--shadow);
}

.story-icon {
    width: 50px;
    height: 50px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.story-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
}

.story-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.story-card p {
    color: var(--gray);
    line-height: 1.7;
    font-style: italic;
}

.story-author {
    margin-top: 16px !important;
    font-style: normal !important;
    font-weight: 600;
    color: var(--dark);
}

/* Features Detailed */
.features-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-detailed {
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--primary);
}

.feature-detailed h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.feature-detailed p {
    color: var(--gray);
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 16px;
    }

    .nav {
        gap: 16px;
    }

    .hero h1,
    .page-hero h1,
    .cta-section h2 {
        font-size: 2rem;
    }

    .hero p,
    .page-hero .lead,
    .cta-section p {
        font-size: 1.1rem;
    }

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

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

    .cta-floating {
        bottom: 20px;
        right: 20px;
        padding: 14px 24px;
        font-size: 0.9rem;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .content-section,
    .features,
    .how-it-works,
    .cta-section {
        padding: 60px 0;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}
