/**
 * Smart Solve Token 2.0 — premium airdrop landing experience
 */

.home-main {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.home-main::before,
.home-main::after {
    content: '';
    position: fixed;
    width: 34rem;
    height: 34rem;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
    z-index: -1;
    pointer-events: none;
}

.home-main::before {
    top: 8rem;
    left: -18rem;
    background: #00d2ff;
}

.home-main::after {
    right: -18rem;
    top: 46rem;
    background: #8b5cf6;
}

.home-hero {
    position: relative;
    padding: clamp(4rem, 8vw, 7rem) 0 4rem;
    overflow: hidden;
}

.hero-grid-glow {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(0, 210, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 210, 255, 0.035) 1px, transparent 1px),
        radial-gradient(circle at 70% 35%, rgba(0, 210, 255, 0.17), transparent 28%),
        radial-gradient(circle at 28% 32%, rgba(79, 70, 229, 0.16), transparent 34%);
    background-size: 52px 52px, 52px 52px, auto, auto;
    mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
    pointer-events: none;
}

.hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(20rem, 0.88fr);
    align-items: center;
    gap: clamp(3rem, 8vw, 7rem);
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.5rem 0.85rem;
    margin-bottom: 1.4rem;
    border: 1px solid rgba(0, 210, 255, 0.28);
    border-radius: 999px;
    background: rgba(0, 210, 255, 0.08);
    color: #7ee8ff;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.live-dot {
    width: 0.48rem;
    height: 0.48rem;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5);
    animation: signalPulse 2s infinite;
}

.hero-title {
    max-width: 820px;
    margin-bottom: 1.3rem;
    color: #f8fbff;
    font-size: clamp(2.7rem, 6vw, 5.45rem);
    font-weight: 950;
    letter-spacing: -0.055em;
    line-height: 0.98;
}

.hero-title .text-gradient {
    display: inline-block;
    padding-bottom: 0.08em;
    background-size: 180% auto;
    animation: gradientTravel 6s linear infinite;
}

.hero-tagline {
    max-width: 660px;
    margin-bottom: 2rem;
    color: #9dafc8;
    font-size: clamp(1rem, 1.6vw, 1.18rem);
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.hero-buttons .btn-primary {
    animation: buttonGlow 3s ease-in-out infinite;
}

.hero-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.35rem;
    margin-top: 1.65rem;
    color: #8293ac;
    font-size: 0.78rem;
    font-weight: 700;
}

.hero-trust-row i {
    margin-right: 0.35rem;
    color: #22d3ee;
}

.hero-visual {
    position: relative;
    display: grid;
    min-height: 31rem;
    place-items: center;
}

.hero-emblem {
    position: relative;
    z-index: 3;
    width: min(19rem, 72vw);
    border-radius: 50%;
    filter: drop-shadow(0 0 32px rgba(0, 210, 255, 0.48));
    animation: emblemFloat 5s ease-in-out infinite;
}

.hero-emblem-halo {
    position: absolute;
    width: 20rem;
    height: 20rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.25), rgba(59, 130, 246, 0.06) 46%, transparent 70%);
    animation: haloBreathe 3.5s ease-in-out infinite;
}

.orbit {
    position: absolute;
    border: 1px solid rgba(0, 210, 255, 0.22);
    border-radius: 50%;
}

.orbit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00d2ff;
    box-shadow: 0 0 14px #00d2ff;
}

.orbit-one {
    width: 25rem;
    height: 25rem;
    animation: orbitSpin 14s linear infinite;
}

.orbit-two {
    width: 29rem;
    height: 29rem;
    border-color: rgba(139, 92, 246, 0.14);
    animation: orbitSpin 20s linear infinite reverse;
}

.floating-chip {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 11.5rem;
    padding: 0.72rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 14px;
    background: rgba(7, 14, 35, 0.82);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);
    color: #9dafc8;
    font-size: 0.72rem;
}

.floating-chip i {
    color: #22d3ee;
    font-size: 1.15rem;
}

.floating-chip strong {
    display: block;
    color: #fff;
    font-size: 1rem;
}

.chip-airdrop {
    top: 20%;
    left: -3%;
    animation: chipFloat 4s ease-in-out infinite;
}

.chip-supply {
    right: -3%;
    bottom: 18%;
    animation: chipFloat 4s 1.4s ease-in-out infinite;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 2.8rem;
}

.metric-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.13);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(13, 23, 50, 0.82), rgba(6, 12, 30, 0.68));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.metric-icon,
.pillar-icon-box {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    color: #fff;
}

.metric-icon {
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 12px;
}

.cyan { background: rgba(6, 182, 212, 0.16); color: #22d3ee; }
.purple { background: rgba(139, 92, 246, 0.16); color: #a78bfa; }
.green { background: rgba(16, 185, 129, 0.16); color: #34d399; }
.gold { background: rgba(245, 158, 11, 0.16); color: #fbbf24; }

.metric-card small,
.allocation-copy small,
.contract-meta small {
    display: block;
    color: #7587a1;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.metric-card strong {
    display: block;
    margin-top: 0.12rem;
    color: #edf6ff;
    font-size: 0.94rem;
}

.premium-section {
    background: linear-gradient(180deg, rgba(10, 18, 42, 0.3), rgba(3, 6, 18, 0.08));
}

.premium-pillars {
    gap: 1rem;
}

.pillar-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 210, 255, 0.13);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(14, 24, 53, 0.82), rgba(7, 13, 31, 0.72));
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.pillar-card::after {
    content: '';
    position: absolute;
    top: -80%;
    left: -60%;
    width: 50%;
    height: 240%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.07), transparent);
    transform: rotate(20deg);
    transition: left 0.65s ease;
}

.pillar-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 210, 255, 0.42);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.32), 0 0 25px rgba(0, 210, 255, 0.1);
}

.pillar-card:hover::after { left: 125%; }
.pillar-card h3 { margin-bottom: 0.5rem; color: #fff; font-size: 1.08rem; }
.pillar-card p { color: #8fa2bc; font-size: 0.86rem; }

.allocation-section {
    position: relative;
}

.allocation-showcase {
    display: grid;
    grid-template-columns: minmax(19rem, 0.8fr) minmax(0, 1.2fr);
    gap: 1.25rem;
    align-items: stretch;
}

.allocation-orb-card,
.allocation-list,
.pool-ring-card,
.pool-breakdown-card,
.token-contract-card,
.journey-cta {
    border: 1px solid rgba(0, 210, 255, 0.15);
    background: linear-gradient(145deg, rgba(12, 22, 49, 0.88), rgba(6, 11, 28, 0.8));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.allocation-orb-card {
    display: grid;
    place-items: center;
    padding: 2.5rem 1.25rem;
    border-radius: 26px;
}

.allocation-orb {
    position: relative;
    display: grid;
    width: min(18rem, 72vw);
    aspect-ratio: 1;
    place-items: center;
    border-radius: 50%;
    background: conic-gradient(#00d2ff 0 25%, #6d5dfc 25% 50%, #fbbf24 50% 65%, #22c55e 65% 75%, #06b6d4 75% 85%, #f43f5e 85% 90%, #10b981 90% 100%);
    box-shadow: 0 0 48px rgba(0, 210, 255, 0.2);
    animation: orbGlow 4s ease-in-out infinite;
}

.allocation-orb::before {
    content: '';
    position: absolute;
    width: min(15rem, 60vw);
    aspect-ratio: 1;
    border-radius: 50%;
    background: #071027;
    box-shadow: inset 0 0 30px rgba(0, 210, 255, 0.12);
}

.allocation-orb-core {
    position: relative;
    z-index: 1;
    text-align: center;
}

.allocation-orb-core small,
.allocation-orb-core span {
    display: block;
    color: #8496af;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.allocation-orb-core strong {
    display: block;
    color: #fff;
    font-size: 3.5rem;
    line-height: 1.1;
}

.orb-caption {
    margin-top: 1.2rem;
    color: #94a3b8;
    font-size: 0.78rem;
}

.orb-caption span {
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    margin-right: 0.35rem;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 12px #34d399;
}

.allocation-list {
    display: grid;
    gap: 0.62rem;
    padding: 1rem;
    border-radius: 26px;
}

.allocation-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.8rem;
    padding: 0.78rem 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
    transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.allocation-row:hover {
    transform: translateX(5px);
    border-color: rgba(0, 210, 255, 0.24);
    background: rgba(0, 210, 255, 0.05);
}

.allocation-dot {
    width: 0.72rem;
    height: 0.72rem;
    border-radius: 50%;
    box-shadow: 0 0 12px currentColor;
}

.allocation-blue { color: #00d2ff; background: #00d2ff; }
.allocation-purple { color: #7c6cff; background: #7c6cff; }
.allocation-gold { color: #fbbf24; background: #fbbf24; }
.allocation-green { color: #22c55e; background: #22c55e; }
.allocation-cyan { color: #06b6d4; background: #06b6d4; }
.allocation-red { color: #f43f5e; background: #f43f5e; }
.allocation-emerald { color: #10b981; background: #10b981; }

.allocation-copy strong { display: block; color: #eef6ff; font-size: 0.9rem; }
.allocation-copy small { margin-top: 0.1rem; }
.allocation-percent { min-width: 3rem; padding: 0.32rem 0.5rem; border-radius: 999px; background: rgba(0, 210, 255, 0.08); color: #7ee8ff; font-size: 0.76rem; font-weight: 900; text-align: center; }

.referral-path {
    display: grid;
    grid-template-columns: repeat(7, auto);
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
}

.referral-node {
    width: 13rem;
    min-height: 12rem;
    padding: 1.35rem;
    border: 1px solid rgba(0, 210, 255, 0.18);
    border-radius: 20px;
    background: linear-gradient(160deg, rgba(15, 27, 58, 0.9), rgba(6, 12, 29, 0.82));
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.referral-node:hover { transform: translateY(-7px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3), 0 0 24px rgba(0, 210, 255, 0.13); }
.node-level { display: block; color: #7ee8ff; font-size: 0.72rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.referral-node strong { display: block; margin: 1rem 0 0.7rem; color: #fff; font-size: 1.65rem; }
.referral-node p { color: #8496af; font-size: 0.78rem; line-height: 1.55; }
.referral-node.level-one { border-color: rgba(0, 210, 255, 0.36); }
.referral-node.level-two { border-color: rgba(139, 92, 246, 0.36); }
.referral-node.level-three { border-color: rgba(245, 158, 11, 0.36); }
.path-arrow { color: #22d3ee; filter: drop-shadow(0 0 6px #22d3ee); animation: arrowPulse 1.7s ease-in-out infinite; }

.airdrop-pool-grid {
    display: grid;
    grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1.2fr);
    gap: 1rem;
    margin-top: 1rem;
}

.pool-ring-card,
.pool-breakdown-card { border-radius: 22px; padding: 1.5rem; }
.pool-ring-card { display: grid; place-items: center; }

.pool-ring {
    position: relative;
    display: grid;
    width: 14rem;
    aspect-ratio: 1;
    place-items: center;
    border-radius: 50%;
    background: conic-gradient(#00d2ff 0 80%, #8b5cf6 80% 100%);
    box-shadow: 0 0 34px rgba(0, 210, 255, 0.18);
}

.pool-ring::before { content: ''; position: absolute; width: 10.5rem; aspect-ratio: 1; border-radius: 50%; background: #071027; }
.pool-ring > div { position: relative; z-index: 1; text-align: center; }
.pool-ring strong { display: block; color: #fff; font-size: 2.35rem; line-height: 1; }
.pool-ring span { color: #8ea0b9; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; }
.pool-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-top: 1rem; color: #91a3bc; font-size: 0.72rem; }
.legend-dot { display: inline-block; width: 0.52rem; height: 0.52rem; margin-right: 0.3rem; border-radius: 50%; }
.legend-dot.welcome { background: #8b5cf6; }
.legend-dot.referral { background: #00d2ff; }

.pool-breakdown-card { display: flex; flex-direction: column; justify-content: center; }
.eyebrow { margin-bottom: 0.8rem; color: #a78bfa; font-size: 0.72rem; font-weight: 900; letter-spacing: 0.12em; }
.pool-line { display: flex; justify-content: space-between; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid rgba(148, 163, 184, 0.1); color: #9dafc8; font-size: 0.86rem; }
.pool-line i { width: 1.4rem; color: #22d3ee; }
.pool-line strong { color: #f2f7ff; }
.pool-total { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding: 0.9rem; border-radius: 12px; background: rgba(0, 210, 255, 0.08); color: #7ee8ff; font-size: 0.82rem; }
.pool-total strong { color: #fff; }

.journey-section { position: relative; }
.journey-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.85rem; }
.journey-card { position: relative; padding: 1.5rem; overflow: hidden; border: 1px solid rgba(0, 210, 255, 0.14); border-radius: 20px; background: linear-gradient(145deg, rgba(13, 23, 50, 0.84), rgba(6, 12, 30, 0.72)); }
.journey-card::after { content: ''; position: absolute; right: -2rem; bottom: -2rem; width: 6rem; height: 6rem; border-radius: 50%; background: rgba(0, 210, 255, 0.07); filter: blur(4px); }
.journey-card > span { position: absolute; top: 0.9rem; right: 1rem; color: rgba(126, 232, 255, 0.16); font-size: 2.2rem; font-weight: 950; }
.journey-card > i { margin-bottom: 1.2rem; color: #22d3ee; font-size: 1.7rem; }
.journey-card h3 { margin-bottom: 0.45rem; color: #fff; font-size: 1rem; }
.journey-card p { color: #8799b2; font-size: 0.8rem; line-height: 1.55; }
.journey-cta { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 1rem; padding: 1.35rem 1.5rem; border-radius: 20px; }
.journey-cta span { display: block; color: #7ee8ff; font-size: 0.72rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.journey-cta strong { display: block; margin-top: 0.15rem; color: #fff; font-size: 1.25rem; }

.token-contract-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; max-width: 920px; margin: 0 auto; padding: 1.25rem; border-radius: 20px; }
.contract-token-icon { display: grid; width: 3.5rem; height: 3.5rem; place-items: center; border-radius: 15px; background: linear-gradient(145deg, rgba(0, 210, 255, 0.18), rgba(139, 92, 246, 0.16)); color: #7ee8ff; font-size: 1.35rem; }
.contract-meta strong { display: block; margin-top: 0.25rem; color: #dcecff; font-size: 0.82rem; }
.contract-actions { display: flex; gap: 0.5rem; }

.reveal-ready .reveal-on-scroll {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.72s ease var(--reveal-delay, 0ms), transform 0.72s cubic-bezier(0.2, 0.75, 0.2, 1) var(--reveal-delay, 0ms);
}

.reveal-ready .reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes signalPulse {
    70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

@keyframes gradientTravel { to { background-position: 180% center; } }
@keyframes emblemFloat { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-13px) rotate(1deg); } }
@keyframes haloBreathe { 50% { transform: scale(1.12); opacity: 0.7; } }
@keyframes orbitSpin { to { transform: rotate(360deg); } }
@keyframes chipFloat { 50% { transform: translateY(-9px); } }
@keyframes orbGlow { 50% { box-shadow: 0 0 65px rgba(0, 210, 255, 0.3); } }
@keyframes arrowPulse { 50% { transform: translateX(5px); opacity: 0.55; } }
@keyframes buttonGlow { 50% { box-shadow: 0 0 30px rgba(0, 210, 255, 0.35); } }

@media (max-width: 1100px) {
    .hero-shell { grid-template-columns: 1fr; text-align: center; }
    .hero-copy { max-width: 800px; margin: 0 auto; }
    .hero-tagline { margin-left: auto; margin-right: auto; }
    .hero-buttons, .hero-trust-row { justify-content: center; }
    .hero-visual { min-height: 26rem; }
    .referral-path { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .referral-node { width: auto; }
    .path-arrow { display: none; }
}

@media (max-width: 768px) {
    .home-hero { padding-top: 3.5rem; }
    .hero-title { font-size: clamp(2.15rem, 10vw, 3.35rem); }
    .hero-visual { min-height: 22rem; }
    .orbit-one { width: 20rem; height: 20rem; }
    .orbit-two { width: 23rem; height: 23rem; }
    .hero-emblem { width: min(15rem, 66vw); }
    .hero-emblem-halo { width: 17rem; height: 17rem; }
    .floating-chip { min-width: 9rem; padding: 0.6rem 0.7rem; }
    .chip-airdrop { left: 0; }
    .chip-supply { right: 0; }
    .hero-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .allocation-showcase, .airdrop-pool-grid { grid-template-columns: 1fr; }
    .referral-path { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .journey-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .token-contract-card { grid-template-columns: auto 1fr; }
    .token-contract-card .contract-actions { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
    .home-hero { padding-top: 2.8rem; }
    .hero-kicker { font-size: 0.65rem; letter-spacing: 0.06em; }
    .hero-title { font-size: clamp(1.9rem, 10vw, 2.45rem); line-height: 1.04; }
    .hero-tagline { font-size: 0.92rem; }
    .hero-trust-row { gap: 0.65rem 0.85rem; }
    .hero-visual { min-height: 19rem; }
    .orbit-one { width: 16rem; height: 16rem; }
    .orbit-two { width: 18.5rem; height: 18.5rem; }
    .hero-emblem { width: 12rem; }
    .hero-emblem-halo { width: 13rem; height: 13rem; }
    .floating-chip { min-width: 0; max-width: 8.6rem; font-size: 0.62rem; }
    .floating-chip strong { font-size: 0.84rem; }
    .hero-metrics, .referral-path, .journey-grid { grid-template-columns: 1fr; }
    .metric-card { padding: 0.85rem; }
    .allocation-orb-card { padding: 1.75rem 0.75rem; }
    .allocation-row { padding: 0.7rem; }
    .allocation-copy strong { font-size: 0.8rem; }
    .allocation-percent { min-width: 2.65rem; }
    .referral-node { min-height: auto; }
    .pool-line, .pool-total { align-items: flex-start; flex-direction: column; gap: 0.25rem; }
    .journey-cta { align-items: stretch; flex-direction: column; text-align: center; }
    .token-contract-card { grid-template-columns: 1fr; text-align: center; }
    .contract-token-icon { margin: 0 auto; }
    .contract-actions { flex-direction: column; }
    .contract-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .home-main *,
    .home-main *::before,
    .home-main *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
