:root {
    --surface: #f9feff;
    --surface-strong: rgba(255, 255, 255, 0.9);
    --surface-soft: rgba(255, 255, 255, 0.72);
    --ink: #36525a;
    --ink-soft: #6a838b;
    --line: rgba(76, 105, 113, 0.13);
    --line-strong: rgba(76, 105, 113, 0.22);
    --slate: #4c6971;
    --cyan: #56c4cf;
    --sky: #8dd7f7;
    --pink: #ff68c8;
    --violet: #d871aa;
    --orchid: #ca7aae;
}

html {
    background: #f7fdff;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    font-family: "Inter", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(141, 215, 247, 0.28), transparent 24%),
        radial-gradient(circle at top right, rgba(255, 104, 200, 0.12), transparent 22%),
        radial-gradient(circle at 72% 74%, rgba(216, 113, 170, 0.09), transparent 22%),
        linear-gradient(180deg, #feffff 0%, #f7fdff 50%, #f9fcff 100%);
    -webkit-font-smoothing: antialiased;
}

.noise {
    position: fixed;
    inset: 0;
    z-index: 9999;
    opacity: 0.03;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.bg-grid {
    background-size: 42px 42px;
    background-image:
        linear-gradient(to right, rgba(76, 105, 113, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(76, 105, 113, 0.05) 1px, transparent 1px);
}

.bloom-section {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    --section-accent: rgba(141, 215, 247, 0.18);
    --section-accent-secondary: rgba(255, 104, 200, 0.12);
}

.bloom-section:nth-of-type(even) {
    --section-accent: rgba(255, 104, 200, 0.12);
    --section-accent-secondary: rgba(86, 196, 207, 0.18);
}

.bloom-section::before,
.bloom-section::after {
    content: "";
    position: absolute;
    z-index: 0;
    border-radius: 9999px;
    opacity: 0.55;
    filter: blur(38px);
    pointer-events: none;
    animation: driftHalo 18s ease-in-out infinite;
}

.bloom-section::before {
    top: -9rem;
    left: -7rem;
    width: 21rem;
    height: 21rem;
    background: radial-gradient(circle, var(--section-accent), transparent 68%);
}

.bloom-section::after {
    right: -8rem;
    bottom: -10rem;
    width: 23rem;
    height: 23rem;
    background: radial-gradient(circle, var(--section-accent-secondary), transparent 70%);
    animation-delay: -6s;
}

.section-in-view::before,
.section-in-view::after {
    opacity: 0.64;
    filter: blur(44px);
}

.font-editorial {
    font-family: "Instrument Serif", serif !important;
}

.text-balance {
    text-wrap: balance;
}

.glass-panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.66));
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.soft-panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.74));
    box-shadow:
        0 24px 80px rgba(76, 105, 113, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.text-outline {
    color: transparent;
    -webkit-text-stroke: 1px rgba(216, 113, 170, 0.84);
    text-shadow: 0 0 18px rgba(141, 215, 247, 0.22);
}

.text-reveal-wrapper {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
}

.text-reveal-content {
    display: block;
    opacity: 0;
    transform: translateY(110%);
    transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.1s ease;
}

.reveal-active .text-reveal-content {
    opacity: 1;
    transform: translateY(0);
}

.reveal {
    opacity: 0;
    transform: translateY(1.8rem);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-up {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(34px);
    transition: all 1.05s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

.reveal-zoom {
    opacity: 0;
    filter: blur(12px);
    transform: scale(0.96);
    transition: all 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-zoom.active {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-150 {
    transition-delay: 0.15s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-250 {
    transition-delay: 0.25s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

.delay-500 {
    transition-delay: 0.5s;
}

.delay-700 {
    transition-delay: 0.7s;
}

.nav-load {
    opacity: 0;
    transform: translateY(-12px);
    transition: all 0.8s ease-out;
}

.nav-load.loaded {
    opacity: 1;
    transform: translateY(0);
}

.btn-beam {
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.btn-beam::before {
    content: "";
    position: absolute;
    inset: -2px;
    z-index: -1;
    opacity: 0;
    border-radius: inherit;
    transition: opacity 0.35s;
    background: conic-gradient(
        from 90deg at 50% 50%,
        rgba(86, 196, 207, 0.16) 0%,
        rgba(76, 105, 113, 0.85) 35%,
        rgba(216, 113, 170, 0.78) 68%,
        rgba(141, 215, 247, 0.18) 100%
    );
    animation: spin 5s linear infinite;
}

.btn-beam:hover::before {
    opacity: 1;
}

.btn-beam-content {
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: inherit;
    background: linear-gradient(180deg, #4c6971 0%, #35515a 100%);
}

.flashlight-card {
    position: relative;
    overflow: hidden;
}

.flashlight-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease;
    background: radial-gradient(
        680px circle at var(--mouse-x, 0) var(--mouse-y, 0),
        rgba(141, 215, 247, 0.34),
        rgba(255, 104, 200, 0.08) 22%,
        transparent 44%
    );
}

.flashlight-card:hover::before {
    opacity: 1;
}

.marquee-container {
    display: flex;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    min-width: 100%;
    flex-shrink: 0;
    align-items: center;
    animation: marquee 26s linear infinite;
}

.petal {
    position: absolute;
    width: 20px;
    height: 28px;
    opacity: 0;
    filter: blur(0.1px);
    border-radius: 70% 30% 68% 32% / 40% 39% 61% 60%;
    animation: petalDrift linear infinite;
}

.petal-cyan {
    background: linear-gradient(180deg, rgba(86, 196, 207, 0.88), rgba(141, 215, 247, 0.76));
}

.petal-pink {
    background: linear-gradient(180deg, rgba(255, 104, 200, 0.9), rgba(216, 113, 170, 0.72));
}

.petal-sky {
    background: linear-gradient(180deg, rgba(141, 215, 247, 0.92), rgba(86, 196, 207, 0.68));
}

.veil-panel {
    position: relative;
    overflow: hidden;
}

.veil-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    transform: translateX(-120%);
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.48) 24%, transparent 46%);
}

.veil-panel:hover::after {
    transform: translateX(120%);
}

.orbital-bloom {
    position: absolute;
    border: 1px solid rgba(202, 122, 174, 0.26);
    border-radius: 9999px;
    animation: pulseBloom 4s ease-in-out infinite;
}

.token-swatch {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.token-swatch::after {
    content: "";
    position: absolute;
    inset: auto -18% -58% auto;
    z-index: 0;
    width: 11rem;
    height: 11rem;
    filter: blur(18px);
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.22);
}

.token-swatch > * {
    position: relative;
    z-index: 1;
}

.focus-ring-target {
    outline: none;
}

.focus-ring-target:focus-visible {
    box-shadow:
        0 0 0 4px rgba(141, 215, 247, 0.3),
        0 0 0 1px rgba(76, 105, 113, 0.24);
}

.tilt-panel {
    position: relative;
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.tilt-panel::after {
    content: "";
    position: absolute;
    inset: 1px;
    opacity: 0;
    pointer-events: none;
    border-radius: inherit;
    transition: opacity 0.24s ease;
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.22), transparent 34%, transparent 68%, rgba(141, 215, 247, 0.12));
}

.tilt-panel:hover::after {
    opacity: 1;
}

.sales-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(76, 105, 113, 0.1);
    border-radius: 2rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 253, 255, 0.74));
    box-shadow:
        0 24px 72px rgba(76, 105, 113, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.sales-panel::before {
    content: "";
    position: absolute;
    inset: -18% auto auto -10%;
    width: 11rem;
    height: 11rem;
    pointer-events: none;
    border-radius: 9999px;
    background: radial-gradient(circle, rgba(141, 215, 247, 0.16), transparent 68%);
}

.sales-panel > * {
    position: relative;
    z-index: 1;
}

.trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.8rem 0.95rem;
    border: 1px solid rgba(76, 105, 113, 0.1);
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.faq-item {
    overflow: hidden;
    border: 1px solid rgba(76, 105, 113, 0.1);
    border-radius: 1.6rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(248, 253, 255, 0.72));
    transition: border-color 0.34s ease, box-shadow 0.34s ease, background 0.34s ease;
}

.faq-item:hover {
    border-color: rgba(86, 196, 207, 0.18);
}

.faq-item[open] {
    border-color: rgba(202, 122, 174, 0.18);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(249, 252, 255, 0.82));
    box-shadow: 0 18px 42px rgba(76, 105, 113, 0.07);
}

.faq-item summary {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    padding: 1.15rem 1.25rem;
    cursor: pointer;
    list-style: none;
    transition: color 0.24s ease;
}

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

.faq-item summary span {
    transition: transform 0.34s ease, color 0.24s ease;
}

.faq-item[open] summary span {
    transform: translateX(4px);
}

.faq-item summary::after {
    content: "+";
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    flex: none;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: #35515a;
    border-radius: 9999px;
    background: rgba(141, 215, 247, 0.16);
    transition: transform 0.34s ease, background-color 0.24s ease, box-shadow 0.34s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
    box-shadow: 0 0 0 8px rgba(255, 104, 200, 0.06);
    background: rgba(255, 104, 200, 0.14);
}

.faq-answer {
    display: grid;
    padding: 0 1.25rem;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.42s cubic-bezier(0.16, 1, 0.3, 1), padding-bottom 0.34s ease;
}

.faq-item[open] .faq-answer {
    padding-bottom: 1.2rem;
    grid-template-rows: 1fr;
}

.faq-answer-inner {
    min-height: 0;
    overflow: hidden;
    opacity: 0;
    color: #67838a;
    font-size: 0.95rem;
    line-height: 1.7;
    transform: translateY(-8px);
    transition: opacity 0.28s ease, transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item[open] .faq-answer-inner {
    opacity: 1;
    transform: translateY(0);
}

.sales-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(76, 105, 113, 0.12), transparent);
}

.spec-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(76, 105, 113, 0.1);
    border-radius: 1.8rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 253, 255, 0.76));
    box-shadow:
        0 22px 64px rgba(76, 105, 113, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.spec-card::before {
    content: "";
    position: absolute;
    inset: -30% auto auto -16%;
    width: 11rem;
    height: 11rem;
    pointer-events: none;
    border-radius: 9999px;
    background: radial-gradient(circle, rgba(141, 215, 247, 0.12), transparent 70%);
}

.spec-card > * {
    position: relative;
    z-index: 1;
}

.spec-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid rgba(76, 105, 113, 0.1);
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.72);
    color: #4c6971;
    font-size: 10px;
    font-family: "JetBrains Mono", monospace;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.spec-list {
    display: grid;
    gap: 0.8rem;
}

.spec-row {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    justify-content: space-between;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(76, 105, 113, 0.08);
}

.spec-row:first-child {
    padding-top: 0;
    border-top: 0;
}

.spec-key {
    flex: 0 0 8.6rem;
    color: #67838a;
    font-size: 10px;
    font-family: "JetBrains Mono", monospace;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.spec-value {
    flex: 1;
    color: #35515a;
    font-size: 0.93rem;
    line-height: 1.6;
}

.animate-on-scroll {
    animation-play-state: paused !important;
}

.animate-on-scroll.animate {
    animation-play-state: running !important;
}

iconify-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

@keyframes animationIn {
    0% {
        opacity: 0;
        filter: blur(10px);
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

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

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

@keyframes pulseBloom {
    0%,
    100% {
        opacity: 0.55;
        transform: scale(1);
    }

    50% {
        opacity: 0.95;
        transform: scale(1.08);
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

@keyframes petalDrift {
    0% {
        opacity: 0;
        transform: translate3d(0, 0, 0) rotate(0deg);
    }

    10% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate3d(80px, 620px, 0) rotate(220deg);
    }
}

@keyframes driftHalo {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    }

    50% {
        transform: translate3d(22px, -16px, 0) scale(1.06) rotate(8deg);
    }
}

@keyframes shimmerSweep {
    0% {
        transform: translateX(-120%);
    }

    50%,
    100% {
        transform: translateX(120%);
    }
}

@keyframes pulseLine {
    0%,
    100% {
        opacity: 0.4;
        transform: scaleX(0.9);
    }

    50% {
        opacity: 1;
        transform: scaleX(1);
    }
}

@keyframes bobCard {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

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

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal,
    .reveal-up,
    .reveal-zoom,
    .text-reveal-content,
    .nav-load {
        opacity: 1 !important;
        filter: none !important;
        transform: none !important;
    }

    .petal,
    .marquee-content {
        animation: none !important;
    }
}
