:root {
    --primary: #00f2ff;
    --primary-glow: rgba(0, 242, 255, 0.5);
    --secondary: #7000ff;
    --bg-dark: #050505;
    --bg-card: #111111;
    --text-main: #ffffff;
    --text-dim: #a0a0a0;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 10px 20px rgba(112, 0, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(112, 0, 255, 0.5);
}

.glass-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
}

.glass-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 242, 255, 0.1);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.logo span {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-glow);
}

.logo-img {
    height: 90px;
    /* Increased size as requested */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 242, 255, 0.3));
    /* Add subtle glow to match theme */
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(0, 242, 255, 0.6));
}


.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links eth-link:hover {
    color: var(--primary);
}

.nav-links a {
    font-weight: 400;
    transition: var(--transition);
    color: var(--text-dim);
}

.nav-links a:hover {
    color: var(--text-main);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) saturate(1.2);
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent, var(--bg-dark));
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #a0a0a0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-dim);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.cta-group {
    display: flex;
    gap: 1.5rem;
}

.btn-outline {
    border: 1px solid var(--glass-border);
    color: white;
    background: var(--glass);
}

.btn-outline:hover {
    background: white;
    color: black;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 3rem;
    margin: 100px 0 60px;
}

.section-title span {
    color: var(--primary);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-dim);
}

/* Download App Section */
.download-app {
    margin-top: 100px;
}

.download-grid {
    display: flex;
    /* Changed from grid to flex column for better centering control */
    flex-direction: column;
    gap: 3rem;
    align-items: center;
    padding: 4rem 2rem;
    overflow: hidden;
    text-align: center;
}

.app-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 1rem;
}

.app-image {
    max-width: 100%;
    width: 380px;
    /* Constrain width for centered layout */
    border-radius: 12px;
    filter: drop-shadow(0 0 30px rgba(0, 242, 255, 0.15));
    transition: var(--transition);
}

.app-image:hover {
    transform: scale(1.02) rotate(-1deg);
}

.download-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.download-info .section-title {
    margin: 0 0 1rem 0;
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.download-info p {
    color: var(--text-dim);
    margin-bottom: 2.5rem;
    font-size: 1.2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.action-area {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.btn-lg {
    padding: 1.2rem 4rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    text-align: center;
    display: inline-flex;
    /* Changed to inline-flex for better auto margin handling */
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    /* Force centering */
}

.code-box {
    background: rgba(0, 0, 0, 0.4);
    padding: 1.5rem 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: auto;
    min-width: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.code-box p {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.code-box p:last-child {
    margin-bottom: 0;
}

.code-box .highlight {
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 2px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    padding: 0.2rem 1rem;
    border-radius: 8px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 242, 255, 0.3);
}

.code-box .direct-link a {
    color: var(--text-main);
    font-weight: 500;
    transition: var(--transition);
    border-bottom: 1px solid var(--primary);
    padding-bottom: 2px;
}

.code-box .direct-link a:hover {
    color: var(--primary);
    border-color: transparent;
    text-shadow: 0 0 10px var(--primary-glow);
}

@media (max-width: 900px) {
    .download-info .section-title {
        font-size: 2.2rem;
    }
}


/* Country Selector */
.country-selector {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.country-selector .btn {
    min-width: 140px;
    padding: 0.8rem 1.5rem;
}

.country-selector .btn.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-color: transparent;
    box-shadow: 0 0 20px rgba(112, 0, 255, 0.3);
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.pricing-card {
    position: relative;
    text-align: center;
    padding: 3rem 2rem;
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.1);
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--glass-border);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.pricing-card .price {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 1rem 0 2rem;
    color: var(--primary);
}

.pricing-card .price span {
    font-size: 1rem;
    color: var(--text-dim);
}

.pricing-card ul {
    margin-bottom: 2.5rem;
    text-align: left;
}

.pricing-card ul li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.pricing-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Footer */
footer {
    margin-top: 100px;
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
    background: #080808;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 60px;
}

.footer-info p {
    color: var(--text-dim);
    margin-top: 1rem;
    max-width: 300px;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: var(--text-dim);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-dim);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }
}