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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.7;
    color: #2d3436;
    background-color: #ffffff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #004a99;
}

ul {
    list-style-position: inside;
}

/* Typography - Editorial Style */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.2rem;
    color: #1a1a1a;
}

h1 {
    font-size: 2.2rem;
    line-height: 1.2;
}

h2 {
    font-size: 1.8rem;
}

h3 {
    font-size: 1.4rem;
}

h4 {
    font-size: 1.1rem;
}

p {
    margin-bottom: 1.2rem;
}

.lead-text {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 2rem;
}

.highlight-text {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1a1a1a;
    padding: 1.2rem;
    background-color: #f8f9fa;
    border-left: 4px solid #0066cc;
    margin: 1.5rem 0;
}

/* Content Containers - Editorial Narrow Layout */
.content-narrow {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.editorial-flow {
    display: flex;
    flex-direction: column;
}

/* Header and Navigation */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e8e8e8;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

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

.nav-brand a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
}

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

.nav-menu li {
    list-style: none;
}

.nav-menu a {
    color: #2d3436;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    border-bottom-color: #0066cc;
    color: #0066cc;
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 24px;
    height: 3px;
    background-color: #1a1a1a;
    transition: all 0.3s ease;
}

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

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

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

/* Hero Section - Editorial Style */
.hero-editorial {
    padding: 4rem 0 3rem;
}

.hero-content-narrow {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 1.5rem;
    margin-bottom: 2.5rem;
}

.hero-image {
    margin: 0 1.5rem;
}

.hero-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Sections - Editorial Flow */
section {
    padding: 3rem 0;
}

.intro-story,
.why-accounting-matters,
.problem-section,
.trust-builder,
.benefits-section,
.how-we-work,
.urgency-section {
    padding: 3rem 0;
}

.intro-story {
    background-color: #f8f9fa;
}

.why-accounting-matters img,
.story-section img,
.contact-image-section img {
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.insight-block {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Services Section */
.services-reveal {
    background-color: #fafbfc;
    padding: 4rem 0;
}

.section-intro {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 3rem;
}

.service-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.service-card h3 {
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.service-card p {
    color: #555;
    margin-bottom: 1.5rem;
}

.service-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0066cc;
    margin: 1.5rem 0;
}

/* Buttons and CTAs */
.cta-primary,
.cta-secondary,
.btn-service,
.btn-submit {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.cta-primary,
.btn-submit {
    background-color: #0066cc;
    color: #ffffff;
}

.cta-primary:hover,
.btn-submit:hover {
    background-color: #004a99;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 102, 204, 0.3);
}

.cta-secondary {
    background-color: #ffffff;
    color: #0066cc;
    border: 2px solid #0066cc;
}

.cta-secondary:hover {
    background-color: #0066cc;
    color: #ffffff;
}

.btn-service {
    width: 100%;
    background-color: #f0f4f8;
    color: #0066cc;
    margin-top: 1rem;
}

.btn-service:hover {
    background-color: #0066cc;
    color: #ffffff;
}

.cta-section-mid,
.cta-section,
.final-cta,
.cta-final-section {
    background-color: #f0f4f8;
    padding: 4rem 0;
    text-align: center;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    align-items: center;
}

/* Testimonials - Inline Editorial Style */
.testimonials-inline {
    margin: 3rem 0;
}

blockquote {
    background-color: #ffffff;
    padding: 2rem;
    margin: 2rem 0;
    border-left: 4px solid #0066cc;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border-radius: 4px;
}

blockquote p {
    font-style: italic;
    color: #2d3436;
    margin-bottom: 1rem;
    line-height: 1.7;
}

cite {
    font-style: normal;
    font-weight: 600;
    color: #555;
    font-size: 0.95rem;
}

/* Benefits List */
.benefits-list {
    list-style: none;
    margin: 2rem 0;
}

.benefits-list li {
    padding: 1rem 0 1rem 2.5rem;
    position: relative;
    border-bottom: 1px solid #e8e8e8;
}

.benefits-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0066cc;
    font-weight: 700;
    font-size: 1.3rem;
}

/* Workflow Steps */
.workflow-steps {
    margin: 3rem 0;
}

.step {
    margin: 2.5rem 0;
    padding-left: 4rem;
    position: relative;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 3rem;
    height: 3rem;
    background-color: #0066cc;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.2rem;
}

.step h3 {
    margin-bottom: 0.5rem;
}

.step p {
    color: #555;
}

/* Forms */
.form-section {
    background-color: #fafbfc;
    padding: 4rem 0;
}

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

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

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

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-weight: 400;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
    cursor: pointer;
}

.btn-submit {
    width: 100%;
    margin-top: 1rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 1.5rem;
    z-index: 1000;
    display: none;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-content p {
    margin: 0;
    line-height: 1.5;
}

.cookie-content a {
    color: #66b3ff;
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-accept,
.btn-reject {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-accept {
    background-color: #0066cc;
    color: #ffffff;
}

.btn-accept:hover {
    background-color: #004a99;
}

.btn-reject {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

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

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 90;
    display: none;
}

.sticky-cta.show {
    display: block;
}

.sticky-cta a {
    display: block;
    padding: 1rem 1.5rem;
    background-color: #0066cc;
    color: #ffffff;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
    transition: all 0.3s ease;
}

.sticky-cta a:hover {
    background-color: #004a99;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.5);
}

/* Footer */
.site-footer {
    background-color: #1a1a1a;
    color: #e8e8e8;
    padding: 3rem 1.5rem 1.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #333;
}

.footer-brand h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: #aaa;
}

.footer-links h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1rem;
}

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

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

.footer-links a {
    color: #aaa;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding-top: 2rem;
    color: #aaa;
}

/* Services Detail Page */
.services-detailed {
    padding: 2rem 0;
}

.service-detail {
    margin-bottom: 4rem;
}

.service-detail-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.price-tag {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0066cc;
}

.service-description {
    margin-top: 1.5rem;
}

.service-description ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.service-description li {
    margin-bottom: 0.75rem;
    color: #555;
}

/* About Page */
.page-header {
    padding: 4rem 0 2rem;
    text-align: center;
}

.updated-date {
    color: #888;
    font-size: 0.95rem;
}

.values-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.value-item {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.value-item h3 {
    color: #0066cc;
    margin-bottom: 0.75rem;
}

.experience-list {
    margin: 2rem 0;
    padding-left: 1.5rem;
}

.experience-list li {
    margin-bottom: 1rem;
    color: #555;
}

.stats-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 3rem 0;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background-color: #f0f4f8;
    border-radius: 8px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #0066cc;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #555;
}

/* Contact Page */
.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin: 2rem 0;
}

.contact-item h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.contact-item .note {
    font-size: 0.9rem;
    color: #888;
    margin-top: 0.5rem;
}

.faq-section {
    padding: 3rem 0;
}

.faq-item {
    margin: 2.5rem 0;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e8e8e8;
}

.faq-item h3 {
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.faq-item p {
    color: #555;
}

/* Thanks Page */
.thanks-hero {
    padding: 4rem 0 2rem;
    text-align: center;
    background-color: #f0f4f8;
}

.thanks-content,
.thanks-resources {
    padding: 3rem 0;
}

.thanks-message {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 3rem;
}

.what-happens-next {
    margin: 3rem 0;
}

.timeline {
    margin: 2rem 0;
}

.timeline-item {
    display: flex;
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.timeline-marker {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    background-color: #0066cc;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.timeline-content p {
    color: #555;
}

.resources-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.resource-item {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.resource-item h3 {
    margin-bottom: 0.75rem;
}

.link-arrow {
    color: #0066cc;
    font-weight: 600;
    display: inline-block;
    margin-top: 0.75rem;
}

.link-arrow:after {
    content: " →";
}

.thanks-cta {
    text-align: center;
    padding: 3rem 0;
    background-color: #f8f9fa;
}

/* Legal Pages */
.legal-page section {
    padding: 2rem 0;
}

.legal-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content ul {
    margin: 1rem 0 1.5rem 1.5rem;
}

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

/* Tablet Styles */
@media (min-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .nav-menu {
        display: flex;
    }

    .nav-toggle {
        display: none;
    }

    .hero-editorial {
        padding: 5rem 0 4rem;
    }

    .service-cards {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 2rem;
    }

    .service-card {
        flex: 1 1 calc(50% - 1rem);
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }

    .cookie-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }

    .values-grid {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .value-item {
        flex: 1 1 calc(50% - 1rem);
    }

    .stats-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .stat-item {
        flex: 1 1 calc(50% - 1rem);
    }

    .contact-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .contact-item {
        flex: 1 1 calc(50% - 1.25rem);
    }

    .resources-grid {
        flex-direction: row;
    }

    .resource-item {
        flex: 1;
    }

    .service-detail-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .content-narrow {
        padding: 0 2rem;
    }

    section {
        padding: 4rem 0;
    }

    .hero-editorial {
        padding: 6rem 0 5rem;
    }

    .service-card {
        flex: 1 1 calc(33.333% - 1.333rem);
    }

    .stat-item {
        flex: 1 1 calc(25% - 1.5rem);
    }

    .contact-item {
        flex: 1 1 calc(33.333% - 1.667rem);
    }
}