/* Explain: App-specific layout utilities for containers, sections, and background styles. */
.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.section { padding: 4.25rem 0; }
.section-tight { padding: 3rem 0; }

@media (min-width: 768px) {
    .container { padding-left: 2rem; padding-right: 2rem; }
    .section { padding: 6rem 0; }
    .section-tight { padding: 4rem 0; }
}

.bg-navy {
    position: relative;
    background:
        radial-gradient(circle at 12% 8%, rgba(39, 200, 243, .18) 0%, rgba(39, 200, 243, 0) 46%),
        radial-gradient(circle at 88% 82%, rgba(84, 229, 225, .13) 0%, rgba(84, 229, 225, 0) 52%),
        linear-gradient(155deg, #050F1F 0%, var(--navy-700) 56%, var(--navy-600) 100%);
    color: #fff;
}

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

.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark p { color: rgba(255, 255, 255, .76); }

.gold-rule {
    width: 58px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), rgba(39, 200, 243, 0));
}

/* Hero */
.hero { position: relative; overflow: hidden; background: #04101F; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .5;
    filter: saturate(.72) contrast(1.06);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(4, 16, 31, .97) 0%, rgba(7, 21, 45, .92) 46%, rgba(16, 42, 80, .74) 100%);
}
.hero-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(39, 200, 243, .085) 1px, transparent 1px),
        linear-gradient(90deg, rgba(39, 200, 243, .085) 1px, transparent 1px);
    background-size: 68px 68px;
    -webkit-mask-image: radial-gradient(circle at 72% 44%, #000 0%, rgba(0, 0, 0, .34) 46%, transparent 74%);
    mask-image: radial-gradient(circle at 72% 44%, #000 0%, rgba(0, 0, 0, .34) 46%, transparent 74%);
}
.hero-glow,
.hero-accent {
    position: absolute;
    right: -12%;
    top: -24%;
    width: 46rem;
    height: 46rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(39, 200, 243, .2) 0%, rgba(39, 200, 243, 0) 66%);
    pointer-events: none;
}
.hero-globe {
    position: absolute;
    right: -5rem;
    bottom: -9rem;
    width: 32rem;
    height: 32rem;
    opacity: .6;
    pointer-events: none;
    display: none;
    animation: floatGlobe 22s ease-in-out infinite;
}
.hero-globe svg { width: 100%; height: 100%; }
@media (min-width: 1024px) { .hero-globe { display: block; } }

.hero-trust {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, .12);
    background: rgba(5, 16, 33, .58);
    backdrop-filter: blur(8px);
}
.hero-trust-inner {
    display: grid;
    gap: 1rem;
    padding: 1.15rem 0;
    font-size: .78rem;
    letter-spacing: .01em;
    color: rgba(255, 255, 255, .82);
}
@media (min-width: 640px) {
    .hero-trust-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.hero-trust-item { display: flex; align-items: center; gap: .55rem; }
.hero-trust-item i { color: var(--gold-400); font-size: .8rem; }

/* Page hero */
.page-hero { position: relative; overflow: hidden; background: #04101F; }
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .45;
    filter: saturate(.72) contrast(1.05);
}
.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(4, 16, 31, .96) 0%, rgba(7, 21, 45, .9) 55%, rgba(16, 42, 80, .72) 100%);
}

.stack-relative { position: relative; z-index: 2; }