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

:root {
    --pearl-warm: #f6f3ee;
    --storm-graphite: #1f2328;
    --deep-cinder: #0f1417;
    --harbor-teal: #1e6f6a;
    --dune-gray: #ece7df;
    --fog-line: #e7e1d8;
    --sea-shadow: #1a1f25;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--storm-graphite);
    background-color: var(--pearl-warm);
    line-height: 1.6;
    font-size: 16px;
}

html {
    scroll-behavior: smooth;
}

a {
    color: var(--harbor-teal);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

h4 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
}

.cookie-banner {
    background-color: var(--deep-cinder);
    color: #fff;
    padding: 1.5rem;
    border-bottom: 1px solid var(--fog-line);
    z-index: 9999;
    position: sticky;
    top: 0;
}

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

.cookie-banner a {
    color: var(--harbor-teal);
}

.cookie-banner .btn {
    margin-left: 0.5rem;
}

.mini-status-row {
    background-color: var(--deep-cinder);
    color: #fff;
    padding: 0.5rem 2rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--fog-line);
}

.site-header {
    background: linear-gradient(135deg, var(--deep-cinder) 0%, var(--sea-shadow) 100%);
    color: #fff;
    padding: 0;
}

.site-header .navbar {
    padding: 1rem 2rem;
    background: transparent;
}

.site-header .navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff !important;
    letter-spacing: -0.5px;
}

.site-header .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    margin: 0 0.8rem;
    font-size: 0.95rem;
    position: relative;
}

.site-header .navbar-nav .nav-link:hover {
    color: var(--harbor-teal) !important;
}

.site-header .navbar-nav .nav-link.active {
    color: var(--harbor-teal) !important;
    border-bottom: 2px solid var(--harbor-teal);
    padding-bottom: 0.25rem;
}

.site-header .navbar-nav .nav-link.active::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--harbor-teal);
    margin-left: 0.5rem;
    vertical-align: middle;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-cta .btn {
    border-color: rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.header-cta .btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
    transform: scale(1.02);
}

.idr-chip {
    background-color: rgba(30, 111, 106, 0.2);
    color: var(--harbor-teal);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.hero {
    background: linear-gradient(135deg, var(--deep-cinder) 0%, var(--sea-shadow) 100%);
    color: #fff;
    padding: 4rem 2rem;
}

.hero-text {
    padding-right: 2rem;
}

.hero .overline {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--harbor-teal);
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero h1 {
    color: #fff;
    font-size: 3rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.cta-row .btn {
    padding: 0.7rem 1.5rem;
    font-weight: 600;
}

.btn-primary {
    background-color: var(--harbor-teal);
    border-color: var(--harbor-teal);
    color: #fff;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #1a5d59;
    border-color: #1a5d59;
    transform: scale(1.02);
    color: #fff;
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
    transform: scale(1.02);
    text-decoration: none;
}

.micro-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.feature-card img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.feature-caption {
    color: rgba(255, 255, 255, 0.85);
}

.feature-caption p {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.quick-modules {
    background-color: var(--pearl-warm);
    padding: 3rem 2rem;
}

.module-tile {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--fog-line);
    margin-bottom: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.module-tile:hover {
    border-color: var(--harbor-teal);
    box-shadow: 0 4px 12px rgba(30, 111, 106, 0.1);
    transform: translateY(-2px);
}

.edge-label {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--harbor-teal);
    color: #fff;
    padding: 0.3rem 0.8rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 3px;
}

.counter {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--harbor-teal);
    margin-bottom: 1rem;
}

.module-tile h3 {
    color: var(--storm-graphite);
    margin-bottom: 1rem;
}

.module-tile p {
    color: #666;
    font-size: 0.95rem;
}

.section-index-strip {
    background-color: var(--dune-gray);
    padding: 2rem;
    border-top: 1px solid var(--fog-line);
    border-bottom: 1px solid var(--fog-line);
}

.strip-nav {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.strip-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--storm-graphite);
    font-weight: 600;
    transition: all 0.3s ease;
}

.strip-item:hover {
    color: var(--harbor-teal);
    text-decoration: none;
}

.strip-num {
    font-size: 1.2rem;
    color: var(--harbor-teal);
}

.guide-block {
    padding: 3rem 2rem;
}

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

.dark-bg {
    background: linear-gradient(135deg, var(--deep-cinder) 0%, var(--sea-shadow) 100%);
    color: #fff;
}

.dark-bg h2 {
    color: #fff;
}

.guide-block h2 {
    margin-bottom: 2rem;
}

.guide-block p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.micro-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    opacity: 0.7;
}

.divider-line {
    flex: 1;
    height: 1px;
    background-color: var(--fog-line);
}

.dark-bg .divider-line {
    background-color: rgba(255, 255, 255, 0.2);
}

.divider-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.col-md-2-4 {
    flex: 0 0 20%;
    max-width: 20%;
    padding: 0.75rem;
}

.format-snapshots {
    background-color: #fff;
    padding: 3rem 2rem;
    border: 1px solid var(--fog-line);
}

.format-card {
    text-align: center;
    padding: 1rem;
}

.format-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--fog-line);
}

.step-number {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    background-color: var(--harbor-teal);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.products-section {
    padding: 3rem 2rem;
}

.products-section h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.section-intro {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.product-card-wrapper {
    margin-bottom: 1rem;
}

.product-card {
    display: block;
    background-color: #fff;
    border: 1px solid var(--fog-line);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    color: inherit;
    text-decoration: none;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: var(--harbor-teal);
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(30, 111, 106, 0.15);
    text-decoration: none;
    color: inherit;
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

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

.product-card:hover .product-image img {
    transform: scale(1.03);
}

.product-meta {
    padding: 0.75rem 1rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
    background-color: var(--dune-gray);
    border-bottom: 1px solid var(--fog-line);
}

.meta-chip {
    background-color: #fff;
    color: var(--storm-graphite);
    padding: 0.3rem 0.7rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid var(--fog-line);
}

.product-badge {
    background-color: var(--harbor-teal);
    color: #fff;
    padding: 0.3rem 0.7rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: auto;
}

.product-name {
    padding: 1rem;
    margin: 0;
    font-size: 1.1rem;
    color: var(--storm-graphite);
    flex-grow: 0;
}

.product-desc {
    padding: 0 1rem;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    flex-grow: 1;
}

.product-price {
    padding: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--harbor-teal);
    border-top: 1px solid var(--fog-line);
}

.light-section {
    background-color: #fff;
}

.light-section h2 {
    margin-bottom: 1rem;
}

.light-section img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--fog-line);
}

.guide-note {
    color: #666;
    font-style: italic;
    margin-top: 1rem;
}

.faq-section {
    background-color: var(--pearl-warm);
    padding: 3rem 2rem;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.faq-item {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--harbor-teal);
}

.faq-item h4 {
    color: var(--storm-graphite);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.faq-item p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

.cta-section {
    text-align: center;
    padding: 3rem 2rem;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.site-footer {
    background-color: var(--deep-cinder);
    color: #fff;
    padding: 3rem 2rem 1rem;
}

.footer-content {
    margin-bottom: 2rem;
}

.footer-col {
    margin-bottom: 2rem;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.footer-col a {
    color: var(--harbor-teal);
}

.footer-col a:hover {
    text-decoration: underline;
}

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

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: var(--harbor-teal);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

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

    h2 {
        font-size: 1.5rem;
    }

    .hero {
        padding: 2rem 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-text {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .cta-row {
        flex-direction: column;
    }

    .cta-row .btn {
        width: 100%;
    }

    .mini-status-row {
        flex-direction: column;
        gap: 0.5rem;
    }

    .header-cta {
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .header-cta .btn,
    .idr-chip {
        width: 100%;
    }

    .strip-nav {
        flex-direction: column;
        gap: 1rem;
    }

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

    .col-md-2-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .step-number {
        display: inline-block;
        margin-right: 1rem;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 14px;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    .guide-block,
    .products-section {
        padding: 2rem 1rem;
    }

    .module-tile {
        padding: 1.5rem;
    }

    .counter {
        font-size: 2rem;
    }

    .product-card {
        margin-bottom: 0;
    }

    .col-md-2-4 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 1rem;
    }

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