:root {
    --primary: #0056b3;
    --secondary: #00a8e8;
    --accent: #ff9f1c;
    --dark: #102033;
    --light: #f6fbff;
    --muted: #5f6f82;
    --line: rgba(0, 86, 179, 0.12);
    --shadow: 0 18px 50px rgba(8, 41, 85, 0.12);
    --radius: 24px;
    --trans: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: #22313f;
    line-height: 1.7;
    background:
        radial-gradient(circle at top left, rgba(0, 168, 232, 0.18), transparent 30%),
        linear-gradient(180deg, #f9fcff 0%, #ffffff 45%, #f4f8fc 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

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

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
}

.brand-wrap {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: var(--primary);
}

.brand-wrap img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    border-radius: 999px;
    padding: 13px 22px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--trans);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 14px 32px rgba(0, 86, 179, 0.22);
}

.btn-secondary {
    background: #fff;
    color: var(--primary);
    border: 1px solid rgba(0, 86, 179, 0.15);
    box-shadow: 0 10px 24px rgba(15, 37, 61, 0.08);
}

.hero {
    padding: 44px 0 28px;
}

.hero-shell {
    position: relative;
    overflow: hidden;
    border-radius: calc(var(--radius) + 6px);
    background: linear-gradient(135deg, rgba(7, 41, 82, 0.9), rgba(0, 86, 179, 0.76));
    min-height: 520px;
    display: grid;
    align-items: stretch;
    box-shadow: var(--shadow);
}

.hero-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 23, 43, 0.64) 0%, rgba(8, 23, 43, 0.18) 100%);
    z-index: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    padding: 72px;
    max-width: 760px;
    color: #fff;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    margin-bottom: 22px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    font-size: 0.92rem;
    font-weight: 600;
}

.hero h1 {
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.08;
    margin-bottom: 20px;
}

.hero p {
    max-width: 620px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 36px;
}

.stat-box {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    opacity: 0.82;
    margin-bottom: 6px;
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 700;
}

.content-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    gap: 28px;
    padding: 30px 0 0;
}

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.intro-card {
    padding: 34px;
}

.intro-card h2,
.block-title {
    font-size: 1.65rem;
    color: var(--dark);
    margin-bottom: 16px;
}

.intro-card p,
.detail-card p,
.cta-card p,
.footer-copy p {
    color: var(--muted);
}

.highlights-card {
    padding: 28px;
    background: linear-gradient(180deg, #ffffff 0%, #f2f9ff 100%);
}

.highlights-list {
    list-style: none;
    display: grid;
    gap: 14px;
}

.highlights-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--dark);
    font-weight: 500;
}

.highlights-list i {
    color: var(--secondary);
    margin-top: 5px;
}

.details-section,
.products-section,
.related-section,
.cta-section {
    padding-top: 28px;
}

.detail-grid,
.product-grid,
.related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.detail-card,
.product-card,
.related-card {
    padding: 28px;
}

.detail-card h3,
.product-card h3,
.related-card h3 {
    color: var(--primary);
    font-size: 1.18rem;
    margin-bottom: 12px;
}

.product-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.product-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 18px;
    background: #edf4fb;
}

.product-price {
    color: var(--accent);
    font-weight: 800;
    font-size: 1.2rem;
}

.product-card .btn,
.related-card .btn {
    margin-top: auto;
    width: 100%;
}

.related-card p {
    color: var(--muted);
    margin-bottom: 18px;
}

.cta-card {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 24px;
    align-items: center;
    padding: 34px;
    background: linear-gradient(135deg, #ffffff 0%, #eef8ff 100%);
}

.cta-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: var(--primary);
    font-size: 0.94rem;
    font-weight: 600;
}

.footer {
    margin-top: 52px;
    padding: 34px 0 48px;
}

.footer-card {
    padding: 30px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: center;
}

.footer-copy h4,
.footer-links h4 {
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: 12px;
}

.footer-links ul {
    list-style: none;
    display: grid;
    gap: 10px;
}

.footer-links a {
    color: var(--primary);
    font-weight: 600;
}

.loading-state {
    min-height: 100vh;
    display: grid;
    place-items: center;
    text-align: center;
    color: var(--primary);
}

@media (max-width: 980px) {
    .content-grid,
    .cta-card,
    .footer-card {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding: 48px 28px;
    }
}

@media (max-width: 768px) {
    .topbar-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .topbar-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .hero-stats,
    .detail-grid,
    .product-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .intro-card,
    .highlights-card,
    .detail-card,
    .product-card,
    .related-card,
    .cta-card,
    .footer-card {
        padding: 24px;
    }

    .btn {
        width: 100%;
    }
}
