/* Mobify Onchain Website Styles */

/* Color Variables */
:root {
    --navy-blue: #0A1931;
    --navy-blue-light: #1E3A5F;
    --navy-blue-dark: #050F1E;
    --ash-white: #F0F4F8;
    --ash-white-dark: #E1E8ED;
    --accent-blue: #000080;
    --accent-blue-light: #0000b3;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background-color: var(--ash-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #E6F2FF 0%, #CCE5FF 50%, #B3D9FF 100%);
    z-index: -1;
    overflow: hidden;
}

.animated-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 0, 128, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveGrid 20s linear infinite;
}

@keyframes moveGrid {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.floating-icon {
    position: absolute;
    font-size: 3rem;
    color: rgba(240, 244, 248, 0.1);
    animation: float var(--duration, 20s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

.floating-icon:nth-child(1) {
    top: 10%;
    left: 10%;
}

.floating-icon:nth-child(2) {
    top: 20%;
    right: 15%;
}

.floating-icon:nth-child(3) {
    top: 60%;
    left: 5%;
}

.floating-icon:nth-child(4) {
    top: 70%;
    right: 10%;
}

.floating-icon:nth-child(5) {
    top: 40%;
    left: 50%;
}

.floating-icon:nth-child(6) {
    top: 80%;
    left: 30%;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-30px) rotate(5deg);
    }
    50% {
        transform: translateY(-50px) rotate(-5deg);
    }
    75% {
        transform: translateY(-30px) rotate(5deg);
    }
}

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

/* Header */
.header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 128, 0.15);
    border-bottom: 2px solid rgba(0, 0, 128, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.75rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--navy-blue);
    white-space: nowrap;
    font-family: 'Segoe UI', Arial, sans-serif;
    letter-spacing: -0.5px;
    flex-shrink: 0;
}

.logo i {
    color: var(--accent-blue);
    font-size: 2rem;
}

.nav {
    display: flex;
    gap: 1rem;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.nav.open {
    display: flex;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 2px solid var(--accent-blue);
    color: var(--accent-blue);
    padding: 0.45rem 0.65rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.menu-toggle:hover,
.menu-toggle.open {
    background: var(--accent-blue);
    color: var(--text-light);
    box-shadow: 0 6px 20px rgba(0, 0, 128, 0.35);
}

.nav-link {
    color: var(--navy-blue);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-blue);
    text-shadow: 0 0 8px rgba(0, 0, 128, 0.3);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.wallet-btn,
.launch-wallet {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-light));
    color: var(--text-light);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-balance {
    background: rgba(240, 244, 248, 0.95);
    border: 1px solid rgba(0, 0, 128, 0.15);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy-blue);
    white-space: nowrap;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wallet-btn:hover,
.launch-wallet:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(46, 92, 255, 0.4);
}

.wallet-btn.connected,
.launch-wallet.connected {
    background: linear-gradient(135deg, var(--success), #0f9f6e);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.wallet-status {
    margin: 1rem 0 1.5rem;
}

.wallet-status-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 128, 0.08);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    box-shadow: 0 6px 24px rgba(0, 0, 128, 0.08);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    align-items: center;
}

.wallet-status-card.single-column {
    grid-template-columns: 1fr;
}

.wallet-status-label {
    font-weight: 700;
    color: var(--navy-blue);
}

.wallet-status-value {
    font-family: "Consolas", "Courier New", monospace;
    color: var(--text-dark);
    word-break: break-all;
}

.wallet-status-balance {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
}

.wallet-status-loading {
    color: var(--accent-blue);
}

.wallet-status-error {
    color: var(--error);
    font-weight: 600;
}

.rpc-controls {
    margin: 0.5rem 0 1.5rem;
}

.rpc-form {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 128, 0.08);
    border-radius: 12px;
    padding: 0.75rem 1rem 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 128, 0.06);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rpc-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 0.5rem;
    align-items: center;
}

.rpc-input {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 1px solid rgba(0, 0, 128, 0.18);
    border-radius: 10px;
    font-size: 0.95rem;
}

.rpc-input:focus {
    outline: 2px solid rgba(0, 0, 128, 0.25);
    border-color: var(--accent-blue);
}

.rpc-help {
    font-size: 0.9rem;
    color: #4b5563;
}

.rpc-status {
    margin-top: 0.5rem;
    font-size: 0.95rem;
    color: var(--navy-blue);
    word-break: break-all;
}

.wallet-tokens {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0, 0, 128, 0.08);
}

.wallet-token-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.45rem 0;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.token-symbol {
    font-weight: 600;
    color: var(--navy-blue);
}

.token-balance {
    font-family: "Consolas", "Courier New", monospace;
    font-weight: 500;
    color: var(--accent-blue);
}

/* Main Content */
.main-content {
    min-height: 100vh;
    padding-top: 1rem;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

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

/* Hero Section */
.hero {
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(0, 0, 128, 0.95) 0%, rgba(0, 0, 179, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    margin: 1rem 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 128, 0.3);
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 0.5rem;
    align-items: center;
}

.hero-content {
    text-align: left;
    color: var(--text-light);
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 0.75rem;
    color: #ffffff;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.4), 0 5px 15px rgba(0, 0, 0, 0.3);
    font-weight: 900;
    letter-spacing: -1px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.fancy-text {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF6347 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    font-weight: 900;
    display: inline-block;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 20px rgba(255, 215, 0, 0.6));
    }
    50% {
        filter: brightness(1.2) drop-shadow(0 0 30px rgba(255, 215, 0, 0.9));
    }
}

.hero-animation {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-showcase {
    position: relative;
    width: 280px;
    height: 380px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-device {
    width: 170px;
    height: 340px;
    background: linear-gradient(135deg, var(--accent-blue), #0000cc);
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 20px 60px rgba(0, 0, 128, 0.5);
    border: 6px solid var(--ash-white);
    animation: phoneFloat 3s ease-in-out infinite;
    z-index: 2;
}

.phone-device i {
    font-size: 4.5rem;
    color: var(--ash-white);
    font-weight: 900;
}

@keyframes phoneFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 3;
}

.float-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--ash-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--accent-blue);
    box-shadow: 0 10px 30px rgba(0, 0, 128, 0.3);
    animation: iconFloat 4s ease-in-out infinite;
    z-index: 5;
}

.icon-1 {
    top: 5%;
    left: 8%;
    animation-delay: 0s;
}

.icon-2 {
    top: 18%;
    right: 5%;
    animation-delay: 1s;
}

.icon-3 {
    bottom: 50%;
    left: 3%;
    animation-delay: 2s;
}

.icon-4 {
    bottom: 10%;
    right: 10%;
    animation-delay: 1.5s;
}

.icon-5 {
    top: 48%;
    right: -5%;
    animation-delay: 0.5s;
}

.icon-6 {
    top: 72%;
    left: -8%;
    animation-delay: 2.5s;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.05);
    }
}

.animation-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.app-stores-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
}

.app-coming-soon {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
}

.token-address-simple {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    margin-top: 0.3rem;
    margin-bottom: 0;
    word-break: break-all;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.3px;
    line-height: 1.6;
}

.token-address-simple:hover {
    opacity: 0.85;
}

.app-coming-soon strong {
    color: #FFD700;
    font-size: 1.1rem;
    font-weight: 700;
}

.app-stores {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

.store-badge-small {
    display: inline-block;
    height: 40px;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.85;
}

.store-badge-small:hover {
    opacity: 1;
    transform: scale(1.05);
}

.store-badge-small img {
    height: 100%;
    width: auto;
}

.solana-badge-small {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    height: 40px;
}

.solana-badge-small .solana-icon {
    width: 20px;
    height: 20px;
    filter: brightness(1.1);
}

.solana-badge-small span {
    color: var(--navy-blue);
    font-weight: 700;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    color: var(--ash-white);
}

.hero-description {
    max-width: 100%;
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.highlight-text {
    color: #FFD700;
    font-weight: 700;
    margin-top: 1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-light));
    color: var(--text-light);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(46, 92, 255, 0.5);
}

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

.btn-secondary:hover {
    background: var(--ash-white);
    color: var(--navy-blue);
    transform: translateY(-3px);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.btn-glow {
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.25), transparent 45%), linear-gradient(135deg, #4f46e5, #0ea5e9);
    color: var(--text-light);
    box-shadow: 0 12px 40px rgba(14, 165, 233, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-glow:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 50px rgba(14, 165, 233, 0.6);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(6px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.airdrop-section {
    padding: 3.25rem 0 3.75rem;
}

.airdrop-card {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08), transparent 35%), linear-gradient(135deg, #0b1838, #0f2b65 55%, #0b1838);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.6rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
    min-height: 420px;
}

.airdrop-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.25), transparent 40%);
    pointer-events: none;
}

.airdrop-left {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    position: relative;
    z-index: 1;
}

.airdrop-right {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.airdrop-eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    color: #7dd3fc;
    font-weight: 700;
}

.airdrop-title {
    font-size: 2.2rem;
    line-height: 1.2;
}

.airdrop-subtitle {
    color: #dbeafe;
    max-width: 680px;
}

.airdrop-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.airdrop-pills span {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e0f2fe;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    font-size: 0.9rem;
}

.airdrop-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.airdrop-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.6rem;
}

.airdrop-step {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.75rem 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: #e2e8f0;
}

.airdrop-step span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.airdrop-badge {
    align-self: flex-start;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: var(--text-light);
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.airdrop-visual {
    position: relative;
    width: 100%;
    height: 220px;
    border-radius: 16px;
    background: radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.02));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e0f2fe;
    font-size: 3rem;
    overflow: hidden;
}

.airdrop-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.4), rgba(14, 165, 233, 0));
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.8; transform: scale(0.98); }
    50% { opacity: 1; transform: scale(1.02); }
}

.airdrop-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
}

.metric {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.9rem;
}

.metric p {
    color: #cbd5e1;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.metric h3 {
    color: #f8fafc;
}

@media (max-width: 968px) {
    .airdrop-card {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .airdrop-title {
        font-size: 1.7rem;
    }
}

/* About Section */
.about-section {
    padding: 3rem 0;
    background: rgba(240, 244, 248, 0.5);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    color: var(--text-dark);
    font-size: 2.2rem;
    margin-bottom: 2rem;
    font-weight: 700;
    text-align: center;
}

.about-text p {
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-text .highlight-text {
    color: var(--accent-blue);
    font-weight: 700;
}

/* Features Section */
.features-section,
.ecosystem-section {
    padding: 3rem 0;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.3) 100%);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
    font-weight: 500;
}

.features-grid,
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card,
.partner-card {
    background: rgba(255, 255, 255, 0.98);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 128, 0.15);
    border: 1px solid rgba(0, 0, 128, 0.1);
}

.feature-card:hover,
.partner-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 128, 0.25);
    border-color: var(--accent-blue);
}

.feature-icon {
    font-size: 3rem;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.feature-card h3,
.partner-card h4 {
    color: var(--navy-blue);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.feature-card p,
.partner-card p {
    color: var(--text-dark);
}

.partner-card i {
    font-size: 3rem;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

/* Page Styles */
.page-title {
    color: var(--text-dark);
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 700;
}

.page-subtitle {
    color: var(--text-dark);
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 500;
}

/* Marketplace Styles */
.marketplace-header,
.wallet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.marketplace-intro,
.wallet-intro,
.dealers-intro {
    background: linear-gradient(135deg, rgba(0, 0, 128, 0.95) 0%, rgba(0, 0, 179, 0.95) 100%);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 128, 0.3);
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
}

.demo-banner {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-light));
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    margin: 2rem 0;
    color: var(--text-light);
}

.demo-banner h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.app-stores {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin: 2rem 0 1.5rem;
    flex-wrap: wrap;
}

.store-badge {
    display: inline-block;
    transition: all 0.3s ease;
}

.store-badge img {
    height: 50px;
    width: auto;
}

.store-badge:hover {
    transform: translateY(-5px);
}

.solana-badge {
    background: white;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--navy-blue);
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    height: 50px;
}

.solana-icon {
    height: 24px;
    width: 24px;
}

.solana-badge span {
    font-size: 0.9rem;
}

.solana-badge span {
    font-size: 1rem;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.action-btn {
    background: rgba(240, 244, 248, 0.95);
    border: 2px solid var(--accent-blue);
    padding: 2rem;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.action-btn:hover {
    transform: translateY(-5px);
    background: var(--accent-blue);
    color: var(--text-light);
    box-shadow: 0 10px 30px rgba(46, 92, 255, 0.4);
}

.action-btn i {
    font-size: 2.5rem;
    color: var(--accent-blue);
}

.action-btn:hover i {
    color: var(--text-light);
}

.action-btn span {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Info Sections */
.info-section {
    background: rgba(240, 244, 248, 0.95);
    padding: 2.5rem;
    border-radius: 15px;
    margin: 2rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.info-section h2 {
    color: var(--navy-blue);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.revenue-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 1.5rem 0;
}

.revenue-card {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-light));
    color: var(--text-light);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.revenue-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.revenue-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-content: center;
}

.no-fee-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--error);
    font-weight: 600;
}

.no-fee-item i {
    color: var(--error);
}

.revenue-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--success);
    font-weight: 600;
}

.benefit-item i {
    color: var(--success);
    font-size: 1.2rem;
}

.wallet-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.wallet-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.wallet-feature i {
    font-size: 2rem;
    color: var(--accent-blue);
}

.buyback-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.buyback-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: white;
    border-radius: 10px;
}

.buyback-item i {
    color: var(--success);
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.principle-item {
    background: var(--accent-blue);
    color: var(--text-light);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
}

.mission-text {
    text-align: center;
    font-size: 1.1rem;
    margin-top: 1.5rem;
    color: var(--navy-blue);
}

/* Verified Dealers */
.benefits-section {
    margin: 3rem 0;
}

.benefits-section h2 {
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-card {
    background: rgba(240, 244, 248, 0.95);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.benefit-card p {
    color: var(--text-dark);
    line-height: 1.6;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(46, 92, 255, 0.3);
}

.benefit-card i {
    font-size: 2.5rem;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.benefit-card h3 {
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

.applicant-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.applicant-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
    font-weight: 500;
}

.applicant-item i {
    font-size: 1.5rem;
    color: var(--accent-blue);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.step {
    flex: 1;
    min-width: 150px;
    text-align: center;
    color: var(--text-dark);
}

.step p {
    color: var(--text-dark);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-light));
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.apply-section {
    text-align: center;
    background: linear-gradient(135deg, var(--navy-blue), var(--navy-blue-light));
    color: var(--text-light);
    padding: 3rem;
    border-radius: 15px;
    margin: 3rem 0;
}

.apply-section h2 {
    margin-bottom: 1rem;
}

.dealers-list-section {
    margin: 3rem 0;
}

.dealers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.dealer-card {
    background: rgba(240, 244, 248, 0.95);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    color: var(--text-dark);
}

.dealer-verified {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-blue);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.dealer-card h3 {
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

.dealer-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--text-dark);
}

.dealer-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dealer-info-item i {
    color: var(--accent-blue);
}

.no-dealers {
    text-align: center;
    color: var(--ash-white-dark);
    font-size: 1.1rem;
    padding: 3rem;
}

/* Wallet Section */
.process-flow {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
}

.flow-step {
    flex: 1;
    min-width: 150px;
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.flow-icon {
    font-size: 2.5rem;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.flow-arrow {
    font-size: 2rem;
    color: var(--accent-blue);
    font-weight: bold;
}

.tokens-section {
    margin: 3rem 0;
}

.tokens-section h2 {
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.tokens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.token-card {
    background: rgba(240, 244, 248, 0.95);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
}

.token-card p {
    color: var(--text-dark);
    line-height: 1.7;
}

.token-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-light));
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.token-card h3 {
    color: var(--navy-blue);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.token-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.token-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
}

.token-feature i {
    color: var(--success);
}

.token-highlight {
    background: var(--accent-blue);
    color: var(--text-light);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    font-weight: 500;
}

/* Token Contract Section */
.wallet-features-section {
    margin: 3rem 0;
}

.wallet-features-section h2 {
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.feature-badge {
    background: var(--accent-blue);
    color: var(--text-light);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
}

.feature-item {
    text-align: center;
}

.feature-item i {
    font-size: 3rem;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.feature-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.feature-item p {
    color: var(--text-dark);
    line-height: 1.6;
}

/* Litepaper Section */
.litepaper-notice {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-light));
    color: var(--text-light);
    padding: 1.5rem;
    border-radius: 15px;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.litepaper-notice i {
    font-size: 2rem;
}

.litepaper-content {
    background: rgba(240, 244, 248, 0.95);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.litepaper-section {
    margin-bottom: 3rem;
}

.litepaper-section h2 {
    color: var(--navy-blue);
    font-size: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--accent-blue);
}

.litepaper-section h3 {
    color: var(--navy-blue-light);
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
}

.litepaper-section ul {
    list-style: none;
    padding-left: 0;
}

.litepaper-section ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.litepaper-section ul li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
}

.solution-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.pillar {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.pillar h3 {
    color: var(--navy-blue);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pillar i {
    color: var(--accent-blue);
    font-size: 1.5rem;
}

.roadmap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.roadmap-phase {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--accent-blue);
}

.roadmap-phase h3 {
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

/* Team Section */
.team-intro {
    background: rgba(240, 244, 248, 0.95);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.team-card {
    background: rgba(240, 244, 248, 0.95);
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(46, 92, 255, 0.3);
}

.team-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-light));
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 1.5rem;
}

.team-card h3 {
    color: var(--navy-blue);
    margin-bottom: 0.5rem;
}

.join-team {
    text-align: center;
    background: linear-gradient(135deg, var(--navy-blue), var(--navy-blue-light));
    color: var(--text-light);
    padding: 3rem;
    border-radius: 15px;
    margin: 3rem 0;
}

.join-team h2 {
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: rgba(10, 25, 49, 0.95);
    color: var(--ash-white);
    padding: 3rem 0 1rem;
    margin-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-section p {
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--ash-white-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-blue-light);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--accent-blue);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(46, 92, 255, 0.5);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(240, 244, 248, 0.1);
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

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

.modal {
    background: var(--ash-white);
    padding: 2rem;
    border-radius: 20px;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--error);
    color: var(--text-light);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    transform: rotate(90deg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--navy-blue);
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--ash-white-dark);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-blue);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.form-error {
    color: var(--error);
    font-weight: 600;
    margin-top: -0.5rem;
    margin-bottom: 0.75rem;
}

.phone-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.phone-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.phone-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--ash-white-dark), var(--ash-white));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.phone-card h3 {
    color: var(--navy-blue);
    margin-bottom: 0.5rem;
}

.phone-price {
    font-size: 1.5rem;
    color: var(--accent-blue);
    font-weight: bold;
    margin: 0.5rem 0;
}

.phone-details {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    color: var(--text-dark);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.alert {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.alert-success {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #10B981;
}

.alert-info {
    background: #DBEAFE;
    color: #1E40AF;
    border: 1px solid #3B82F6;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

    .hero-animation {
        order: -1;
    }

    .phone-showcase {
        width: 240px;
        height: 320px;
    }

    .phone-device {
        width: 140px;
        height: 280px;
    }

    .phone-device i {
        font-size: 4rem;
    }

    .float-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .app-stores-section {
        gap: 0.6rem;
    }

    .app-coming-soon {
        font-size: 0.9rem;
    }

    .store-badge-small {
        height: 35px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .hero {
        padding: 2.5rem 1.5rem;
        margin: 1rem 0;
    }

    .demo-banner {
        padding: 2rem;
    }

    .quick-actions {
        gap: 1.25rem;
    }

    .revenue-grid {
        grid-template-columns: 1fr;
    }

    .process-steps,
    .process-flow {
        flex-direction: column;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }

    .tokens-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .header-content {
        align-items: flex-start;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }

    .nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0.5rem;
        background: rgba(255, 255, 255, 0.98);
        padding: 0.75rem 0;
        border-radius: 12px;
        box-shadow: 0 8px 20px rgba(0, 0, 128, 0.15);
    }

    .nav-link {
        padding: 0.35rem 0.25rem;
    }

    .nav.open {
        display: flex;
    }

    .wallet-btn,
    .launch-wallet {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .phone-showcase {
        width: 200px;
        height: 300px;
    }

    .phone-device {
        width: 120px;
        height: 240px;
    }

    .phone-device i {
        font-size: 3rem;
    }

    .float-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .token-address-simple {
        font-size: 0.8rem;
        margin-top: 0.5rem;
    }

    .app-stores {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-title {
        font-size: 1.85rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .nav {
        align-items: flex-start;
    }

    .wallet-btn,
    .launch-wallet {
        width: 100%;
        justify-content: center;
    }

    .marketplace-header,
    .wallet-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .marketplace-header > div,
    .wallet-header > div {
        width: 100%;
    }

    .hero {
        padding: 2rem 1rem;
        margin: 0.75rem 0;
    }

    .hero-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .demo-banner,
    .info-section,
    .apply-section,
    .join-team,
    .marketplace-intro,
    .wallet-intro,
    .dealers-intro,
    .litepaper-content {
        padding: 2rem 1.25rem;
    }

    .quick-actions,
    .features-grid,
    .partners-grid,
    .benefits-grid,
    .dealers-grid,
    .tokens-grid,
    .phone-list {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        padding: 0.9rem 1.4rem;
    }

    .action-btn,
    .revenue-card,
    .benefit-card,
    .token-card,
    .team-card,
    .partner-card,
    .feature-card,
    .dealer-card,
    .flow-step {
        padding: 1.5rem;
    }

    .feature-icon,
    .partner-card i,
    .action-btn i,
    .team-icon,
    .token-icon {
        font-size: 2.4rem;
    }

    .phone-image {
        height: 180px;
    }
}

@media (max-width: 520px) {
    .header {
        padding: 0.75rem 0;
    }

    .header-content {
        align-items: flex-start;
        gap: 0.75rem;
    }

    .nav {
        width: 100%;
        display: none;
        flex-direction: column;
        gap: 0.4rem;
        background: rgba(255, 255, 255, 0.98);
        padding: 0.65rem 0.5rem;
        border-radius: 10px;
        box-shadow: 0 8px 20px rgba(0, 0, 128, 0.15);
    }

    .nav.open {
        display: flex;
    }

    .nav-link {
        width: 100%;
        white-space: normal;
    }

    .hero,
    .info-section,
    .demo-banner,
    .apply-section,
    .join-team,
    .marketplace-intro,
    .wallet-intro,
    .dealers-intro,
    .litepaper-content {
        padding: 1.5rem 1rem;
        margin: 0.75rem 0;
    }

    .hero-title {
        font-size: 1.55rem;
    }

    .app-stores-section {
        gap: 0.5rem;
    }

    .app-coming-soon {
        font-size: 0.85rem;
    }

    .store-badge-small {
        height: 32px;
    }

    .solana-badge-small .solana-icon {
        width: 18px;
        height: 18px;
    }

    .hero-subtitle,
    .section-title,
    .page-title {
        font-size: 1.25rem;
    }

    .page-subtitle,
    .section-subtitle {
        font-size: 0.95rem;
    }

    .action-btn,
    .revenue-card,
    .benefit-card,
    .token-card,
    .team-card,
    .partner-card,
    .feature-card,
    .dealer-card,
    .flow-step {
        padding: 1.25rem;
    }

    .btn {
        padding: 0.85rem 1.1rem;
        font-size: 0.95rem;
    }

    .feature-icon,
    .partner-card i,
    .action-btn i,
    .team-icon,
    .token-icon {
        font-size: 2rem;
    }

    .phone-image {
        height: 160px;
    }

    .quick-actions {
        gap: 1rem;
    }

    .container {
        padding: 0 14px;
    }
}
