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

:root {
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --secondary-color: #8b5cf6;
    --background: #0a0a0f;
    --surface: #131318;
    --surface-light: #1a1a24;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --success: #10b981;
    --danger: #ef4444;
    --border: #27272a;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 400;
}

/* Navbar */
.navbar {
    background: rgba(19, 19, 24, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.nav-brand a {
    display: block;
    text-decoration: none;
}

.nav-brand .logo {
    height: 32px !important;
    max-height: 32px !important;
    width: auto !important;
    max-width: 150px !important;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.nav-brand .logo:hover {
    transform: scale(1.05);
}

.nav-brand h1 {
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    letter-spacing: -0.3px;
    position: relative;
    padding: 0.5rem 0;
}

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

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

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.connect-wallet-btn {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: -0.5px;
    position: relative;
    overflow: hidden;
}

.connect-wallet-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    padding: 1px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
}

.connect-wallet-btn:hover::before {
    opacity: 1;
}

.connect-wallet-btn:hover {
    border-color: transparent;
    color: var(--primary-color);
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Twitter Button */
.twitter-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    transition: all 0.3s ease;
    text-decoration: none;
}

.twitter-btn:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.twitter-btn svg {
    width: 20px;
    height: 20px;
}

/* Telegram Button */
.telegram-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    transition: all 0.3s ease;
    text-decoration: none;
}

.telegram-btn:hover {
    background: rgba(0, 168, 255, 0.1);
    border-color: #00A8FF;
    color: #00A8FF;
    transform: translateY(-2px);
}

.telegram-btn svg {
    width: 20px;
    height: 20px;
}

/* Signup Button */
.signup-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-primary);
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: -0.5px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    text-decoration: none;
    display: inline-block;
}

.signup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.signup-btn:disabled {
    opacity: 0.7;
    cursor: default;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.modal-content {
    background: var(--surface);
    border: 1px solid var(--border);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 16px;
    width: 90%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease-out;
}

.modal-content h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.signup-description {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.close {
    color: var(--text-secondary);
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

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

/* Signup Form */
.signup-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: -0.3px;
}

.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="text"] {
    background: var(--background);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
    font-family: 'Outfit', sans-serif;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-hint {
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.8rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.2rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.checkbox-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1.5;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-primary);
    border: none;
    padding: 0.85rem;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: -0.5px;
    margin-top: 0.3rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.signup-message {
    padding: 1rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 1rem;
}

.signup-message.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
}

.signup-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--danger);
    color: var(--danger);
}

.early-access-benefits {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.early-access-benefits h3 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.3px;
    color: var(--text-secondary);
}

.early-access-benefits ul {
    list-style: none;
    padding: 0;
}

.early-access-benefits li {
    padding: 0.3rem 0;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.early-access-benefits li::before {
    content: '✓';
    color: var(--success);
    font-weight: 800;
    font-size: 0.75rem;
}

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

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

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

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.slide-up {
    animation: slideUp 0.8s ease-out forwards;
    opacity: 0;
}

/* Hero Section */
.hero {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem 2rem;
    position: relative;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
    height: 600px;
    background: radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.15), transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(139, 92, 246, 0.15), transparent 50%);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    margin-bottom: 3rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-weight: 600;
    max-width: 700px;
    line-height: 1.6;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.btn {
    padding: 0;
    background: transparent;
    border: none;
    font-weight: 800;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s;
    letter-spacing: -0.5px;
    position: relative;
    color: var(--text-primary);
    display: inline-block;
    padding: 0.5rem 0;
}

.btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.4s ease;
}

.btn:hover::after {
    width: 100%;
}

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

.btn-primary:hover {
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
    color: var(--text-secondary);
}

.btn-secondary:hover {
    color: var(--text-primary);
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(19, 19, 24, 0.5);
    border: 1px solid var(--border);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

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

.hero-stats .stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.hero-stats .stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 700;
    letter-spacing: -0.3px;
}

/* Featured Chart Section */
.featured-chart-section {
    background: rgba(19, 19, 24, 0.6);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 2rem;
    backdrop-filter: blur(10px);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.crypto-selector {
    display: flex;
    gap: 0.5rem;
    background: var(--background);
    padding: 0.5rem;
    border-radius: 10px;
}

.crypto-btn {
    background: transparent;
    color: var(--text-secondary);
    border: none;
    padding: 0.65rem 1.3rem;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: -0.5px;
    position: relative;
}

.crypto-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    padding: 1px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
}

.crypto-btn.active::before,
.crypto-btn:hover::before {
    opacity: 1;
}

.crypto-btn.active,
.crypto-btn:hover {
    color: var(--primary-color);
    background: rgba(59, 130, 246, 0.05);
}

.current-price {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.price-label {
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: -0.3px;
}

.price-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--success);
    letter-spacing: -0.5px;
}

.chart-container {
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
}

/* Mobile App Section */
.mobile-app-section {
    background: #000307;
    padding: 6rem 2rem;
    margin: 0;
    max-width: 100%;
    position: relative;
}


.mobile-app-section .mobile-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-title {
    text-align: left;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 2rem;
    letter-spacing: -1.5px;
}

.mobile-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 600;
    line-height: 1.8;
    margin-bottom: 3rem;
    letter-spacing: -0.2px;
}

.mobile-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.mobile-feature-item h4 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.mobile-feature-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 600;
    line-height: 1.7;
    letter-spacing: -0.2px;
}

.store-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge-placeholder {
    padding: 0.9rem 1.8rem;
    background: rgba(19, 19, 24, 0.6);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: -0.5px;
    color: var(--text-secondary);
}

.mobile-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
}

/* Platform Features Section */
.platform-features {
    background: #000307;
    padding: 6rem 2rem;
    margin: 0;
    max-width: 100%;
    position: relative;
}

.platform-features::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 30%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12), transparent 70%);
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}

.platform-features .feature-list {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.platform-features .section-title {
    position: relative;
    z-index: 1;
}

.platform-features .section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.feature-item {
    background: rgba(19, 19, 24, 0.6);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.4s;
    backdrop-filter: blur(10px);
}

.feature-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.15);
    background: rgba(19, 19, 24, 0.8);
}

.feature-item h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.7px;
}

.feature-item p {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 600;
    line-height: 1.8;
    letter-spacing: -0.2px;
}


/* Wallet Connected State */
.wallet-connected {
    background: var(--success);
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .hero-stats .stat-value {
        font-size: 1.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .chart-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .crypto-selector {
        width: 100%;
        overflow-x: auto;
    }
    
    .mobile-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .mobile-image {
        order: -1;
    }
    
    .section-title {
        text-align: center;
    }
    
    .mobile-description {
        text-align: center;
    }
}
