@import "lynx-primary-mobile.css";
@import "lynx-primary-desktop.css";

/* === Base & Reset === */
* {
    box-sizing: border-box;
}

*::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

*::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 8px;
}

*::-webkit-scrollbar-track {
    background: transparent;
}

body {
    font-family: "Inter", "Noto Sans", -apple-system, sans-serif;
    font-size: 14px;
    margin: 0;
    background: #ffffff;
    color: #1e293b;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* === Layout Containers === */
.container {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 15px;
}

.wide-container {
    width: 94%;
    max-width: 1200px;
    margin: 0 auto;
}

.row {
    margin: 0;
}

.anchor {
    position: relative;
    top: -80px;
    visibility: hidden;
}

/* === Spacing & Alignment Utilities === */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.v-padding-20 {
    padding: 20px 0 !important;
}

.v-padding-50 {
    padding: 50px 0 !important;
}

.v-padding-100 {
    padding: 100px 0 !important;
}

.margin-10 {
    margin: 10px;
}

.margin-20 {
    margin: 20px;
}

/* === Typography === */
h1,
h2,
h3,
h4,
h5 {
    color: #0f172a;
    font-weight: 700;
    margin: 0 0 10px 0;
}

h1 {
    font-size: 2.2rem;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.35rem;
}

h4 {
    font-size: 1.15rem;
}

h5 {
    font-size: 1rem;
}

p {
    margin: 0 0 10px 0;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #2563eb;
}

hr {
    height: 1px;
    border: none;
    background-color: #e2e8f0;
    margin: 25px 0;
}

li {
    margin-bottom: 8px;
}

/* === Floated Content === */
.image-right {
    max-width: 300px;
    display: block;
    margin-left: 15px;
    float: right;
}

.image-left {
    max-width: 300px;
    display: block;
    margin-right: 15px;
    float: left;
}

/* === Buttons === */
button {
    background: #0f172a;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

button:hover {
    background: #2563eb;
}

button.theme-switch {
    background: #1e293b;
    color: #e2e8f0;
    border-radius: 20px;
    padding: 6px 14px;
}

.close-button {
    color: #ef4444;
    cursor: pointer;
}

/* === Header === */
header {
    z-index: 200;
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #1e293b;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    height: 70px;
    font-size: 14px;
    padding: 0 15px;
    transition: height 0.2s ease;
}

header.small {
    height: 60px;
}

header>.container {
    max-width: 100% !important;
    width: 100% !important;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0;
}

header>.container>.logo-box {
    display: flex;
    align-items: center;
    height: 100%;
    margin-right: auto;
    flex-shrink: 0;
}

header>.container>.logo-box>a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

header>.container>.logo-box img {
    height: 38px;
    width: 38px;
    display: block;
    object-fit: contain;
    flex-shrink: 0;
}

header>.container>.logo-box h1,
header>.container>.logo-box h2 {
    margin: 0;
    padding: 0;
    font-size: 20px;
    line-height: 1;
    font-weight: 700;
    white-space: nowrap;
}

header>.container>ul>li {
    height: 70px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    list-style: none;
    font-weight: 500;
    position: relative;
    cursor: pointer;
}

header>.container>ul>li>a {
    display: inline-flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
}

/* Second-Level Dropdown Menu */
header ul>li>ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
    margin: 0;
    list-style: none;
    z-index: 250;
    text-align: left;
}

/* Invisible hover bridge to prevent submenu disappearing when moving cursor */
header ul>li>ul::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 15px;
    background: transparent;
}

header ul>li:hover>ul,
header ul>li:focus-within>ul,
header ul>li>ul.show,
header ul>li>ul.active {
    display: block;
}

header ul>li>ul>li {
    display: block !important;
    width: 100%;
    height: auto !important;
    padding: 0 !important;
    margin: 0;
    border: none !important;
    list-style: none;
}

header ul>li>ul>li>a {
    display: block;
    padding: 10px 18px;
    color: #334155;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

header ul>li>ul>li>a:hover {
    background: #f8fafc;
    color: #2563eb;
}

header>.container>ul.right-menu {
    text-align: right;
    margin-left: auto;
}

header>.container>btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 4px;
    padding: 0;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
    border-radius: 10px;
    color: #1e293b;
    background: transparent;
    border: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

header>.container>btn:hover {
    background: transparent;
    color: #2563eb;
}

header>.container>btn>i.bi,
header>.container>btn>.bi {
    font-size: 20px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* === Heading Banner === */
.heading {
    padding: 90px 15px 20px 15px;
    line-height: 1.5;
    border-bottom: 1px solid #e2e8f0;
}

/* === Pop Pages & Overlays === */
.pop-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999;
    overflow-y: auto;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.pop-page.active {
    display: flex !important;
}

.pop-dialog {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    max-width: 520px;
    width: 100%;
    margin: auto;
    position: relative;
    padding: 28px;
    box-sizing: border-box;
}

.pop-close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.pop-close-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: rotate(90deg);
}

.pop-alert {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: fixed !important;
    bottom: 24px !important;
    left: 24px !important;
    right: auto !important;
    top: auto !important;
    width: 440px !important;
    max-width: calc(100vw - 48px) !important;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 16px 44px rgba(15, 23, 42, 0.16);
    border: 1px solid rgba(90, 103, 216, 0.18);
    padding: 24px 28px !important;
    z-index: 99999 !important;
    display: none;
    box-sizing: border-box !important;
}

.pop-page.pop-alert.active,
.pop-alert.active {
    display: block !important;
    animation: popAlertSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes popAlertSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.pop-alert .whitepaper {
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.pop-alert h3,
.pop-alert h4 {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    margin-top: 0 !important;
    margin-bottom: 8px !important;
    color: #1a1a2e !important;
}

.pop-alert p {
    font-size: 13.5px !important;
    color: #64748b !important;
    line-height: 1.6 !important;
    margin-bottom: 16px !important;
}

.pop-alert p a {
    color: #5a67d8 !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
}

.pop-alert .close-button {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    width: 30px !important;
    height: 30px !important;
    border: none !important;
    background: transparent !important;
    color: #94a3b8 !important;
    box-shadow: none !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    font-size: 16px !important;
    border-radius: 50% !important;
}

.pop-alert .close-button:hover {
    background: #f1f5f9 !important;
    color: #ef4444 !important;
    transform: rotate(90deg) !important;
}

.pop-alert button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 9px 20px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    margin-right: 8px !important;
}

.place-bottom {
    bottom: 24px !important;
}

.place-top {
    top: 24px !important;
}

/* === Cards & Whitepaper === */
.whitepaper {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin: 15px 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

article {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin: 15px 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

article:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* === Tables === */
.table-padded td,
.table-padded th {
    padding: 10px 14px;
}

.table-bordered {
    border: 1px solid #e2e8f0;
    border-collapse: collapse;
}

.table-bordered td,
.table-bordered th {
    border: 1px solid #e2e8f0;
}

/* === Slider === */
.slider {
    width: 100%;
    overflow: hidden;
}

.slides-data {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.slide {
    scroll-snap-align: start;
    flex-shrink: 0;
    width: 100%;
    max-width: 800px;
    padding: 10px;
}

.big-slider .slide {
    height: 300px;
}

/* === Testimonial Slide === */
.review-slide {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.review-slide>.review-owner {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
}

.review-slide>.review-owner>img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 5px;
}

.review-slide>.review-text {
    flex-grow: 1;
}

/* === Footer === */
footer {
    border-top: 1px solid #e2e8f0;
    margin-top: auto;
    color: #64748b;
    padding: 30px 0;
    font-size: 13px;
}

footer .logo-box {
    margin-bottom: 15px;
}

footer .container img,
footer .logo-box img {
    max-width: 60px;
    height: auto;
    display: inline-block;
    vertical-align: middle;
}

footer .footer-icon {
    max-height: 36px;
    max-width: 46px;
    width: auto;
    height: auto;
    margin: 6px 10px 6px 0;
    vertical-align: middle;
    display: inline-block;
    object-fit: contain;
    transition: transform 0.2s ease;
}

footer .footer-icon:hover {
    transform: scale(1.1);
}

.language-data {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.language-data>a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 3px 6px 3px 0;
    font-size: 13px;
    color: #475569;
}

.language-data>a:hover {
    color: #2563eb;
}

.language-data>a>img,
.language-data img {
    height: 14px;
    width: 20px;
    border-radius: 2px;
    object-fit: cover;
    display: inline-block;
    vertical-align: middle;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

/* === Floating Linkbar === */
.linkbar {
    z-index: 210;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #1e293b;
    position: fixed;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.linkbar>a {
    color: #475569;
    padding: 10px;
    text-align: center;
    margin: 0;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.linkbar>a:hover {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.08);
}

.linkbar>a>img,
.linkbar img {
    width: 22px;
    height: 22px;
    max-width: 22px;
    max-height: 22px;
    object-fit: contain;
    display: block;
    margin: 0;
}

.linkbar>a>.bi,
.linkbar>a>i.bi {
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}