:root {
    /* Brand Tokens */
    --primary: #1e3a8a;
    --accent: #3b82f6;
    --gold: #d4a853;
    --bg-main: #f8fafc;
    --bg-alt: #ffffff;
    --heading-text: #0f172a;
    --body-text: #475569;
    --border-color: #e2e8f0;
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--body-text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--heading-text);
    margin-bottom: 0.5rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }

.gold-heading {
    color: var(--primary);
}

.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.pb-2 { padding-bottom: 1rem; }
.mx-1 { margin: 0 0.5rem; }

.sub-text {
    color: var(--body-text);
    font-size: 0.875rem;
}

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

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

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

.pattern-bg {
    background-color: var(--bg-main);
    background-image: radial-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

.bg-image-section {
    position: relative;
    color: #ffffff;
}

.bg-image-section h2, .bg-image-section h3, .bg-image-section h4, .bg-image-section p {
    color: #ffffff;
}

.bg-layer, .aerial-full-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(15, 23, 42, 0.85);
    z-index: 2;
}

.relative { position: relative; }
.z-10 { z-index: 10; }
.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}
.min-h-screen { min-height: 100vh; }

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
}
.half-grid { grid-template-columns: 1fr 1fr; }
.quad-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.align-center { align-items: center; }

@media (min-width: 768px) {
    .overview-grid, .feature-grid, .tech-specs-grid, .options-grid, .pricing-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Section Title */
.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--primary);
}
.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: -5%; left: -5%; right: -5%; bottom: -5%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(15,23,42,0.7), rgba(15,23,42,0.9));
    z-index: 2;
}
.hero-content {
    position: relative;
    z-index: 10;
    color: #ffffff;
}
.hero-content h1, .hero-content h2, .hero-content h3, .hero-content p {
    color: #ffffff;
}
.logo-text {
    font-family: var(--font-sans);
    font-variant: small-caps;
    letter-spacing: 0.3em;
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.client-text {
    font-size: 1rem;
    margin-bottom: 2rem;
}
.main-title {
    font-style: italic;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.sub-title {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.pills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}
.pill {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--accent);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
}
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: var(--gold);
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

/* Counters */
.counter-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}
.counter-card {
    background: var(--bg-alt);
    padding: 1.5rem;
    border-radius: 8px;
    border-top: 2px solid var(--primary);
    text-align: center;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}
.counter-val {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-serif);
}
.counter-label {
    font-size: 0.875rem;
    color: var(--body-text);
}

/* Images & Parallax */
.image-wrapper img {
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}
.parallax-container {
    overflow: hidden;
    border-radius: 8px;
}
.parallax-img {
    transform: scale(1.1);
}

/* Lists */
.spec-list, .feature-list, .boq-list {
    list-style: none;
}
.spec-list li, .feature-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 1.5rem;
    color: var(--body-text);
}
.spec-list li::before, .feature-list li::before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* Tonnage Bars */
.bar-row {
    margin-bottom: 1rem;
}
.bar-label {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    color: var(--heading-text);
}
.bar-track {
    width: 100%;
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}
.bar-fill {
    height: 100%;
    width: 0;
    border-radius: 4px;
}

/* Annotations */
.aerial-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15,23,42,0.4);
    z-index: 2;
}
.annotation-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--accent);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--heading-text);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}
.ann-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}
/* Positions for specific annotations */
.ann-1 { top: 20%; left: 10%; }
.ann-2 { top: 40%; right: 10%; }
.ann-3 { top: 50%; left: 30%; }
.ann-4 { bottom: 30%; right: 20%; }
.ann-5 { bottom: 15%; left: 15%; }

/* Options & Pricing Cards */
.option-card, .pricing-card {
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}
.option-card.premium, .pricing-card.premium {
    border-color: var(--primary);
    background: var(--bg-alt);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}
.badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    letter-spacing: 0.05em;
}
.pricing-card .price {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--primary);
    margin-top: 1rem;
}
.pricing-card .price-sub {
    color: var(--body-text);
    font-size: 0.9rem;
}
.boq-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--body-text);
}
.boq-list li:last-child {
    border-bottom: none;
}

/* Feature Boxes */
.feature-box {
    background: var(--bg-alt);
    padding: 2rem;
    border-radius: 8px;
    border-left: 3px solid var(--accent);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}
.feature-box h4 { color: var(--heading-text); }
.bg-image-section .feature-box {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
    border-left-color: var(--gold);
    box-shadow: none;
}
.bg-image-section .feature-box h4, .bg-image-section .feature-box p {
    color: #ffffff;
}

/* Badges Row */
.badges-row {
    flex-wrap: wrap;
    gap: 1rem;
}
.compliance-badge {
    padding: 0.5rem 1rem;
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--heading-text);
    box-shadow: 0 2px 4px rgb(0 0 0 / 0.05);
}

/* Charts */
.chart-container {
    background: var(--bg-alt);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    border: 1px solid var(--border-color);
}
.canvas-wrapper {
    position: relative;
    width: 100%;
}
.doughnut-wrapper {
    max-width: 400px;
    margin: 0 auto;
}
.timeline-wrapper {
    height: 400px;
}

/* Multi-img */
.multi-img {
    position: relative;
}
.multi-img .img-2 {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 60%;
    border: 4px solid var(--bg-main);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

/* Blockquote */
.chairman-quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.25rem;
    border-left: 3px solid var(--primary);
    padding-left: 1.5rem;
    color: var(--heading-text);
}
.chairman-quote footer {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--body-text);
    margin-top: 0.5rem;
    font-style: normal;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
}
.logo-text-footer {
    font-size: 1.2rem;
    letter-spacing: 0.2em;
}

/* Print Styles */
@media print {
    body {
        background: #fff;
        color: #000;
    }
    .dark-section, .pattern-bg, .section {
        background: #fff !important;
        color: #000 !important;
    }
    .hero-section, .scroll-indicator, .bg-layer, .overlay, .aerial-full-bg, .aerial-overlay {
        display: none !important;
    }
    .gold-heading, .pricing-card .price {
        color: #333 !important;
    }
    .option-card, .pricing-card {
        border-color: #ccc !important;
        background: #f9f9f9 !important;
        color: #000 !important;
        box-shadow: none !important;
    }
    .pricing-card.premium {
        border-color: #000 !important;
    }
    .sub-text, .body-text, .lead-text {
        color: #333 !important;
    }
    h1, h2, h3, h4, h5, h6, p, li, span {
        color: #000 !important;
    }
    .badge {
        background: #000 !important;
        color: #fff !important;
    }
    .container {
        max-width: 100% !important;
        padding: 0 !important;
    }
    canvas {
        max-width: 100% !important;
        page-break-inside: avoid;
    }
}
