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

:root {
    --primary-color: #1a4d8f;
    --secondary-color: #2c6bb5;
    --accent-color: #f39c12;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #7a7a7a;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #27ae60;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.15);
}

html {
    scroll-behavior: smooth;
}

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

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

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

a:hover {
    color: var(--secondary-color);
}

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

/* Header and Navigation */
.header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

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

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

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

.nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    list-style: none;
    margin-top: 1rem;
}

.nav-menu.active {
    display: flex;
}

.nav-menu li {
    margin: 0.5rem 0;
}

.nav-menu a {
    display: block;
    padding: 0.5rem 0;
    color: var(--text-dark);
    font-weight: 500;
}

.nav-menu a.active,
.nav-menu a:hover {
    color: var(--primary-color);
}

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

.hero-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.page-hero {
    background-color: var(--bg-light);
    padding: 3rem 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

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

section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    text-align: center;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--text-medium);
    font-size: 1.1rem;
}

.section-label {
    display: block;
    text-transform: uppercase;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

/* Cards and Grids */
.insights-grid,
.knowledge-grid,
.benefits-grid,
.trust-grid,
.values-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.insight-card,
.knowledge-card,
.benefit-item,
.trust-item,
.value-card {
    background-color: var(--bg-white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.insight-card:hover,
.knowledge-card:hover,
.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.insight-icon,
.value-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.insight-card h3,
.knowledge-card h3,
.benefit-item h3,
.trust-item h3,
.value-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.insight-card p,
.knowledge-card p,
.benefit-item p,
.trust-item p,
.value-card p {
    color: var(--text-medium);
    line-height: 1.6;
}

/* Two Column Layouts */
.intro-grid,
.philosophy-content,
.mission-grid,
.office-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Statistics */
.statistics {
    background-color: var(--bg-light);
}

.stats-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-medium);
}

/* Process Steps */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step {
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 8px;
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-weight: bold;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

/* Testimonials */
.testimonials {
    background-color: var(--bg-light);
}

.testimonials-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.testimonial {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text-medium);
    font-size: 1.1rem;
    line-height: 1.7;
}

.testimonial cite {
    font-style: normal;
    font-weight: 600;
    color: var(--text-dark);
}

/* Industries */
.industries-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.industry-item {
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 8px;
}

.industry-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

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

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

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

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

.faq-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    position: relative;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-icon::before {
    width: 20px;
    height: 2px;
    top: 9px;
    left: 0;
}

.faq-icon::after {
    width: 2px;
    height: 20px;
    top: 0;
    left: 9px;
}

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

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

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

.faq-answer p {
    padding: 1.25rem;
    color: var(--text-medium);
    line-height: 1.7;
}

/* Pricing */
.pricing-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.pricing-card {
    background-color: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-header h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    text-align: left;
}

.price {
    margin-bottom: 1.5rem;
}

.amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.period {
    color: var(--text-light);
    font-size: 1rem;
}

.pricing-description {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.features-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-medium);
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Comparison Table */
.comparison-table {
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-white);
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background-color: var(--bg-light);
    font-weight: 600;
    color: var(--text-dark);
}

.comparison-table td {
    color: var(--text-medium);
}

/* Team */
.team-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.team-member {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 8px;
}

.member-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--border-color);
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.member-bio {
    color: var(--text-medium);
    line-height: 1.6;
}

/* Timeline */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 1.5rem;
    position: relative;
}

.timeline-year {
    flex-shrink: 0;
    width: 80px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.timeline-content p {
    color: var(--text-medium);
}

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

.contact-card {
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 8px;
    text-align: center;
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-card a {
    color: var(--primary-color);
    font-weight: 600;
}

.company-data {
    max-width: 600px;
    margin: 0 auto;
}

.data-row {
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.data-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.data-value {
    color: var(--text-medium);
}

.reasons-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.reason-item {
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 8px;
}

.reason-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

/* Thank You Page */
.thank-you-hero {
    padding: 4rem 0;
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
}

.lead-text {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.steps-grid,
.meanwhile-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step-card,
.meanwhile-card {
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 8px;
}

.link-arrow {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-block;
    margin-top: 0.5rem;
}

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

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

.legal-text {
    max-width: 800px;
    margin: 0 auto;
}

.legal-text h2 {
    font-size: 1.75rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: left;
}

.legal-text h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.legal-text h4 {
    font-size: 1.1rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.legal-text p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--text-medium);
}

.legal-text ul,
.legal-text ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.legal-text li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
    color: var(--text-medium);
}

.legal-text a {
    text-decoration: underline;
}

.legal-text table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: collapse;
}

.cookies-table th,
.cookies-table td {
    padding: 0.75rem;
    text-align: left;
    border: 1px solid var(--border-color);
}

.cookies-table th {
    background-color: var(--bg-light);
    font-weight: 600;
}

.legal-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.875rem;
    color: var(--text-light);
}

/* CTA Sections */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--bg-white);
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    color: var(--bg-white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.philosophy,
.commitment,
.guarantee,
.support-info {
    padding: 3rem 0;
}

.philosophy-content,
.commitment-content,
.guarantee-content,
.support-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-lead {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.philosophy-points {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
    margin-top: 2rem;
}

.point h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.point p {
    color: var(--text-medium);
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--bg-white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h3,
.footer-column h4 {
    margin-bottom: 1rem;
    color: var(--bg-white);
}

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

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

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

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--bg-white);
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 1.5rem;
    z-index: 2000;
    display: none;
}

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

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

.cookie-content p {
    margin: 0;
    color: var(--text-medium);
    text-align: center;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    padding: 1rem;
}

.cookie-modal.show {
    display: flex;
}

.modal-content {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.cookie-option {
    margin: 1.5rem 0;
}

.cookie-option label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    cursor: pointer;
}

.cookie-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.cookie-option p {
    margin: 0.5rem 0 0 2rem;
    color: var(--text-medium);
    font-size: 0.9rem;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.note {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

.contact-detail {
    font-size: 1.1rem;
    margin: 1rem 0;
}

/* Tablet Styles */
@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }

    .nav-menu {
        display: flex;
        flex-direction: row;
        width: auto;
        margin-top: 0;
    }

    .nav-menu li {
        margin: 0 1rem;
    }

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

    .insights-grid,
    .knowledge-grid,
    .benefits-grid,
    .trust-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .insight-card,
    .knowledge-card,
    .benefit-item,
    .trust-item {
        flex: 1 1 calc(50% - 1rem);
    }

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

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

    .intro-grid,
    .philosophy-content,
    .mission-grid,
    .office-grid {
        flex-direction: row;
        align-items: center;
    }

    .intro-text,
    .intro-visual,
    .office-text,
    .office-directions,
    .mission-item {
        flex: 1;
    }

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

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

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

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

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

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

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

    .team-member {
        flex: 1 1 calc(50% - 1rem);
    }

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

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

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

    .data-label {
        margin-bottom: 0;
    }

    .steps-grid,
    .meanwhile-grid {
        flex-direction: row;
    }

    .step-card,
    .meanwhile-card {
        flex: 1;
    }

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

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

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

    .footer-column {
        flex: 1;
    }

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

    .cookie-content p {
        text-align: left;
    }

    .philosophy-points {
        flex-direction: row;
    }

    .point {
        flex: 1;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }

    .insight-card,
    .knowledge-card,
    .benefit-item,
    .trust-item {
        flex: 1 1 calc(25% - 1.5rem);
    }

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

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

    .testimonial {
        flex: 1 1 calc(33.333% - 1rem);
    }

    .pricing-card {
        flex: 1 1 calc(25% - 1.5rem);
    }

    .team-member {
        flex: 1 1 calc(25% - 1.5rem);
    }

    .contact-card {
        flex: 1 1 calc(33.333% - 1.5rem);
    }

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