:root {
    --site-bg: #040816;
    --site-bg-soft: #071021;
    --site-surface: rgba(11, 20, 38, 0.82);
    --site-surface-strong: rgba(12, 21, 40, 0.94);
    --site-surface-alt: rgba(7, 15, 31, 0.92);
    --site-line: rgba(84, 198, 255, 0.16);
    --site-line-strong: rgba(255, 187, 55, 0.24);
    --site-ink: #eef6ff;
    --site-ink-soft: #bad0ea;
    --site-muted: #7d95b3;
    --site-brand: #2dd4ff;
    --site-brand-strong: #1b9ef5;
    --site-brand-deep: #0b4aa6;
    --site-accent: #ffb933;
    --site-accent-soft: #ffd978;
    --site-success: #32d7a8;
    --site-night: #02050f;
    --site-shadow: 0 1.25rem 2.75rem rgba(0, 0, 0, 0.32);
    --site-shadow-strong: 0 2rem 4rem rgba(0, 0, 0, 0.42);
    --site-gradient: linear-gradient(135deg, #0d1d3f 0%, #123a7a 38%, #10b7ef 72%, #ffb933 100%);
    --site-gradient-soft: linear-gradient(135deg, rgba(13, 29, 63, 0.65), rgba(18, 58, 122, 0.42), rgba(16, 183, 239, 0.18));
    --site-text-gradient: linear-gradient(135deg, #ffffff 0%, #82d8ff 40%, #ffd66e 100%);
    --site-radius: 1.55rem;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5.75rem;
}

body {
    font-family: "Mulish", sans-serif;
    color: var(--site-ink);
    background:
        radial-gradient(circle at 14% 12%, rgba(45, 212, 255, 0.15), transparent 22%),
        radial-gradient(circle at 84% 8%, rgba(255, 185, 51, 0.13), transparent 24%),
        radial-gradient(circle at 70% 76%, rgba(27, 158, 245, 0.12), transparent 18%),
        linear-gradient(180deg, #040816 0%, #050b18 34%, #040714 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(45, 212, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45, 212, 255, 0.045) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.34;
    z-index: 0;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 185, 51, 0.12), transparent 20%),
        radial-gradient(circle at 80% 30%, rgba(45, 212, 255, 0.1), transparent 18%),
        radial-gradient(circle at 50% 85%, rgba(50, 215, 168, 0.08), transparent 16%);
    filter: blur(28px);
    opacity: 0.65;
    z-index: 0;
}

body > * {
    position: relative;
    z-index: 1;
}

.home-page {
    overflow-x: hidden;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5 {
    font-family: "Kanit", sans-serif;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--site-ink);
}

p,
li {
    color: var(--site-ink-soft);
}

strong {
    color: var(--site-ink);
}

a {
    color: var(--site-brand);
}


a:hover {
    color: var(--site-accent-soft);
}

.bg-light {
    background: linear-gradient(180deg, rgba(8, 17, 34, 0.76), rgba(8, 16, 31, 0.92)) !important;
}

.bg-black {
    background-color: #02050f !important;
}

.bg-gradient-primary-to-secondary {
    background: linear-gradient(135deg, rgba(7, 21, 43, 0.96), rgba(13, 50, 106, 0.92), rgba(8, 116, 163, 0.88)) !important;
}

.font-alt,
#mainNav .navbar-nav .nav-item .nav-link,
.btn,
.eyebrow,
.site-breadcrumb,
.hero-kicker,
.section-kicker,
.signal-chip,
.store-button,
.nav-meta {
    font-family: "Kanit", sans-serif !important;
}

.text-gradient {
    background: var(--site-text-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-muted,
.text-white-50 {
    color: var(--site-muted) !important;
}

section,
aside {
    padding-top: 5.75rem;
    padding-bottom: 5.75rem;
}

#mainNav {
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
    background: rgba(4, 8, 22, 0.72);
    border-bottom: 1px solid rgba(45, 212, 255, 0.12);
    backdrop-filter: blur(18px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.18);
    transition: padding 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

#mainNav.navbar-shrink {
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    background: rgba(4, 9, 23, 0.92);
    border-color: rgba(45, 212, 255, 0.18);
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.34);
}

#mainNav .navbar-toggler {
    border: 1px solid rgba(45, 212, 255, 0.16);
    border-radius: 999px;
    padding: 0.6rem 0.95rem;
    color: var(--site-ink);
    background: rgba(11, 20, 38, 0.86);
}

#mainNav .navbar-collapse {
    border-radius: 1.25rem;
}

#mainNav .navbar-nav .nav-item .nav-link {
    color: var(--site-ink-soft);
    font-size: 0.84rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding: 0.65rem 0.8rem;
}

#mainNav .navbar-nav .nav-item .nav-link:hover,
#mainNav .navbar-nav .nav-item .nav-link.active {
    color: var(--site-ink);
}

.btn {
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: none !important;
}

.btn-primary {
    --bs-btn-color: #03101f;
    --bs-btn-bg: linear-gradient(135deg, #59e1ff 0%, #20b8ff 55%, #ffc24d 100%);
    --bs-btn-border-color: rgba(89, 225, 255, 0.3);
    --bs-btn-hover-color: #03101f;
    --bs-btn-hover-bg: #7de8ff;
    --bs-btn-hover-border-color: rgba(125, 232, 255, 0.5);
    --bs-btn-active-color: #03101f;
    --bs-btn-active-bg: #ffd46f;
    --bs-btn-active-border-color: rgba(255, 212, 111, 0.55);
    background-image: linear-gradient(135deg, #59e1ff 0%, #20b8ff 55%, #ffc24d 100%);
    box-shadow: 0 1rem 2rem rgba(32, 184, 255, 0.24) !important;
}

.btn-outline-light {
    --bs-btn-color: #f4f8ff;
    --bs-btn-border-color: rgba(244, 248, 255, 0.45);
    --bs-btn-hover-color: #03101f;
    --bs-btn-hover-bg: #f4f8ff;
    --bs-btn-hover-border-color: #f4f8ff;
}

.btn-light {
    --bs-btn-color: #041121;
    --bs-btn-bg: #f6fbff;
    --bs-btn-border-color: #f6fbff;
    --bs-btn-hover-color: #041121;
    --bs-btn-hover-bg: #ffffff;
    --bs-btn-hover-border-color: #ffffff;
}

.btn-outline-primary {
    --bs-btn-color: var(--site-brand);
    --bs-btn-border-color: rgba(45, 212, 255, 0.28);
    --bs-btn-hover-color: #041121;
    --bs-btn-hover-bg: var(--site-brand);
    --bs-btn-hover-border-color: var(--site-brand);
}

.masthead,
.page-hero,
.guide-hero {
    position: relative;
    overflow: hidden;
    padding-top: 8.75rem;
    padding-bottom: 5rem;
    background:
        radial-gradient(circle at 16% 18%, rgba(45, 212, 255, 0.18), transparent 22%),
        radial-gradient(circle at 86% 16%, rgba(255, 185, 51, 0.16), transparent 24%),
        linear-gradient(180deg, rgba(8, 16, 32, 0.98) 0%, rgba(4, 8, 22, 0.96) 100%);
}

.masthead::before,
.page-hero::before,
.guide-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(45, 212, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45, 212, 255, 0.07) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.24;
}

.masthead::after,
.page-hero::after,
.guide-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 24% 26%, rgba(45, 212, 255, 0.11), transparent 14%),
        radial-gradient(circle at 74% 24%, rgba(255, 185, 51, 0.11), transparent 13%),
        radial-gradient(circle at 58% 78%, rgba(32, 184, 255, 0.08), transparent 15%);
    filter: blur(18px);
}

.hero-kicker,
.section-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 0.95rem;
    border-radius: 999px;
    background: rgba(8, 20, 38, 0.82);
    border: 1px solid rgba(45, 212, 255, 0.16);
    color: var(--site-brand);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.79rem;
    box-shadow: 0 0.8rem 1.6rem rgba(0, 0, 0, 0.18);
}

.hero-kicker i,
.section-kicker i,
.eyebrow i {
    color: var(--site-accent);
}

.hero-copy {
    max-width: 36rem;
}

.hero-copy .lead {
    max-width: 32rem;
    font-size: 1.08rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 1.15rem;
}

.store-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 3.2rem;
    padding: 0.95rem 1.3rem;
    border-radius: 1rem;
    text-decoration: none;
    font-size: 0.98rem;
}

.store-button i {
    font-size: 1.1rem;
}

.hero-subnote {
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.hero-subnote strong {
    font-family: "Kanit", sans-serif;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-signal-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.signal-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.8rem 0.95rem;
    border-radius: 1rem;
    background: rgba(9, 19, 37, 0.78);
    border: 1px solid rgba(45, 212, 255, 0.14);
    color: var(--site-ink-soft);
    box-shadow: var(--site-shadow);
}

.signal-chip i {
    color: var(--site-accent);
}

.signal-chip strong {
    color: var(--site-ink);
    font-size: 0.92rem;
}

.chain-stage {
    position: relative;
    min-height: 34rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chain-stage::before {
    content: "";
    position: absolute;
    inset: 12% 6% 12% 6%;
    border-radius: 2rem;
    border: 1px solid rgba(45, 212, 255, 0.12);
    background:
        linear-gradient(180deg, rgba(9, 21, 39, 0.9), rgba(5, 11, 24, 0.72)),
        radial-gradient(circle at 18% 22%, rgba(45, 212, 255, 0.12), transparent 18%),
        radial-gradient(circle at 84% 18%, rgba(255, 185, 51, 0.12), transparent 18%);
    box-shadow: var(--site-shadow-strong);
}

.chain-stage::after {
    content: "";
    position: absolute;
    inset: 20% 12% 20% 12%;
    border-radius: 50%;
    border: 1px dashed rgba(45, 212, 255, 0.2);
    filter: blur(0.2px);
}

.hero-visual-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 31rem;
    padding: 1.25rem;
    border-radius: 1.75rem;
    background: linear-gradient(180deg, rgba(10, 23, 42, 0.95), rgba(5, 11, 24, 0.9));
    border: 1px solid rgba(45, 212, 255, 0.15);
    box-shadow: var(--site-shadow-strong);
}

.hero-terminal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.95rem;
    border-bottom: 1px solid rgba(45, 212, 255, 0.12);
}

.terminal-dots {
    display: inline-flex;
    gap: 0.45rem;
}

.terminal-dots span {
    display: block;
    width: 0.72rem;
    height: 0.72rem;
    border-radius: 50%;
}

.terminal-dots span:nth-child(1) {
    background: #ff7b72;
}

.terminal-dots span:nth-child(2) {
    background: #ffd978;
}

.terminal-dots span:nth-child(3) {
    background: #32d7a8;
}

.hero-terminal-meta {
    color: var(--site-muted);
    font-family: "Kanit", sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-ledger {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.15rem;
}

.ledger-cell {
    padding: 0.85rem 0.9rem;
    border-radius: 1rem;
    background: rgba(6, 16, 31, 0.95);
    border: 1px solid rgba(45, 212, 255, 0.12);
}

.ledger-cell small {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--site-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.7rem;
}

.ledger-cell strong {
    color: var(--site-ink);
    font-size: 1rem;
}

.hero-video-shell {
    margin-bottom: 1rem;
    padding: 1.1rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(45, 212, 255, 0.14);
    background:
        radial-gradient(circle at 22% 18%, rgba(45, 212, 255, 0.1), transparent 20%),
        radial-gradient(circle at 82% 14%, rgba(255, 185, 51, 0.1), transparent 18%),
        linear-gradient(180deg, rgba(5, 12, 24, 0.98), rgba(6, 15, 29, 0.92));
}

.hero-visual-card .device-wrapper {
    margin: 0 auto;
}

.hero-data-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.hero-data-chip {
    padding: 0.9rem;
    border-radius: 1rem;
    background: rgba(5, 14, 27, 0.95);
    border: 1px solid rgba(45, 212, 255, 0.12);
}

.hero-data-chip small {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--site-muted);
    font-family: "Kanit", sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-data-chip strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.hero-data-chip span {
    display: block;
    font-size: 0.84rem;
    color: var(--site-ink-soft);
}

.chain-node {
    position: absolute;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.75rem 0.95rem;
    border-radius: 999px;
    background: rgba(6, 15, 30, 0.88);
    border: 1px solid rgba(45, 212, 255, 0.2);
    color: var(--site-ink-soft);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.25);
    animation: floatY 6s ease-in-out infinite;
}

.chain-node i {
    color: var(--site-accent);
}

.chain-node.node-a {
    top: 7%;
    left: 4%;
}

.chain-node.node-b {
    top: 16%;
    right: 2%;
    animation-delay: 0.8s;
}

.chain-node.node-c {
    bottom: 14%;
    left: 10%;
    animation-delay: 1.6s;
}

.metric-band {
    position: relative;
    margin-top: -2rem;
}

.metric-card,
.seo-card,
.learn-card,
.guide-card {
    position: relative;
    height: 100%;
    padding: 1.55rem;
    border: 1px solid rgba(45, 212, 255, 0.14);
    border-radius: var(--site-radius);
    background: linear-gradient(180deg, rgba(10, 21, 40, 0.96), rgba(7, 14, 28, 0.94));
    box-shadow: var(--site-shadow);
    overflow: hidden;
}

.metric-card::before,
.seo-card::before,
.learn-card::before,
.guide-card::before,
.faq-list details::before,
.download-panel::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, rgba(45, 212, 255, 0.95), rgba(255, 185, 51, 0.9));
}

.metric-card strong {
    display: block;
    font-size: 2rem;
    font-family: "Kanit", sans-serif;
    color: var(--site-ink);
}

.metric-card span {
    color: var(--site-muted);
}

.section-intro {
    max-width: 760px;
    margin: 0 auto 3rem;
}

.section-intro p {
    font-size: 1.02rem;
}

.icon-feature {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.2rem;
    height: 4.2rem;
    border-radius: 1.2rem;
    font-size: 1.55rem;
    background: linear-gradient(135deg, rgba(15, 68, 143, 0.34), rgba(45, 212, 255, 0.16));
    border: 1px solid rgba(45, 212, 255, 0.14);
    color: var(--site-accent);
    box-shadow: inset 0 0 0.8rem rgba(45, 212, 255, 0.08);
}

.seo-card:hover,
.learn-card:hover,
.metric-card:hover,
.faq-list details:hover {
    transform: translateY(-4px);
    box-shadow: var(--site-shadow-strong);
}

.key-points {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.key-points li {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.key-points i {
    margin-top: 0.2rem;
    color: var(--site-accent);
}

.article-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    text-decoration: none;
}

.article-link:hover {
    text-decoration: underline;
}

.resource-strip {
    background: linear-gradient(180deg, rgba(7, 14, 27, 0.2), rgba(5, 10, 20, 0.65));
}

.learn-grid,
.related-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.25rem;
}

.learn-card small {
    display: inline-block;
    margin-bottom: 0.85rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(12, 31, 61, 0.96);
    border: 1px solid rgba(45, 212, 255, 0.14);
    color: var(--site-brand);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.learn-card h3 {
    font-size: 1.45rem;
    margin-bottom: 0.85rem;
}

.learn-card .query {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--site-muted);
    font-size: 0.92rem;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-list details {
    position: relative;
    padding: 1.3rem 1.4rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(45, 212, 255, 0.14);
    border-radius: 1.25rem;
    background: linear-gradient(180deg, rgba(10, 21, 40, 0.96), rgba(7, 14, 28, 0.94));
    box-shadow: var(--site-shadow);
    overflow: hidden;
}

.faq-list details[open] {
    border-color: rgba(255, 185, 51, 0.22);
    box-shadow: var(--site-shadow-strong);
}

.faq-list summary {
    cursor: pointer;
    font-weight: 700;
    list-style: none;
    color: var(--site-ink);
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";
    float: right;
    font-size: 1.2rem;
    line-height: 1;
    color: var(--site-brand);
}

.faq-list details[open] summary::after {
    content: "-";
    color: var(--site-accent);
}

.faq-list p {
    margin-top: 0.95rem;
    margin-bottom: 0;
}

.page-shell,
.guide-shell {
    max-width: 860px;
    margin: 0 auto;
}

.site-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1rem;
    color: var(--site-muted);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-breadcrumb a {
    text-decoration: none;
}

.guide-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--site-muted);
    font-size: 0.94rem;
}

.guide-list,
.site-list {
    padding-left: 1.2rem;
    margin-bottom: 0;
}

.guide-list li,
.site-list li {
    margin-bottom: 0.8rem;
}

.guide-card + .guide-card {
    margin-top: 1.3rem;
}

.guide-cta {
    margin-top: 1.5rem;
    padding: 1.8rem;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, rgba(6, 18, 36, 0.98), rgba(12, 47, 97, 0.96), rgba(17, 93, 167, 0.88));
    border: 1px solid rgba(45, 212, 255, 0.16);
    box-shadow: var(--site-shadow-strong);
}

.guide-cta h2,
.guide-cta p {
    color: #f7fbff;
}

section.cta {
    position: relative;
    overflow: hidden;
    padding: 7rem 0;
    background:
        linear-gradient(135deg, rgba(3, 10, 21, 0.9), rgba(8, 30, 60, 0.86), rgba(10, 76, 133, 0.75)),
        url("../assets/img/banner.png") center/cover;
}

section.cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(45, 212, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45, 212, 255, 0.08) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: 0.2;
}

section.cta .cta-content {
    position: relative;
    z-index: 1;
}

.cta-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.download-panel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    border-radius: 1.7rem;
    background: linear-gradient(180deg, rgba(10, 21, 40, 0.88), rgba(7, 14, 28, 0.94));
    border: 1px solid rgba(45, 212, 255, 0.16);
    box-shadow: var(--site-shadow-strong);
    overflow: hidden;
}

.app-badge {
    height: 3rem;
    filter: drop-shadow(0 0.8rem 1.3rem rgba(0, 0, 0, 0.28));
    transition: transform 0.25s ease, filter 0.25s ease;
}

.app-badge:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 1rem 1.6rem rgba(0, 0, 0, 0.4));
}

.info-strip {
    height: 100%;
    padding: 1rem 1rem 0.95rem;
    border-radius: 1rem;
    border: 1px solid rgba(45, 212, 255, 0.16);
    background: linear-gradient(180deg, rgba(8, 21, 40, 0.94), rgba(7, 14, 28, 0.92));
    color: var(--site-ink-soft);
    box-shadow: var(--site-shadow);
}

.info-strip strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--site-ink);
}

.device-wrapper {
    max-width: 305px;
    height: auto;
    filter: drop-shadow(0 2rem 3rem rgba(0, 0, 0, 0.48));
}

.masthead .masthead-device-mockup .circle,
.features-device-mockup .circle {
    filter: blur(1px);
}

.masthead .masthead-device-mockup .circle .gradient-start-color,
.features-device-mockup .circle .gradient-start-color {
    stop-color: #14c4ff;
}

.masthead .masthead-device-mockup .circle .gradient-end-color,
.features-device-mockup .circle .gradient-end-color {
    stop-color: #ffb933;
}

.masthead .masthead-device-mockup .shape-1,
.features-device-mockup .shape-1 {
    fill: #14c4ff;
}

.masthead .masthead-device-mockup .shape-2,
.features-device-mockup .shape-2 {
    fill: #ffb933;
}

video,
.guide-visual,
.hero-visual {
    border-radius: 2rem;
}

footer {
    position: relative;
    overflow: hidden;
}

footer::before {
    content: "";
    position: absolute;
    inset: auto auto -7rem -7rem;
    width: 14rem;
    height: 14rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(45, 212, 255, 0.18), transparent 70%);
    pointer-events: none;
}

footer a {
    color: rgba(226, 236, 255, 0.72);
}

footer a:hover,
footer a:active,
footer a:focus {
    color: #ffffff;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.mobile-download-bar {
    display: none;
}

.mobile-download-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 3.2rem;
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(89, 225, 255, 0.96), rgba(32, 184, 255, 0.96), rgba(255, 194, 77, 0.96));
    color: #041121;
    font-family: "Kanit", sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 1.2rem 2.4rem rgba(0, 0, 0, 0.32);
}

.mobile-download-link.secondary {
    background: rgba(7, 16, 31, 0.94);
    border: 1px solid rgba(244, 248, 255, 0.18);
    color: var(--site-ink);
}

@keyframes floatY {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@media (min-width: 768px) {
    .learn-grid,
    .related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .learn-grid.learn-grid-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero-copy {
        padding-right: 1.25rem;
    }

    .download-panel {
        padding: 2.5rem 3rem;
    }
}

@media (max-width: 991.98px) {
    #mainNav .navbar-collapse {
        margin-top: 0.9rem;
        padding: 1rem;
        background: rgba(6, 13, 27, 0.96);
        border: 1px solid rgba(45, 212, 255, 0.16);
        box-shadow: var(--site-shadow);
    }

    .masthead,
    .page-hero,
    .guide-hero {
        padding-top: 7.5rem;
    }

    .chain-stage {
        min-height: 28rem;
        margin-top: 2rem;
    }
}

@media (max-width: 767.98px) {
    html {
        scroll-padding-top: 5.2rem;
    }

    section,
    aside {
        padding-top: 4.75rem;
        padding-bottom: 4.75rem;
    }

    .display-3,
    .display-4,
    .display-5 {
        line-height: 1.02;
    }

    .masthead,
    .page-hero,
    .guide-hero {
        padding-top: 6.5rem;
        padding-bottom: 4rem;
    }

    .hero-copy {
        text-align: left !important;
    }

    .hero-copy .display-3 {
        font-size: 2.2rem;
    }

    .hero-copy .lead {
        font-size: 1rem;
        margin-bottom: 1rem !important;
    }

    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .store-button {
        width: 100%;
    }

    .hero-subnote {
        margin-bottom: 0.95rem;
        font-size: 0.9rem;
    }

    .hero-signal-row {
        gap: 0.65rem;
    }

    .signal-chip {
        width: 100%;
    }

    .chain-stage {
        min-height: 0;
        margin-top: 1.2rem;
    }

    .hero-visual-card {
        padding: 1rem;
    }

    .hero-terminal-head {
        gap: 0.6rem;
        margin-bottom: 0.85rem;
        padding-bottom: 0.8rem;
    }

    .hero-terminal-meta {
        font-size: 0.68rem;
        letter-spacing: 0.08em;
    }

    .hero-ledger {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-ledger .ledger-cell:last-child {
        grid-column: 1 / -1;
    }

    .ledger-cell {
        padding: 0.7rem 0.75rem;
    }

    .hero-video-shell {
        padding: 0.8rem;
    }

    .hero-data-row {
        grid-template-columns: 1fr;
    }

    .chain-node {
        font-size: 0.82rem;
        padding: 0.6rem 0.8rem;
    }

    .chain-node.node-a {
        top: 2%;
        left: 4%;
    }

    .chain-node.node-b {
        top: 8%;
        right: 4%;
    }

    .chain-node.node-c {
        bottom: 5%;
        left: 8%;
    }

    .metric-band {
        margin-top: 0;
    }

    .metric-card,
    .seo-card,
    .learn-card,
    .guide-card,
    .download-panel,
    .faq-list details {
        padding: 1.25rem;
        border-radius: 1.2rem;
    }

    .guide-meta {
        gap: 0.75rem;
    }

    .cta-links,
    .footer-links {
        align-items: stretch;
    }

    .cta-links .btn {
        width: 100%;
    }

    .download-panel .app-badge {
        width: min(100%, 190px);
        height: auto;
    }

    .home-page {
        padding-bottom: 6rem;
    }

    .mobile-download-bar {
        position: fixed;
        left: 0.75rem;
        right: 0.75rem;
        bottom: calc(0.75rem + env(safe-area-inset-bottom));
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
        padding: 0.75rem;
        border-radius: 1.3rem;
        background: rgba(4, 10, 21, 0.92);
        border: 1px solid rgba(45, 212, 255, 0.18);
        box-shadow: var(--site-shadow-strong);
        backdrop-filter: blur(18px);
        z-index: 1050;
    }
}
