:root {
    --primary: #14F195;
    --primary-dark: #00D176;
    --secondary: #9945FF;
    --background: #0A0B0D;
    --surface: #141517;
    --surface-light: #1C1D21;
    --text-primary: #FFFFFF;
    --text-secondary: #8F9BB3;
    --border: rgba(255, 255, 255, 0.1);
    --gradient-1: linear-gradient(135deg, #14F195 0%, #9945FF 100%);
    --gradient-2: linear-gradient(135deg, #9945FF 0%, #00D4FF 100%);
    --gradient-3: linear-gradient(135deg, #FF6B6B 0%, #FFB347 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Prevent horizontal scroll on mobile */
@media (max-width: 768px) {
    body, html {
        overflow-x: hidden;
        max-width: 100vw;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* X Verification Screen */
.x-verification-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.x-verification-screen.active {
    opacity: 1;
    pointer-events: all;
}

.x-verification-content {
    text-align: center;
    max-width: 600px;
    padding: 40px;
}

/* Common X Logo */
.x-logo-container {
    margin-bottom: 40px;
}

.x-logo-container.loading {
    animation: spin 2s linear infinite;
}

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

.x-logo {
    width: 150px;
    height: 150px;
    fill: #ffffff;
    transition: fill 1s ease, filter 1s ease;
}

.x-logo.safe {
    fill: #14F195;
    filter: drop-shadow(0 0 40px rgba(20, 241, 149, 0.6));
}

.x-loading-text {
    color: #666666;
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 30px;
    transition: opacity 0.5s ease;
}

.x-loading-text.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Safe Content */
.x-safe-content {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

.x-safe-content.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Verification Badges */
.x-verification-badges {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 30px 0 50px;
}

.x-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: rgba(20, 241, 149, 0.1);
    border: 2px solid rgba(20, 241, 149, 0.4);
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #14F195;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(20, 241, 149, 0.2);
}

.x-badge.verified {
    animation: fadeInLeft 0.6s ease forwards;
}

.x-badge.safe {
    animation: fadeInRight 0.6s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Phantom Card */
.x-phantom-card {
    background: rgba(20, 241, 149, 0.05);
    border: 2px solid rgba(20, 241, 149, 0.3);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    animation: scaleIn 0.6s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.x-phantom-label {
    font-size: 0.85rem;
    color: #888888;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.x-phantom-logo-big {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: ghostFloat 3s ease-in-out infinite;
}

@keyframes ghostFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

.x-phantom-logo-big img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(171, 159, 242, 0.6));
}

.x-phantom-name {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #AB9FF2 0%, #7C66DC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.x-progress-bar {
    width: 100%;
    max-width: 450px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin: 0 auto 20px;
}

.x-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #14F195 0%, #00D176 100%);
    border-radius: 3px;
    width: 0%;
    transition: width 0.3s ease;
}

.x-redirect-text {
    font-size: 1rem;
    color: #666666;
    font-weight: 400;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.loading-screen.active {
    opacity: 1;
    pointer-events: all;
}

.loading-content {
    text-align: center;
}

.search-icon-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 40px;
}

.search-icon {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 40px rgba(20, 241, 149, 0.6));
}

.search-circle {
    stroke: var(--primary);
    stroke-linecap: round;
    animation: searchPulse 2s ease-in-out infinite;
}

.search-handle {
    stroke: var(--primary);
    stroke-linecap: round;
    animation: handleRotate 2s ease-in-out infinite;
    transform-origin: 40px 40px;
}

.scan-line {
    position: absolute;
    top: 20%;
    left: 10%;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 241, 149, 0.4) 0%, transparent 70%);
    animation: scanAnimation 2s ease-in-out infinite;
}

@keyframes searchPulse {
    0%, 100% { 
        stroke-dasharray: 0, 157;
        stroke-dashoffset: 0;
    }
    50% { 
        stroke-dasharray: 157, 157;
        stroke-dashoffset: 0;
    }
}

@keyframes handleRotate {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(45deg); }
}

@keyframes scanAnimation {
    0% { 
        top: 20%;
        left: 10%;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% { 
        top: 60%;
        left: 50%;
        opacity: 0;
    }
}

.loading-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    letter-spacing: -2px;
}

.loading-powered {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 15px;
}

.loading-powered .phantom-text {
    background: linear-gradient(135deg, #AB9FF2 0%, #7C66DC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.loading-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.loading-bar {
    width: 300px;
    height: 4px;
    background: var(--surface-light);
    border-radius: 2px;
    margin: 0 auto;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    background: var(--gradient-1);
    border-radius: 2px;
    animation: loadingProgress 2s ease-in-out infinite;
}

@keyframes loadingProgress {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* Main Content */
.main-content {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.main-content.visible {
    opacity: 1;
}

/* Header */
.header {
    padding: 20px 0;
    backdrop-filter: blur(20px);
    background: rgba(10, 11, 13, 0.95);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 35px;
    height: 35px;
    stroke: var(--primary);
    fill: none;
    stroke-width: 6;
}

.logo-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1;
}

.powered-by {
    font-size: 0.65rem;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1;
}

.phantom-text {
    background: linear-gradient(135deg, #AB9FF2 0%, #7C66DC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: 12px;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
}

.btn-primary {
    background: var(--surface-light);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-primary:hover {
    background: var(--surface);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-gradient {
    background: var(--gradient-1);
    color: var(--background);
    position: relative;
    overflow: hidden;
}

.btn-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-gradient:hover::before {
    left: 100%;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(20, 241, 149, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(20, 241, 149, 0.1);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.05rem;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding: 100px 0 80px;
    position: relative;
    overflow: visible;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(153, 69, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
    animation: float 20s ease-in-out infinite;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(20, 241, 149, 0.15) 0%, transparent 70%);
    pointer-events: none;
    animation: float 15s ease-in-out infinite reverse;
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-30px, 30px) rotate(240deg); }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Solana - Green */
.badge-solana {
    background: rgba(20, 241, 149, 0.1);
    border: 1px solid rgba(20, 241, 149, 0.3);
    color: #14F195;
}

.badge-solana .pulse-dot {
    background: #14F195;
}

/* Ethereum - Blue */
.badge-ethereum {
    background: rgba(98, 126, 234, 0.1);
    border: 1px solid rgba(98, 126, 234, 0.3);
    color: #627EEA;
}

.badge-ethereum .pulse-dot {
    background: #627EEA;
}

/* BSC - Yellow */
.badge-bsc {
    background: rgba(243, 186, 47, 0.1);
    border: 1px solid rgba(243, 186, 47, 0.3);
    color: #F3BA2F;
}

.badge-bsc .pulse-dot {
    background: #F3BA2F;
}

/* Polygon - Purple */
.badge-polygon {
    background: rgba(130, 71, 229, 0.1);
    border: 1px solid rgba(130, 71, 229, 0.3);
    color: #8247E5;
}

.badge-polygon .pulse-dot {
    background: #8247E5;
}

/* Arbitrum - Blue Cyan */
.badge-arbitrum {
    background: rgba(40, 160, 240, 0.1);
    border: 1px solid rgba(40, 160, 240, 0.3);
    color: #28A0F0;
}

.badge-arbitrum .pulse-dot {
    background: #28A0F0;
}

/* Base - Blue */
.badge-base {
    background: rgba(0, 82, 255, 0.1);
    border: 1px solid rgba(0, 82, 255, 0.3);
    color: #0052FF;
}

.badge-base .pulse-dot {
    background: #0052FF;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -3px;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
    position: relative;
    z-index: 10;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* How it Works Section */
.how-it-works {
    padding: 100px 0;
    background: var(--background);
    position: relative;
    z-index: 20;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.how-card {
    background: var(--surface-light);
    padding: 50px 40px;
    border-radius: 24px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
}

.how-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(20, 241, 149, 0.15);
}

.how-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: rgba(20, 241, 149, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    stroke: var(--primary);
}

.how-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.how-description {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Example Paperhands Section */
.paperhands-examples {
    padding: 100px 0;
    background: var(--surface);
    position: relative;
    z-index: 20;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.example-card {
    background: var(--surface-light);
    padding: 35px;
    border-radius: 20px;
    border: 2px solid var(--border);
    transition: all 0.3s ease;
}

.example-card:hover {
    transform: translateY(-5px);
    border-color: #FF6B6B;
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.2);
}

.example-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.example-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.example-info h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.example-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.example-status {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #14F195;
    margin-bottom: 25px;
    text-shadow: 0 0 20px rgba(20, 241, 149, 0.3);
}

.ai-status {
    background: linear-gradient(135deg, rgba(20, 241, 149, 0.2), rgba(153, 69, 255, 0.2));
    padding: 10px 20px;
    border-radius: 12px;
    border: 2px solid rgba(20, 241, 149, 0.3);
}

.ai-status-sell {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(255, 69, 69, 0.2));
    padding: 10px 20px;
    border-radius: 12px;
    border: 2px solid rgba(255, 107, 107, 0.3);
}

.orange-text {
    color: #FFA500;
}

.green-text-big {
    color: #14F195;
    font-size: 1.3rem;
    font-weight: 700;
}

.example-stats {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.stat-row:last-child {
    margin-bottom: 0;
}

.stat-row.loss {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.red-text {
    color: #FF6B6B;
    font-weight: 600;
}

.green-text {
    color: #14F195;
    font-weight: 600;
}

.red-text-big {
    color: #FF6B6B;
    font-size: 1.3rem;
    font-weight: 800;
}

.example-text {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--background);
    position: relative;
    z-index: 20;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--surface-light);
    padding: 35px;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(20, 241, 149, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(20, 241, 149, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    stroke: var(--primary);
}

.feature-icon svg {
    width: 30px;
    height: 30px;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Results Section */
.results-section {
    padding: 60px 0;
}

.wallet-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: var(--surface-light);
    border-radius: 16px;
    border: 1px solid var(--border);
    margin-bottom: 40px;
}

.wallet-address-display {
    display: flex;
    align-items: center;
    gap: 15px;
}

.wallet-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 12px;
}

.wallet-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.wallet-address {
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--border);
    overflow-x: auto;
    padding-bottom: 2px;
}

.tab-btn {
    padding: 15px 25px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    font-family: inherit;
}

.tab-btn.active {
    color: var(--primary);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-1);
}

.tab-badge {
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.tab-badge.alert {
    background: rgba(255, 107, 107, 0.2);
    color: #FF6B6B;
}

/* Airdrop Grid */
.airdrop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.airdrop-card {
    background: var(--surface-light);
    border-radius: 20px;
    border: 1px solid var(--border);
    padding: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.airdrop-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.airdrop-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.airdrop-logo {
    width: 60px;
    height: 60px;
    background: var(--gradient-2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
}

.airdrop-status {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-active {
    background: rgba(20, 241, 149, 0.15);
    color: var(--primary);
}

.status-unclaimed {
    background: rgba(255, 107, 107, 0.15);
    color: #FF6B6B;
}

.status-whitelist {
    background: rgba(153, 69, 255, 0.15);
    color: var(--secondary);
}

.airdrop-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.airdrop-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.airdrop-value {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.airdrop-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.airdrop-action {
    width: 100%;
    margin-top: 20px;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100dvh; /* Dynamic viewport height for mobile browsers */
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

@media (max-width: 768px) {
    .modal {
        padding: 10px;
        align-items: flex-start;
        padding-top: max(10px, env(safe-area-inset-top));
    }
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    position: relative;
    background: var(--surface-light);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 50px 40px 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    animation: slideUp 0.4s ease;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .modal-close {
        top: 10px;
        right: 10px;
        padding: 6px;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(10px);
    }
    
    .modal-close svg {
        width: 20px;
        height: 20px;
    }
}

.modal-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: rgba(20, 241, 149, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    stroke: var(--primary);
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(20, 241, 149, 0.4);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(20, 241, 149, 0);
    }
}

.modal-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.modal-description {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.modal-url-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
}

.modal-input {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 15px;
    padding: 10px;
    font-family: 'Courier New', monospace;
    outline: none;
}

.modal-url-box .btn {
    width: 100%;
}

.modal-platforms {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.platform-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 15px;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.platform-badge.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.platform-badge.active {
    border-color: var(--primary);
    background: rgba(20, 241, 149, 0.1);
    color: var(--primary);
}

.platform-badge svg {
    width: 32px;
    height: 32px;
}

/* Demo Modal */
.demo-modal-content {
    position: relative;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    max-width: 950px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.4s ease;
    -webkit-overflow-scrolling: touch;
}

.demo-modal-content::-webkit-scrollbar {
    width: 6px;
}

.demo-modal-content::-webkit-scrollbar-track {
    background: var(--surface);
    border-radius: 3px;
}

.demo-modal-content::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

.demo-modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.demo-screen {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-step {
    display: none;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
    width: 100%;
}

.demo-step.active {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* Step 1: Mobile Phone Frame */
.demo-phone {
    width: 360px;
    height: 640px;
    position: relative;
}

.demo-phone-frame {
    width: 100%;
    height: 100%;
    background: var(--surface);
    border: 12px solid #1a1a1a;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    position: relative;
}

.demo-phone-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #1a1a1a;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.demo-phone-screen {
    width: 100%;
    height: 100%;
    background: var(--background);
    overflow-y: auto;
}

.demo-mobile-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px;
    border-bottom: 1px solid var(--border);
}

.demo-mobile-logo {
    flex-shrink: 0;
}

.demo-mobile-header span {
    font-size: 1.2rem;
    font-weight: 700;
}

.demo-mobile-content {
    padding: 60px 30px;
    text-align: center;
}

.demo-mobile-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.demo-mobile-content p {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1rem;
}

.demo-connect-btn {
    width: 100%;
    padding: 16px;
    background: var(--gradient-1);
    border: none;
    border-radius: 12px;
    color: var(--background);
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    font-family: inherit;
    animation: claimPulse 2s ease-in-out infinite;
}

/* Step 2: Wallet Selection */
.demo-wallet-select {
    padding: 30px 20px;
}

.demo-wallet-select h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
}

.demo-wallet-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    background: var(--surface-light);
    border: 2px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.demo-wallet-option:hover {
    border-color: var(--primary);
    background: rgba(20, 241, 149, 0.05);
}

.demo-wallet-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.demo-wallet-option span {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Step 3 & 4: Transaction Approval */
.demo-transaction {
    padding: 30px 20px;
}

.demo-tx-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.demo-tx-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.demo-tx-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

.demo-tx-content {
    background: var(--surface-light);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.demo-tx-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.demo-tx-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.demo-tx-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.demo-tx-row span:first-child {
    color: var(--text-secondary);
}

.demo-tx-row span:last-child {
    font-weight: 600;
}

.demo-approve-btn {
    width: 100%;
    padding: 16px;
    background: var(--gradient-1);
    border: none;
    border-radius: 12px;
    color: var(--background);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
}

.demo-approve-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(20, 241, 149, 0.4);
}

.demo-approve-btn:active {
    transform: translateY(0);
}

/* Step 5: Connected Wallet Display */
.demo-wallet-connected {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--surface-light);
    border: 2px solid var(--primary);
    border-radius: 12px;
    margin-bottom: 30px;
}

.demo-connected-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px;
}

.demo-connected-info {
    flex: 1;
}

.demo-connected-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 3px;
}

.demo-connected-address {
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
}

.demo-connected-badge {
    padding: 6px 12px;
    background: rgba(20, 241, 149, 0.15);
    color: var(--primary);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Step 2 & Beyond: App Window */
.demo-app-window {
    background: var(--surface-light);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 700px;
}

.demo-app-window.large {
    max-width: 100%;
    width: 850px;
}

.demo-window-header {
    background: var(--surface);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border);
}

.demo-window-buttons {
    display: flex;
    gap: 8px;
}

.demo-btn-close,
.demo-btn-minimize,
.demo-btn-maximize {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.demo-btn-close {
    background: #FF5F57;
}

.demo-btn-minimize {
    background: #FFBD2E;
}

.demo-btn-maximize {
    background: #28CA42;
}

.demo-window-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.demo-logo {
    flex-shrink: 0;
}

.demo-window-content {
    padding: 40px;
    min-height: 400px;
}

.demo-window-content.opening {
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-loader {
    text-align: center;
}

.demo-loader-spin {
    width: 60px;
    height: 60px;
    border: 4px solid var(--surface-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}

/* Step 3: Input Section */
.demo-input-section {
    max-width: 500px;
    margin: 0 auto;
}

.demo-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.demo-network-badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
}

.demo-network-badge.solana {
    background: rgba(20, 241, 149, 0.15);
    color: #14F195;
}

.demo-network-badge.evm {
    background: rgba(98, 126, 234, 0.15);
    color: #627EEA;
}

.demo-input-box {
    position: relative;
    margin-bottom: 25px;
}

.demo-input {
    width: 100%;
    padding: 14px 16px;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
    transition: border-color 0.3s ease;
}

.demo-input:focus {
    outline: none;
    border-color: var(--primary);
}

.demo-typing-cursor {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 18px;
    background: var(--primary);
    animation: blink 1s step-end infinite;
    display: none;
}

.demo-typing-cursor.active {
    display: block;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.demo-scan-btn {
    width: 100%;
    padding: 16px;
    background: var(--gradient-1);
    border: none;
    border-radius: 10px;
    color: var(--background);
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 30px;
}

.demo-scan-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(20, 241, 149, 0.4);
}

/* Step 4: Scanning */
.demo-scanning {
    text-align: center;
}

.demo-scan-icon {
    margin-bottom: 30px;
    filter: drop-shadow(0 0 20px rgba(20, 241, 149, 0.5));
}

.scan-circle {
    animation: scanPulse 2s ease-in-out infinite;
}

.scan-handle {
    animation: scanRotate 2s ease-in-out infinite;
    transform-origin: 40px 40px;
}

@keyframes scanPulse {
    0%, 100% { 
        stroke-dasharray: 0, 157;
    }
    50% { 
        stroke-dasharray: 157, 157;
    }
}

@keyframes scanRotate {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(360deg); }
}

.demo-scan-lines {
    position: relative;
    width: 120px;
    height: 120px;
    margin: -90px auto 20px;
    pointer-events: none;
}

.scan-line {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 241, 149, 0.3) 0%, transparent 70%);
    animation: scanLineMove 2s ease-in-out infinite;
}

@keyframes scanLineMove {
    0% { 
        top: 0;
        left: 0;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% { 
        top: 40px;
        left: 40px;
        opacity: 0;
    }
}

.demo-scan-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.demo-scan-status {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1rem;
}

.demo-scan-progress {
    width: 100%;
    max-width: 400px;
    height: 8px;
    background: var(--surface);
    border-radius: 4px;
    overflow: hidden;
    margin: 0 auto 15px;
}

.demo-scan-progress-fill {
    height: 100%;
    background: var(--gradient-1);
    border-radius: 4px;
    width: 0%;
    transition: width 0.3s ease;
}

.demo-scan-time {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Step 5: Results */
.demo-results {
    max-width: 100%;
}

.demo-results-header {
    text-align: center;
    margin-bottom: 30px;
}

.demo-results-header h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.demo-results-header .highlight {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.demo-results-tabs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}

.demo-tab {
    padding: 10px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
}

.demo-tab.active {
    background: rgba(20, 241, 149, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.demo-tab-badge {
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.demo-tab-badge.claimed {
    background: rgba(143, 155, 179, 0.2);
    color: var(--text-secondary);
}

.demo-tab-badge.available {
    background: rgba(20, 241, 149, 0.2);
    color: var(--primary);
}

.demo-tab-badge.upcoming {
    background: rgba(153, 69, 255, 0.2);
    color: var(--secondary);
}

.demo-results-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    width: 100%;
}

.demo-result-card {
    flex: 1 1 calc(33.333% - 10px);
    min-width: 180px;
    max-width: 280px;
}

@media (max-width: 899px) and (min-width: 600px) {
    .demo-result-card {
        flex: 1 1 calc(50% - 10px);
    }
}

.demo-result-card {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.demo-results .demo-result-card {
    animation: cardSlideIn 0.5s ease forwards;
    opacity: 0;
}

.demo-results .demo-result-card:nth-child(1) { animation-delay: 0.1s; }
.demo-results .demo-result-card:nth-child(2) { animation-delay: 0.2s; }
.demo-results .demo-result-card:nth-child(3) { animation-delay: 0.3s; }
.demo-results .demo-result-card:nth-child(4) { animation-delay: 0.4s; }
.demo-results .demo-result-card:nth-child(5) { animation-delay: 0.5s; }

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.demo-result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.demo-result-card.available {
    border-color: var(--primary);
}

.demo-result-card.phantom-special.available {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(20, 241, 149, 0.2);
    animation: phantomGlow 2s ease-in-out infinite;
}

@keyframes phantomGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(20, 241, 149, 0.2);
    }
    50% {
        box-shadow: 0 0 40px rgba(20, 241, 149, 0.4);
    }
}

.demo-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.demo-result-logo {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    overflow: hidden;
    padding: 4px;
}

.demo-result-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.demo-result-status {
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 6px;
    background: var(--surface-light);
}

.demo-result-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.demo-result-value {
    font-size: 1.3rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.demo-result-tokens {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.demo-result-chain {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
}

.demo-result-chain.solana {
    background: rgba(20, 241, 149, 0.15);
    color: #14F195;
}

.demo-result-chain.ethereum {
    background: rgba(98, 126, 234, 0.15);
    color: #627EEA;
}

.demo-result-chain.arbitrum {
    background: rgba(40, 160, 240, 0.15);
    color: #28A0F0;
}

/* Phantom Special Card */
.phantom-special {
    position: relative;
    overflow: visible !important;
}

.demo-claim-btn {
    width: 100%;
    padding: 12px;
    margin-top: 12px;
    background: var(--gradient-1);
    border: none;
    border-radius: 10px;
    color: var(--background);
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    animation: claimPulse 2s ease-in-out infinite;
}

@keyframes claimPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(20, 241, 149, 0.7), 0 5px 15px rgba(20, 241, 149, 0.3);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(20, 241, 149, 0), 0 5px 25px rgba(20, 241, 149, 0.5);
    }
}

.demo-claim-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(20, 241, 149, 0.4);
}

.demo-claim-btn:active {
    transform: translateY(0);
}

/* Claiming Overlay */
.claiming-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 11, 13, 0.98);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    z-index: 100;
}

.claiming-overlay.active {
    display: flex;
}

.claiming-animation {
    text-align: center;
    position: relative;
}

.claiming-animation.hide {
    display: none;
}

.coins-flying {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
}

.coin {
    position: absolute;
    width: 30px;
    height: 30px;
    background: var(--gradient-1);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(20, 241, 149, 0.6);
}

.coin:nth-child(1) {
    animation: coinFly1 1.5s ease-out infinite;
}

.coin:nth-child(2) {
    animation: coinFly2 1.5s ease-out infinite;
    animation-delay: 0.2s;
}

.coin:nth-child(3) {
    animation: coinFly3 1.5s ease-out infinite;
    animation-delay: 0.4s;
}

.coin:nth-child(4) {
    animation: coinFly4 1.5s ease-out infinite;
    animation-delay: 0.6s;
}

.coin:nth-child(5) {
    animation: coinFly5 1.5s ease-out infinite;
    animation-delay: 0.8s;
}

@keyframes coinFly1 {
    0% {
        top: 50%;
        left: 50%;
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }
    50% {
        opacity: 1;
    }
    100% {
        top: -20px;
        left: 20%;
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes coinFly2 {
    0% {
        top: 50%;
        left: 50%;
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }
    50% {
        opacity: 1;
    }
    100% {
        top: -10px;
        left: 80%;
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes coinFly3 {
    0% {
        top: 50%;
        left: 50%;
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }
    50% {
        opacity: 1;
    }
    100% {
        top: 10px;
        left: 10%;
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes coinFly4 {
    0% {
        top: 50%;
        left: 50%;
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }
    50% {
        opacity: 1;
    }
    100% {
        top: -15px;
        left: 50%;
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes coinFly5 {
    0% {
        top: 50%;
        left: 50%;
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }
    50% {
        opacity: 1;
    }
    100% {
        top: 5px;
        left: 90%;
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
}

.wallet-icon {
    margin: 0 auto 20px;
    stroke: var(--primary);
    animation: walletBounce 1s ease-in-out infinite;
}

@keyframes walletBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.claiming-text {
    color: var(--text-secondary);
    font-size: 1rem;
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60% { content: '...'; }
    80%, 100% { content: ''; }
}

/* Claimed Success */
.claimed-success {
    display: none;
    text-align: center;
    animation: successFadeIn 0.5s ease forwards;
}

.claimed-success.show {
    display: block;
}

@keyframes successFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-icon {
    margin: 0 auto 20px;
    stroke: var(--primary);
    animation: successCheckmark 0.8s ease forwards;
}

.success-icon svg {
    filter: drop-shadow(0 0 20px rgba(20, 241, 149, 0.6));
}

@keyframes successCheckmark {
    0% {
        transform: scale(0) rotate(-45deg);
    }
    50% {
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

.claimed-success h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--primary);
    text-shadow: 0 0 20px rgba(20, 241, 149, 0.5);
}

.claimed-success p {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.success-message {
    color: var(--text-secondary);
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    margin-top: 10px !important;
}

.demo-close-btn {
    width: 100%;
    padding: 14px;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
}

.demo-close-btn:hover {
    border-color: var(--primary);
    background: rgba(20, 241, 149, 0.1);
}

.demo-close-btn:active {
    transform: scale(0.98);
}

/* Step 5: Coin Selection */
.demo-coin-selection {
    max-width: 100%;
}

.demo-selection-header {
    text-align: center;
    margin-bottom: 40px;
}

.demo-selection-header h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.demo-selection-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.demo-coins-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.demo-coin-card {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: cardSlideIn 0.5s ease forwards;
    opacity: 0;
}

.demo-coin-card:nth-child(1) { animation-delay: 0.1s; }
.demo-coin-card:nth-child(2) { animation-delay: 0.2s; }
.demo-coin-card:nth-child(3) { animation-delay: 0.3s; }
.demo-coin-card:nth-child(4) { animation-delay: 0.4s; }
.demo-coin-card:nth-child(5) { animation-delay: 0.5s; }
.demo-coin-card:nth-child(6) { animation-delay: 0.6s; }

.demo-coin-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(20, 241, 149, 0.2);
}

.demo-coin-card.selected {
    border-color: var(--primary);
    background: rgba(20, 241, 149, 0.1);
    animation: coinSelected 0.5s ease;
}

@keyframes coinSelected {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.demo-coin-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px;
}

.demo-coin-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.demo-coin-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.demo-coin-symbol {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Step 6: Scanning and Paperhanded Result */
.demo-scanning-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.demo-coin-logo-scanning {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    animation: logoPulse 2s ease-in-out infinite;
}

.demo-coin-logo-scanning img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(20, 241, 149, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(20, 241, 149, 0);
    }
}

/* Paperhanded Result Card */
.demo-paperhanded-result {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.paperhanded-card {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    animation: slideUp 0.6s ease;
}

.paperhanded-icon {
    width: 140px;
    height: 140px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    background: radial-gradient(circle, rgba(20, 241, 149, 0.2) 0%, transparent 70%);
    padding: 20px;
    animation: iconReveal 0.8s ease;
}

@keyframes iconReveal {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.paperhanded-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.paperhanded-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 15px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.paperhanded-status {
    font-size: 1.8rem;
    font-weight: 700;
    color: #14F195;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(20, 241, 149, 0.3);
}

.paperhanded-sell-info {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.paperhanded-ath-info {
    font-size: 1rem;
    color: #FF6B6B;
    margin-bottom: 30px;
}

.highlight-green {
    color: #14F195;
    font-weight: 700;
}

.paperhanded-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.paperhanded-stat-box {
    background: rgba(20, 241, 149, 0.05);
    border: 2px solid rgba(20, 241, 149, 0.3);
    border-radius: 16px;
    padding: 25px;
    animation: statBoxFade 0.8s ease forwards;
    opacity: 0;
}

.paperhanded-stat-box:nth-child(1) { animation-delay: 0.3s; }
.paperhanded-stat-box:nth-child(2) { animation-delay: 0.5s; }

@keyframes statBoxFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.stat-value-big {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-value-big.usd {
    background: linear-gradient(135deg, #9945FF 0%, #FF6B6B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.demo-share-btn {
    width: 100%;
    padding: 16px;
    background: var(--gradient-1);
    border: none;
    border-radius: 12px;
    color: var(--background);
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    margin-bottom: 15px;
    animation: btnPulse 2s ease-in-out infinite;
}

@keyframes btnPulse {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(20, 241, 149, 0.3);
    }
    50% {
        box-shadow: 0 5px 35px rgba(20, 241, 149, 0.6);
    }
}

.demo-share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(20, 241, 149, 0.5);
}

.report-footer {
    margin-top: 25px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Navigation Dots */
.demo-navigation {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.demo-dot {
    width: 10px;
    height: 10px;
    background: var(--border);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

/* Touch target size for mobile */
.demo-dot::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
}

.demo-dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .demo-modal-content {
        padding: 50px 15px 15px;
        max-height: 95vh;
        border-radius: 16px;
        margin: 10px;
    }
    
    .demo-screen {
        min-height: 350px;
    }
    
    /* Coin Selection Mobile */
    .demo-coins-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .demo-coin-card {
        padding: 15px;
    }
    
    .demo-coin-logo {
        width: 60px;
        height: 60px;
    }
    
    .demo-coin-card h4 {
        font-size: 1rem;
    }
    
    .demo-coin-symbol {
        font-size: 0.8rem;
    }
    
    .demo-selection-header h3 {
        font-size: 1.5rem;
    }
    
    .demo-selection-header p {
        font-size: 0.95rem;
    }
    
    /* Paperhanded Result Mobile */
    .paperhanded-card {
        padding: 25px;
    }
    
    .paperhanded-icon {
        width: 100px;
        height: 100px;
    }
    
    .paperhanded-title {
        font-size: 1.8rem;
    }
    
    .paperhanded-status {
        font-size: 1.4rem;
    }
    
    .paperhanded-sell-info {
        font-size: 1rem;
    }
    
    .paperhanded-ath-info {
        font-size: 0.9rem;
    }
    
    .paperhanded-stats {
        gap: 12px;
    }
    
    .paperhanded-stat-box {
        padding: 18px;
    }
    
    .stat-value-big {
        font-size: 1.5rem;
    }
    
    .demo-coin-logo-scanning {
        width: 90px;
        height: 90px;
    }
    
    .demo-app-window {
        max-width: 100%;
        transform: scale(0.95);
    }
    
    .demo-window-header {
        padding: 10px 14px;
    }
    
    .demo-window-buttons {
        gap: 6px;
    }
    
    .demo-btn-close,
    .demo-btn-minimize,
    .demo-btn-maximize {
        width: 10px;
        height: 10px;
    }
    
    .demo-window-content {
        padding: 20px 15px;
        min-height: 280px;
    }
    
    .demo-window-title {
        font-size: 0.75rem;
    }
    
    .demo-logo {
        width: 16px;
        height: 16px;
    }
    
    .demo-results-grid {
        gap: 10px;
    }
    
    .demo-result-card {
        flex: 1 1 calc(50% - 5px) !important;
        min-width: 140px;
    }
    
    .demo-results-tabs {
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .demo-tab {
        padding: 8px 12px;
        font-size: 0.75rem;
    }
    
    .demo-results-header h3 {
        font-size: 1.3rem;
    }
    
    .demo-results-header p {
        font-size: 0.9rem;
    }
    
    .demo-input-section {
        max-width: 100%;
    }
    
    .demo-label {
        font-size: 0.8rem;
    }
    
    .demo-input {
        padding: 12px 14px;
        font-size: 0.8rem;
    }
    
    .demo-scan-btn {
        padding: 14px;
        font-size: 0.9rem;
    }
    
    .demo-phone {
        width: 320px;
        height: 580px;
    }
    
    .demo-phone-frame {
        border-width: 10px;
        border-radius: 35px;
    }
    
    .demo-mobile-content {
        padding: 40px 25px;
    }
    
    .demo-mobile-content h2 {
        font-size: 1.7rem;
    }
    
    .demo-wallet-select {
        padding: 25px 15px;
    }
    
    .demo-wallet-select h3 {
        font-size: 1.3rem;
    }
    
    .demo-transaction {
        padding: 25px 15px;
    }
    
    .demo-tx-logo {
        width: 50px;
        height: 50px;
    }
    
    .demo-scan-icon {
        width: 90px;
        height: 90px;
    }
    
    .demo-scan-title {
        font-size: 1.2rem;
    }
    
    .demo-scan-status {
        font-size: 0.85rem;
    }
    
    .demo-result-card {
        padding: 15px;
    }
    
    .demo-result-logo {
        width: 35px;
        height: 35px;
    }
    
    .demo-result-card h4 {
        font-size: 0.9rem;
    }
    
    .demo-result-value {
        font-size: 1.1rem;
    }
    
    .demo-navigation {
        margin-top: 20px;
        gap: 8px;
    }
    
    .demo-dot {
        width: 8px;
        height: 8px;
    }
    
    .demo-dot.active {
        width: 24px;
    }
}

@media (max-width: 480px) {
    .demo-modal-content {
        padding: 45px 10px 10px;
        border-radius: 12px;
        margin: 5px;
    }
    
    .demo-screen {
        min-height: 300px;
    }
    
    /* Coin Selection Extra Small */
    .demo-coins-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .demo-coin-card {
        padding: 12px;
        display: flex;
        align-items: center;
        text-align: left;
        gap: 15px;
    }
    
    .demo-coin-logo {
        width: 50px;
        height: 50px;
        margin: 0;
    }
    
    .demo-coin-card h4 {
        font-size: 0.95rem;
        margin-bottom: 3px;
    }
    
    .demo-coin-symbol {
        font-size: 0.75rem;
    }
    
    .demo-selection-header h3 {
        font-size: 1.2rem;
    }
    
    .demo-selection-header p {
        font-size: 0.85rem;
    }
    
    /* Finger pointer for mobile */
    .demo-finger-pointer {
        right: 5px;
    }
    
    .demo-finger-pointer svg {
        width: 30px;
        height: 30px;
    }
    
    /* Paperhanded Result Extra Small */
    .paperhanded-card {
        padding: 20px;
    }
    
    .paperhanded-icon {
        width: 80px;
        height: 80px;
        padding: 12px;
    }
    
    .paperhanded-title {
        font-size: 1.5rem;
    }
    
    .paperhanded-status {
        font-size: 1.2rem;
    }
    
    .paperhanded-sell-info {
        font-size: 0.9rem;
    }
    
    .paperhanded-ath-info {
        font-size: 0.8rem;
    }
    
    .paperhanded-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .paperhanded-stat-box {
        padding: 15px;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .stat-value-big {
        font-size: 1.3rem;
    }
    
    .demo-share-btn {
        padding: 14px;
        font-size: 0.9rem;
    }
    
    .report-footer {
        font-size: 0.8rem;
    }
    
    .demo-coin-logo-scanning {
        width: 70px;
        height: 70px;
    }
    
    .demo-app-window {
        transform: scale(0.88);
        margin: 0 auto;
    }
    
    .demo-app-window.large {
        transform: scale(0.85);
    }
    
    .demo-window-content {
        padding: 15px 10px;
        min-height: 250px;
    }
    
    .demo-window-title {
        font-size: 0.7rem;
    }
    
    .demo-results-grid {
        gap: 10px;
    }
    
    .demo-result-card {
        flex: 1 1 100% !important;
        min-width: 100%;
    }
    
    .demo-results-tabs {
        gap: 5px;
    }
    
    .demo-tab {
        padding: 6px 10px;
        font-size: 0.7rem;
    }
    
    .demo-results-header h3 {
        font-size: 1.1rem;
    }
    
    .demo-results-header p {
        font-size: 0.8rem;
    }
    
    .demo-progress-bar {
        width: 200px;
    }
    
    .demo-input {
        font-size: 0.7rem;
        padding: 10px 12px;
    }
    
    .demo-typing-cursor {
        height: 14px;
    }
    
    .demo-network-badge {
        font-size: 0.65rem;
        padding: 3px 8px;
    }
    
    .demo-scan-btn {
        font-size: 0.85rem;
    }
    
    .download-icon {
        width: 60px;
        height: 60px;
    }
    
    .demo-phone {
        width: 280px;
        height: 520px;
    }
    
    .demo-phone-frame {
        border-width: 8px;
        border-radius: 30px;
    }
    
    .demo-phone-frame::before {
        width: 100px;
        height: 22px;
    }
    
    .demo-mobile-content {
        padding: 30px 20px;
    }
    
    .demo-mobile-content h2 {
        font-size: 1.4rem;
    }
    
    .demo-mobile-content p {
        font-size: 0.9rem;
    }
    
    .demo-connect-btn {
        font-size: 0.9rem;
        padding: 14px;
    }
    
    .demo-wallet-select {
        padding: 20px 12px;
    }
    
    .demo-wallet-select h3 {
        font-size: 1.1rem;
    }
    
    .demo-wallet-option {
        padding: 14px 16px;
    }
    
    .demo-wallet-icon {
        width: 35px;
        height: 35px;
    }
    
    .demo-wallet-option span {
        font-size: 1rem;
    }
    
    .demo-transaction {
        padding: 20px 12px;
    }
    
    .demo-tx-logo {
        width: 45px;
        height: 45px;
    }
    
    .demo-tx-header h3 {
        font-size: 1.1rem;
    }
    
    .demo-tx-title {
        font-size: 1rem;
    }
    
    .demo-tx-row {
        font-size: 0.85rem;
    }
    
    .demo-approve-btn {
        font-size: 0.9rem;
        padding: 14px;
    }
    
    .demo-connected-icon {
        width: 40px;
        height: 40px;
    }
    
    .demo-wallet-connected {
        padding: 15px;
        gap: 10px;
    }
    
    .demo-connected-icon {
        width: 35px;
        height: 35px;
    }
    
    .demo-connected-address {
        font-size: 0.9rem;
    }
    
    .demo-connected-badge {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
    
    .demo-scan-title {
        font-size: 0.95rem;
    }
    
    .demo-scan-status {
        font-size: 0.75rem;
    }
    
    .demo-scan-time {
        font-size: 0.7rem;
    }
    
    .demo-scan-lines {
        width: 70px;
        height: 70px;
        margin: -60px auto 15px;
    }
    
    .demo-result-card {
        padding: 12px;
    }
    
    .demo-result-logo {
        width: 30px;
        height: 30px;
    }
    
    .demo-result-status {
        font-size: 0.65rem;
        padding: 3px 6px;
    }
    
    .demo-result-card h4 {
        font-size: 0.85rem;
    }
    
    .demo-result-value {
        font-size: 1rem;
    }
    
    .demo-result-tokens {
        font-size: 0.75rem;
    }
    
    .demo-claim-btn {
        padding: 10px;
        font-size: 0.85rem;
        margin-top: 10px;
    }
    
    .demo-claim-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .coins-flying {
        width: 70px;
        height: 70px;
    }
    
    .coin {
        width: 20px;
        height: 20px;
    }
    
    .wallet-icon svg {
        width: 50px;
        height: 50px;
    }
    
    .claiming-text {
        font-size: 0.85rem;
    }
    
    .claimed-success h3 {
        font-size: 1.2rem;
    }
    
    .claimed-success p {
        font-size: 0.95rem;
    }
    
    .success-icon svg {
        width: 60px;
        height: 60px;
    }
    
    .demo-close-btn {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .demo-navigation {
        margin-top: 15px;
    }
    
    .demo-loader p {
        font-size: 0.9rem;
    }
    
    .demo-text {
        font-size: 0.85rem;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .demo-results-header h3 {
        font-size: 1rem;
    }
    
    .demo-result-card {
        padding: 10px;
    }
    
    .demo-result-value {
        font-size: 0.95rem;
    }
    
    .demo-result-chain {
        font-size: 0.65rem;
    }
    
    .demo-tab {
        padding: 5px 8px;
        font-size: 0.65rem;
    }
    
    .demo-tab-badge {
        font-size: 0.65rem;
        padding: 1px 6px;
    }
}

/* ===== ANALYSIS CHOICE (Step 4.5) - IN PHONE ===== */
.demo-analysis-select {
    padding: 30px 20px;
    position: relative;
}

.demo-analysis-select h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 8px;
    text-align: center;
}

.demo-analysis-select p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 25px;
    text-align: center;
}

.demo-analysis-option {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.demo-analysis-option:hover {
    border-color: var(--primary);
    background: rgba(20, 241, 149, 0.05);
}

.demo-analysis-option.selected {
    border-color: var(--primary);
    background: rgba(20, 241, 149, 0.1);
    box-shadow: 0 0 20px rgba(20, 241, 149, 0.3);
}

.demo-analysis-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.demo-analysis-icon.ai-icon {
    background: linear-gradient(135deg, rgba(20, 241, 149, 0.2), rgba(153, 69, 255, 0.2));
}

.demo-analysis-icon.ai-icon svg {
    stroke: var(--primary);
}

.demo-analysis-icon.paperhands-icon {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(255, 165, 0, 0.2));
}

.demo-analysis-icon.paperhands-icon svg {
    stroke: #FF6B6B;
}

.demo-analysis-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.demo-analysis-title {
    font-size: 1rem;
    font-weight: 600;
    color: #FFFFFF;
}

.demo-analysis-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== ANIMATED FINGER POINTER ===== */
.demo-finger-pointer {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    animation: fingerBounce 2s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(20, 241, 149, 0.5));
    z-index: 10;
    pointer-events: none;
}

.demo-finger-pointer svg {
    transform: rotate(-90deg);
}

@keyframes fingerBounce {
    0%, 100% {
        top: 35%;
        opacity: 1;
    }
    45% {
        top: 35%;
        opacity: 1;
    }
    50% {
        top: 60%;
        opacity: 0.7;
    }
    95% {
        top: 60%;
        opacity: 0.7;
    }
}

/* Hide finger when option is selected */
.demo-analysis-option.selected ~ .demo-finger-pointer {
    display: none;
}

/* ===== AI RISK ANALYSIS RESULT ===== */
.demo-ai-result {
    animation: slideUp 0.6s ease;
}

.ai-risk-card {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.ai-risk-logo {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
}

.ai-risk-logo-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 3px solid rgba(255, 165, 0, 0.3);
}

.ai-risk-logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ai-risk-network-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(20, 241, 149, 0.15);
    border: 2px solid var(--primary);
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
}

.ai-risk-coin-name {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.ai-risk-alert {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    background: linear-gradient(135deg, #FFA500, #FF6B6B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}

.ai-risk-scan-time {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.ai-risk-validity {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-bottom: 30px;
}

.ai-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.ai-metric-card {
    background: rgba(20, 21, 23, 0.95);
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ai-metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.ai-metric-card.green {
    border: 2px solid #14F195;
}

.ai-metric-card.green::before {
    background: #14F195;
}

.ai-metric-card.purple {
    border: 2px solid #9945FF;
}

.ai-metric-card.purple::before {
    background: #9945FF;
}

.ai-metric-card.orange {
    border: 2px solid #FFA500;
}

.ai-metric-card.orange::before {
    background: #FFA500;
}

.ai-metric-card.red {
    border: 2px solid #FF6B6B;
}

.ai-metric-card.red::before {
    background: #FF6B6B;
}

.ai-metric-card.blue {
    border: 2px solid #9945FF;
}

.ai-metric-card.blue::before {
    background: #9945FF;
}

.ai-metric-card.dual {
    border: 2px solid;
    border-image: linear-gradient(90deg, #FFA500, #14F195) 1;
}

.ai-metric-card.orange-green::before {
    background: linear-gradient(90deg, #FFA500, #14F195);
}

.ai-metric-card.green-green::before {
    background: linear-gradient(90deg, #14F195, #14F195);
}

.ai-metric-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 12px;
    font-weight: 500;
}

.ai-metric-value {
    font-size: 1.9rem;
    font-weight: 700;
}

.ai-metric-card.green .ai-metric-value {
    color: #14F195;
}

.ai-metric-card.purple .ai-metric-value {
    color: #9945FF;
}

.ai-metric-card.orange .ai-metric-value {
    color: #FFA500;
}

.ai-metric-card.red .ai-metric-value {
    color: #FF6B6B;
}

.ai-metric-card.blue .ai-metric-value {
    color: #9945FF;
}

.ai-metric-dual {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ai-dual-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom right, transparent 49.5%, rgba(255, 255, 255, 0.3) 49.5%, rgba(255, 255, 255, 0.3) 50.5%, transparent 50.5%);
    pointer-events: none;
}

.ai-dual-top {
    text-align: left;
    padding-left: 10px;
}

.ai-dual-bottom {
    text-align: right;
    padding-right: 10px;
}

.ai-dual-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 5px;
}

.ai-dual-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.green-text {
    color: #14F195;
}

.orange-text {
    color: #FFA500;
}

.ai-recommendation {
    background: rgba(20, 241, 149, 0.05);
    border: 1px solid rgba(20, 241, 149, 0.2);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    margin-bottom: 25px;
}

.ai-rec-title {
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(90deg, #14F195, #9945FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.ai-rec-text {
    font-size: 1rem;
    color: #14F195;
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
    margin-top: 100px;
    position: relative;
    z-index: 20;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-tagline {
    color: var(--text-secondary);
    margin-top: 15px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* AI Risk Analysis Mobile */
    .ai-risk-card {
        padding: 25px 15px;
    }
    
    .ai-risk-logo {
        width: 120px;
        height: 120px;
    }
    
    .ai-risk-logo-circle {
        width: 120px;
        height: 120px;
    }
    
    .ai-risk-network-badge {
        top: 15px;
        right: 15px;
        padding: 6px 14px;
        font-size: 0.75rem;
    }
    
    .ai-risk-coin-name {
        font-size: 1.8rem;
    }
    
    .ai-risk-alert {
        font-size: 1.3rem;
    }
    
    .ai-risk-scan-time {
        font-size: 0.85rem;
    }
    
    .ai-risk-validity {
        font-size: 0.75rem;
        margin-bottom: 20px;
    }
    
    .ai-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .ai-metric-card {
        padding: 15px 12px;
    }
    
    .ai-metric-label {
        font-size: 0.75rem;
        margin-bottom: 8px;
    }
    
    .ai-metric-value {
        font-size: 1.3rem;
    }
    
    .ai-dual-label {
        font-size: 0.7rem;
    }
    
    .ai-dual-value {
        font-size: 1.1rem;
    }
    
    .ai-recommendation {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .ai-rec-title {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }
    
    .ai-rec-text {
        font-size: 0.85rem;
    }
    
    .demo-share-btn {
        font-size: 0.9rem;
        padding: 14px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: -1.5px;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-large {
        width: 100%;
        justify-content: center;
    }
    
    /* How it Works mobile */
    .how-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .how-card {
        padding: 40px 30px;
    }
    
    .how-icon {
        width: 80px;
        height: 80px;
    }
    
    .how-title {
        font-size: 1.5rem;
    }
    
    /* Example Paperhands mobile */
    .examples-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .example-card {
        padding: 25px;
    }
    
    /* X Verification mobile */
    .x-verification-content {
        padding: 30px 20px;
    }
    
    .x-logo {
        width: 100px !important;
        height: 100px !important;
    }
    
    .x-logo-container {
        margin-bottom: 30px;
    }
    
    .x-loading-text {
        font-size: 1rem;
    }
    
    .x-verification-badges {
        gap: 8px;
        margin: 25px 0 35px;
    }
    
    .x-badge {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    
    .x-badge svg {
        width: 18px;
        height: 18px;
    }
    
    .x-phantom-card {
        padding: 20px;
    }
    
    .x-phantom-label {
        font-size: 0.75rem;
        margin-bottom: 12px;
    }
    
    .x-phantom-logo-big {
        width: 90px;
        height: 90px;
        margin: 0 auto 12px;
    }
    
    .x-phantom-name {
        font-size: 1.3rem;
    }
    
    .x-progress-bar {
        margin-bottom: 12px;
    }
    
    .x-redirect-text {
        font-size: 0.85rem;
    }
    
    .hero-badges {
        gap: 8px;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .wallet-info {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .tabs {
        gap: 5px;
    }
    
    .tab-btn {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .airdrop-grid {
        grid-template-columns: 1fr;
    }
    
    .loading-title {
        font-size: 2.5rem;
    }
    
    .loading-powered {
        font-size: 0.8rem;
    }
    
    .search-icon-wrapper {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 768px) {
    .modal-content {
        padding: 40px 25px 30px;
        margin: 0 15px;
    }
    
    .modal-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 25px;
    }
    
    .modal-icon svg {
        width: 60px;
        height: 60px;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
    
    .modal-description {
        font-size: 0.95rem;
    }
    
    .modal-platforms {
        gap: 10px;
    }
    
    .platform-badge {
        padding: 15px 10px;
    }
    
    .platform-badge svg {
        width: 24px;
        height: 24px;
    }
    
    .platform-badge span {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    /* AI Risk Analysis Extra Small */
    .ai-metrics-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .ai-metric-card {
        padding: 18px 15px;
    }
    
    .ai-metric-value {
        font-size: 1.5rem;
    }
    
    .ai-dual-value {
        font-size: 1.3rem;
    }
    
    .ai-risk-coin-name {
        font-size: 1.5rem;
    }
    
    .ai-risk-alert {
        font-size: 1.1rem;
    }
    
    .ai-recommendation {
        padding: 12px;
    }
    
    .ai-rec-title {
        font-size: 0.85rem;
    }
    
    .ai-rec-text {
        font-size: 0.8rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 60px 0 40px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .loading-title {
        font-size: 2rem;
    }
    
    .loading-powered {
        font-size: 0.75rem;
    }
    
    .hero-badges {
        gap: 6px;
    }
    
    .hero-badge {
        font-size: 0.7rem;
        padding: 5px 10px;
    }
    
    .header .container {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .powered-by {
        font-size: 0.6rem;
    }
    
    .modal-content {
        padding: 35px 20px 25px;
    }
    
    .modal-title {
        font-size: 1.3rem;
    }
    
    .modal-description {
        font-size: 0.9rem;
    }
    
    .modal-url-box {
        padding: 15px;
    }
    
    .modal-input {
        font-size: 0.8rem;
        padding: 8px;
    }
}

/* ============================================================
   REDESIGN 2026 — analysis choice, coin select, results, reviews
   ============================================================ */

/* ----- Analysis choice: refined, no finger pointer ----- */
.demo-analysis-option {
    position: relative;
    border-radius: 18px;
    padding: 20px 22px;
    gap: 16px;
    overflow: hidden;
}

.demo-analysis-option::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.06) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.demo-analysis-option:hover::before {
    transform: translateX(120%);
}

.demo-analysis-arrow {
    stroke: var(--text-secondary);
    transition: transform 0.3s ease, stroke 0.3s ease;
    flex-shrink: 0;
}

.demo-analysis-option:hover .demo-analysis-arrow {
    transform: translateX(4px);
    stroke: var(--primary);
}

.demo-analysis-tag {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
    background: rgba(20, 241, 149, 0.12);
    border: 1px solid rgba(20, 241, 149, 0.35);
    padding: 4px 10px;
    border-radius: 50px;
    flex-shrink: 0;
}

/* Gentle pulse to hint the recommended option instead of a finger */
.demo-hint-pulse {
    animation: hintGlow 2.4s ease-in-out infinite;
}

@keyframes hintGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(20, 241, 149, 0);
        border-color: var(--border);
    }
    50% {
        box-shadow: 0 0 24px 0 rgba(20, 241, 149, 0.25);
        border-color: rgba(20, 241, 149, 0.5);
    }
}

.demo-analysis-option.selected {
    animation: none;
}

.demo-tap-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.demo-tap-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    animation: tapDotPulse 1.4s ease-in-out infinite;
}

@keyframes tapDotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.6); opacity: 0.4; }
}

/* ----- Coin selection: highlight chosen, dim the rest ----- */
.demo-coin-card {
    position: relative;
}

.demo-coins-grid.has-selection .demo-coin-card:not(.selected) {
    opacity: 0.35;
    filter: grayscale(0.6);
    transform: scale(0.96);
}

.demo-coin-card.selected {
    border-color: var(--primary);
    background: rgba(20, 241, 149, 0.08);
    box-shadow: 0 0 0 2px var(--primary), 0 20px 50px rgba(20, 241, 149, 0.28);
    transform: translateY(-6px) scale(1.03);
    animation: none;
    z-index: 2;
}

.demo-coin-card.selected .demo-coin-logo {
    box-shadow: 0 0 0 3px rgba(20, 241, 149, 0.4);
}

.demo-coin-card.selected::after {
    content: '';
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230A0B0D' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: 0 4px 14px rgba(20, 241, 149, 0.5);
    animation: checkPop 0.35s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

@keyframes checkPop {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

/* ----- Result cards: cleaner, more premium ----- */
.ai-risk-card,
.paperhanded-card {
    background:
        radial-gradient(120% 80% at 50% 0%, rgba(20, 241, 149, 0.08) 0%, transparent 55%),
        var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.ai-metric-card {
    background: rgba(255, 255, 255, 0.02);
    border-width: 1px !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ai-metric-card:hover {
    transform: translateY(-3px);
}

.ai-metric-value {
    font-size: 1.7rem;
    letter-spacing: -0.5px;
}

.ai-recommendation {
    background: linear-gradient(135deg, rgba(20, 241, 149, 0.08), rgba(153, 69, 255, 0.06));
    border: 1px solid rgba(20, 241, 149, 0.25);
    border-radius: 18px;
}

.demo-share-btn {
    border-radius: 14px;
    letter-spacing: 0.3px;
}

.paperhanded-stat-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(20, 241, 149, 0.25);
    border-radius: 18px;
    transition: transform 0.25s ease;
}

.paperhanded-stat-box:hover {
    transform: translateY(-3px);
}

/* ----- Reviews / testimonials stack carousel ----- */
.reviews {
    padding: 100px 0;
    background: var(--background);
    position: relative;
    z-index: 20;
    overflow: hidden;
}

.reviews-stack {
    position: relative;
    max-width: 620px;
    height: 340px;
    margin: 0 auto;
}

.review-card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 100%;
    background:
        radial-gradient(130% 90% at 50% 0%, rgba(153, 69, 255, 0.10) 0%, transparent 55%),
        var(--surface-light);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 38px 40px 32px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.6s ease,
                filter 0.6s ease;
    transform-origin: center bottom;
    will-change: transform, opacity;
}

/* Stack states (assigned by JS) */
.review-card.is-active   { transform: translateY(0) scale(1);       opacity: 1;   z-index: 5; filter: blur(0); }
.review-card.is-next     { transform: translateY(22px) scale(0.94); opacity: 0.6; z-index: 4; filter: blur(0.5px); }
.review-card.is-next2    { transform: translateY(44px) scale(0.88); opacity: 0.3; z-index: 3; filter: blur(1px); }
.review-card.is-hidden   { transform: translateY(60px) scale(0.82); opacity: 0;   z-index: 1; pointer-events: none; }
.review-card.is-leaving  { transform: translateX(-130%) rotate(-7deg) scale(0.95); opacity: 0; z-index: 6; }

.review-quote-mark {
    position: absolute;
    top: 14px;
    right: 28px;
    font-size: 6rem;
    line-height: 1;
    font-family: Georgia, serif;
    color: rgba(20, 241, 149, 0.14);
    pointer-events: none;
}

.review-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 18px;
    color: #FFC542;
    font-size: 1.05rem;
}

.review-text {
    font-size: 1.12rem;
    line-height: 1.65;
    color: var(--text-primary);
    margin-bottom: 26px;
    min-height: 108px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.review-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.3rem;
    color: #0A0B0D;
    flex-shrink: 0;
}

/* Placeholder gradient avatars (swap for real photos later) */
.review-card[data-avatar="1"] .review-avatar { background: linear-gradient(135deg, #14F195, #00D4FF); }
.review-card[data-avatar="2"] .review-avatar { background: linear-gradient(135deg, #9945FF, #FF6B6B); }
.review-card[data-avatar="3"] .review-avatar { background: linear-gradient(135deg, #FFB347, #FF6B6B); }
.review-card[data-avatar="4"] .review-avatar { background: linear-gradient(135deg, #00D4FF, #9945FF); }
.review-card[data-avatar="5"] .review-avatar { background: linear-gradient(135deg, #14F195, #FFB347); }

.review-author-info {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.review-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
}

.review-handle {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.review-verified {
    margin-left: auto;
    flex-shrink: 0;
}

.reviews-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 44px;
}

.reviews-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--surface-light);
    border: 1px solid var(--border);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.reviews-arrow:hover {
    border-color: var(--primary);
    background: rgba(20, 241, 149, 0.08);
    color: var(--primary);
    transform: translateY(-2px);
}

.reviews-dots {
    display: flex;
    gap: 10px;
}

.reviews-dots .review-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.reviews-dots .review-dot.active {
    width: 26px;
    border-radius: 50px;
    background: var(--gradient-1);
}

@media (max-width: 640px) {
    .reviews-stack {
        height: 400px;
    }
    .review-card {
        padding: 30px 26px 26px;
    }
    .review-text {
        font-size: 1rem;
        min-height: 140px;
    }
    .review-quote-mark {
        font-size: 4.5rem;
        right: 18px;
    }
}

/* ============================================================
   PREMIUM OVERHAUL 2026 — global glow, hero, cards, demo
   Appended last so it wins over earlier rules.
   ============================================================ */

:root {
    --glow-green: rgba(20, 241, 149, 0.5);
    --glow-purple: rgba(153, 69, 255, 0.45);
}

/* ---- Ambient background: subtle grid + drifting orbs ---- */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    top: -10%;
    left: 50%;
    width: 900px;
    height: 900px;
    transform: translateX(-50%);
    background:
        radial-gradient(circle at 30% 30%, rgba(20, 241, 149, 0.12), transparent 55%),
        radial-gradient(circle at 70% 40%, rgba(153, 69, 255, 0.12), transparent 55%);
    filter: blur(30px);
    pointer-events: none;
    z-index: 0;
    animation: orbDrift 24s ease-in-out infinite;
}

@keyframes orbDrift {
    0%, 100% { transform: translateX(-50%) translateY(0) rotate(0deg); }
    50% { transform: translateX(-50%) translateY(40px) rotate(20deg); }
}

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

/* ---- Header: glassy sticky bar ---- */
.header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(10, 11, 13, 0.65);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px 0;
}

/* ---- Section headers: eyebrow + gradient underline ---- */
.section-header { position: relative; }

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -1.5px;
}

.section-header::after {
    content: '';
    display: block;
    width: 64px;
    height: 4px;
    margin: 22px auto 0;
    border-radius: 4px;
    background: var(--gradient-1);
    box-shadow: 0 0 20px var(--glow-green);
}

/* ---- Hero: animated gradient title + glow ---- */
.hero { padding: 120px 0 90px; }

.hero-title {
    font-size: clamp(2.8rem, 6vw, 4.6rem);
    letter-spacing: -3px;
}

.hero-title .gradient-text {
    background: linear-gradient(120deg, #14F195, #00D4FF, #9945FF, #14F195);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 6s ease infinite;
    filter: drop-shadow(0 0 24px rgba(20, 241, 149, 0.25));
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-description { max-width: 620px; margin-left: auto; margin-right: auto; }

.hero-badge {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* ---- Buttons: real glow + shine ---- */
.btn-gradient,
.btn-large.btn-gradient {
    box-shadow: 0 8px 30px rgba(20, 241, 149, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.btn-gradient:hover {
    box-shadow: 0 14px 44px rgba(20, 241, 149, 0.45);
    transform: translateY(-3px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* ---- Stats: glass cards with gradient top edge ---- */
.stat-item {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 28px 20px;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover::before { opacity: 1; }

.stat-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(20, 241, 149, 0.4);
}

/* ---- Glass card treatment for how / example cards ---- */
.how-card,
.example-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.how-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(20, 241, 149, 0.6), transparent 40%, transparent 60%, rgba(153, 69, 255, 0.6));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.how-card:hover::after { opacity: 1; }

.how-icon {
    background: linear-gradient(135deg, rgba(20, 241, 149, 0.18), rgba(153, 69, 255, 0.18));
    box-shadow: 0 0 30px rgba(20, 241, 149, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.how-card:hover .how-icon { animation: iconFloat 1.6s ease-in-out infinite; }

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ---- Scroll reveal ---- */
.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in-view {
    opacity: 1;
    transform: none;
}
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ============================================================
   DEMO — full premium restyle
   ============================================================ */

.demo-modal .modal-overlay {
    background: radial-gradient(ellipse at 50% 30%, rgba(20, 241, 149, 0.08), rgba(0,0,0,0.9) 60%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.demo-modal-content {
    background:
        radial-gradient(120% 60% at 50% 0%, rgba(153, 69, 255, 0.10), transparent 55%),
        rgba(18, 19, 23, 0.85);
    backdrop-filter: blur(24px) saturate(140%);
    -webkit-backdrop-filter: blur(24px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Phone: more realistic frame with side buttons + home bar */
.demo-phone-frame {
    border: 12px solid #0e0e10;
    border-radius: 46px;
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.7),
        inset 0 0 0 2px rgba(255, 255, 255, 0.05),
        0 0 60px rgba(20, 241, 149, 0.08);
}

.demo-phone-frame::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.3);
    z-index: 10;
}

.demo-phone::before,
.demo-phone::after {
    content: '';
    position: absolute;
    width: 3px;
    background: #0e0e10;
    border-radius: 3px;
    right: -3px;
}
.demo-phone::before { top: 130px; height: 60px; }
.demo-phone::after { top: 210px; height: 90px; }

/* App window: glassy, macOS-style, glowing header */
.demo-app-window {
    background: rgba(20, 21, 25, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 18px !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6) !important;
    overflow: hidden;
}

.demo-window-header {
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Connect / approve buttons in demo: glow */
.demo-connect-btn,
.demo-approve-btn {
    box-shadow: 0 8px 26px rgba(20, 241, 149, 0.3);
}

/* Scanning progress: gradient + glow */
.demo-scan-progress-fill,
#scanProgressFill {
    background: var(--gradient-1) !important;
    box-shadow: 0 0 16px var(--glow-green);
}

/* Result cards get a top accent bar */
.ai-risk-card::before,
.paperhanded-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    border-radius: 24px 24px 0 0;
    background: var(--gradient-1);
    box-shadow: 0 0 24px var(--glow-green);
}

/* Nav dots active glow */
.demo-dot.active {
    box-shadow: 0 0 12px var(--glow-green);
}

@media (max-width: 768px) {
    body::before { background-size: 40px 40px; }
    .section-header::after { margin-top: 16px; }
}

/* ============================================================
   REFERENCE-DRIVEN HERO + DEMO V2
   ============================================================ */

/* The supplied image is the only hero artwork. */
body::before,
body::after {
    display: none;
}

.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(3, 5, 12, 0.72), transparent);
    border-bottom: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 22px 0;
}

.header .btn-primary {
    background: linear-gradient(110deg, rgba(20, 241, 149, 0.82), rgba(153, 69, 255, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.48);
    color: #fff;
    box-shadow:
        0 0 0 1px rgba(20, 241, 149, 0.18),
        0 0 30px rgba(153, 69, 255, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.header .btn-primary:hover {
    background: linear-gradient(110deg, #14f195, #9945ff);
    border-color: rgba(255, 255, 255, 0.75);
    box-shadow: 0 10px 40px rgba(153, 69, 255, 0.52);
}

.hero {
    min-height: 720px;
    padding: 108px 0 58px;
    display: flex;
    align-items: center;
    background-image: url('fon/fon.webp');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    display: block;
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
    background:
        linear-gradient(180deg, rgba(2, 4, 10, 0.15) 0%, rgba(3, 5, 12, 0.03) 42%, rgba(3, 5, 12, 0.76) 100%),
        radial-gradient(ellipse 52% 54% at 50% 45%, rgba(2, 5, 13, 0.08), rgba(2, 5, 13, 0.42) 100%);
    animation: none;
    pointer-events: none;
    z-index: 1;
}

.hero::after {
    display: none;
}

.hero .container {
    width: 100%;
}

.hero-content {
    max-width: 820px;
}

.hero-badges {
    gap: 9px;
    margin-bottom: 30px;
}

.hero-badge {
    min-height: 38px;
    padding: 8px 15px;
    gap: 8px;
    color: rgba(231, 235, 255, 0.76);
    background: rgba(10, 14, 28, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 8px 24px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(14px) saturate(135%);
    -webkit-backdrop-filter: blur(14px) saturate(135%);
    cursor: default;
}

.hero-badge:hover {
    transform: translateY(-2px);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.26);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
}

.hero-badge.active {
    color: #7fffc4;
    border-color: rgba(20, 241, 149, 0.62);
    background: rgba(20, 241, 149, 0.09);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 0 24px rgba(20, 241, 149, 0.22);
}

.network-icon {
    width: 17px;
    height: 17px;
    fill: currentColor;
    stroke: none;
    flex: 0 0 auto;
}

.network-icon .network-cut {
    fill: none;
    stroke: #07101a;
    stroke-width: 1.2;
}

.badge-solana { color: #71f7be; }
.badge-ethereum { color: #8799ff; }
.badge-bsc { color: #f3ba2f; }
.badge-polygon { color: #b578ff; }
.badge-polygon .network-icon { fill: none; stroke: currentColor; stroke-width: 1.8; }
.badge-arbitrum { color: #75b9ff; }
.badge-base { color: #4c79ff; }

.hero-title {
    font-size: clamp(3.4rem, 7vw, 5.25rem);
    line-height: 0.98;
    margin-bottom: 24px;
    letter-spacing: -4px;
    text-shadow: 0 8px 40px rgba(0, 0, 0, 0.48);
}

.hero-title .gradient-text {
    display: block;
    margin-top: 6px;
    background: linear-gradient(90deg, #5ef2ad 5%, #53cae8 48%, #a76bff 92%);
    background-size: 100% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: none;
    filter: drop-shadow(0 0 26px rgba(86, 211, 220, 0.2));
}

.hero-description {
    max-width: 650px;
    margin-bottom: 30px;
    color: rgba(218, 225, 240, 0.72);
    font-size: 1.05rem;
    line-height: 1.65;
}

.hero-buttons {
    margin-bottom: 16px;
}

.hero-buttons .btn {
    min-width: 172px;
    justify-content: center;
    border-radius: 12px;
}

.hero-trust {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    color: rgba(206, 216, 235, 0.48);
    font-size: 0.76rem;
    margin-bottom: 32px;
}

.hero-trust svg {
    color: rgba(116, 210, 178, 0.7);
}

.stats {
    max-width: 650px;
    margin: 0 auto;
    gap: 12px;
}

.stats .stat-item {
    min-height: 105px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 18px 26px;
    text-align: left;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(18, 28, 42, 0.72), rgba(9, 12, 24, 0.62));
    border: 1px solid rgba(137, 174, 211, 0.22);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 18px 44px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(14px) saturate(130%);
    -webkit-backdrop-filter: blur(14px) saturate(130%);
}

.stats .stat-item::before {
    opacity: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
}

.stat-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 11px;
}

.stat-icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}

.stat-icon-green { color: #4af0a4; background: rgba(20, 241, 149, 0.12); }
.stat-icon-purple { color: #a567ff; background: rgba(153, 69, 255, 0.14); }
.stat-icon-blue { color: #5291ff; background: rgba(48, 108, 255, 0.14); }

.stat-copy {
    min-width: 0;
}

.stats .stat-value {
    color: #f7f9ff;
    background: none;
    -webkit-text-fill-color: currentColor;
    font-size: 1.65rem;
    line-height: 1.05;
    margin-bottom: 6px;
    letter-spacing: -1px;
}

.stats .stat-label {
    color: rgba(210, 220, 238, 0.54);
    font-size: 0.72rem;
    white-space: nowrap;
}

.stat-spark {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 8px;
    width: calc(100% - 36px);
    height: 19px;
    overflow: visible;
    opacity: 0.58;
}

.stat-spark path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.3;
    vector-effect: non-scaling-stroke;
    filter: drop-shadow(0 0 4px currentColor);
}

.stat-spark-green { color: #32dfa0; }
.stat-spark-purple { color: #a45fff; }
.stat-spark-blue { color: #4b84ff; }

/* ----- Coin chooser: a real product-style selection window ----- */
.demo-modal-content {
    max-width: 1060px;
}

.demo-screen {
    min-height: 620px;
}

#demoStep5 .demo-app-window.large,
#demoStep6 .demo-app-window.large {
    width: min(940px, 100%);
}

#demoStep5 .demo-window-content {
    padding: 34px 38px 30px;
    min-height: 530px;
    background:
        radial-gradient(circle at 50% -10%, rgba(20, 241, 149, 0.08), transparent 42%),
        linear-gradient(180deg, rgba(14, 18, 28, 0.94), rgba(8, 10, 18, 0.98));
}

.demo-selection-header {
    margin-bottom: 28px;
}

.demo-selection-header h3 {
    margin: 9px 0 7px;
    font-size: 2rem;
    letter-spacing: -0.8px;
}

.demo-selection-header p {
    font-size: 0.95rem;
}

.demo-step-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 11px;
    border: 1px solid rgba(20, 241, 149, 0.3);
    border-radius: 999px;
    background: rgba(20, 241, 149, 0.08);
    color: #70f6bd;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.demo-coins-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
    margin-bottom: 18px;
}

.demo-coin-card {
    width: 100%;
    min-width: 0;
    min-height: 96px;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    padding: 16px;
    text-align: left;
    font-family: inherit;
    color: inherit;
    background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 15px;
    opacity: 1;
    animation: cardSlideIn 0.45s ease forwards;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.demo-coin-card:hover {
    transform: translateY(-3px);
    border-color: rgba(20, 241, 149, 0.48);
    background: rgba(20, 241, 149, 0.055);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.26);
}

.demo-coins-grid.has-selection .demo-coin-card:not(.selected) {
    opacity: 0.62;
    filter: none;
    transform: scale(0.985);
}

.demo-coin-card.selected {
    transform: translateY(-3px);
    opacity: 1;
    border-color: #14f195;
    background:
        linear-gradient(145deg, rgba(20, 241, 149, 0.14), rgba(153, 69, 255, 0.06)),
        rgba(16, 25, 29, 0.92);
    box-shadow:
        0 0 0 1px rgba(20, 241, 149, 0.22),
        0 16px 38px rgba(20, 241, 149, 0.13),
        inset 0 1px 0 rgba(255,255,255,.09);
}

.demo-coin-card.selected::after {
    top: 8px;
    right: 8px;
    width: 23px;
    height: 23px;
    background-size: 13px;
}

.demo-coin-logo {
    width: 52px;
    height: 52px;
    margin: 0;
    padding: 3px;
    border: 1px solid rgba(255,255,255,.11);
}

.demo-coin-copy {
    min-width: 0;
}

.demo-coin-card h4 {
    margin: 0 0 4px;
    font-size: 0.96rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.demo-coin-symbol {
    font-size: 0.72rem;
}

.demo-coin-performance {
    align-self: end;
    padding: 4px 7px;
    border-radius: 7px;
    font-size: 0.68rem;
    font-weight: 700;
}

.demo-coin-performance.positive {
    color: #65f3b1;
    background: rgba(20, 241, 149, 0.08);
}

.demo-coin-performance.negative {
    color: #ff818c;
    background: rgba(255, 107, 107, 0.08);
}

.demo-coin-confirm {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 72px;
    padding: 12px 14px 12px 16px;
    border: 1px solid rgba(20, 241, 149, 0.2);
    border-radius: 16px;
    background: linear-gradient(90deg, rgba(20, 241, 149, 0.07), rgba(153, 69, 255, 0.06));
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.demo-coin-confirm.visible {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.demo-selected-coin {
    display: flex;
    align-items: center;
    gap: 11px;
}

.demo-selected-check {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: #07120d;
    background: #14f195;
    box-shadow: 0 0 18px rgba(20, 241, 149, 0.25);
}

.demo-selected-coin > div {
    display: flex;
    flex-direction: column;
}

.demo-selected-label {
    color: rgba(210, 220, 237, 0.52);
    font-size: 0.68rem;
}

.demo-selected-coin strong {
    font-size: 0.95rem;
}

.demo-analyze-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 170px;
    padding: 12px 17px;
    border: 0;
    border-radius: 11px;
    color: #07110d;
    background: linear-gradient(110deg, #14f195, #69e5ca);
    font-family: inherit;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(20, 241, 149, 0.22);
    transition: transform .25s ease, box-shadow .25s ease;
}

.demo-analyze-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(20, 241, 149, 0.34);
}

/* ----- New final scan result ----- */
#demoStep6 .demo-window-content {
    padding: 28px;
    background:
        radial-gradient(circle at 18% 0%, rgba(20,241,149,.08), transparent 34%),
        radial-gradient(circle at 88% 0%, rgba(153,69,255,.09), transparent 34%),
        #090c13;
}

.scan-result-card {
    position: relative;
    max-width: 850px;
    margin: 0 auto;
    padding: 25px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(22,27,38,.92), rgba(10,13,21,.96));
    box-shadow: 0 24px 60px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.04);
    overflow: hidden;
    animation: scanResultReveal .55s cubic-bezier(.22,1,.36,1);
}

.scan-result-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 2px;
    background: linear-gradient(90deg, transparent, #14f195, #9945ff, transparent);
}

@keyframes scanResultReveal {
    from { opacity: 0; transform: translateY(18px) scale(.985); }
    to { opacity: 1; transform: none; }
}

.scan-result-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.scan-result-asset {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.scan-result-logo {
    position: relative;
    width: 74px;
    height: 74px;
    flex: 0 0 auto;
    padding: 4px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(20,241,149,.7), rgba(153,69,255,.7));
    box-shadow: 0 12px 34px rgba(20,241,149,.14);
}

.scan-result-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
}

.scan-chain-dot {
    position: absolute;
    right: -7px;
    bottom: -5px;
    padding: 4px 7px;
    border-radius: 7px;
    color: #82f5c4;
    background: #101a1a;
    border: 1px solid rgba(20,241,149,.45);
    font-size: .58rem;
    font-weight: 800;
}

.scan-result-eyebrow {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 5px;
    color: #70eab2;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .7px;
}

.scan-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #14f195;
    box-shadow: 0 0 10px #14f195;
}

.scan-result-asset h2 {
    margin: 0 0 5px;
    font-size: 1.85rem;
    line-height: 1;
}

.scan-result-asset h2 span {
    color: rgba(211,220,237,.38);
    font-size: .83rem;
    font-weight: 600;
}

.scan-result-asset p {
    color: rgba(207,217,235,.47);
    font-size: .72rem;
}

.scan-result-verdict {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 10px 14px 10px 10px;
    border: 1px solid rgba(20,241,149,.18);
    border-radius: 15px;
    background: rgba(20,241,149,.045);
}

.scan-risk-ring {
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: conic-gradient(#14f195 0 94%, rgba(255,255,255,.08) 94% 100%);
    box-shadow: 0 0 24px rgba(20,241,149,.14);
}

.scan-risk-inner {
    width: 54px;
    height: 54px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #10151d;
}

.scan-risk-inner strong {
    color: #6ff0b7;
    font-size: 1.12rem;
    line-height: 1;
}

.scan-risk-inner span,
.scan-verdict-copy span,
.scan-verdict-copy small {
    color: rgba(208,219,236,.48);
    font-size: .58rem;
}

.scan-verdict-copy {
    display: flex;
    flex-direction: column;
}

.scan-verdict-copy strong {
    color: #66f1b2;
    font-size: 1.35rem;
    line-height: 1.15;
}

.scan-result-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 10px;
    padding: 18px 0;
}

.scan-metric {
    min-width: 0;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 13px;
    background: rgba(255,255,255,.025);
}

.scan-metric.featured {
    border-color: rgba(153,69,255,.38);
    background: linear-gradient(145deg, rgba(153,69,255,.12), rgba(20,241,149,.035));
}

.scan-metric > span {
    display: block;
    margin-bottom: 7px;
    color: rgba(205,216,234,.49);
    font-size: .68rem;
}

.scan-metric strong {
    display: block;
    margin-bottom: 5px;
    color: #f4f7ff;
    font-size: 1.04rem;
    white-space: nowrap;
}

.scan-metric small {
    color: rgba(205,216,234,.4);
    font-size: .62rem;
}

.scan-metric small.positive {
    color: #61eeb0;
}

.scan-result-insight {
    display: grid;
    grid-template-columns: auto minmax(0,1fr) auto;
    gap: 13px;
    align-items: center;
    padding: 15px;
    border: 1px solid rgba(20,241,149,.15);
    border-radius: 14px;
    background: linear-gradient(90deg, rgba(20,241,149,.065), rgba(153,69,255,.055));
}

.scan-insight-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #65edb0;
    background: rgba(20,241,149,.1);
}

.scan-result-insight > div:nth-child(2) {
    display: flex;
    flex-direction: column;
}

.scan-result-insight span {
    margin-bottom: 2px;
    color: #66ecaf;
    font-size: .64rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
}

.scan-result-insight strong {
    font-size: .85rem;
}

.scan-result-insight p {
    margin-top: 2px;
    color: rgba(208,218,235,.48);
    font-size: .68rem;
}

.scan-insight-score {
    color: #b58aff;
    font-size: 1.35rem;
    font-weight: 900;
}

.scan-result-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 15px;
}

.scan-result-actions .demo-share-btn,
.scan-result-actions .demo-close-btn {
    margin: 0;
    min-height: 44px;
}

@media (max-width: 780px) {
    .header { padding: 15px 0; }
    .hero {
        min-height: 720px;
        padding-top: 96px;
        background-position: center;
    }
    .hero-badges { gap: 6px; }
    .hero-badge { padding: 7px 10px; font-size: .7rem; }
    .hero-title { font-size: clamp(2.75rem, 14vw, 4rem); letter-spacing: -2.5px; }
    .stats { grid-template-columns: 1fr; max-width: 360px; }
    .stats .stat-item { min-height: 86px; }

    .demo-coins-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .demo-coin-card {
        grid-template-columns: 44px minmax(0,1fr);
        min-height: 80px;
        padding: 12px;
    }
    .demo-coin-logo { width: 44px; height: 44px; }
    .demo-coin-performance { display: none; }
    .demo-coin-confirm { align-items: stretch; flex-direction: column; }
    .demo-analyze-btn { width: 100%; }

    .scan-result-top { grid-template-columns: 1fr; }
    .scan-result-verdict { justify-content: center; }
    .scan-result-metrics { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .scan-result-insight { grid-template-columns: auto minmax(0,1fr); }
    .scan-insight-score { display: none; }
}

@media (max-width: 480px) {
    .hero-badges { max-width: 340px; margin-left: auto; margin-right: auto; }
    .network-icon { width: 14px; height: 14px; }
    .hero-description { font-size: .95rem; }
    .hero-trust { font-size: .66rem; }
    #demoStep5 .demo-window-content,
    #demoStep6 .demo-window-content { padding: 18px 12px; }
    .demo-selection-header h3 { font-size: 1.45rem; }
    .demo-coins-grid { grid-template-columns: 1fr; max-height: 310px; overflow-y: auto; }
    .scan-result-card { padding: 16px; }
    .scan-result-logo { width: 58px; height: 58px; border-radius: 17px; }
    .scan-result-logo img { border-radius: 13px; }
    .scan-result-asset h2 { font-size: 1.45rem; }
    .scan-result-metrics { grid-template-columns: 1fr 1fr; }
    .scan-metric strong { font-size: .9rem; }
    .scan-result-actions { grid-template-columns: 1fr; }
}

/* ============================================================
   REVIEWS SCREENSHOTS + MOBILE DEMO FIXES
   ============================================================ */

.reviews-stack {
    width: min(860px, calc(100% - 40px));
    max-width: 860px;
    height: auto;
    aspect-ratio: 16 / 9;
}

.review-card {
    height: 100%;
    padding: 0;
    overflow: hidden;
    background: #000;
}

.review-screenshot {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.reviews-controls {
    margin-top: 60px;
}

/* The demo has one fixed coin. Other rows are context, not controls. */
.demo-coin-card:disabled {
    cursor: default;
}

.demo-coin-card:disabled:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.09);
    background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.demo-coin-card.selected:disabled,
.demo-coin-card.selected:disabled:hover {
    transform: translateY(-3px);
    border-color: #14f195;
    background:
        linear-gradient(145deg, rgba(20, 241, 149, 0.14), rgba(153, 69, 255, 0.06)),
        rgba(16, 25, 29, 0.92);
    box-shadow:
        0 0 0 1px rgba(20, 241, 149, 0.22),
        0 16px 38px rgba(20, 241, 149, 0.13),
        inset 0 1px 0 rgba(255,255,255,.09);
}

.demo-analyze-btn:disabled {
    opacity: 1;
    cursor: default;
    color: #07110d;
}

/* Analysis choice always lives inside the 336px phone screen. */
.demo-analysis-select {
    padding: 38px 14px 24px;
}

.demo-analysis-select h3 {
    font-size: 1.42rem;
}

.demo-analysis-select > p {
    margin-bottom: 22px;
}

.demo-analysis-option {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 18px;
    gap: 12px;
    min-height: 112px;
    padding: 16px;
    overflow: hidden;
}

.demo-analysis-icon {
    width: 48px;
    height: 48px;
}

.demo-analysis-text {
    min-width: 0;
    gap: 3px;
}

.demo-analysis-title {
    font-size: 0.95rem;
    line-height: 1.28;
}

.demo-analysis-desc {
    font-size: 0.75rem;
    line-height: 1.42;
}

.demo-analysis-arrow {
    align-self: center;
}

.demo-analysis-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    max-width: 62px;
    padding: 3px 7px;
    font-size: 0.52rem;
    line-height: 1.2;
}

#aiScanOption .demo-analysis-text {
    padding-right: 36px;
}

#aiScanOption .demo-analysis-arrow {
    display: none;
}

.demo-tap-hint {
    margin-top: 16px;
    font-size: 0.76rem;
}

@media (max-width: 640px) {
    .reviews {
        padding: 72px 0;
    }

    .reviews-stack {
        width: calc(100% - 22px);
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .review-card.is-next {
        transform: translateY(13px) scale(0.95);
    }

    .review-card.is-next2 {
        transform: translateY(26px) scale(0.9);
    }

    .review-card.is-hidden {
        transform: translateY(36px) scale(0.86);
    }

    .reviews-controls {
        margin-top: 44px;
    }

    .reviews-arrow {
        width: 42px;
        height: 42px;
    }
}



