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

:root {
    --color-primary: #1a4d5c;
    --color-secondary: #2e7d8a;
    --color-accent: #d4a574;
    --color-dark: #1a1a2e;
    --color-light: #f8f9fa;
    --color-text: #333;
    --color-text-light: #666;
    --color-border: #e0e0e0;
    --color-white: #fff;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --max-width: 1200px;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-white);
}

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

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

img, svg {
    max-width: 100%;
    height: auto;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

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

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

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

.btn-secondary {
    background: var(--color-accent);
    color: var(--color-dark);
}

.btn-secondary:hover {
    background: #c49464;
}

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

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

/* Header & Navigation */
header {
    background: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: var(--max-width);
    margin: 0 auto;
}

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

.logo svg {
    width: 40px;
    height: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--color-text);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: width var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: all var(--transition);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        opacity: 0;
        transition: all var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }

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

    .nav-menu a {
        display: block;
        padding: 15px 0;
    }

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

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

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-white);
    padding: 80px 20px;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    color: var(--color-white);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.hero-graphic {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-graphic svg {
    max-width: 400px;
}

/* Sections */
section {
    padding: 80px 20px;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-header p {
    color: var(--color-text-light);
    font-size: 1.1rem;
}

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

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

.bg-dark h2, .bg-dark h3 {
    color: var(--color-white);
}

/* Cards */
.cards-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.card {
    background: var(--color-white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    flex: 1;
    min-width: 280px;
    max-width: 380px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--color-white);
}

.card h3 {
    margin-bottom: 15px;
}

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

/* Service Cards */
.service-card {
    background: var(--color-white);
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    border-top: 4px solid var(--color-secondary);
}

.service-card h3 {
    color: var(--color-primary);
    margin-bottom: 15px;
}

.service-card .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin: 20px 0;
}

.service-card ul {
    list-style: none;
    margin-bottom: 20px;
}

.service-card li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--color-text-light);
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-weight: bold;
}

/* Feature Blocks */
.feature-block {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 60px;
}

.feature-block:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-content {
    flex: 1;
}

.feature-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.feature-visual svg {
    max-width: 350px;
}

/* Statistics */
.stats-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    text-align: center;
}

.stat-item {
    flex: 1;
    min-width: 200px;
    padding: 30px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
}

/* Testimonials */
.testimonial-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.testimonial {
    background: var(--color-white);
    border-radius: 12px;
    padding: 35px;
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    position: relative;
}

.testimonial::before {
    content: '"';
    font-size: 5rem;
    color: var(--color-secondary);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    color: var(--color-text);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-weight: 700;
    font-size: 1.2rem;
}

.author-info strong {
    display: block;
    color: var(--color-dark);
}

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

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

.faq-item {
    background: var(--color-white);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

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

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

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-secondary);
    transition: transform var(--transition);
}

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

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

.faq-answer-inner {
    padding: 0 25px 20px;
    color: var(--color-text-light);
}

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

/* Process Steps */
.process-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    counter-reset: step;
}

.process-step {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 30px;
    position: relative;
}

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

/* Quote Block */
.quote-block {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 60px 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.quote-block blockquote {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 20px;
}

.quote-block cite {
    font-style: normal;
    opacity: 0.9;
}

/* Highlighted Panel */
.highlight-panel {
    background: linear-gradient(135deg, var(--color-accent), #e8c4a4);
    border-radius: 12px;
    padding: 50px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.highlight-panel-content {
    flex: 2;
}

.highlight-panel-visual {
    flex: 1;
    text-align: center;
}

/* Two Column Layout */
.two-col {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.two-col > div {
    flex: 1;
}

/* Values Grid */
.values-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.value-item {
    flex: 1;
    min-width: 280px;
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--color-white);
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
}

.value-icon {
    width: 50px;
    height: 50px;
    background: var(--color-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.value-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--color-secondary);
}

/* Contact Info */
.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--color-white);
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--color-white);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--color-secondary);
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
    padding-left: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 5px;
    width: 15px;
    height: 15px;
    background: var(--color-secondary);
    border-radius: 50%;
    border: 3px solid var(--color-white);
}

.timeline-year {
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 5px;
}

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

.cta-section h2 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.95;
}

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

.cta-section .btn:hover {
    background: var(--color-accent);
    color: var(--color-dark);
}

/* Footer */
footer {
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 20px 30px;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h4 {
    color: var(--color-white);
    margin-bottom: 20px;
}

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-dark);
    color: var(--color-white);
    padding: 20px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none;
}

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

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

.cookie-text {
    flex: 1;
    min-width: 280px;
}

.cookie-text p {
    margin: 0;
    font-size: 0.95rem;
}

.cookie-text a {
    color: var(--color-accent);
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
    transition: all var(--transition);
}

.cookie-btn-accept {
    background: var(--color-secondary);
    color: var(--color-white);
}

.cookie-btn-accept:hover {
    background: var(--color-primary);
}

.cookie-btn-settings {
    background: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-settings:hover {
    border-color: var(--color-white);
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

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

.cookie-modal-content {
    background: var(--color-white);
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

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

.cookie-modal-header h3 {
    margin: 0;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-light);
    padding: 5px;
}

.cookie-modal-body {
    padding: 25px;
}

.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-border);
}

.cookie-option:last-child {
    border-bottom: none;
}

.cookie-option-info {
    flex: 1;
    padding-right: 20px;
}

.cookie-option-info h4 {
    margin-bottom: 5px;
    font-size: 1rem;
}

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

.cookie-toggle {
    position: relative;
    width: 50px;
    height: 26px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-border);
    border-radius: 26px;
    transition: var(--transition);
}

.cookie-toggle-slider::before {
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: var(--color-white);
    border-radius: 50%;
    transition: var(--transition);
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background: var(--color-secondary);
}

.cookie-toggle input:checked + .cookie-toggle-slider::before {
    transform: translateX(24px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-modal-footer {
    padding: 20px 25px;
    border-top: 1px solid var(--color-border);
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

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

.legal-content h2 {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

.legal-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-content ul {
    margin-left: 25px;
    margin-bottom: 20px;
}

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

/* Thank You Page */
.thank-you-content {
    text-align: center;
    padding: 100px 20px;
}

.thank-you-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.thank-you-icon svg {
    width: 50px;
    height: 50px;
    fill: var(--color-white);
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

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

.comparison-table th {
    background: var(--color-primary);
    color: var(--color-white);
    font-weight: 600;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover td {
    background: var(--color-light);
}

/* Industries Section */
.industries-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.industry-tag {
    background: var(--color-white);
    padding: 15px 25px;
    border-radius: 30px;
    font-weight: 500;
    color: var(--color-primary);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all var(--transition);
}

.industry-tag:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--color-white);
    padding: 60px 20px;
    text-align: center;
}

.page-header h1 {
    color: var(--color-white);
    margin-bottom: 10px;
}

.page-header p {
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

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

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .feature-block,
    .feature-block:nth-child(even) {
        flex-direction: column;
    }

    .two-col {
        flex-direction: column;
    }

    .highlight-panel {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    section {
        padding: 50px 15px;
    }

    .hero {
        padding: 50px 15px;
        min-height: auto;
    }

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

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}
