/* Reset and Base Styles */

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


/* Production Performance Optimizations */

*,
*::before,
*::after {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* Critical resource hints */

@supports (font-display: swap) {
    @font-face {
        font-family: 'Inter';
        font-display: swap;
    }
}

html {
    scroll-behavior: smooth;
    /* CSS variables for mobile viewport height */
    --vh: 1vh;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    overflow-x: hidden;
    background: #ffffff;
    font-size: 16px;
}


/* Typography */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
}

p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #4a5568;
}


/* Skip to content for accessibility */

.skip-to-content {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #9945FF;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    z-index: 10000;
    transition: top 0.3s ease;
}

.skip-to-content:focus {
    top: 6px;
}


/* Container */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}


/* Navigation - Solana-inspired clean design */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

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

.nav-logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}


/* Ensure nav-menu download button is hidden on desktop */

@media (min-width: 769px) {
    .nav-menu .nav-download-button {
        display: none !important;
    }
}

.nav-link {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: #1a1a1a;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #9945FF;
    transition: width 0.3s ease;
}

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

.nav-download-button,
.download-btn {
    background: #9945FF;
    color: white !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    transition: all 0.2s ease !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(153, 69, 255, 0.25) !important;
}


/* Hide nav-menu download button on desktop */

.nav-menu .nav-download-button {
    display: none !important;
}

.nav-download-button:hover,
.download-btn:hover {
    background: #7c3aed !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 16px rgba(153, 69, 255, 0.4) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #1a1a1a;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}


/* Hero Section - Clean, modern Solana design */

.hero {
    padding: 160px 0 120px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    color: #1a1a1a;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(153, 69, 255, 0.03) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(20, 241, 149, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

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

.trust-badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(153, 69, 255, 0.1);
    border: 1px solid rgba(153, 69, 255, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #9945FF;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.trust-badge:hover {
    background: rgba(153, 69, 255, 0.15);
    border-color: rgba(153, 69, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(153, 69, 255, 0.2);
}

.hero-title {
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    font-weight: 700;
    line-height: 1.1;
}

.highlight {
    background: linear-gradient(135deg, #9945FF 0%, #14F195 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #4a5568;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #9945FF;
    color: white;
    box-shadow: 0 2px 8px rgba(153, 69, 255, 0.25);
}

.btn-primary:hover {
    background: #7c3aed;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(153, 69, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #4a5568;
    border: 2px solid #e2e8f0;
}

.btn-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e0;
    color: #1a1a1a;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    border: 1px solid rgba(153, 69, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    font-family: 'Inter', monospace;
}

.stat-label {
    font-size: 0.9rem;
    color: #718096;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
    perspective-origin: center center;
}

.phone-mockup {
    position: relative;
    width: 320px;
    height: 640px;
    background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
    border-radius: 42px;
    padding: 20px;
    transform: rotateY(-15deg) rotateX(5deg);
    transform-style: preserve-3d;
    box-shadow: 0 60px 120px rgba(0, 0, 0, 0.4), 0 25px 50px rgba(0, 0, 0, 0.3), inset 0 2px 4px rgba(255, 255, 255, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.1);
    animation: float-3d 8s ease-in-out infinite;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.phone-mockup::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.app-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transform: translateZ(10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.phone-mockup:hover {
    transform: rotateY(-8deg) rotateX(3deg) translateY(-12px) scale(1.02);
    box-shadow: 0 80px 160px rgba(0, 0, 0, 0.5), 0 35px 70px rgba(0, 0, 0, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 40px rgba(153, 69, 255, 0.3);
    animation-play-state: paused;
}

@keyframes float-3d {
    0%,
    100% {
        transform: rotateY(-15deg) rotateX(5deg) translateY(0px);
    }
    33% {
        transform: rotateY(-12deg) rotateX(3deg) translateY(-10px);
    }
    66% {
        transform: rotateY(-18deg) rotateX(7deg) translateY(-5px);
    }
}


/* Enterprise Partners Section */

.partners {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.partners::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 10% 20%, rgba(153, 69, 255, 0.05) 0%, transparent 50%), radial-gradient(circle at 90% 80%, rgba(20, 241, 149, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.partners-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.partners-subtitle {
    font-size: 0.95rem;
    font-weight: 600;
    color: #9945FF;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    position: relative;
}

.partners-subtitle::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #9945FF, #14F195);
    border-radius: 1px;
}

.partners-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 5rem;
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 900px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.partner-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    cursor: pointer;
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #9945FF 0%, #14F195 50%, #DC267F 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.partner-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18), 0 12px 32px rgba(153, 69, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-color: rgba(153, 69, 255, 0.3);
    background: rgba(255, 255, 255, 0.98);
}

.partner-card:hover::before {
    transform: scaleX(1);
}

.partner-logo {
    width: 96px;
    height: 96px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(249, 250, 251, 0.9) 0%, rgba(255, 255, 255, 0.8) 100%);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.partner-card:hover .partner-logo {
    transform: scale(1.15) rotateY(8deg) translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(249, 250, 251, 0.9) 100%);
}

.partner-logo svg {
    width: 56px;
    height: 56px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.partner-card:hover .partner-logo svg {
    transform: scale(1.1) rotate(2deg);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.partner-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    transition: all 0.3s ease;
}

.partner-card:hover h3 {
    color: #9945FF;
    transform: translateY(-2px);
}

.partner-card p {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.6;
    font-weight: 500;
    transition: all 0.3s ease;
}

.partner-card:hover p {
    color: #4a5568;
}

.enterprise-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    padding: 3rem 0;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.enterprise-stat {
    text-align: center;
    position: relative;
}

.enterprise-stat::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, transparent, rgba(148, 163, 184, 0.3), transparent);
}

.enterprise-stat:last-child::after {
    display: none;
}

.enterprise-number {
    display: block;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, #9945FF 0%, #14F195 50%, #DC267F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    font-family: 'Inter', monospace;
    letter-spacing: -0.02em;
}

.enterprise-label {
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}


/* Section Styles */

.section-title {
    text-align: center;
    margin-bottom: 1rem;
    color: #1a1a1a;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #9945FF, #14F195);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: #4a5568;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}


/* Mining Section */

.mining {
    padding: 120px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

.mining::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(20, 241, 149, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.mining-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.mining-card {
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.mining-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #9945FF, #14F195);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.mining-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border-color: #9945FF;
}

.mining-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #9945FF 0%, #14F195 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.mining-card:hover .card-icon {
    transform: scale(1.1);
}

.card-icon i {
    font-size: 1.5rem;
    color: white;
}

.mining-card h3 {
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.mining-card p {
    color: #4a5568;
    font-size: 1rem;
}


/* Features Section */

.features {
    padding: 120px 0;
    background: #f8fafc;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(153, 69, 255, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.feature-item {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #14F195, #9945FF);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border-color: #14F195;
}

.feature-item:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #14F195 0%, #9945FF 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon i {
    font-size: 1.25rem;
    color: white;
}

.feature-item h3 {
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.feature-item p {
    color: #4a5568;
    font-size: 1rem;
}


/* Roadmap Section */

.roadmap {
    padding: 120px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

.roadmap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 80%, rgba(153, 69, 255, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 4rem auto 0;
    position: relative;
    z-index: 2;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #e2e8f0 0%, #9945FF 50%, #e2e8f0 100%);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    width: 16px;
    height: 16px;
    background: #9945FF;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(153, 69, 255, 0.1);
}

.timeline-marker.current {
    background: #14F195;
    box-shadow: 0 0 0 4px rgba(20, 241, 149, 0.2);
}

.timeline-content {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    width: calc(50% - 2rem);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: #9945FF;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 2rem;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 2rem;
}

.timeline-content h3 {
    color: #9945FF;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.timeline-content ul {
    list-style: none;
}

.timeline-content li {
    padding: 0.5rem 0;
    color: #4a5568;
    position: relative;
    padding-left: 1.5rem;
}

.timeline-content li::before {
    content: '•';
    color: #14F195;
    font-weight: bold;
    position: absolute;
    left: 0;
}


/* Download Section */

.download {
    padding: 120px 0;
    background: linear-gradient(135deg, #9945FF 0%, #14F195 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.download-content {
    position: relative;
    z-index: 2;
}

.download-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.download-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    font-size: 1.25rem;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.download-btn {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    padding: 1rem 1.5rem !important;
    border-radius: 8px !important;
    backdrop-filter: blur(10px) !important;
    transition: all 0.2s ease !important;
}

.download-btn:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-1px) !important;
}

.download-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.download-note {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}


/* Footer */

.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d3748 100%);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(153, 69, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

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

.footer-section h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #9945FF;
    border-radius: 1px;
}

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

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

.footer-section ul li a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
    padding-left: 0;
}

.footer-section ul li a:hover {
    color: white;
    padding-left: 8px;
}

.footer-section ul li a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.2s ease;
    color: #9945FF;
}

.footer-section ul li a:hover::before {
    opacity: 1;
    left: -16px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.footer-logo span {
    font-weight: 600;
    font-size: 1.2rem;
}

.footer-section p {
    color: #a0aec0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-info a:hover {
    color: white;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0aec0;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

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

.social-links a:hover {
    background: #9945FF;
    color: white;
    transform: translateY(-2px);
}

.social-links a:hover::before {
    left: 100%;
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    padding-top: 2rem;
    text-align: center;
    color: #a0aec0;
    position: relative;
    z-index: 2;
}


/* Scroll to Top Button */

.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: #9945FF;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(153, 69, 255, 0.3);
    z-index: 1000;
}

.scroll-to-top:hover {
    background: #7c3aed;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(153, 69, 255, 0.4);
}

.scroll-to-top.show {
    display: flex;
}


/* ===== PRODUCTION-READY MOBILE RESPONSIVENESS ===== */


/* High-DPI displays optimization */

@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .btn,
    .download-btn,
    .partner-card,
    .mining-card,
    .feature-item {
        border-width: 0.5px;
    }
    .phone-mockup {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}


/* Large tablets and small desktops */

@media (max-width: 1024px) {
    .container {
        max-width: 100%;
        padding: 0 32px;
    }
    .hero-container,
    .partners-grid,
    .mining-cards,
    .features-grid {
        gap: 2rem;
    }
    .phone-mockup {
        width: 280px;
        height: 560px;
    }
}


/* Tablets */

@media (max-width: 768px) {
    /* Mobile navbar height optimization */
    .navbar {
        padding: 0.75rem 0;
        min-height: 60px;
    }
    .nav-container {
        min-height: 44px;
    }
    .nav-logo img {
        width: 36px;
        height: 36px;
    }
    .logo-text {
        font-size: 1.3rem;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        height: calc(var(--vh, 1vh) * 100);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.3s ease;
        z-index: 999;
        border-right: 1px solid rgba(0, 0, 0, 0.1);
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-link {
        font-size: 1.25rem;
        margin: 1rem 0;
        padding: 1rem 2rem;
        border-radius: 8px;
        transition: all 0.3s ease;
        width: 200px;
        text-align: center;
        color: #1a1a1a;
    }
    .nav-link:hover {
        background: #f8fafc;
        color: #9945FF;
    }
    /* Show download button in mobile menu - override desktop hiding */
    .nav-menu .nav-download-button {
        display: inline-flex !important;
        margin-top: 1rem;
        width: 200px;
        text-align: center;
        justify-content: center;
    }
    .nav-toggle {
        display: flex;
        z-index: 1001;
        padding: 8px;
        min-height: 44px;
        min-width: 44px;
        justify-content: center;
        align-items: center;
    }
    .bar {
        background: #1a1a1a;
    }
    .nav-cta {
        display: none;
        /* Hide download button on mobile to save space */
    }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .trust-badges {
        justify-content: center;
        gap: 0.5rem;
    }
    .trust-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    .partner-card {
        padding: 2rem 1.5rem;
    }
    .enterprise-stats {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 2rem;
        padding: 2rem 1rem;
    }
    .enterprise-stat::after {
        display: none;
    }
    .phone-mockup {
        width: 240px;
        height: 480px;
        margin: 2rem auto 0;
    }
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .timeline::before {
        left: 1rem;
    }
    .timeline-item {
        flex-direction: row !important;
    }
    .timeline-marker {
        left: 1rem;
    }
    .timeline-content {
        width: calc(100% - 3rem);
        margin-left: 3rem !important;
        margin-right: 0 !important;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    .download-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    .section-title::after {
        width: 40px;
    }
    .stat {
        padding: 1rem;
    }
    .stat-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    .nav-container {
        padding: 0 16px;
    }
    /* Compact mobile navbar */
    .navbar {
        padding: 0.5rem 0;
        min-height: 56px;
    }
    .nav-logo img {
        width: 32px;
        height: 32px;
    }
    .logo-text {
        font-size: 1.2rem;
    }
    .nav-toggle {
        padding: 6px;
        min-height: 40px;
        min-width: 40px;
    }
    .bar {
        width: 22px;
        height: 2.5px;
        margin: 2.5px 0;
    }
    .hero {
        padding: 120px 0 60px;
        /* Increased top padding for mobile */
        min-height: 100vh;
        min-height: calc(var(--vh, 1vh) * 100);
    }
    .mining,
    .features,
    .roadmap,
    .download,
    .partners {
        padding: 60px 0;
    }
    /* Optimize button sizes for touch */
    .btn,
    .download-btn {
        min-height: 48px;
        min-width: 120px;
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
    /* Better card spacing */
    .mining-cards,
    .features-grid,
    .partners-grid {
        gap: 1.5rem;
    }
    /* Improve readability */
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.1;
        margin-bottom: 1rem;
        padding-top: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        line-height: 1.5;
    }
    /* Enhanced phone mockup for small screens */
    .phone-mockup {
        width: 200px;
        height: 400px;
        margin: 1.5rem auto 0;
        transform: rotateY(-8deg) rotateX(3deg);
    }
    .hero-stats {
        grid-template-columns: 1fr;
    }
    .mining-cards {
        grid-template-columns: 1fr;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: clamp(2rem, 6vw, 2.5rem);
        padding-top: 2.5rem;
    }
    .section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .section-subtitle {
        font-size: 1.1rem;
    }
}


/* ===== PRODUCTION-READY OPTIMIZATIONS ===== */


/* Performance optimizations */

.phone-mockup,
.mining-card,
.feature-item,
.partner-card {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}


/* Mobile-specific optimizations */

@media (max-width: 768px) {
    /* Optimize scrolling performance on mobile */
    body {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
    /* Reduce motion for better mobile performance */
    * {
        animation-duration: 0.3s;
        transition-duration: 0.3s;
    }
    /* Optimize images for mobile */
    img {
        image-rendering: optimizeSpeed;
        image-rendering: -webkit-optimize-contrast;
    }
    /* Better mobile viewport handling */
    .hero {
        min-height: 100vh;
        min-height: calc(var(--vh, 1vh) * 100);
        min-height: -webkit-fill-available;
    }
    /* Prevent zoom on form inputs */
    input,
    select,
    textarea {
        font-size: 16px;
    }
}


/* Better touch interactions */

@media (hover: none) and (pointer: coarse) {
    /* Disable hover effects on touch devices */
    .btn:hover,
    .download-btn:hover,
    .mining-card:hover,
    .feature-item:hover,
    .partner-card:hover,
    .nav-link:hover,
    .social-links a:hover {
        transform: none;
        background: initial;
        color: initial;
        box-shadow: initial;
    }
    /* Enhanced touch feedback */
    .btn:active,
    .download-btn:active {
        transform: scale(0.96);
        transition: transform 0.1s ease;
        background: #7c3aed;
    }
    .mining-card:active,
    .feature-item:active,
    .partner-card:active {
        transform: scale(0.97);
        transition: transform 0.1s ease;
        opacity: 0.9;
    }
    .nav-link:active {
        background: rgba(153, 69, 255, 0.1);
        color: #9945FF;
        transform: scale(0.98);
    }
    .social-links a:active {
        transform: scale(0.9);
        background: #9945FF;
        color: white;
    }
    /* Improve tap targets */
    .btn,
    .download-btn,
    .nav-link,
    .social-links a {
        min-height: 44px;
        min-width: 44px;
    }
    /* Prevent text selection on touch */
    .btn,
    .download-btn,
    .mining-card,
    .feature-item,
    .partner-card {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
}


/* Landscape mobile optimization */

@media (max-width: 768px) and (orientation: landscape) {
    /* Compact navbar for landscape */
    .navbar {
        padding: 0.4rem 0;
        min-height: 48px;
    }
    .nav-logo img {
        width: 30px;
        height: 30px;
    }
    .logo-text {
        font-size: 1.1rem;
    }
    .hero {
        padding: 60px 0 40px;
        min-height: 100vh;
        min-height: calc(var(--vh, 1vh) * 100);
    }
    .hero-container {
        gap: 2rem;
    }
    .phone-mockup {
        width: 180px;
        height: 360px;
    }
    .nav-menu {
        padding: 1rem;
        justify-content: flex-start;
        padding-top: 2rem;
        height: calc(var(--vh, 1vh) * 100);
    }
    .nav-link {
        margin: 0.5rem 0;
        font-size: 1.1rem;
        padding: 0.75rem 1.5rem;
    }
}


/* Extra small devices optimization */

@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }
    .nav-container {
        padding: 0 12px;
    }
    /* Ultra-compact navbar for small devices */
    .navbar {
        padding: 0.4rem 0;
        min-height: 52px;
    }
    .nav-logo img {
        width: 28px;
        height: 28px;
    }
    .logo-text {
        font-size: 1.1rem;
    }
    .nav-toggle {
        padding: 4px;
        min-height: 36px;
        min-width: 36px;
    }
    .bar {
        width: 20px;
        height: 2px;
        margin: 2px 0;
    }
    .hero-title {
        font-size: 2rem;
        line-height: 1.15;
        margin-bottom: 1rem;
        padding-top: 3rem;
    }
    .section-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    .partners-title {
        font-size: 1.8rem;
    }
    .btn,
    .download-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
        min-height: 44px;
        min-width: 120px;
    }
    .phone-mockup {
        width: 160px;
        height: 320px;
    }
    .mining-card,
    .feature-item,
    .partner-card {
        padding: 1.5rem;
    }
    .enterprise-stats {
        padding: 1.5rem 1rem;
        gap: 1.5rem;
    }
    .enterprise-stat {
        min-height: 80px;
        padding: 1rem;
    }
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }
    .section-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }
}


/* Accessibility improvements */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .phone-mockup {
        animation: none !important;
        transform: rotateY(-8deg) rotateX(3deg) !important;
    }
}


/* Mobile-optimized class for JavaScript-added styles */

.mobile-optimized {
    /* Additional mobile optimizations applied via JavaScript */
}

.mobile-optimized .mining-card,
.mobile-optimized .feature-item {
    /* Simplified animations on mobile */
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-optimized .phone-mockup {
    /* Reduce complex 3D transforms on mobile */
    transform: rotateY(-5deg) rotateX(2deg) !important;
}


/* Maintain consistent light Solana theme */


/* Print styles */

@media print {
    .navbar,
    .hero-visual,
    .download,
    .footer {
        display: none !important;
    }
    .hero,
    .partners,
    .mining,
    .features {
        page-break-inside: avoid;
    }
    body {
        background: white !important;
        color: black !important;
    }
}


/* ===== PRODUCTION-READY OPTIMIZATIONS ===== */


/* Critical loading optimization */

.critical-content {
    contain: layout style paint;
}


/* Intersection Observer optimization */

.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}


/* Production font loading optimization */

@font-face {
    font-family: 'Inter-fallback';
    src: local('Arial'), local('Helvetica'), local('sans-serif');
    font-display: swap;
    size-adjust: 107%;
}


/* Critical above-the-fold optimization */

.above-fold {
    contain: layout;
    content-visibility: auto;
}


/* Production-ready animation optimization */

@media (prefers-reduced-motion: no-preference) {
    .enhanced-animations {
        will-change: transform, opacity;
    }
}


/* Memory optimization for large lists */

.virtual-list {
    contain: strict;
    content-visibility: auto;
}


/* Production caching hints */

.cache-optimized {
    contain: layout style paint;
    content-visibility: auto;
    contain-intrinsic-size: 1px 300px;
}


/* GPU acceleration for production */

.gpu-accelerated {
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
}


/* Critical Web Vitals optimizations */

img[loading="lazy"] {
    content-visibility: auto;
}


/* Production error boundary styles */

.error-boundary {
    display: none;
    padding: 2rem;
    text-align: center;
    background: #fee;
    border: 1px solid #fcc;
    border-radius: 8px;
    color: #c33;
}

.error-boundary.active {
    display: block;
}


/* Production accessibility enhancements */

@media (forced-colors: active) {
    .btn,
    .download-btn {
        border: 2px solid;
    }
}


/* High contrast mode support */

@media (prefers-contrast: high) {
    .btn,
    .download-btn,
    .mining-card,
    .feature-item {
        border: 2px solid currentColor;
    }
}


/* Production-ready focus management */

.focus-visible {
    outline: 2px solid #9945FF;
    outline-offset: 2px;
}


/* Critical resource optimization */

.resource-hint {
    content-visibility: auto;
    contain-intrinsic-size: 1px 100px;
}