:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #0f4c75;
    --highlight-color: #3282b8;
    --bg-color: #f8f9fa;
    --surface-color: #ffffff;
    --dark-color: #0a0e27;
    --text-primary: #2d3436;
    --text-secondary: #636e72;
    --text-light: #b2bec3;
    --success-color: #00b894;
    --warning-color: #fdcb6e;
    --error-color: #d63031;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Epilogue', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-color);
    line-height: 1.6;
}

.site-header {
    background: var(--surface-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.uk-navbar-container {
    padding: 0.5rem 0;
}

.uk-navbar-nav > li > a {
    font-weight: 500;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.uk-navbar-nav > li > a:hover {
    color: var(--accent-color);
}

.uk-button-primary {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.uk-button-primary:hover {
    background-color: var(--highlight-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 76, 117, 0.3);
}

.uk-button-default {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.uk-button-default:hover {
    background-color: var(--accent-color);
    color: white;
}

.uk-button-secondary {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 500;
}

.uk-button-text {
    color: var(--accent-color);
    font-weight: 500;
}

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(15, 76, 117, 0.85) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
}

.page-header-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 4rem 0;
    color: white;
}

.about-section {
    padding: 5rem 0;
}

.features-section {
    padding: 5rem 0;
}

.feature-card {
    background: var(--surface-color);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-color), var(--highlight-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.calculator-section {
    padding: 5rem 0;
    background: var(--surface-color);
}

.calculator-card {
    background: var(--bg-color);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.calculator-results {
    background: var(--surface-color);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.result-bar-container {
    width: 100%;
    height: 40px;
    background: var(--bg-color);
    border-radius: 20px;
    overflow: hidden;
    margin: 1.5rem 0;
}

.result-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), var(--highlight-color));
    border-radius: 20px;
    transition: width 1s ease;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 15px;
    color: white;
    font-weight: 600;
}

.result-numbers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.result-item {
    display: flex;
    flex-direction: column;
}

.result-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.result-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
}

.disclaimer {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(15, 76, 117, 0.05);
    border-radius: 6px;
}

.case-studies-section {
    padding: 5rem 0;
}

.case-card {
    background: var(--surface-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

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

.case-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.case-content {
    padding: 2rem;
}

.case-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.case-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.solutions-preview-section {
    padding: 5rem 0;
}

.solution-preview-card {
    background: var(--surface-color);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.solution-preview-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

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

.uk-accordion-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    padding: 1.5rem;
    background: var(--surface-color);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.uk-accordion-title:hover {
    background: var(--bg-color);
    color: var(--accent-color);
}

.uk-accordion-content {
    padding: 1.5rem;
    background: var(--surface-color);
    border-radius: 0 0 8px 8px;
    margin-bottom: 0.5rem;
}

.contact-section {
    padding: 5rem 0;
}

.contact-form {
    background: var(--surface-color);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.uk-input, .uk-textarea {
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.uk-input:focus, .uk-textarea:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(15, 76, 117, 0.1);
}

.uk-form-label {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: block;
}

.iti {
    width: 100%;
}

.site-footer {
    background: var(--primary-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

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

.footer-links a:hover {
    color: var(--highlight-color);
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-contact a:hover {
    color: var(--highlight-color);
}

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

.thanks-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.thanks-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent-color), var(--highlight-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
}

.thanks-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.thanks-message {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.principles-section {
    padding: 5rem 0;
}

.principle-card {
    background: var(--surface-color);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.principle-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), var(--highlight-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

.principle-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.implementation-approach-section {
    padding: 5rem 0;
}

.timeline-container {
    max-width: 900px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 27px;
    top: 60px;
    width: 2px;
    height: calc(100% + 3rem);
    background: linear-gradient(180deg, var(--accent-color), var(--highlight-color));
}

.timeline-marker {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--accent-color), var(--highlight-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(15, 76, 117, 0.3);
}

.timeline-content {
    flex: 1;
    background: var(--surface-color);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.timeline-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.cta-card {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 3rem;
}

.cta-card h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-card p {
    color: rgba(255, 255, 255, 0.9);
}

.solution-detail-section {
    padding: 5rem 0;
}

.solution-badge {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.solution-subtitle {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.solution-features {
    margin-left: 1.5rem;
}

.solution-features li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.comparison-section {
    padding: 5rem 0;
}

.comparison-table {
    background: var(--surface-color);
    border-radius: 12px;
    overflow: hidden;
}

.comparison-table thead {
    background: var(--primary-color);
    color: white;
}

.comparison-table th {
    padding: 1.5rem;
    font-weight: 600;
}

.comparison-table td {
    padding: 1.2rem 1.5rem;
}

.feature-check {
    color: var(--success-color);
    font-size: 1.3rem;
    font-weight: 700;
}

.feature-dash {
    color: var(--text-light);
    font-size: 1.3rem;
}

.network-diagram {
    background: var(--surface-color);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.diagram-svg {
    width: 100%;
    height: auto;
}

.connection-line {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.office-node, .remote-node {
    cursor: pointer;
    transition: all 0.3s ease;
}

.office-node:hover, .remote-node:hover {
    transform: scale(1.1);
}

.contact-info-card {
    background: var(--surface-color);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), var(--highlight-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: white;
}

.contact-info-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.info-box {
    background: var(--surface-color);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.info-box h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.legal-content {
    background: var(--surface-color);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.legal-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

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

.legal-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

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

.legal-content a {
    color: var(--accent-color);
    text-decoration: none;
}

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

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

.tech-spec-card {
    background: var(--surface-color);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.tech-spec-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.requirements-table {
    background: var(--surface-color);
    border-radius: 12px;
    overflow: hidden;
}

.requirements-table thead {
    background: var(--primary-color);
    color: white;
}

.requirements-table th {
    padding: 1.2rem;
    font-weight: 600;
}

.requirements-table td {
    padding: 1rem 1.2rem;
    vertical-align: top;
}

.resource-card {
    background: var(--surface-color);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

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

.resource-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), var(--highlight-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: white;
}

.resource-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.deployment-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.deployment-stage {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.deployment-stage:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 40px;
    top: 80px;
    width: 2px;
    height: calc(100% + 3rem);
    background: linear-gradient(180deg, var(--accent-color), var(--highlight-color));
}

.stage-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), var(--highlight-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(15, 76, 117, 0.3);
}

.stage-content {
    flex: 1;
    background: var(--surface-color);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.stage-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.support-table {
    background: var(--surface-color);
    border-radius: 12px;
    overflow: hidden;
}

.support-table thead {
    background: var(--primary-color);
    color: white;
}

.support-table th {
    padding: 1.2rem;
    font-weight: 600;
}

.support-table td {
    padding: 1rem 1.2rem;
}

.contact-box {
    background: var(--bg-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--accent-color);
}

.contact-box h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    color: white;
    padding: 1.5rem;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

#cookie-consent-banner p {
    margin-bottom: 1rem;
}

#cookie-consent-banner .cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

#cookie-settings-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--surface-color);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

#cookie-settings-modal h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.cookie-category {
    background: var(--bg-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.cookie-category h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.cookie-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
}

@media (max-width: 960px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .timeline-item::after {
        display: none;
    }
    
    .deployment-stage {
        flex-direction: column;
        gap: 1rem;
    }
    
    .deployment-stage::after {
        display: none;
    }
    
    .result-numbers {
        grid-template-columns: 1fr;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .uk-button {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .hero-section {
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .calculator-card {
        padding: 1.5rem;
    }
    
    .legal-content {
        padding: 1.5rem;
    }
    
    .uk-table {
        font-size: 0.85rem;
    }
    
    #cookie-settings-modal {
        padding: 1.5rem;
    }
}