:root {
    --navy: #0d1234;
    --navy-2: #080b24;
    --blue: #3564ef;
    --blue-2: #1e4fd7;
    --cyan: #35e1d0;
    --violet: #7459ff;
    --text: #151b36;
    --muted: #6f7691;
    --line: rgba(23, 34, 82, 0.1);
    --shadow: 0 28px 80px rgba(20, 32, 82, 0.14);
}

* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: Inter, system-ui, sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #fff, #f7f9ff);
    overflow-x: hidden;
}
body.menu-open {
    overflow: hidden;
}
a {
    text-decoration: none;
    color: inherit;
}
button {
    font: inherit;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    z-index: 9999;
    background: linear-gradient(90deg, var(--cyan), var(--blue), var(--violet));
}

.cursor-dot,
.cursor-ring {
    position: fixed;
    left: 0;
    top: 0;
    pointer-events: none;
    z-index: 9998;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.cursor-dot {
    width: 7px;
    height: 7px;
    background: var(--blue);
}
.cursor-ring {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(53, 100, 239, 0.45);
    transition: 0.2s;
}
.cursor-ring.active {
    width: 58px;
    height: 58px;
    border-color: var(--cyan);
}

.topbar {
    background: var(--navy-2);
    color: white;
    padding: 8px 20px;
    font-size: 12px;
}
.topbar-inner {
    width: min(1180px, 100%);
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 22px;
    flex-wrap: wrap;
}
.topbar span {
    color: rgba(255, 255, 255, 0.72);
}

.site-header {
    position: fixed;
    top: 32px;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 12px 0;
    transition: 0.35s;
}
.site-header.scrolled {
    top: 0;
    padding: 8px 0;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 40px rgba(15, 23, 70, 0.08);
}
.nav-shell {
    width: min(1180px, calc(100% - 36px));
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 55px rgba(9, 18, 70, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.95);
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font: 800 19px Manrope;
    color: var(--navy);
}
.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    color: white;
    background: linear-gradient(135deg, var(--blue), var(--violet));
    transform: rotate(-7deg);
}
.desktop-nav {
    display: flex;
    gap: 8px;
}
.desktop-nav a {
    padding: 10px 13px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    color: #35405e;
    transition: 0.25s;
}
.desktop-nav a:hover {
    color: white;
    background: linear-gradient(135deg, var(--blue), var(--violet));
    transform: translateY(-2px);
}
.quote-btn {
    padding: 12px 18px;
    border-radius: 12px;
    color: white;
    font-size: 13px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--blue), var(--violet));
    box-shadow: 0 12px 28px rgba(53, 100, 239, 0.28);
}

.menu-btn {
    display: none;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 14px;
    background: var(--navy);
    position: relative;
}

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 9, 30, 0.52);
    backdrop-filter: blur(5px);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}
.mobile-overlay.show {
    opacity: 1;
    visibility: visible;
}
.mobile-drawer {
    width: min(88vw, 360px);
    height: 100%;
    padding: 28px;
    background: linear-gradient(180deg, #fff, #f3f6ff);
    transform: translateX(-105%);
    transition: 0.45s;
}
.mobile-overlay.show .mobile-drawer {
    transform: none;
}
.mobile-links {
    display: grid;
    gap: 10px;
    margin-top: 32px;
}
.mobile-links a {
    padding: 15px 16px;
    border-radius: 14px;
    background: white;
    border: 1px solid var(--line);
    font-weight: 700;
}

.hero {
    min-height: 500px;
    padding: 165px 20px 80px;
    display: grid;
    align-items: center;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(105deg, rgba(8, 14, 48, 0.94), rgba(19, 58, 142, 0.72)),
        url("/assets/images/terms_conditions/terms_conditions.jpg") center/cover;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    animation: gridMove 18s linear infinite;
}
@keyframes gridMove {
    to {
        background-position: 56px 56px;
    }
}
.hero-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(28px);
    background: radial-gradient(
        circle,
        rgba(53, 100, 239, 0.35),
        transparent 68%
    );
    right: -120px;
    top: 60px;
    animation: floatGlow 8s ease-in-out infinite alternate;
}
@keyframes floatGlow {
    to {
        transform: translate3d(-40px, 35px, 0) scale(1.12);
    }
}
.hero-inner {
    width: min(1180px, 100%);
    margin: auto;
    position: relative;
    z-index: 2;
    color: white;
}
.hero h1 {
    font: 800 clamp(48px, 7vw, 80px)/0.95 Manrope;
    letter-spacing: -0.06em;
    margin: 0 0 16px;
    background: linear-gradient(90deg, #fff, #dffcf8, #fff, #d3cbff);
    background-size: 260% auto;
    -webkit-background-clip: text;
    color: transparent;
    animation: shine 6s linear infinite;
}
@keyframes shine {
    to {
        background-position: 260% center;
    }
}
.breadcrumb {
    display: flex;
    gap: 10px;
    align-items: center;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
}
.hero-shape {
    position: absolute;
    left: -75px;
    bottom: -70px;
    width: 190px;
    height: 190px;
    background: linear-gradient(135deg, var(--blue), var(--blue-2));
    transform: rotate(45deg);
    animation: floatY 5s ease-in-out infinite;
}
@keyframes floatY {
    50% {
        transform: rotate(45deg) translateY(-14px);
    }
}

.section {
    padding: 92px 20px;
    position: relative;
}
.container {
    width: min(1180px, 100%);
    margin: auto;
}

.disclaimer-shell {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    align-items: start;
    padding: 40px;
    border-radius: 36px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.96),
        rgba(248, 250, 255, 0.94)
    );
    border: 1px solid rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}
.disclaimer-shell::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    right: -120px;
    top: -130px;
    background: radial-gradient(
        circle,
        rgba(53, 100, 239, 0.13),
        transparent 68%
    );
}
.disclaimer-shell > * {
    position: relative;
    z-index: 2;
}

.disclaimer-icon-card {
    position: sticky;
    top: 105px;
    padding: 28px;
    border-radius: 26px;
    color: white;
    background: linear-gradient(145deg, var(--navy), #18245d 62%, #312071);
    box-shadow: 0 24px 60px rgba(8, 15, 50, 0.2);
    text-align: center;
}
.disclaimer-icon {
    width: 84px;
    height: 84px;
    margin: 0 auto 20px;
    border-radius: 26px;
    display: grid;
    place-items: center;
    font-size: 36px;
    background: linear-gradient(135deg, var(--blue), var(--violet));
    box-shadow: 0 18px 40px rgba(53, 100, 239, 0.28);
    animation: iconFloat 4.5s ease-in-out infinite;
}
@keyframes iconFloat {
    50% {
        transform: translateY(-10px) rotateY(10deg);
    }
}
.disclaimer-icon-card h3 {
    font: 800 22px Manrope;
    margin: 0 0 10px;
}
.disclaimer-icon-card p {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
}

.disclaimer-content h2 {
    font: 800 clamp(38px, 5vw, 58px)/1.05 Manrope;
    letter-spacing: -0.05em;
    margin: 0 0 24px;
}
.legal-card {
    padding: 28px;
    border-radius: 24px;
    background: white;
    border: 1px solid rgba(23, 34, 82, 0.08);
    box-shadow: 0 16px 40px rgba(29, 42, 96, 0.07);
    transition: 0.35s;
}
.legal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 56px rgba(29, 42, 96, 0.11);
}
.legal-card h3 {
    font: 800 24px Manrope;
    margin: 0 0 14px;
}
.legal-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.95;
}
.notice-card {
    margin-top: 20px;
    padding: 22px;
    border-radius: 20px;
    color: white;
    background: linear-gradient(135deg, var(--blue), var(--violet));
    box-shadow: 0 22px 55px rgba(53, 100, 239, 0.25);
}
.notice-card strong {
    display: block;
    font: 800 18px Manrope;
    margin-bottom: 8px;
}
.notice-card span {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
}

footer {
    background: var(--navy-2);
    color: white;
    padding: 72px 20px 26px;
    position: relative;
    overflow: hidden;
}
.footer-grid {
    width: min(1160px, 100%);
    margin: auto;
    display: grid;
    grid-template-columns: 1.1fr 0.8fr 0.8fr 1.2fr;
    gap: 46px;
}
footer h4 {
    font: 700 16px Manrope;
    margin: 0 0 20px;
}
footer p,
footer a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    line-height: 1.9;
}
footer a {
    display: block;
    transition: 0.2s;
}
footer a:hover {
    color: white;
    transform: translateX(4px);
}
.footer-bottom {
    width: min(1160px, 100%);
    margin: 46px auto 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

.back-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 16px;
    color: white;
    background: linear-gradient(135deg, var(--blue), var(--violet));
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px);
    transition: 0.3s;
}
.back-top.show {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.reveal {
    opacity: 0;
    filter: blur(9px);
    transition:
        opacity 0.9s,
        transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1),
        filter 0.9s;
}
.reveal-left {
    transform: translateX(-80px);
}
.reveal-right {
    transform: translateX(80px);
}
.reveal-up {
    transform: translateY(70px);
}
.reveal.show {
    opacity: 1;
    filter: none;
    transform: none;
}

@media (max-width: 960px) {
    .topbar {
        display: none;
    }
    .site-header {
        top: 0;
    }
    .desktop-nav,
    .quote-btn {
        display: none;
    }
    .menu-btn {
        display: block;
    }
    .disclaimer-shell {
        grid-template-columns: 1fr;
    }
    .disclaimer-icon-card {
        position: relative;
        top: auto;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .cursor-dot,
    .cursor-ring {
        display: none;
    }
}
@media (max-width: 620px) {
    .nav-shell {
        width: calc(100% - 20px);
    }
    .hero {
        min-height: 470px;
        padding-top: 135px;
    }
    .section {
        padding: 72px 14px;
    }
    .disclaimer-shell {
        padding: 22px;
        border-radius: 24px;
    }
    .legal-card {
        padding: 22px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
}
