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

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #64748b;
    --text-color: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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-color);
    background: var(--bg-white);
}

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

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

a:hover {
    color: var(--primary-dark);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

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

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
}

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

.logo a:hover {
    color: var(--primary-dark);
}

.nav ul {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

.nav a {
    color: var(--text-color);
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-color);
    transition: var(--transition);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--text-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--spacing-sm);
}

.lead {
    font-size: 1.25rem;
    color: var(--text-light);
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

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

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

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

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

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Sections */
.section {
    padding: var(--spacing-2xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.bg-light {
    background: var(--bg-light);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: var(--spacing-2xl) 0;
}

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

.hero h1 {
    color: white;
    margin-bottom: var(--spacing-md);
}

.hero-text {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Page Hero */
.page-hero {
    background: var(--bg-light);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

/* Grid Layouts */
.services-grid,
.benefits-grid,
.industries-grid,
.values-grid,
.needs-grid,
.regions-grid,
.expectations-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
}

.service-card,
.benefit-item,
.industry-item,
.value-card,
.need-item,
.region-item,
.expectation-item {
    flex: 1 1 calc(50% - var(--spacing-lg));
    min-width: 280px;
    padding: var(--spacing-lg);
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.link-arrow {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    margin-top: var(--spacing-sm);
}

.link-arrow::after {
    content: '→';
    margin-left: 0.5rem;
    transition: var(--transition);
}

.link-arrow:hover::after {
    margin-left: 0.75rem;
}

/* Feature Items */
.intro-grid {
    display: flex;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.intro-text {
    flex: 1 1 55%;
    min-width: 300px;
}

.intro-features {
    flex: 1 1 40%;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.feature-item {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
}

.feature-item h3 {
    margin-bottom: var(--spacing-xs);
}

/* Stats Section */
.stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    justify-content: center;
    margin-top: var(--spacing-xl);
}

.stat-item {
    flex: 1 1 200px;
    text-align: center;
    padding: var(--spacing-lg);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: var(--spacing-sm);
}

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

/* Testimonials */
.testimonials-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.testimonial-card {
    flex: 1 1 calc(33.333% - var(--spacing-lg));
    min-width: 280px;
    padding: var(--spacing-lg);
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.testimonial-text {
    margin-bottom: var(--spacing-md);
}

.testimonial-text p {
    font-style: italic;
    color: var(--text-light);
}

.testimonial-author strong {
    display: block;
    color: var(--text-color);
    margin-bottom: var(--spacing-xs);
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Process Steps */
.process-steps {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.process-step {
    flex: 1 1 calc(25% - var(--spacing-lg));
    min-width: 220px;
    text-align: center;
}

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

/* Philosophy & Values */
.philosophy-content {
    display: flex;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.philosophy-text {
    flex: 1 1 55%;
    min-width: 300px;
}

.philosophy-values {
    flex: 1 1 40%;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.value-box {
    padding: var(--spacing-lg);
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
}

.value-box h3 {
    margin-bottom: var(--spacing-xs);
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: var(--spacing-xl) auto 0;
}

.faq-item {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-sm);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    background: none;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-color);
}

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

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

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

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

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

.faq-answer p {
    padding: 0 var(--spacing-md) var(--spacing-md);
    color: var(--text-light);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    color: white;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
}

/* Services Page */
.services-detailed {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.service-detail {
    padding: var(--spacing-lg);
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.service-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.service-description {
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
}

.service-includes h4 {
    margin-bottom: var(--spacing-sm);
    color: var(--text-color);
}

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

.service-includes li {
    padding: var(--spacing-xs) 0;
    padding-left: var(--spacing-lg);
    position: relative;
}

.service-includes li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
}

.work-process {
    display: flex;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
    flex-wrap: wrap;
}

.process-column {
    flex: 1 1 45%;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.process-step-detail {
    padding: var(--spacing-lg);
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.step-number-large {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: var(--spacing-sm);
}

/* Contact Page */
.contact-grid {
    display: flex;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.contact-info,
.contact-about {
    flex: 1 1 45%;
    min-width: 300px;
}

.contact-item {
    margin-bottom: var(--spacing-lg);
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.contact-highlight {
    padding: var(--spacing-lg);
    background: var(--bg-light);
    border-radius: var(--radius-md);
    margin-top: var(--spacing-lg);
    border-left: 4px solid var(--primary-color);
}

.contact-needs {
    max-width: 900px;
    margin: 0 auto;
}

.contact-note {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    background: var(--bg-light);
    border-radius: var(--radius-md);
    font-style: italic;
}

.company-details {
    max-width: 900px;
    margin: 0 auto;
}

.details-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.detail-box {
    flex: 1 1 calc(33.333% - var(--spacing-md));
    min-width: 200px;
    padding: var(--spacing-md);
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.detail-box h3 {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-xs);
}

.detail-box p {
    font-weight: 600;
    margin-bottom: 0;
}

/* About Page */
.about-intro {
    max-width: 800px;
    margin: 0 auto;
}

.team-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-xl);
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
}

.team-member {
    flex: 1 1 calc(50% - var(--spacing-lg));
    min-width: 280px;
    padding: var(--spacing-lg);
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.approach-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    max-width: 900px;
    margin: var(--spacing-xl) auto 0;
}

.approach-item {
    padding: var(--spacing-lg);
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.differentiators {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.diff-item {
    flex: 1 1 calc(50% - var(--spacing-lg));
    min-width: 280px;
    padding: var(--spacing-lg);
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.value-icon {
    margin-bottom: var(--spacing-md);
}

/* Timeline */
.timeline {
    max-width: 800px;
    margin: var(--spacing-xl) auto 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.timeline-item {
    display: flex;
    gap: var(--spacing-lg);
    align-items: flex-start;
}

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

.timeline-content {
    flex: 1;
    padding: var(--spacing-md);
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

/* Thank You Page */
.thank-you-section {
    padding: var(--spacing-2xl) 0;
    text-align: center;
}

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

.thank-you-icon {
    margin: 0 auto var(--spacing-lg);
}

.thank-you-text {
    margin: var(--spacing-xl) 0;
}

.thank-you-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Legal Pages */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-text h2 {
    margin-top: var(--spacing-xl);
}

.legal-text h3 {
    margin-top: var(--spacing-lg);
}

.legal-text ul {
    margin: var(--spacing-md) 0;
    padding-left: var(--spacing-xl);
}

.legal-text li {
    margin-bottom: var(--spacing-xs);
}

.cookie-table {
    margin: var(--spacing-md) 0;
    padding: var(--spacing-md);
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.cookie-table table {
    width: 100%;
}

.cookie-table td {
    padding: var(--spacing-xs);
}

/* Footer */
.footer {
    background: var(--text-color);
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.footer-section {
    flex: 1 1 250px;
}

.footer h3 {
    color: white;
    margin-bottom: var(--spacing-md);
}

.footer ul {
    list-style: none;
}

.footer li {
    margin-bottom: var(--spacing-xs);
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
}

.footer a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    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: var(--text-color);
    color: white;
    padding: var(--spacing-md);
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    display: none;
}

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

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    flex: 1;
}

.cookie-content a {
    color: white;
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: var(--spacing-sm);
}

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

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

.modal-content {
    background: white;
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-color);
}

.modal-body {
    padding: var(--spacing-lg);
}

.cookie-option {
    margin-bottom: var(--spacing-md);
}

.cookie-option-header label {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 600;
    cursor: pointer;
}

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

.cookie-option-desc {
    margin-top: var(--spacing-xs);
    margin-left: 28px;
    color: var(--text-light);
    font-size: 0.875rem;
}

.modal-footer {
    padding: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
    text-align: right;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        box-shadow: var(--shadow-md);
    }

    .nav.active {
        display: block;
    }

    .nav ul {
        flex-direction: column;
        gap: 0;
    }

    .nav li {
        border-bottom: 1px solid var(--border-color);
    }

    .nav a {
        display: block;
        padding: var(--spacing-md);
    }

    .mobile-menu-toggle {
        display: flex;
    }

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

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

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

    .hero-actions {
        flex-direction: column;
    }

    .service-card,
    .benefit-item,
    .industry-item,
    .value-card,
    .testimonial-card,
    .team-member,
    .diff-item {
        flex: 1 1 100%;
    }

    .intro-grid,
    .philosophy-content,
    .contact-grid,
    .work-process {
        flex-direction: column;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .timeline-item {
        flex-direction: column;
    }

    .timeline-year {
        min-width: auto;
    }

    .cookie-content {
        flex-direction: column;
    }

    .cookie-actions {
        width: 100%;
    }

    .cookie-actions button {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .section {
        padding: var(--spacing-lg) 0;
    }

    .hero {
        padding: var(--spacing-lg) 0;
    }

    .btn {
        width: 100%;
    }

    .hero-actions a {
        width: 100%;
    }
}
