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

@property --home-agent-cta-angle {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

:root {
    --gold: #C9A050;
    --gold-soft: #D8B86A;
    --gold-deep: #B8923E;
    --rich-gold: #C9A961;
    --gold-glow: rgba(201,169,97,0.6);
    --steel: #3C434D;
    --steel-soft: #5A6370;
    --steel-deep: #2A3038;
    --steel-glow: rgba(60,67,77,0.45);
    --ink: #080808;
    --glass: rgba(10,10,10,0.62);
    --line: rgba(255,255,255,0.08);
    --soft-white: rgba(255,255,255,0.88);
    --chat-size: 58px;
    --chat-panel-width: 320px;
    --chat-panel-thread-width: 520px;
    --chat-radius: 16px;
}

.scroll-root {
    position: fixed;
    top: 92px;
    bottom: 60px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1;
}

body.has-scroll-root {
    overflow: hidden;
}

body {
    font-family: 'Inter', 'Roboto', sans-serif;
    background: #070707;
    color: #fff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.ambient {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(1200px circle at 18% 12%, rgba(201,160,80,0.12), transparent 55%),
        radial-gradient(900px circle at 82% 20%, rgba(90,130,255,0.10), transparent 55%),
        radial-gradient(700px circle at 50% 85%, rgba(255,255,255,0.05), transparent 60%);
    opacity: 0.7;
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.028) 0%, rgba(255,255,255,0.008) 100%),
        rgba(2,2,2,0.965);
    backdrop-filter: blur(10px);
    padding: 13px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 14px 34px rgba(0,0,0,0.55);
}

.main-header::after {
    content: '';
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
    opacity: 0.35;
}

.logo-container {
    flex: 1;
    display: flex;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-img {
    height: 74px;
    width: auto;
    max-width: 320px;
    display: block;
}

.logo-icon {
    width: 50px;
    height: 50px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-abc {
    font-size: 32px;
    font-weight: 900;
    color: #C9A050;
    letter-spacing: 2px;
    line-height: 1;
}

.logo-subtitle {
    font-size: 11px;
    font-weight: 500;
    color: #C9A050;
    letter-spacing: 3px;
    margin-top: 2px;
}

/* Main Navigation */
.main-nav {
    display: flex;
    gap: 0;
    align-items: center;
    padding: 6px 6px;
    background: transparent;
    border: none;
    border-radius: 999px;
    backdrop-filter: blur(12px);
    box-shadow: none;
    position: relative;
    --nav-corner: 10px;
}

.main-nav::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 42px;
    transform: translateY(-50%);
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.01) 100%),
        rgba(6,6,6,0.78);
    border: none;
    box-shadow:
        0 12px 28px rgba(0,0,0,0.6),
        inset 0 1px 0 rgba(255,255,255,0.04);
    opacity: 1;
    pointer-events: none;
}

.main-nav::after {
    content: '';
    display: none;
    pointer-events: none;
}

.nav-btn {
    padding: 10px 22px;
    background: rgba(12,12,12,0.6);
    color: rgba(255,255,255,0.78);
    text-decoration: none;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 2.8px;
    transition: color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    text-transform: uppercase;
    border-radius: 0;
    z-index: 1;
}

.main-nav > * + * .nav-btn {
    box-shadow: none;
}

.main-nav > .nav-btn:first-child,
.main-nav > :first-child .nav-btn {
    border-top-left-radius: var(--nav-corner);
    border-bottom-left-radius: var(--nav-corner);
}

.main-nav > .nav-btn:last-child,
.main-nav > :last-child .nav-btn {
    border-top-right-radius: var(--nav-corner);
    border-bottom-right-radius: var(--nav-corner);
}

.nav-btn::before {
    content: '';
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.nav-btn::after {
    content: none;
    display: none;
}

.nav-btn.active,
.nav-btn:hover {
    color: #fff;
}

.nav-btn.active {
    color: #F6F7FA;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.08) 35%, rgba(0,0,0,0.4) 100%),
        rgba(24,26,30,0.98);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.45),
        0 12px 26px rgba(0,0,0,0.6);
    text-shadow: 0 1px 8px rgba(0,0,0,0.6);
    z-index: 3;
}

.nav-btn:hover:not(.active) {
    background: rgba(255,255,255,0.02);
    box-shadow:
        0 8px 18px rgba(0,0,0,0.45),
        0 0 0 1px rgba(255,255,255,0.22);
    z-index: 2;
}

.nav-btn:hover::before,
.nav-btn.active::before {
    opacity: 0;
}

/* Dropdown Navigation */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 50px;
    background: transparent;
    pointer-events: auto;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(10,10,10,0.92);
    min-width: 200px;
    box-shadow: 0 20px 44px rgba(0,0,0,0.6);
    z-index: 1001;
    border: 1px solid rgba(255,255,255,0.08);
    border-top: 1px solid rgba(60,67,77,0.65);
    border-radius: 10px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(0);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    backdrop-filter: blur(10px);
    pointer-events: none;
}

.nav-dropdown:last-child .dropdown-content {
    right: 6px;
    left: auto;
}

.dropdown-content a {
    display: block;
    padding: 12px 20px;
    color: #fff;
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.8px;
    transition: color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.dropdown-content a:hover {
    background:
        linear-gradient(90deg, rgba(60,67,77,0.85) 0%, rgba(42,48,56,0.92) 55%, rgba(42,48,56,0.7) 100%);
    color: #F4F7FA;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 10px 24px rgba(0,0,0,0.5);
    transform: translateX(2px);
}

.nav-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-dropdown.open .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-dropdown:hover .nav-btn {
    color: #fff;
    background: rgba(255,255,255,0.02);
    box-shadow:
        0 8px 18px rgba(0,0,0,0.45),
        0 0 0 1px rgba(255,255,255,0.22);
    z-index: 2;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(1000px circle at 16% 15%, rgba(139,230,255,0.2), transparent 62%),
        radial-gradient(980px circle at 84% 8%, rgba(215,178,107,0.16), transparent 64%),
        linear-gradient(rgba(4,7,12,0.46), rgba(3,4,8,0.82)),
        url('../PAGES/HOME/HERO/HOME%20PAGE%20BACKGROUND.jpg') 60% center/cover;
    overflow: hidden;
    perspective: 1200px;
    z-index: 1;
}

body.page-index .hero {
    flex: 1 1 auto;
    height: auto;
    min-height: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 45%, rgba(255,255,255,0.06), transparent 45%);
    opacity: 0.6;
    pointer-events: none;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0,0,0,0) 0%, rgba(0,0,0,0.66) 55%, rgba(0,0,0,0.9) 100%);
    pointer-events: none;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.54) 60%, rgba(0,0,0,0.8) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 980px;
    padding: 0 20px;
    animation: hero-fade 1.1s ease-out both, hero-float 5s ease-in-out 1.2s infinite;
    transform-style: preserve-3d;
}

.hero-title {
    font-size: 66px;
    font-weight: 800;
    color: #F7F7F7;
    margin-bottom: 24px;
    letter-spacing: 0.8px;
    line-height: 1.03;
    text-shadow: 0 10px 30px rgba(0,0,0,0.65), 0 2px 12px rgba(0,0,0,0.45);
    text-transform: uppercase;
    font-family: 'Arial', 'Inter', sans-serif;
    animation: hero-title 1.2s ease-out 0.1s both;
}

.hero-line {
    display: block;
}

.hero-subtitle {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.86);
    margin-bottom: 40px;
    letter-spacing: 4.2px;
    text-transform: uppercase;
    font-family: 'Inter', 'Roboto', sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
    text-shadow: 0 1px 2px rgba(0,0,0,0.55);
    animation: hero-subtitle 1.2s ease-out 0.25s both;
}

body.page-index .hero .home-agent-cta {
    --home-agent-cta-angle: 0deg;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 253px;
    height: 44px;
    padding: 0 42px;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.10), transparent 38%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.072), rgba(255, 255, 255, 0.022) 36%, rgba(0, 0, 0, 0.96) 100%),
        #050506;
    color: rgba(255, 255, 255, 0.98);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--abc-radius-control);
    cursor: pointer;
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
    box-shadow:
        0 24px 44px rgba(0, 0, 0, 0.62),
        0 0 0 1px rgba(255, 255, 255, 0.045),
        inset 0 1px 0 rgba(255, 255, 255, 0.13),
        inset 0 -1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    isolation: isolate;
    overflow: visible;
    text-shadow: none;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
    backdrop-filter: none;
}

body.page-index .hero .home-agent-cta::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--abc-radius-control) + 3px);
    padding: 1px;
    background: conic-gradient(
        from var(--home-agent-cta-angle),
        transparent 0%,
        transparent 66%,
        rgba(255, 255, 255, 0.12) 74%,
        rgba(255, 255, 255, 0.60) 82%,
        rgba(255, 255, 255, 0.86) 86%,
        rgba(255, 255, 255, 0.44) 92%,
        transparent 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
    opacity: 0.76;
    animation: home-agent-cta-snake 4.5s linear infinite;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.18)) drop-shadow(0 0 11px rgba(255, 255, 255, 0.08));
    transition: filter 0.28s ease, opacity 0.28s ease, padding 0.28s ease;
    pointer-events: none;
}

body.page-index .hero .home-agent-cta::after {
    content: none;
}

body.page-index .hero .home-agent-cta:hover {
    transform: translateY(-2px);
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.10), transparent 38%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.072), rgba(255, 255, 255, 0.022) 36%, rgba(0, 0, 0, 0.96) 100%),
        #050506;
    color: rgba(255, 255, 255, 0.98);
    border-color: rgba(255, 255, 255, 0.34);
    box-shadow:
        0 28px 48px rgba(0, 0, 0, 0.64),
        0 0 0 1px rgba(255, 255, 255, 0.11),
        0 0 16px rgba(255, 255, 255, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

body.page-index .hero .home-agent-cta:hover::before {
    padding: 2px;
    opacity: 0.88;
    background: conic-gradient(
        from var(--home-agent-cta-angle),
        transparent 0%,
        transparent 64%,
        rgba(255, 255, 255, 0.10) 72%,
        rgba(255, 255, 255, 0.52) 80%,
        rgba(255, 255, 255, 0.82) 85%,
        rgba(255, 255, 255, 0.42) 92%,
        rgba(255, 255, 255, 0.12) 96%,
        transparent 100%
    );
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.26)) drop-shadow(0 0 15px rgba(255, 255, 255, 0.12)) brightness(1.04);
}

body.page-index .hero .home-agent-cta:active {
    transform: translateY(0);
}

@keyframes home-agent-cta-snake {
    to { --home-agent-cta-angle: 360deg; }
}

/* Footer Navigation */
.footer-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 20px 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.022) 0%, rgba(255,255,255,0.007) 100%),
        rgba(2,2,2,0.965);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 -14px 34px rgba(0,0,0,0.55);
    font-family: 'Arial', sans-serif;
    z-index: 1000;
}

.footer-legal-links {
    position: absolute;
    left: 60px;
    top: 50%;
    display: flex;
    align-items: center;
    gap: 20px;
    transform: translateY(-50%);
}

.footer-legal-links a {
    color: rgba(255,255,255,0.28);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover,
.footer-legal-links a:focus-visible {
    color: rgba(255,255,255,0.68);
}

.footer-link {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    padding: 0;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #E4C47A;
    background-image: linear-gradient(180deg, #F7E6B0 0%, #D2A85A 55%, #9A6F2C 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 14px rgba(100,130,230,0.4);
}

.footer-link:not(:last-child) {
    border-right: none;
}

@keyframes hero-fade {
    from { opacity: 0; transform: translate3d(0,16px,20px); }
    to { opacity: 1; transform: translate3d(0,0,20px); }
}

@keyframes hero-float {
    0%, 100% { transform: translate3d(0, 0, 20px); }
    50% { transform: translate3d(0, -6px, 20px); }
}

@keyframes hero-title {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-subtitle {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
    .main-header {
        flex-direction: column;
        gap: 20px;
        padding: 15px 20px;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
        padding: 6px 8px;
    }

    .nav-btn {
        padding: 8px 12px;
        font-size: 9.5px;
        letter-spacing: 2.2px;
    }

    .hero-title {
        font-size: 30px;
        letter-spacing: 1px;
        line-height: 1.08;
    }

    body.page-index .hero-subtitle {
        font-size: 10px;
        letter-spacing: 2.1px;
        margin-bottom: 26px;
    }

    .footer-nav {
        flex-wrap: wrap;
        gap: 10px;
    }

    .footer-legal-links {
        position: fixed;
        left: 50%;
        top: auto;
        bottom: calc(var(--product-compact-footer-h, 68px) + 6px);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 13px;
        width: auto;
        transform: translateX(-50%);
        z-index: 1001;
        pointer-events: auto;
    }

    .footer-legal-links a {
        color: rgba(255,255,255,0.32);
        font-size: 7px;
        letter-spacing: 0.9px;
    }

    .footer-link {
        padding: 5px 15px;
        border: none !important;
    }
}

@media (min-width: 600px) and (max-width: 900px) {
    body.page-index .hero-subtitle {
        font-size: 10.5px;
        letter-spacing: 2.35px;
        margin-bottom: 28px;
    }
}

@media (orientation: landscape) and (max-height: 560px) and (max-width: 1100px) {
    body.page-index .hero-content {
        max-width: 660px;
    }

    body.page-index .hero-title {
        font-size: 38px;
        line-height: 1.03;
        margin-bottom: 12px;
    }

    body.page-index .hero-subtitle {
        font-size: 8.5px;
        letter-spacing: 1.85px;
        margin-bottom: 16px;
    }

    body.page-index .hero .home-agent-cta {
        width: 230px;
        height: 36px;
        font-size: 10.5px;
        letter-spacing: 1.65px;
        white-space: nowrap;
    }
}

@media (min-width: 769px) and (max-width: 1366px) and (pointer: coarse) {
    body.page-index .hero-subtitle {
        font-size: 10.5px;
        letter-spacing: 2.35px;
        margin-bottom: 28px;
    }

    .footer-legal-links {
        position: fixed;
        left: 50%;
        top: auto;
        bottom: calc(var(--product-compact-footer-h, 78px) + 7px);
        justify-content: center;
        gap: 15px;
        width: auto;
        transform: translateX(-50%);
        z-index: 1001;
        pointer-events: auto;
    }

    .footer-legal-links a {
        color: rgba(255,255,255,0.3);
        font-size: 7.5px;
        letter-spacing: 0.95px;
    }
}
