@font-face {
    font-family: 'Inter';
    src: url('assets/fonts/InterVariable.woff2') format('woff2');
    font-weight: 100 900;
    font-display: swap;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('assets/fonts/Inter-Light.woff2') format('woff2');
    font-weight: 300;
    font-display: swap;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('assets/fonts/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('assets/fonts/Inter-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('assets/fonts/Inter-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
    font-style: normal;
}

@font-face {
    font-family: 'Fira Code';
    src: url('assets/fonts/FiraCode-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
    font-style: normal;
}

:root {
    /* Premium Dark Palette */
    --color-bg-dark: #0f172a;
    /* Slate 900 */
    --color-bg-darker: #020617;
    /* Slate 950 */
    --color-bg-light: #f8fafc;
    /* Slate 50 */

    --color-text-main: #f1f5f9;
    /* Slate 100 */
    --color-text-muted: #94a3b8;
    /* Slate 400 */

    --color-accent: #f97316;
    /* Orange 500 */
    --color-accent-hover: #ea580c;
    /* Orange 600 */
    --color-accent-dim: rgba(249, 115, 22, 0.1);

    --color-white: #ffffff;
    --color-border: rgba(255, 255, 255, 0.08);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

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

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--color-bg-dark);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Typography Utilities */
.text-gradient {
    background: linear-gradient(135deg, #ff8a4c 0%, #ff4d00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.8rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
    color: var(--color-white);
    border: 1px solid transparent;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--color-white);
    transform: translateY(-2px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(15, 23, 42, 0.85);
    /* Dark slate transparency */
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-white);
    letter-spacing: -0.02em;
}

.logo .accent {
    color: var(--color-accent);
}

.nav-list {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.nav-link:hover {
    color: var(--color-white);
}

.btn-cta-nav {
    padding: 0.6rem 1.2rem;
    background-color: var(--color-accent);
    color: var(--color-white) !important;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: background-color 0.2s;
}

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

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-nav-toggle .bar {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-white);
    margin: 6px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--header-height);
    padding-bottom: var(--spacing-lg);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.7) 0%, rgba(2, 6, 23, 1) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(4px);
    animation: fadeInDown 0.8s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    /* Fallback */
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    line-height: 1.1;
    color: var(--color-white);
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-md);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.trust-bar {
    margin-top: var(--spacing-sm);
    opacity: 0.7;
    animation: fadeIn 1s ease-out 1s both;
}

.trust-bar p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-sm);
}

.trust-logos {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    font-weight: 600;
    color: var(--color-text-muted);
}

/* Standard Section */
.section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

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

.section-darker {
    background-color: var(--color-bg-darker);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

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

/* Comparison Section Overrides for Dark Mode */
#comparison {
    background: linear-gradient(to bottom, rgba(2, 6, 23, 0.95), rgba(15, 23, 42, 0.98)),
        url('assets/use_cases_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

#comparison .container {
    position: relative;
    z-index: 2;
}

#comparison .section-title {
    color: var(--color-white);
}

.section-title {
    font-size: clamp(2rem, 3vw, 2.5rem);
    text-align: center;
    margin-bottom: var(--spacing-lg);
    font-weight: 700;
}

.section-title-dark {
    color: var(--color-bg-dark);
}

/* Why Us / Bridge Section */
.bridge-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

#why-us {
    background: linear-gradient(to bottom, rgba(2, 6, 23, 0.95), rgba(15, 23, 42, 0.98)),
        url('assets/bg_infrastructure.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.bridge-text .section-title {
    margin-bottom: var(--spacing-md);
}

.lead-text {
    font-size: 1.2rem;
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
}

.check-list {
    margin-top: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.check-list li {
    display: flex;
    align-items: center;
    color: var(--color-text-muted);
}

.check-list li::before {
    content: "✓";
    color: var(--color-accent);
    font-weight: bold;
    margin-right: 0.5rem;
}

.code-block {
    background-color: #0d1117;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    overflow-x: auto;
}

.code-block::before {
    content: "";
    /* IDE Dots */
    position: absolute;
    top: 15px;
    left: 15px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ff5f56;
    /* Red */
    box-shadow: 15px 0 0 #ffbd2e, 30px 0 0 #27c93f;
    /* Yellow, Green */
}

.code-block pre {
    font-family: 'Fira Code', 'Menlo', monospace;
    font-size: 0.9rem;
    color: #e6edf3;
    margin-top: 1rem;
}

.bridge-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease;
}

.bridge-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(249, 115, 22, 0.25);
    border-color: rgba(249, 115, 22, 0.4);
}

/* Solutions Grid */
#solutions {
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.95)),
        url('assets/bg_solutions.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(249, 115, 22, 0.3);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    background: var(--color-accent-dim);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
    color: var(--color-white);
}

.card-text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

/* Comparison Section */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    position: relative;
}

.comparison-col {
    padding: var(--spacing-lg) var(--spacing-md);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.comparison-col:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
}

.comp-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.comp-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.comparison-col.manual .comp-icon {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-muted);
}

.comparison-col.auto .comp-icon {
    background: var(--color-accent-dim);
    color: var(--color-accent);
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.15);
}

.comparison-col h3 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.comparison-col.manual h3 {
    color: var(--color-text-muted);
}

.comparison-col.auto h3 {
    color: var(--color-white);
}

.comparison-col ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.comparison-col ul li {
    font-size: 1.05rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.4;
}

.comparison-col.manual ul li {
    color: var(--color-text-muted);
}

.comparison-col.auto ul li {
    color: var(--color-text-main);
}

.comparison-col.manual ul li::before {
    content: "✕";
    color: var(--color-text-muted);
    font-weight: 800;
    font-size: 0.9rem;
    margin-top: 2px;
}

.comparison-col.auto ul li::before {
    content: "✓";
    color: var(--color-accent);
    font-weight: 800;
    font-size: 1.1rem;
    margin-top: 1px;
}

.comparison-col.auto {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border-color: rgba(249, 115, 22, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.comparison-col.auto::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, var(--color-accent), transparent 50%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.4;
    pointer-events: none;
}

@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}



#case-studies {
    background: linear-gradient(to bottom, rgba(248, 250, 252, 0.92), rgba(248, 250, 252, 0.95)),
        url('assets/bg_results.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

/* Case Studies Section */
.case-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.case-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.05);
}

.case-content {
    padding: var(--spacing-md);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.case-card-title {
    font-size: 1.3rem;
    color: var(--color-bg-dark);
    margin-bottom: var(--spacing-xs);
    font-weight: 700;
}

.case-card-text {
    font-size: 0.95rem;
    color: #475569;
    /* Slate 600 */
    line-height: 1.5;
}

.case-result {
    display: block;
    margin-top: 1rem;
    font-weight: 700;
    color: var(--color-accent);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}


/* Booking Section */
#book-audit {
    background: linear-gradient(135deg, rgba(16, 22, 37, 0.95) 0%, rgba(0, 0, 0, 0.9) 100%),
        url('assets/bg_booking.png');
    background-size: cover;
    background-position: center;
    position: relative;
    background-attachment: fixed;
}

.section-accent-gradient::before {
    content: "";
    /* Glow effect */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: var(--color-accent);
    filter: blur(150px);
    opacity: 0.1;
    z-index: 0;
}

.booking-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    backdrop-filter: blur(20px);
}

.booking-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.audit-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.audit-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

.booking-calendar {
    min-height: 600px;
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
}

/* Footer */
.footer {
    background-color: var(--color-bg-darker);
    padding: var(--spacing-lg) 0 var(--spacing-md);
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.footer-info p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer-contact {
    text-align: right;
}

.footer-contact p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

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

.footer-bottom {
    text-align: center;
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-text-muted);
    font-size: 0.8rem;
}

/* Footer Links */
.footer-bottom-links {
    margin-top: 0.75rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.footer-link-item {
    color: var(--color-text-muted);
    font-size: 0.8rem;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.footer-link-item:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: var(--color-accent);
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Modal Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6); /* Lowered further to 0.6 */
    backdrop-filter: blur(12px); /* Increased blur for more premium feel */
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: rgba(2, 6, 23, 0.95); /* Slightly transparent for depth */
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 850px; /* Slightly wider */
    max-height: 85vh; /* Slightly shorter for better framing */
    overflow-y: auto;
    position: relative;
    padding: var(--spacing-lg);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.7),
                0 0 40px rgba(249, 115, 22, 0.05); /* Subtle accent glow */
    transform: translateY(30px) scale(0.98);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); /* Bouncy entrance */
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    font-size: 1.2rem;
    width: 36px;
    height: 36px;
    border-radius: 10px; /* Squircle look */
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    transform: scale(1.1);
}

.modal-body h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    color: var(--color-white);
    line-height: 1.2;
}

.modal-body h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.modal-body p {
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    font-size: 1.05rem;
}

.modal-body strong {
    color: var(--color-white);
    font-weight: 600; /* Semi-bold but not the default heavy bold, looks cleaner with white color */
}

.modal-body ul {
    margin-bottom: var(--spacing-md);
    padding-left: 1.5rem;
}

.modal-body li {
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
    list-style: disc;
}

.modal-body img {
    max-width: 100%;
    border-radius: var(--radius-md);
    margin: var(--spacing-sm) 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-body .img-small {
    display: block;
    margin: var(--spacing-lg) auto;
    width: 40%;
    max-width: 360px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-body .img-large {
    display: block;
    margin: var(--spacing-lg) auto;
    width: 100%;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Contact Form */
.contact-wrapper {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: var(--spacing-md);
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--color-text-muted);
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-white);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.2);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.w-100 {
    width: 100%;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .bridge-content {
        grid-template-columns: 1fr;
    }

    .booking-wrapper {
        grid-template-columns: 1fr;
        padding: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--color-bg-darker);
        padding: var(--spacing-md);
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }

    .nav.active {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-md);
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }

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

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

/* ==========================================================================
   Cookie Consent Banner Styles
   ========================================================================== */

.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: calc(100% - 48px);
    max-width: 440px;
    background: rgba(2, 6, 23, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(249, 115, 22, 0.05);
    backdrop-filter: blur(16px) saturate(120%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    z-index: 9999;
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
    pointer-events: none;
}

.cookie-banner.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.cookie-banner.hidden {
    display: none;
}

.cookie-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-title-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-icon {
    font-size: 1.5rem;
}

.cookie-title-group h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: -0.01em;
}

.cookie-body p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-bottom: 0.25rem;
}

/* Collapsible Settings Panel */
.cookie-settings {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), margin-top 0.4s ease;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cookie-settings.collapsed {
    max-height: 0;
    margin-top: 0;
}

.cookie-settings.expanded {
    max-height: 350px;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie-setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-sm);
    padding: 0.75rem;
    gap: 1rem;
}

.cookie-setting-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.cookie-setting-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-white);
}

.cookie-setting-desc {
    font-size: 0.75rem !important;
    color: var(--color-text-muted) !important;
    margin: 0 !important;
}

/* Custom iOS-style toggle switches */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

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

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .3s;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 2px;
    bottom: 2px;
    background-color: #94a3b8;
    transition: .3s;
    border-radius: 50%;
}

.cookie-switch input:checked + .cookie-slider {
    background-color: var(--color-accent-dim);
    border-color: rgba(249, 115, 22, 0.4);
}

.cookie-switch input:checked + .cookie-slider:before {
    transform: translateX(20px);
    background-color: var(--color-accent);
}

.cookie-switch input:disabled + .cookie-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-switch input:disabled + .cookie-slider:before {
    background-color: #475569;
}

/* Actions Row */
.cookie-actions {
    margin-top: 0.5rem;
}

.cookie-actions-row {
    display: flex;
    gap: 0.5rem;
    width: 100%;
}

.btn-cookie-primary, .btn-cookie-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1;
}

.btn-cookie-primary {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
    color: var(--color-white);
    border: 1px solid transparent;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.2);
}

.btn-cookie-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.3);
}

.btn-cookie-secondary {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--color-text-main);
}

.btn-cookie-secondary:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--color-white);
    transform: translateY(-1px);
}

.btn-cookie-primary.hidden, .btn-cookie-secondary.hidden {
    display: none;
}

/* Discrete Floating Preferences Trigger Button */
.cookie-preferences-trigger {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-muted);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9998;
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-preferences-trigger.visible {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.cookie-preferences-trigger:hover {
    color: var(--color-white);
    background: var(--color-accent-dim);
    border-color: var(--color-accent);
    transform: scale(1.1) rotate(45deg);
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.15);
}

/* Responsive adjustments */
@media (max-width: 500px) {
    .cookie-banner {
        bottom: 12px;
        right: 12px;
        left: 12px;
        width: auto;
        max-width: none;
        padding: 1rem;
        border-radius: var(--radius-md);
    }
    
    .cookie-preferences-trigger {
        bottom: 12px;
        left: 12px;
    }
    
    .cookie-actions-row {
        flex-wrap: wrap;
    }
    
    .btn-cookie-primary, .btn-cookie-secondary {
        flex: none;
        width: 100%;
    }
    
    /* Reorder when expanded so save preferences is intuitive */
    .cookie-actions-row {
        flex-direction: column-reverse;
        gap: 0.5rem;
    }
}

/* Chat Widget Styles */
.chat-widget-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    font-family: 'Inter', sans-serif;
}

.chat-widget-container.hidden {
    display: none !important;
}

.chat-widget-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
    color: var(--color-white);
    border: none;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chat-widget-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
}

.chat-widget-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    max-height: 80vh;
    background-color: #1e293b; /* Slightly lighter background than site background */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Thin light muted white outline */
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform-origin: bottom right;
}

.chat-widget-window.hidden {
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
}

.chat-header {
    background-color: #151f30; /* Darker than body to define header area */
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-header-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chat-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--color-white);
}

.online-indicator {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background-color: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.online-indicator.hidden {
    display: none;
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: #4ade80;
    border-radius: 50%;
    animation: status-pulse 2s infinite;
}

@keyframes status-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4);
    }
    70% {
        box-shadow: 0 0 0 4px rgba(74, 222, 128, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
    }
}

#chat-close-btn {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

#chat-close-btn:hover {
    color: var(--color-white);
}

.chat-messages {
    flex-grow: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    background-color: #1a2436; /* Distinct, lighter than site background */
}

.chat-message-author {
    align-self: flex-start;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-bottom: -0.6rem;
    margin-left: 0.2rem;
    font-weight: 500;
}

.chat-message {
    max-width: 80%;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    line-height: 1.4;
    word-wrap: break-word;
}

.chat-message.visitor {
    align-self: flex-end;
    background-color: var(--color-accent);
    color: var(--color-white);
    border-bottom-right-radius: 4px;
}

.chat-message.support {
    align-self: flex-start;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-text-main);
    border-bottom-left-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-message.system {
    align-self: center;
    background: none;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    border: none;
    padding: 0;
    text-align: center;
}

.chat-form {
    padding: 1rem;
    background-color: #151f30; /* Matches header background */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.turnstile-container {
    display: flex;
    justify-content: center;
}

.turnstile-container:empty {
    display: none;
}

.chat-input-wrapper {
    display: flex;
    gap: 0.5rem;
}

#chat-input {
    flex-grow: 1;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 0.8rem;
    color: var(--color-white);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s ease;
}

#chat-input:focus {
    outline: none;
    border-color: var(--color-accent);
}

#chat-submit-btn {
    background-color: var(--color-accent);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-sm);
    width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#chat-submit-btn:hover {
    background-color: var(--color-accent-hover);
}

.chat-reload-btn {
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: color 0.2s ease, transform 0.2s ease;
}

.chat-reload-btn:hover {
    color: var(--color-white);
    transform: rotate(45deg);
}

@media (max-width: 480px) {
    .chat-widget-window {
        width: calc(100vw - 48px);
        bottom: 70px;
    }
}