/* =====================
   BASE & RESET
===================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-right: env(safe-area-inset-right, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-left: env(safe-area-inset-left, 0px);
    --color-bg: #07111f;
    --color-bg-2: #0a1629;
    --color-bg-3: #0e1d36;
    --color-surface: rgba(8, 19, 37, 0.82);
    --color-surface-2: rgba(11, 27, 50, 0.92);
    --color-surface-3: rgba(15, 36, 65, 0.88);
    --color-border: rgba(115, 188, 255, 0.14);
    --color-border-strong: rgba(115, 188, 255, 0.26);
    --color-text: #e9f4ff;
    --color-text-muted: #8ea8c7;
    --color-accent: #4bb6ff;
    --color-accent-2: #2df6ff;
    --color-accent-3: #79a8ff;
    --color-accent-glow: rgba(45, 246, 255, 0.22);
    --font: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: "Space Grotesk", "IBM Plex Sans", sans-serif;
    --radius: 26px;
    --radius-sm: 16px;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
    --shadow-soft: 0 14px 34px rgba(0, 0, 0, 0.24);
    --music-energy: 0;
    --music-bass: 0;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    min-height: 100svh;
    font-family: var(--font);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: default;
    background:
        radial-gradient(circle at top left, rgba(45, 246, 255, 0.1), transparent 28%),
        radial-gradient(circle at 85% 10%, rgba(75, 182, 255, 0.12), transparent 32%),
        linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-2) 42%, #050c18 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(121, 168, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(121, 168, 255, 0.04) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(circle at center, black 35%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 35%, transparent 100%);
    opacity: 0.36;
}

a {
    color: inherit;
}

button,
a,
[role="button"],
summary {
    cursor: pointer;
}

input,
textarea,
select,
[contenteditable="true"] {
    cursor: text;
}

svg {
    display: block;
}

main,
.footer {
    position: relative;
    z-index: 1;
}

.hero,
.facts,
.about,
.services,
.cta,
.footer {
    isolation: isolate;
}

/* =====================
   REVEALS
===================== */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.08s;
}

.reveal-delay-2 {
    transition-delay: 0.16s;
}

.reveal-delay-3 {
    transition-delay: 0.24s;
}

.reveal-delay-4 {
    transition-delay: 0.32s;
}

.reveal-delay-5 {
    transition-delay: 0.4s;
}

/* =====================
   HEADER / NAV
===================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 max(2rem, calc(var(--safe-right) + 1rem)) 0 max(2rem, calc(var(--safe-left) + 1rem));
    background: rgba(5, 14, 27, 0.72);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-bottom: 1px solid rgba(115, 188, 255, 0.08);
}

.nav {
    max-width: 1240px;
    margin: 0 auto;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.nav-brand,
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text);
    text-decoration: none;
}

.nav-brand {
    position: relative;
    z-index: 2;
    transition: filter 0.38s ease, transform 0.38s ease;
}

.header.is-anthem-docked .nav-brand {
    filter: drop-shadow(0 0 18px rgba(45, 246, 255, 0.22));
    transform: translateY(-1px);
}

.brand-icon {
    position: relative;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    border: 0;
    overflow: hidden;
    box-shadow:
        0 0 26px rgba(45, 246, 255, 0.14),
        0 10px 24px rgba(0, 0, 0, 0.24);
    isolation: isolate;
    animation: brandIconBreathe 5.6s ease-in-out infinite;
}

.brand-icon::before,
.brand-icon::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    pointer-events: none;
}

.brand-icon::before {
    background: conic-gradient(
        from 0deg,
        rgba(45, 246, 255, 0) 0deg,
        rgba(45, 246, 255, 0.42) 72deg,
        rgba(255, 105, 54, 0.54) 130deg,
        rgba(45, 246, 255, 0) 230deg,
        rgba(45, 246, 255, 0.28) 320deg,
        rgba(45, 246, 255, 0) 360deg
    );
    filter: blur(6px);
    opacity: 0.52;
    animation: brandHaloSpin 9s linear infinite;
}

.brand-icon::after {
    inset: -1px;
    border: 1px solid rgba(45, 246, 255, 0.18);
    box-shadow:
        0 0 16px rgba(45, 246, 255, 0.16),
        inset 0 0 10px rgba(255, 255, 255, 0.04);
    opacity: 0.74;
    animation: brandRingPulse 3.8s ease-in-out infinite;
}

.brand-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--color-accent-2);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.brand-icon img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.brand-name strong {
    color: var(--color-accent-2);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text-muted);
    font-size: 0.92rem;
    font-weight: 600;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.nav-links a:hover {
    color: var(--color-text);
    text-shadow: 0 0 12px rgba(45, 246, 255, 0.35);
}

.nav-links a.is-active {
    color: var(--color-text);
    text-shadow: 0 0 12px rgba(45, 246, 255, 0.35);
}

.nav-auth {
    display: flex;
    align-items: center;
}

.nav-menu-toggle,
.nav-mobile-panel,
.nav-mobile-backdrop {
    display: none;
}

.nav-auth > div {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-username {
    font-size: 0.86rem;
    color: var(--color-text-muted);
}

.nav-btn {
    padding: 9px 20px;
    font-size: 0.84rem;
}

.nav-menu-toggle {
    position: relative;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(115, 188, 255, 0.16);
    border-radius: 14px;
    background: rgba(8, 19, 37, 0.76);
    box-shadow:
        inset 0 0 0 1px rgba(45, 246, 255, 0.04),
        0 10px 24px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.nav-menu-toggle span {
    position: absolute;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--color-text);
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-menu-toggle span:nth-child(1) {
    transform: translateY(-6px);
}

.nav-menu-toggle span:nth-child(3) {
    transform: translateY(6px);
}

.nav-menu-toggle.is-open span:nth-child(1) {
    transform: rotate(45deg);
}

.nav-menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.nav-menu-toggle.is-open span:nth-child(3) {
    transform: rotate(-45deg);
}

.nav-mobile-panel {
    position: fixed;
    top: calc(var(--safe-top) + 88px);
    left: max(1rem, calc(var(--safe-left) + 0.85rem));
    right: max(1rem, calc(var(--safe-right) + 0.85rem));
    z-index: 135;
    padding: 1rem;
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(10, 24, 46, 0.96), rgba(5, 14, 27, 0.98));
    border: 1px solid rgba(75, 182, 255, 0.16);
    box-shadow:
        inset 0 0 0 1px rgba(45, 246, 255, 0.04),
        0 24px 54px rgba(0, 0, 0, 0.32);
}

.nav-mobile-panel[hidden] {
    display: none;
}

.nav-mobile-backdrop {
    position: fixed;
    inset: 0;
    z-index: 125;
    border: 0;
    background: rgba(3, 10, 20, 0.42);
}

.nav-mobile-backdrop[hidden] {
    display: none;
}

.nav-mobile-links {
    display: grid;
    gap: 0.55rem;
}

.nav-mobile-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0.75rem 0.9rem;
    border-radius: 16px;
    text-decoration: none;
    color: var(--color-text);
    background: rgba(8, 19, 37, 0.62);
    border: 1px solid rgba(115, 188, 255, 0.12);
}

.nav-mobile-account {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(115, 188, 255, 0.12);
}

.nav-mobile-account.is-empty {
    display: none;
}

.nav-mobile-auth-actions,
.nav-mobile-user {
    display: grid;
    gap: 0.6rem;
}

.nav-mobile-user {
    padding: 0.1rem 0;
}

.nav-mobile-user-label {
    font-size: 0.72rem;
    color: var(--color-accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-mobile-user-email {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-text);
    word-break: break-word;
    line-height: 1.3;
}

.nav-mobile-auth-btn {
    width: 100%;
    min-height: 42px;
    padding: 0.75rem 0.9rem;
    font-size: 0.86rem;
}

/* =====================
   BUTTONS
===================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 26px;
    border-radius: 999px;
    font-family: var(--font);
    font-size: 0.94rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.btn-primary {
    color: #03101d;
    background: linear-gradient(135deg, var(--color-accent-2), var(--color-accent));
    box-shadow:
        0 0 0 1px rgba(45, 246, 255, 0.12),
        0 0 28px rgba(45, 246, 255, 0.22);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 0 1px rgba(45, 246, 255, 0.2),
        0 0 36px rgba(45, 246, 255, 0.28);
}

.btn-outline {
    color: var(--color-text);
    background: rgba(8, 19, 37, 0.6);
    border-color: rgba(115, 188, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(75, 182, 255, 0.08);
}

.btn-outline:hover {
    transform: translateY(-2px);
    border-color: rgba(45, 246, 255, 0.32);
    background: rgba(11, 27, 50, 0.88);
}

body.auth-modal-open {
    overflow: hidden;
}

body.nav-mobile-open {
    overflow: hidden;
}

/* =====================
   AUTH MODAL
===================== */
.auth-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 240;
    display: flex;
    align-items: center;
    justify-content: center;
    padding:
        max(1.25rem, calc(var(--safe-top) + 1rem))
        max(1rem, calc(var(--safe-right) + 1rem))
        max(1.25rem, calc(var(--safe-bottom) + 1rem))
        max(1rem, calc(var(--safe-left) + 1rem));
    background:
        radial-gradient(circle at top, rgba(45, 246, 255, 0.12), transparent 28%),
        rgba(3, 10, 20, 0.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.auth-modal-backdrop[hidden] {
    display: none;
}

.auth-modal-shell {
    position: relative;
    width: min(100%, 520px);
}

.auth-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(115, 188, 255, 0.16);
    border-radius: 999px;
    background: rgba(6, 18, 34, 0.72);
    box-shadow: 0 0 20px rgba(45, 246, 255, 0.08);
}

.auth-modal-close span {
    position: absolute;
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: var(--color-text);
}

.auth-modal-close span:first-child {
    transform: rotate(45deg);
}

.auth-modal-close span:last-child {
    transform: rotate(-45deg);
}

.auth-modal-card {
    position: relative;
    padding: 2rem;
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(10, 24, 46, 0.96), rgba(5, 14, 27, 0.98));
    border: 1px solid rgba(75, 182, 255, 0.16);
    box-shadow:
        inset 0 0 0 1px rgba(45, 246, 255, 0.04),
        0 30px 80px rgba(0, 0, 0, 0.45);
}

.auth-modal-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.auth-modal-header {
    margin-bottom: 1.25rem;
}

.auth-modal-tag {
    margin-bottom: 0.9rem;
}

.auth-modal-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
    margin-bottom: 0.65rem;
}

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

.auth-modal-switcher {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.auth-switch-btn {
    min-height: 46px;
    border-radius: 999px;
    border: 1px solid rgba(115, 188, 255, 0.14);
    background: rgba(8, 19, 37, 0.6);
    color: var(--color-text-muted);
    font: inherit;
    font-weight: 700;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.auth-switch-btn.is-active {
    color: #03101d;
    background: linear-gradient(135deg, var(--color-accent-2), var(--color-accent));
    border-color: transparent;
    box-shadow: 0 0 24px rgba(45, 246, 255, 0.18);
}

.auth-modal-panel {
    display: none;
}

.auth-modal-panel.is-active {
    display: block;
}

.auth-modal-error {
    margin-bottom: 1rem;
    padding: 0.8rem 0.95rem;
    border-radius: 16px;
    background: rgba(255, 101, 132, 0.1);
    border: 1px solid rgba(255, 101, 132, 0.26);
    color: #ff97af;
    font-size: 0.88rem;
}

.auth-modal-form {
    display: grid;
    gap: 0.9rem;
}

.auth-modal-field {
    display: grid;
    gap: 0.4rem;
}

.auth-modal-field span {
    font-size: 0.85rem;
    font-weight: 700;
}

.auth-modal-input {
    width: 100%;
    min-height: 48px;
    padding: 0.78rem 0.95rem;
    border-radius: 16px;
    border: 1px solid rgba(115, 188, 255, 0.14);
    background: rgba(10, 24, 46, 0.88);
    color: var(--color-text);
    font: inherit;
    outline: none;
}

.auth-modal-input:focus {
    border-color: rgba(45, 246, 255, 0.36);
    box-shadow: 0 0 0 3px rgba(45, 246, 255, 0.08);
}

.auth-modal-input::placeholder {
    color: var(--color-text-muted);
}

.auth-modal-hint,
.auth-modal-footnote {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

.auth-modal-submit {
    width: 100%;
    margin-top: 0.2rem;
}

.auth-inline-link {
    border: 0;
    background: transparent;
    color: var(--color-accent-2);
    font: inherit;
    font-weight: 700;
    padding: 0;
}

/* =====================
   HERO
===================== */
.hero {
    position: relative;
    padding: calc(122px + var(--safe-top)) max(2rem, calc(var(--safe-right) + 1rem)) 5.5rem max(2rem, calc(var(--safe-left) + 1rem));
    overflow: hidden;
    --mx: 50%;
    --my: 50%;
}

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

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(75, 182, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(75, 182, 255, 0.08) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(circle at center, black 36%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 36%, transparent 100%);
}

.hero-glow,
.hero-cursor-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
}

.hero-glow-a {
    width: 340px;
    height: 340px;
    top: 60px;
    right: 10%;
    background: rgba(45, 246, 255, 0.16);
    animation: slowPulse 9s ease-in-out infinite;
}

.hero-glow-b {
    width: 280px;
    height: 280px;
    bottom: 40px;
    left: 6%;
    background: rgba(75, 182, 255, 0.15);
    animation: slowPulse 11s ease-in-out infinite reverse;
}

body.anthem-live .hero-glow-a,
body.anthem-live .hero-glow-b {
    opacity: calc(0.68 + (var(--music-energy) * 0.55));
}

.hero-cursor-glow {
    width: 280px;
    height: 280px;
    left: calc(var(--mx) - 140px);
    top: calc(var(--my) - 140px);
    background: rgba(45, 246, 255, 0.18);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.hero-shell {
    position: relative;
    z-index: 3;
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(380px, 460px);
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 640px;
}

.hero-topbar {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
}

.hero-badge,
.section-tag {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(13, 36, 67, 0.9);
    border: 1px solid rgba(75, 182, 255, 0.18);
    color: var(--color-accent-2);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 0 18px rgba(45, 246, 255, 0.08);
}

.hero-badge {
    margin-bottom: 0;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 6.1rem);
    line-height: 0.96;
    letter-spacing: -0.06em;
    margin-bottom: 1.3rem;
}

.hero-accent {
    display: block;
    color: var(--color-accent-2);
    text-shadow: 0 0 18px rgba(45, 246, 255, 0.22);
}

.hero-subtitle {
    max-width: 600px;
    margin-bottom: 2rem;
    font-size: 1.08rem;
    color: var(--color-text-muted);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 1.2rem;
}

.hero-notes {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.hero-note {
    padding: 0.72rem 0.96rem;
    border-radius: 999px;
    background: rgba(9, 22, 41, 0.82);
    border: 1px solid rgba(115, 188, 255, 0.12);
    color: var(--color-text-muted);
    font-size: 0.88rem;
    backdrop-filter: blur(12px);
}

.effect-toggle-cluster {
    position: fixed;
    top: calc(86px + var(--safe-top));
    left: max(calc(var(--safe-left) + 1rem), calc(50vw - 620px));
    z-index: 130;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    transform-origin: left center;
    transition:
        transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        gap 0.32s ease,
        opacity 0.24s ease,
        filter 0.32s ease;
    will-change: transform;
}

.anthem-toggle {
    margin-top: 0;
    margin-bottom: 1.2rem;
    width: auto;
    min-height: 0;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0;
    border-radius: 999px;
    background: transparent;
    border: 0;
    color: var(--color-text);
    text-align: left;
    box-shadow: none;
}

.anthem-toggle-pinned {
    width: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    gap: 0.55rem;
}

.anthem-company {
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 0.76rem;
    border-radius: 999px;
    background: rgba(9, 24, 45, 0.72);
    border: 1px solid rgba(75, 182, 255, 0.14);
    color: var(--color-accent-2);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    max-width: 220px;
    overflow: hidden;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition:
        max-width 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.28s ease,
        padding 0.32s ease,
        margin 0.32s ease,
        border-color 0.24s ease,
        background 0.24s ease,
        transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.anthem-toggle:hover {
    opacity: 0.96;
}

.anthem-toggle.is-live {
    filter: drop-shadow(0 0 18px rgba(45, 246, 255, 0.18));
}

.anthem-toggle-pinned.is-docked {
    gap: 0.25rem;
}

.anthem-toggle-pinned.is-docked .anthem-company {
    max-width: 0;
    opacity: 0;
    padding-left: 0;
    padding-right: 0;
    margin-right: -0.12rem;
    border-color: transparent;
    background: transparent;
    transform: translateX(10px);
}

.anthem-toggle-icon {
    width: 46px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 4px 6px;
    border-radius: 999px;
    background:
        linear-gradient(160deg, rgba(12, 33, 59, 0.8), rgba(6, 18, 34, 0.74));
    border: 1px solid rgba(75, 182, 255, 0.14);
    flex-shrink: 0;
    overflow: hidden;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition:
        box-shadow 0.3s ease,
        border-color 0.24s ease,
        background 0.24s ease,
        transform 0.32s ease;
}

.anthem-toggle-pinned.is-docked .anthem-toggle-icon {
    box-shadow:
        0 0 0 1px rgba(75, 182, 255, 0.1),
        0 0 18px rgba(45, 246, 255, 0.16);
}

.lightning-toggle {
    width: 42px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background:
        linear-gradient(160deg, rgba(12, 33, 59, 0.8), rgba(6, 18, 34, 0.74));
    color: var(--color-text);
    border: 1px solid rgba(75, 182, 255, 0.14);
    box-shadow: none;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition:
        box-shadow 0.3s ease,
        border-color 0.24s ease,
        background 0.24s ease,
        opacity 0.24s ease,
        transform 0.32s ease;
}

.lightning-toggle:hover {
    opacity: 0.96;
}

.lightning-toggle.is-live {
    box-shadow:
        0 0 0 1px rgba(75, 182, 255, 0.12),
        0 0 18px rgba(45, 246, 255, 0.16);
}

.lightning-toggle.is-docked {
    transform: translateX(-0.05rem);
}

.lightning-toggle-icon {
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lightning-symbol {
    width: 18px;
    height: 18px;
    overflow: visible;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.lightning-bolt-line {
    stroke: rgba(242, 250, 255, 0.95);
    stroke-width: 2.4;
    filter:
        drop-shadow(0 0 8px rgba(255, 255, 255, 0.4))
        drop-shadow(0 0 14px rgba(45, 246, 255, 0.2));
    transition:
        stroke 0.24s ease,
        filter 0.24s ease,
        opacity 0.24s ease;
}

.lightning-trace {
    stroke: rgba(45, 246, 255, 0.72);
    stroke-width: 1.9;
    opacity: 0.4;
    transition: opacity 0.24s ease;
}

.lightning-off-slash {
    stroke: rgba(255, 122, 122, 0.92);
    stroke-width: 2.2;
    opacity: 0;
    transition: opacity 0.24s ease;
}

.lightning-toggle.is-live .lightning-bolt-line {
    filter:
        drop-shadow(0 0 10px rgba(255, 255, 255, 0.56))
        drop-shadow(0 0 18px rgba(45, 246, 255, 0.34));
}

.lightning-toggle.is-live .lightning-trace {
    opacity: 0.92;
    animation: lightningToggleTrace 1.35s ease-in-out infinite;
}

.lightning-toggle:not(.is-live) .lightning-bolt-line,
.lightning-toggle:not(.is-live) .lightning-trace {
    opacity: 0.36;
}

.lightning-toggle:not(.is-live) .lightning-off-slash {
    opacity: 1;
}

.anthem-speaker {
    width: 17px;
    height: 17px;
    stroke: rgba(233, 244, 255, 0.92);
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    flex-shrink: 0;
}

.speaker-wave {
    opacity: 0.28;
    transition: opacity 0.24s ease;
}

.speaker-slash {
    stroke: rgba(45, 246, 255, 0.92);
    opacity: 0.88;
    transition: opacity 0.24s ease;
}

.anthem-bars {
    display: inline-flex;
    align-items: flex-end;
    justify-content: center;
    gap: 2px;
    height: 14px;
}

.anthem-bar {
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--color-accent-2), var(--color-accent));
    box-shadow: 0 0 14px rgba(45, 246, 255, 0.24);
    transform-origin: bottom center;
    opacity: 0.45;
}

.anthem-bar-1 { height: 8px; animation: anthemBars 0.9s ease-in-out infinite; }
.anthem-bar-2 { height: 14px; animation: anthemBars 0.7s ease-in-out infinite 0.1s; }
.anthem-bar-3 { height: 10px; animation: anthemBars 0.85s ease-in-out infinite 0.2s; }
.anthem-bar-4 { height: 6px; animation: anthemBars 0.75s ease-in-out infinite 0.15s; }

.anthem-toggle.is-live .speaker-wave {
    opacity: 1;
}

.anthem-toggle.is-live .speaker-wave-1 {
    animation: speakerPulse 1s ease-in-out infinite;
}

.anthem-toggle.is-live .speaker-wave-2 {
    animation: speakerPulse 1.2s ease-in-out infinite 0.12s;
}

.anthem-toggle.is-live .speaker-slash {
    opacity: 0;
}

.anthem-toggle.is-live .anthem-bar {
    opacity: 1;
}

.anthem-status {
    display: none;
}

.hero-visual {
    position: relative;
    z-index: 2;
    justify-self: end;
    width: 100%;
    max-width: 460px;
    min-height: 560px;
    pointer-events: none;
    isolation: isolate;
    overflow: visible;
}

.hero-brand-mark {
    position: absolute;
    top: -10px;
    right: 34px;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 154px;
    height: 154px;
    border-radius: 50%;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
    isolation: isolate;
}

.hero-brand-mark::before {
    content: "";
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    pointer-events: none;
    background: conic-gradient(
        from 18deg,
        rgba(45, 246, 255, 0) 0deg,
        rgba(45, 246, 255, 0.5) 68deg,
        rgba(255, 105, 54, 0.58) 132deg,
        rgba(45, 246, 255, 0.06) 214deg,
        rgba(45, 246, 255, 0.32) 312deg,
        rgba(45, 246, 255, 0) 360deg
    );
    filter: blur(8px);
    opacity: 0.56;
    animation: brandHaloSpin 11s linear infinite;
}

.hero-brand-mark-ring {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-brand-mark-ring--outer {
    inset: -6px;
    border: 1.3px solid rgba(83, 223, 255, 0.24);
    box-shadow:
        0 0 22px rgba(45, 246, 255, 0.18),
        inset 0 0 14px rgba(255, 255, 255, 0.05);
    opacity: 0.8;
    animation: brandRingPulse 4s ease-in-out infinite;
}

.hero-brand-mark-ring--inner {
    inset: -14px;
    border: 1px dashed rgba(83, 223, 255, 0.28);
    opacity: 0.36;
    animation: heroBrandOrbit 13s linear infinite;
}

.hero-brand-mark-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: none;
}

.page-lightning {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
    mix-blend-mode: screen;
}

body.lightning-disabled .page-lightning,
body.lightning-disabled .lightning-stage {
    opacity: 0;
    visibility: hidden;
}

.lightning-stage {
    position: absolute;
    inset: -24px;
    z-index: 4;
    overflow: visible;
}

.lightning-bolt {
    position: absolute;
    width: var(--bolt-width, 88px);
    height: var(--bolt-height, 180px);
    opacity: 0;
    transform-origin: top center;
    overflow: visible;
}

.lightning-bolt::after {
    content: "";
    position: absolute;
    inset: 8% 16%;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(193, 240, 255, 0.45) 0%, rgba(45, 246, 255, 0.14) 36%, transparent 76%);
    filter: blur(18px);
    opacity: 0;
    transform: scale(0.72);
}

.lightning-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.lightning-svg path {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    shape-rendering: geometricPrecision;
}

.lightning-glow {
    stroke: rgba(146, 227, 255, 0.92);
    stroke-width: calc(7px + (var(--bolt-strength, 0.75) * 10px));
    filter:
        blur(2px)
        drop-shadow(0 0 12px rgba(255, 255, 255, 0.88))
        drop-shadow(0 0 28px rgba(45, 246, 255, 0.95))
        drop-shadow(0 0 48px rgba(79, 189, 255, 0.7));
    opacity: 0;
}

.lightning-core {
    stroke: rgba(255, 255, 255, 0.98);
    stroke-width: calc(1.8px + (var(--bolt-strength, 0.75) * 2.6px));
    filter: drop-shadow(0 0 9px rgba(255, 255, 255, 0.88));
    opacity: 0;
}

.lightning-branch {
    stroke: rgba(175, 238, 255, 0.92);
    stroke-width: calc(1px + (var(--bolt-strength, 0.75) * 1.6px));
    filter:
        blur(0.4px)
        drop-shadow(0 0 10px rgba(45, 246, 255, 0.65));
    opacity: 0;
}

.lightning-bolt.is-pointer-locked .lightning-glow {
    filter:
        blur(2px)
        drop-shadow(0 0 14px rgba(255, 255, 255, 0.96))
        drop-shadow(0 0 34px rgba(45, 246, 255, 1))
        drop-shadow(0 0 58px rgba(114, 210, 255, 0.82));
}

.lightning-bolt.is-pointer-locked::after {
    background: radial-gradient(circle, rgba(218, 247, 255, 0.58) 0%, rgba(45, 246, 255, 0.22) 36%, transparent 76%);
}

body.is-safari-browser .page-lightning {
    mix-blend-mode: screen;
    opacity: 0.94;
}

body.is-safari-browser .lightning-bolt::after {
    filter: blur(14px);
    opacity: 0;
}

body.is-safari-browser .lightning-glow {
    stroke-width: calc(8px + (var(--bolt-strength, 0.75) * 11px));
    filter:
        drop-shadow(0 0 10px rgba(255, 255, 255, 0.96))
        drop-shadow(0 0 22px rgba(45, 246, 255, 0.95))
        drop-shadow(0 0 38px rgba(79, 189, 255, 0.78));
}

body.is-safari-browser .lightning-core {
    stroke-width: calc(2.2px + (var(--bolt-strength, 0.75) * 2.9px));
    filter:
        drop-shadow(0 0 7px rgba(255, 255, 255, 0.92))
        drop-shadow(0 0 14px rgba(45, 246, 255, 0.42));
}

body.is-safari-browser .lightning-branch {
    stroke-width: calc(1.2px + (var(--bolt-strength, 0.75) * 1.7px));
    filter: drop-shadow(0 0 8px rgba(45, 246, 255, 0.62));
}

.bolt-1 {
    top: -22px;
    left: -12px;
    width: 310px;
    height: 360px;
}

.bolt-2 {
    top: -10px;
    right: -28px;
    width: 300px;
    height: 390px;
}

.page-bolt {
    --bolt-width: 34vw;
    opacity: 0;
}

.page-bolt-1 {
    top: -4vh;
    left: 12%;
    width: 34vw;
    height: 62vh;
}

.page-bolt-2 {
    top: 8vh;
    right: 4%;
    width: 30vw;
    height: 58vh;
}

.page-bolt-3 {
    top: 32vh;
    left: 2%;
    width: 38vw;
    height: 56vh;
}

.lightning-bolt.is-flashing {
    animation: lightningFlash 0.38s ease-out forwards;
    animation-delay: var(--bolt-delay, 0ms);
}

.lightning-bolt.is-flashing::after {
    animation: lightningAura 0.42s ease-out forwards;
    animation-delay: var(--bolt-delay, 0ms);
}

.lightning-bolt.is-flashing .lightning-glow {
    animation: lightningGlow 0.42s ease-out forwards;
    animation-delay: var(--bolt-delay, 0ms);
}

.lightning-bolt.is-flashing .lightning-core {
    animation: lightningTrace 0.42s ease-out forwards;
    animation-delay: var(--bolt-delay, 0ms);
    stroke-dasharray: var(--path-length, 240);
    stroke-dashoffset: var(--path-length, 240);
}

.lightning-bolt.is-flashing .lightning-branch {
    animation: lightningBranchTrace 0.32s ease-out forwards;
    animation-delay: calc(var(--bolt-delay, 0ms) + 14ms);
    stroke-dasharray: var(--path-length, 120);
    stroke-dashoffset: var(--path-length, 120);
}

.hero-panel {
    position: absolute;
    z-index: 3;
    inset: 88px 20px 28px 20px;
    padding: 20px;
    border-radius: 34px;
    background:
        linear-gradient(180deg, rgba(10, 24, 46, 0.94), rgba(5, 14, 27, 0.96));
    border: 1px solid rgba(75, 182, 255, 0.18);
    box-shadow:
        inset 0 0 0 1px rgba(45, 246, 255, 0.05),
        0 0 42px rgba(45, 246, 255, 0.08),
        var(--shadow);
    transition: transform 0.35s ease;
}

body.anthem-live .hero-panel {
    box-shadow:
        inset 0 0 0 1px rgba(45, 246, 255, 0.05),
        0 0 calc(42px + (var(--music-bass) * 44px)) rgba(45, 246, 255, 0.16),
        var(--shadow);
}

.hero-panel::before {
    content: "";
    position: absolute;
    inset: 16px;
    border-radius: 26px;
    border: 1px solid rgba(75, 182, 255, 0.12);
    background:
        linear-gradient(135deg, rgba(45, 246, 255, 0.06), transparent 42%),
        linear-gradient(315deg, rgba(121, 168, 255, 0.08), transparent 52%);
}

.hero-panel-top {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 0.45rem;
    margin-bottom: 0.9rem;
}

.panel-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(121, 168, 255, 0.3);
    box-shadow: 0 0 12px rgba(45, 246, 255, 0.2);
}

.hero-scanline {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 54px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(45, 246, 255, 0.8), transparent);
    filter: drop-shadow(0 0 6px rgba(45, 246, 255, 0.65));
    animation: scanline 4.5s linear infinite;
    z-index: 1;
}

.hero-panel-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0.9rem;
    height: calc(100% - 1.5rem);
}

.panel-module {
    min-height: 92px;
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(14, 33, 61, 0.96), rgba(10, 24, 46, 0.96));
    border: 1px solid rgba(75, 182, 255, 0.14);
    box-shadow: inset 0 0 0 1px rgba(45, 246, 255, 0.04);
    position: relative;
    overflow: hidden;
}

.panel-module::after {
    content: "";
    position: absolute;
    inset: auto 12px 12px 12px;
    height: 2px;
    background: linear-gradient(90deg, rgba(45, 246, 255, 0.08), rgba(45, 246, 255, 0.7), rgba(45, 246, 255, 0.08));
    border-radius: 999px;
    box-shadow: 0 0 14px rgba(45, 246, 255, 0.24);
}

.panel-module-wide {
    grid-column: 1 / -1;
    min-height: 128px;
}

.panel-module-accent {
    background:
        linear-gradient(180deg, rgba(14, 46, 74, 0.96), rgba(8, 21, 39, 0.98));
}

.panel-module-tall {
    min-height: 182px;
}

.floating-card {
    position: absolute;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.92rem 1rem;
    border-radius: 18px;
    background: rgba(6, 18, 34, 0.88);
    border: 1px solid rgba(75, 182, 255, 0.18);
    box-shadow:
        0 0 26px rgba(45, 246, 255, 0.08),
        0 14px 28px rgba(0, 0, 0, 0.28);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-text);
    white-space: nowrap;
    transition: transform 0.35s ease;
    isolation: isolate;
    overflow: visible;
}

.floating-card > span:last-child {
    position: relative;
    z-index: 2;
    line-height: 1.15;
    text-shadow: 0 0 16px rgba(5, 14, 27, 0.42);
}

@keyframes brandIconBreathe {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-1px) scale(1.03);
    }
}

@keyframes brandHaloSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes brandRingPulse {
    0%, 100% {
        opacity: 0.54;
        transform: scale(1);
    }
    50% {
        opacity: 0.88;
        transform: scale(1.05);
    }
}

@keyframes heroBrandOrbit {
    from {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.02);
    }
    to {
        transform: rotate(360deg) scale(1);
    }
}

.mini-icon,
.service-icon,
.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(160deg, rgba(12, 33, 59, 0.94), rgba(6, 18, 34, 0.9));
    border: 1px solid rgba(75, 182, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(45, 246, 255, 0.06);
}

.mini-icon {
    position: relative;
    z-index: 3;
    width: 40px;
    height: 40px;
    border-radius: 14px;
    flex-shrink: 0;
}

.mini-icon svg,
.service-icon svg,
.info-icon svg {
    stroke: var(--color-accent-2);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mini-icon svg {
    width: 21px;
    height: 21px;
}

.card-1 {
    top: 8px;
    left: 4px;
    max-width: 432px;
    animation: floatCardA 8s ease-in-out infinite;
}

.card-2 {
    top: 218px;
    right: -22px;
    max-width: 456px;
    animation: floatCardB 8s ease-in-out infinite 2s;
}

.card-3 {
    bottom: 18px;
    left: 26px;
    max-width: 322px;
    animation: floatCardA 8s ease-in-out infinite 4s;
}

@keyframes floatCardA {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes floatCardB {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

@keyframes anthemBars {
    0%, 100% {
        transform: scaleY(0.48);
        opacity: 0.7;
    }
    50% {
        transform: scaleY(1.08);
        opacity: 1;
    }
}

@keyframes lightningToggleTrace {
    0%, 100% {
        opacity: 0.42;
        transform: translateX(0);
    }
    45% {
        opacity: 1;
        transform: translateX(0.5px);
    }
    70% {
        opacity: 0.72;
        transform: translateX(-0.35px);
    }
}

@keyframes speakerPulse {
    0%, 100% {
        transform: scale(0.96);
    }
    50% {
        transform: scale(1.06);
    }
}

@keyframes slowPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}

@keyframes scanline {
    0% {
        transform: translateY(0);
        opacity: 0;
    }
    10%,
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(360px);
        opacity: 0;
    }
}

@keyframes lightningFlash {
    0% {
        opacity: 0;
    }
    12% {
        opacity: var(--bolt-strength, 0.78);
    }
    28% {
        opacity: 0.1;
    }
    42% {
        opacity: calc(var(--bolt-strength, 0.78) * 0.85);
    }
    100% {
        opacity: 0;
    }
}

@keyframes lightningAura {
    0% {
        opacity: 0;
        transform: scale(0.72);
    }
    18% {
        opacity: calc(0.2 + (var(--bolt-strength, 0.78) * 0.35));
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.12);
    }
}

@keyframes lightningGlow {
    0% {
        opacity: 0;
    }
    14% {
        opacity: calc(0.42 + (var(--bolt-strength, 0.78) * 0.5));
    }
    32% {
        opacity: 0.14;
    }
    48% {
        opacity: calc(0.28 + (var(--bolt-strength, 0.78) * 0.38));
    }
    100% {
        opacity: 0;
    }
}

@keyframes lightningTrace {
    0% {
        opacity: 0;
        stroke-dashoffset: var(--path-length, 240);
    }
    16% {
        opacity: 1;
    }
    32% {
        opacity: 0.24;
    }
    48% {
        opacity: 0.94;
    }
    100% {
        opacity: 0;
        stroke-dashoffset: 0;
    }
}

@keyframes lightningBranchTrace {
    0% {
        opacity: 0;
        stroke-dashoffset: var(--path-length, 120);
    }
    20% {
        opacity: 0.82;
    }
    100% {
        opacity: 0;
        stroke-dashoffset: 0;
    }
}

/* =====================
   SHARED SECTIONS
===================== */
.section-container {
    max-width: 1240px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header-left {
    text-align: left;
    max-width: 760px;
}

.section-tag {
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.03;
    letter-spacing: -0.05em;
    margin-bottom: 0.9rem;
}

.section-desc {
    color: var(--color-text-muted);
    font-size: 1.02rem;
}

.section-header-actions {
    margin-top: 1.25rem;
    display: flex;
    justify-content: center;
}

/* =====================
   FACTS
===================== */
.facts {
    padding: 2rem max(2rem, calc(var(--safe-right) + 1rem)) 2rem max(2rem, calc(var(--safe-left) + 1rem));
}

.facts-container {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.6rem 1.8rem;
    border-radius: 30px;
    background: rgba(6, 18, 34, 0.76);
    border: 1px solid rgba(75, 182, 255, 0.12);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
}

.fact-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.35rem;
    border-radius: 18px;
    transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    border: 1px solid transparent;
    transform-style: preserve-3d;
}

.fact-item:hover {
    background: rgba(10, 24, 46, 0.7);
    border-color: rgba(45, 246, 255, 0.18);
    box-shadow: 0 0 26px rgba(45, 246, 255, 0.08);
}

.fact-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    color: var(--color-accent-2);
    text-shadow: 0 0 14px rgba(45, 246, 255, 0.2);
}

.fact-label {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.fact-divider {
    width: 1px;
    background: rgba(75, 182, 255, 0.12);
}

/* =====================
   ABOUT
===================== */
.about {
    padding: 4.8rem max(2rem, calc(var(--safe-right) + 1rem)) 1rem max(2rem, calc(var(--safe-left) + 1rem));
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.info-card {
    padding: 1.9rem;
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(10, 24, 46, 0.86), rgba(6, 18, 34, 0.92));
    border: 1px solid rgba(75, 182, 255, 0.14);
    box-shadow: var(--shadow-soft);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    transform-style: preserve-3d;
}

.info-card:hover {
    border-color: rgba(45, 246, 255, 0.22);
    box-shadow:
        0 0 26px rgba(45, 246, 255, 0.08),
        var(--shadow-soft);
}

.info-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 1.15rem;
    border-radius: 18px;
}

.info-icon svg {
    width: 30px;
    height: 30px;
}

.info-kicker {
    margin-bottom: 0.6rem;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent);
    font-weight: 700;
}

.info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    line-height: 1.14;
    letter-spacing: -0.03em;
    margin-bottom: 0.7rem;
}

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

.info-card a {
    color: var(--color-accent-2);
    font-weight: 600;
    text-decoration: none;
}

.info-card a:hover {
    text-decoration: underline;
}

/* =====================
   SERVICES
===================== */
.services {
    padding: 4.8rem max(2rem, calc(var(--safe-right) + 1rem)) 5rem max(2rem, calc(var(--safe-left) + 1rem));
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.service-card {
    position: relative;
    overflow: hidden;
    padding: 1.95rem;
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(10, 24, 46, 0.88), rgba(6, 18, 34, 0.95));
    border: 1px solid rgba(75, 182, 255, 0.14);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    transform-style: preserve-3d;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(45, 246, 255, 0.12), transparent 36%),
        linear-gradient(135deg, rgba(121, 168, 255, 0.08), transparent 50%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.service-card::after {
    content: "";
    position: absolute;
    left: -20%;
    right: -20%;
    top: -120px;
    height: 180px;
    background: linear-gradient(180deg, rgba(45, 246, 255, 0.14), transparent);
    transform: rotate(8deg);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.service-card:hover {
    border-color: rgba(45, 246, 255, 0.26);
    box-shadow:
        0 0 34px rgba(45, 246, 255, 0.09),
        0 20px 40px rgba(0, 0, 0, 0.28);
}

.service-card:hover::before,
.service-card:hover::after {
    opacity: 1;
}

.service-card--featured {
    border-color: rgba(45, 246, 255, 0.24);
    box-shadow:
        inset 0 0 0 1px rgba(45, 246, 255, 0.05),
        0 0 34px rgba(45, 246, 255, 0.08),
        var(--shadow-soft);
}

.service-icon {
    width: 66px;
    height: 66px;
    margin-bottom: 1rem;
    border-radius: 20px;
    position: relative;
    z-index: 1;
}

.service-icon svg {
    width: 32px;
    height: 32px;
}

.service-card h3,
.service-card p {
    position: relative;
    z-index: 1;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.18rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}

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

.service-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

/* =====================
   CATALOG
===================== */
.catalog-page {
    background:
        radial-gradient(circle at top left, rgba(45, 246, 255, 0.1), transparent 28%),
        radial-gradient(circle at 85% 10%, rgba(75, 182, 255, 0.12), transparent 32%),
        linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-2) 42%, #050c18 100%);
}

.catalog-main {
    padding-top: calc(118px + var(--safe-top));
    padding-bottom: calc(4rem + var(--safe-bottom));
}

.catalog-hero {
    padding: 1.25rem max(2rem, calc(var(--safe-right) + 1rem)) 2rem max(2rem, calc(var(--safe-left) + 1rem));
}

.catalog-section {
    padding: 0 max(2rem, calc(var(--safe-right) + 1rem)) 4rem max(2rem, calc(var(--safe-left) + 1rem));
}

.catalog-hero-card {
    padding: 2.3rem;
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(45, 246, 255, 0.12), transparent 24%),
        linear-gradient(135deg, rgba(9, 23, 43, 0.98), rgba(4, 11, 22, 0.98));
    border: 1px solid rgba(75, 182, 255, 0.16);
    box-shadow:
        inset 0 0 0 1px rgba(45, 246, 255, 0.04),
        0 24px 60px rgba(0, 0, 0, 0.34);
}

.catalog-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.9fr);
    gap: 1.4rem;
    align-items: center;
}

.catalog-hero-copy {
    min-width: 0;
}

.catalog-hero-visual {
    display: flex;
    justify-content: flex-end;
}

.catalog-hero-stats {
    margin-top: 1.4rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.catalog-hero-stat {
    min-width: 170px;
    padding: 1rem 1.1rem;
    border-radius: 20px;
    background: rgba(8, 19, 37, 0.6);
    border: 1px solid rgba(115, 188, 255, 0.14);
}

.catalog-hero-stat strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.catalog-hero-stat span {
    color: var(--color-text-muted);
    font-size: 0.86rem;
}

.catalog-category-grid,
.catalog-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
}

.catalog-card-link {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: inherit;
    text-decoration: none;
    min-height: 100%;
}

.catalog-category-card,
.catalog-product-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 100%;
    padding: 1.7rem;
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(10, 24, 46, 0.88), rgba(6, 18, 34, 0.95));
    border: 1px solid rgba(75, 182, 255, 0.14);
    box-shadow: var(--shadow-soft);
    color: inherit;
    text-decoration: none;
}

.catalog-card-media {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    aspect-ratio: 16 / 9;
    background:
        radial-gradient(circle at top left, rgba(45, 246, 255, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(10, 24, 46, 0.94), rgba(6, 18, 34, 0.96));
    border: 1px solid rgba(75, 182, 255, 0.12);
}

.catalog-card-media::after {
    content: "";
    position: absolute;
    inset: auto 9% 8% 9%;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(45, 246, 255, 0.2), rgba(45, 246, 255, 0.85), rgba(75, 182, 255, 0.34));
    box-shadow: 0 0 16px rgba(45, 246, 255, 0.18);
}

.catalog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.catalog-card-media--hero {
    aspect-ratio: 1 / 1;
    max-width: 340px;
    width: 100%;
}

.catalog-category-top,
.catalog-product-top,
.catalog-category-footer,
.catalog-toolbar,
.catalog-breadcrumbs,
.catalog-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.catalog-pill,
.catalog-count,
.catalog-product-lead,
.catalog-tag {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(115, 188, 255, 0.14);
    background: rgba(8, 19, 37, 0.58);
    color: var(--color-text-muted);
    font-size: 0.78rem;
    font-weight: 600;
}

.catalog-category-card h2,
.catalog-product-card h2 {
    font-family: var(--font-heading);
    font-size: 1.32rem;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.catalog-category-card p,
.catalog-product-card p,
.catalog-summary,
.catalog-breadcrumbs {
    color: var(--color-text-muted);
}

.catalog-arrow {
    color: var(--color-accent-2);
    font-weight: 700;
}

.catalog-back-link {
    white-space: nowrap;
}

.catalog-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.catalog-section-title {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.catalog-tag-list {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.catalog-breadcrumbs {
    margin-bottom: 0.9rem;
    font-size: 0.88rem;
}

.catalog-breadcrumbs a {
    text-decoration: none;
}

.catalog-pagination {
    margin-top: 1.8rem;
    justify-content: center;
}

.catalog-pagination-pages {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.catalog-pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 0.7rem 0.95rem;
    border-radius: 999px;
    text-decoration: none;
    color: var(--color-text);
    background: rgba(8, 19, 37, 0.6);
    border: 1px solid rgba(115, 188, 255, 0.14);
}

.catalog-pagination-link.is-active {
    color: #03101d;
    background: linear-gradient(135deg, var(--color-accent-2), var(--color-accent));
    border-color: transparent;
}

.catalog-pagination-link.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

.catalog-product-trigger {
    width: 100%;
    margin-top: auto;
}

.catalog-product-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 220;
    display: flex;
    align-items: center;
    justify-content: center;
    padding:
        max(1rem, calc(var(--safe-top) + 1rem))
        max(1rem, calc(var(--safe-right) + 1rem))
        max(1rem, calc(var(--safe-bottom) + 1rem))
        max(1rem, calc(var(--safe-left) + 1rem));
    background: rgba(2, 8, 18, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    opacity: 0;
    transition: opacity 0.24s ease;
}

.catalog-product-modal-backdrop[hidden] {
    display: none !important;
}

.catalog-product-modal-backdrop.is-active {
    opacity: 1;
}

.catalog-product-modal-backdrop.is-closing {
    opacity: 0;
}

.catalog-product-modal-shell {
    position: relative;
    width: min(1080px, 100%);
    transform: translateY(22px) scale(0.98);
    opacity: 0;
    transition:
        transform 0.26s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.22s ease;
}

.catalog-product-modal-backdrop.is-active .catalog-product-modal-shell {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.catalog-product-modal-backdrop.is-closing .catalog-product-modal-shell {
    transform: translateY(14px) scale(0.988);
    opacity: 0;
}

.catalog-product-modal-card {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    padding: 3.85rem 1.45rem 1.45rem;
    background:
        radial-gradient(circle at top right, rgba(45, 246, 255, 0.14), transparent 24%),
        linear-gradient(145deg, rgba(9, 23, 43, 0.98), rgba(4, 11, 22, 0.98));
    border: 1px solid rgba(75, 182, 255, 0.16);
    box-shadow:
        inset 0 0 0 1px rgba(45, 246, 255, 0.05),
        0 24px 68px rgba(0, 0, 0, 0.46);
}

.catalog-product-modal-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
    gap: 1.35rem;
    align-items: start;
}

.catalog-product-modal-media {
    overflow: hidden;
    border-radius: 26px;
    aspect-ratio: 1 / 1;
    border: 1px solid rgba(75, 182, 255, 0.14);
    background: linear-gradient(180deg, rgba(10, 24, 46, 0.88), rgba(6, 18, 34, 0.94));
}

.catalog-product-modal-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.catalog-product-modal-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
}

.catalog-product-modal-content .catalog-product-top {
    padding-right: 4.25rem;
    align-items: flex-start;
}

.catalog-modal-title {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3rem);
}

.catalog-modal-summary,
.catalog-product-modal-description {
    color: var(--color-text-muted);
}

.catalog-product-modal-description p {
    margin: 0;
}

.catalog-product-modal-specs {
    padding: 1rem 1.05rem;
    border-radius: 22px;
    background: rgba(8, 19, 37, 0.56);
    border: 1px solid rgba(115, 188, 255, 0.14);
}

.catalog-product-modal-specs h3 {
    margin: 0 0 0.85rem;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    letter-spacing: -0.03em;
}

.catalog-product-modal-specs dl {
    margin: 0;
}

.catalog-product-spec-line {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 0.8rem;
    padding: 0.65rem 0;
    border-top: 1px solid rgba(115, 188, 255, 0.12);
}

.catalog-product-spec-line:first-child {
    border-top: 0;
    padding-top: 0;
}

.catalog-product-spec-line dt {
    color: var(--color-text-muted);
}

.catalog-product-spec-line dd {
    margin: 0;
    text-align: right;
}

.catalog-product-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 3;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: rgba(7, 19, 36, 0.72);
    border: 1px solid rgba(75, 182, 255, 0.16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.catalog-product-modal-close span {
    position: absolute;
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: var(--color-text);
}

.catalog-product-modal-close span:first-child {
    transform: rotate(45deg);
}

.catalog-product-modal-close span:last-child {
    transform: rotate(-45deg);
}

body.catalog-product-modal-open {
    overflow: hidden;
}

/* =====================
   CTA / CONTACT
===================== */
.cta {
    padding: 0 max(2rem, calc(var(--safe-right) + 1rem)) 5rem max(2rem, calc(var(--safe-left) + 1rem));
}

.cta-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 2.4rem;
    border-radius: 32px;
    background:
        radial-gradient(circle at top right, rgba(45, 246, 255, 0.14), transparent 28%),
        linear-gradient(135deg, rgba(9, 23, 43, 0.98), rgba(4, 11, 22, 0.98));
    border: 1px solid rgba(75, 182, 255, 0.16);
    box-shadow:
        inset 0 0 0 1px rgba(45, 246, 255, 0.04),
        0 24px 60px rgba(0, 0, 0, 0.34);
}

.cta-copy {
    max-width: 720px;
    margin-bottom: 1.8rem;
}

.cta-copy .section-tag {
    background: rgba(14, 33, 61, 0.94);
}

.cta-copy h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.03;
    letter-spacing: -0.05em;
    margin-bottom: 0.9rem;
}

.cta-copy p,
.contact-footnote p {
    color: var(--color-text-muted);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-card {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 1.15rem 1.2rem;
    border-radius: 22px;
    background: rgba(10, 24, 46, 0.84);
    border: 1px solid rgba(75, 182, 255, 0.14);
    text-decoration: none;
    transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
    transform-style: preserve-3d;
}

.contact-card:hover {
    background: rgba(12, 31, 57, 0.92);
    border-color: rgba(45, 246, 255, 0.24);
    box-shadow: 0 0 26px rgba(45, 246, 255, 0.08);
}

.contact-label {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.contact-card strong {
    font-size: 1rem;
    line-height: 1.3;
}

.contact-footnote {
    display: grid;
    gap: 0.35rem;
    font-size: 0.9rem;
}

/* =====================
   FOOTER
===================== */
.footer {
    padding: 2rem max(2rem, calc(var(--safe-right) + 1rem)) calc(2rem + var(--safe-bottom)) max(2rem, calc(var(--safe-left) + 1rem));
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .header,
    .anthem-company,
    .anthem-toggle-icon,
    .hero-note,
    .facts-container {
        background: rgba(8, 19, 37, 0.94);
    }
}

@supports not (mix-blend-mode: screen) {
    .page-lightning {
        mix-blend-mode: normal;
        opacity: 0.78;
    }
}

.footer-container {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-copy {
    color: var(--color-text-muted);
    font-size: 0.88rem;
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 1120px) {
    .hero-shell {
        grid-template-columns: 1fr;
        gap: 2.2rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-visual {
        justify-self: center;
        max-width: 540px;
        min-height: 520px;
    }

    .hero-brand-mark {
        right: 22px;
    }

    .about-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

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

    .catalog-hero-layout,
    .catalog-product-modal-grid {
        grid-template-columns: 1fr;
    }

    .catalog-hero-visual {
        justify-content: flex-start;
    }

    .catalog-card-media--hero {
        max-width: 260px;
    }
}

@media (max-width: 860px) {
    .header {
        padding-left: max(1rem, calc(var(--safe-left) + 0.85rem));
        padding-right: max(1rem, calc(var(--safe-right) + 0.85rem));
    }

    .nav {
        height: 78px;
        min-height: 78px;
        padding: 0.9rem 0;
        flex-wrap: nowrap;
        align-items: center;
    }

    .nav-brand {
        min-width: 0;
        flex: 1 1 auto;
    }

    .nav-links {
        display: none;
    }

    .nav-auth {
        width: auto;
        margin-left: auto;
        flex: 0 1 auto;
    }

    .nav-auth > div,
    .nav-user {
        width: auto;
        justify-content: flex-end;
        flex-wrap: nowrap;
    }

    .nav-username {
        width: auto;
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 0.82rem;
    }

    .nav-btn {
        flex: 0 0 auto;
        min-width: 0;
        padding: 0.5rem 0.8rem;
        font-size: 0.76rem;
        white-space: nowrap;
    }

    .nav-menu-toggle {
        display: inline-flex;
    }

    .nav-mobile-panel {
        display: block;
        top: calc(var(--safe-top) + 88px);
    }

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

    .hero-topbar {
        align-items: stretch;
    }

    .effect-toggle-cluster {
        top: calc(148px + var(--safe-top));
        left: auto;
        right: max(1rem, calc(var(--safe-right) + 0.85rem));
        transition-duration: 0.24s;
    }

    .page-lightning {
        display: block;
        opacity: 0.76;
    }

    .lightning-stage {
        inset: -8px;
    }

    .page-bolt {
        --bolt-width: 46vw;
    }

    .page-bolt-1 {
        top: 6vh;
        left: -4%;
        width: 48vw;
        height: 36vh;
    }

    .page-bolt-2 {
        top: 18vh;
        right: -6%;
        width: 42vw;
        height: 34vh;
    }

    .page-bolt-3 {
        top: 42vh;
        left: -2%;
        width: 46vw;
        height: 34vh;
    }

    .page-bolt-4 {
        top: 54vh;
        right: -4%;
        width: 44vw;
        height: 32vh;
    }

    .page-bolt-5 {
        top: 74vh;
        left: 12%;
        width: 50vw;
        height: 24vh;
    }

    .facts-container {
        flex-direction: column;
    }

    .fact-divider {
        width: 100%;
        height: 1px;
    }

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

@media (max-width: 640px) {
    .header,
    .hero,
    .facts,
    .about,
    .services,
    .cta,
    .footer {
        padding-left: max(1rem, calc(var(--safe-left) + 0.85rem));
        padding-right: max(1rem, calc(var(--safe-right) + 0.85rem));
    }

    .hero {
        padding-top: calc(186px + var(--safe-top));
        padding-bottom: calc(4rem + var(--safe-bottom));
    }

    .catalog-main {
        padding-top: calc(98px + var(--safe-top));
    }

    .catalog-hero,
    .catalog-section {
        padding-left: max(1rem, calc(var(--safe-left) + 0.85rem));
        padding-right: max(1rem, calc(var(--safe-right) + 0.85rem));
    }

    .nav {
        min-height: 64px;
        height: 64px;
        padding: 0.6rem 0;
        flex-wrap: nowrap;
        gap: 0.65rem;
        align-items: center;
    }

    .nav-brand {
        gap: 0.55rem;
    }

    .brand-icon {
        width: 38px;
        height: 38px;
    }

    .brand-name {
        font-size: 0.94rem;
    }

    .nav-auth {
        width: auto;
        flex: 0 0 auto;
    }

    .nav-auth > div,
    .nav-user {
        width: auto;
        gap: 0.4rem;
        flex-wrap: nowrap;
        justify-content: flex-end;
    }

    .nav-btn {
        flex: 0 0 auto;
        min-width: 0;
        padding: 0.44rem 0.66rem;
        font-size: 0.69rem;
        line-height: 1.1;
        white-space: nowrap;
    }

    .nav-username {
        width: auto;
        max-width: 110px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .nav-menu-toggle {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .nav-menu-toggle span {
        width: 16px;
    }

    .nav-mobile-panel {
        top: calc(var(--safe-top) + 74px);
        padding: 0.82rem;
        border-radius: 18px;
    }

    .nav-mobile-link {
        min-height: 40px;
        padding: 0.68rem 0.78rem;
        font-size: 0.88rem;
    }

    .nav-mobile-user-email {
        font-size: 0.86rem;
    }

    .nav-mobile-auth-btn {
        min-height: 40px;
        padding: 0.68rem 0.78rem;
        font-size: 0.8rem;
    }

    .catalog-hero-card,
    .catalog-category-card,
    .catalog-product-card {
        padding: 1.35rem;
        border-radius: 22px;
    }

    .catalog-hero-stat {
        min-width: 136px;
        flex: 1 1 0;
    }

    .catalog-toolbar {
        align-items: stretch;
    }

    .catalog-back-link {
        width: 100%;
    }

    .catalog-pagination-link {
        min-width: 38px;
        min-height: 38px;
        padding: 0.58rem 0.82rem;
    }

    .catalog-product-modal-card {
        padding: 3.55rem 1rem 1rem;
        border-radius: 24px;
    }

    .catalog-card-media {
        border-radius: 18px;
    }

    .catalog-product-modal-media {
        border-radius: 20px;
    }

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

    .catalog-product-spec-line dd {
        text-align: left;
    }

    .catalog-product-modal-content .catalog-product-top {
        padding-right: 3.8rem;
    }

    .hero-title {
        font-size: clamp(2.5rem, 11vw, 4rem);
        line-height: 1;
    }

    .hero-subtitle {
        font-size: 0.98rem;
        margin-bottom: 1.5rem;
    }

    .hero-actions,
    .hero-notes {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-topbar {
        flex-direction: column;
        align-items: stretch;
    }

    .effect-toggle-cluster {
        top: calc(76px + var(--safe-top));
        right: max(1rem, calc(var(--safe-right) + 0.85rem));
        gap: 0.4rem;
    }

    .anthem-company {
        max-width: 146px;
        font-size: 0.62rem;
        padding: 0.32rem 0.56rem;
    }

    .anthem-toggle-icon {
        width: 40px;
        height: 28px;
    }

    .lightning-toggle {
        width: 38px;
        height: 28px;
    }

    .hero-visual {
        min-height: 430px;
        max-width: 100%;
    }

    .hero-brand-mark {
        width: 104px;
        height: 104px;
        top: 8px;
        right: 8px;
    }

    .hero-panel {
        inset: 86px 0 20px 0;
        padding: 15px;
    }

    .floating-card {
        font-size: 0.76rem;
        padding: 0.68rem 0.74rem;
        white-space: normal;
        max-width: 168px;
    }

    .card-2 {
        right: 0;
        top: 198px;
    }

    .card-3 {
        left: 4px;
        bottom: 10px;
    }

    .cta-container {
        padding: 1.5rem;
    }

    .footer-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .auth-modal-card {
        padding: 1.4rem;
        border-radius: 24px;
    }

    .auth-modal-title {
        font-size: 1.65rem;
    }

    .auth-modal-subtitle {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 0.86rem;
    }

    .nav {
        min-height: 58px;
        height: 58px;
        gap: 0.38rem;
    }

    .nav-brand {
        gap: 0.45rem;
        min-width: 0;
    }

    .brand-icon {
        width: 34px;
        height: 34px;
    }

    .nav-auth > div,
    .nav-user {
        gap: 0.32rem;
    }

    .nav-btn {
        width: auto;
        padding: 0.38rem 0.54rem;
        font-size: 0.64rem;
        border-radius: 999px;
    }

    .nav-username {
        display: none;
    }

    .nav-menu-toggle {
        width: 34px;
        height: 34px;
        border-radius: 11px;
    }

    .nav-menu-toggle span {
        width: 14px;
    }

    .nav-mobile-panel {
        top: calc(var(--safe-top) + 68px);
        padding: 0.74rem;
        border-radius: 16px;
    }

    .nav-mobile-links {
        gap: 0.45rem;
    }

    .nav-mobile-link {
        min-height: 38px;
        padding: 0.62rem 0.72rem;
        font-size: 0.82rem;
    }

    .nav-mobile-account {
        margin-top: 0.7rem;
        padding-top: 0.72rem;
    }

    .nav-mobile-user-label {
        font-size: 0.66rem;
    }

    .nav-mobile-user-email {
        font-size: 0.8rem;
    }

    .nav-mobile-auth-btn {
        min-height: 38px;
        padding: 0.62rem 0.72rem;
        font-size: 0.76rem;
    }

    .catalog-main {
        padding-top: calc(92px + var(--safe-top));
    }

    .catalog-hero-card,
    .catalog-category-card,
    .catalog-product-card {
        padding: 1.1rem;
        border-radius: 18px;
    }

    .catalog-category-card h2,
    .catalog-product-card h2 {
        font-size: 1.12rem;
    }

    .catalog-pill,
    .catalog-count,
    .catalog-product-lead,
    .catalog-tag {
        min-height: 28px;
        padding: 0.3rem 0.58rem;
        font-size: 0.72rem;
    }

    .catalog-section-heading {
        align-items: stretch;
    }

    .catalog-card-media {
        border-radius: 16px;
    }

    .catalog-card-media--hero {
        max-width: 220px;
    }

    .catalog-product-modal-card {
        padding: 3.2rem 0.85rem 0.85rem;
        border-radius: 20px;
    }

    .catalog-product-modal-close {
        top: 10px;
        right: 10px;
        width: 38px;
        height: 38px;
    }

    .catalog-product-modal-content .catalog-product-top {
        padding-right: 3.25rem;
        gap: 0.45rem;
    }

    .hero {
        padding-top: calc(164px + var(--safe-top));
    }

    .effect-toggle-cluster {
        top: calc(68px + var(--safe-top));
        right: max(0.9rem, calc(var(--safe-right) + 0.75rem));
        gap: 0.34rem;
    }

    .anthem-company {
        max-width: 118px;
        font-size: 0.57rem;
        padding: 0.28rem 0.46rem;
    }

    .anthem-toggle-icon {
        width: 36px;
        height: 26px;
        padding: 3px 5px;
    }

    .lightning-toggle {
        width: 34px;
        height: 26px;
    }

    .hero-title {
        font-size: clamp(2.2rem, 12vw, 3.2rem);
    }

    .hero-note {
        font-size: 0.82rem;
    }

    .hero-visual {
        min-height: 356px;
    }

    .hero-brand-mark {
        display: flex;
        width: 90px;
        height: 90px;
        top: 4px;
        right: 4px;
    }

    .hero-panel {
        inset: 64px 0 10px 0;
        min-height: 286px;
        padding: 13px;
    }

    .floating-card {
        display: flex;
        max-width: 144px;
        padding: 0.58rem 0.62rem;
        gap: 0.45rem;
        font-size: 0.68rem;
        border-radius: 16px;
    }

    .mini-icon {
        width: 32px;
        height: 32px;
        border-radius: 12px;
    }

    .mini-icon svg {
        width: 17px;
        height: 17px;
    }

    .card-1 {
        top: 2px;
        left: 0;
        max-width: 214px;
    }

    .card-2 {
        top: 162px;
        right: 0;
        max-width: 176px;
    }

    .card-3 {
        left: 0;
        bottom: 0;
        max-width: 164px;
    }

    .section-title,
    .cta-copy h2 {
        font-size: clamp(1.7rem, 8vw, 2.3rem);
    }

    .info-card,
    .service-card,
    .cta-container,
    .auth-modal-card {
        border-radius: 22px;
    }

    .auth-modal-backdrop {
        padding:
            max(0.85rem, calc(var(--safe-top) + 0.75rem))
            max(0.75rem, calc(var(--safe-right) + 0.75rem))
            max(0.85rem, calc(var(--safe-bottom) + 0.75rem))
            max(0.75rem, calc(var(--safe-left) + 0.75rem));
    }

    .auth-modal-card {
        padding: 1.1rem;
    }

    .auth-modal-close {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
    }

    .auth-modal-switcher {
        gap: 0.55rem;
    }
}

@media (hover: none), (pointer: coarse) {
    .hero-cursor-glow,
    .hero-glow-b {
        display: none;
    }

    .lightning-stage {
        opacity: 0.72;
    }

    .page-lightning {
        display: block;
        opacity: 0.72;
        mix-blend-mode: screen;
    }

    .interactive-card,
    .interactive-card:hover {
        transform: none !important;
    }
}

@supports (-webkit-touch-callout: none) {
    body,
    .hero,
    .auth-page {
        min-height: 100svh;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .catalog-product-modal-backdrop,
    .catalog-product-modal-shell {
        transition: none !important;
    }
}
