/* Landing page specific styles */
.landing-page {
    background: linear-gradient(to bottom, var(--background-color), #0f0f0f);
}

/* Reset z-index stacking context */
body {
    position: relative;
    z-index: 0;
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Glass box effects should be behind content */
.glass-box {
    position: relative;
    z-index: 5;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Content wrapper adjustments */
.content-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding-top: 0;
}

/* Hero Section with proper stacking */
.hero-section {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: calc(100vh - 60px); /* Adjust height to account for navbar */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    margin: 0;
    background: var(--background-gradient);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    text-align: center;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 4;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9) !important;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    -webkit-text-fill-color: rgba(255, 255, 255, 0.9) !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
}

.hero-cta {
    margin-top: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--background-color);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 157, 0.3);
}

/* Market Overview */
.highlight-card {
    background: linear-gradient(145deg, rgba(0, 255, 157, 0.1), rgba(0, 255, 157, 0.05));
    border: 1px solid rgba(0, 255, 157, 0.1);
    margin-bottom: 2rem;
}

.market-overview {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.price-display {
    display: flex;
    align-items: baseline;
    gap: 1rem;
}

.current-price {
    font-size: 3rem;
    font-weight: bold;
}

.price-change {
    font-size: 1.25rem;
}

/* Metrics Section */
.metrics-section {
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin: 2rem auto;
}

.metric-card {
    position: relative;
    z-index: 20;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 157, 0.1);
    padding: 2rem;
    border-radius: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 157, 0.2);
    box-shadow: 0 4px 20px rgba(0, 255, 157, 0.1);
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00ff9d;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(0, 255, 157, 0.3);
}

.metric-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 157, 0.1);
    border-radius: 24px;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #00ff9d !important;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    text-shadow: 0 0 20px rgba(0, 255, 157, 0.3);
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: #00ff9d !important;
    background-clip: initial !important;
}

.section-subtitle {
    font-size: 1.25rem;
    color: rgba(0, 255, 157, 0.8);
    line-height: 1.6;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-shadow: 0 0 15px rgba(0, 255, 157, 0.1);
}

/* Features and Development Sections */
.features-section,
.development-section {
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    position: relative;
    z-index: 15;
    margin: 4rem auto 2rem;
    text-align: center;
    max-width: 800px;
    padding: 2rem;
}

.section-header h2 {
    position: relative;
    z-index: 25;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem auto;
    padding: 0 1rem;
    max-width: 1200px;
}

.feature-card {
    position: relative;
    z-index: 20;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 157, 0.1);
    padding: 1.5rem;
    border-radius: 24px;
    transition: all 0.3s ease;
    height: auto;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 157, 0.2);
    box-shadow: 0 4px 20px rgba(0, 255, 157, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    background: rgba(0, 255, 157, 0.1);
    border-radius: 12px;
    width: fit-content;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.feature-list li {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
}

.feature-list li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Development Section */
.development-section {
    padding: 6rem 0;
}

.development-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.development-card {
    opacity: 0.8;
    transition: all 0.3s ease;
}

.development-card:hover {
    opacity: 1;
    transform: translateY(-5px);
}

/* CTA Section */
.cta-section {
    position: relative;
    z-index: 9999;
    text-align: center;
    padding: 4rem 2rem;
    margin: 6rem auto;
    max-width: 1000px;
    background: rgb(0, 0, 0);
    border: 2px solid #00ff9d;
    border-radius: 24px;
}

.cta-section h2 {
    position: relative;
    z-index: 10000;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: #00ff9d;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    text-shadow: 0 0 20px rgba(0, 255, 157, 0.5);
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: #00ff9d;
}

.cta-section p {
    position: relative;
    z-index: 10000;
    font-size: 1.25rem;
    line-height: 1.6;
    color: #ffffff;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

/* Ensure buttons are visible */
.cta-section .action-buttons {
    position: relative;
    z-index: 10000;
}

/* Mobile Responsiveness */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 2rem 1rem;
    }

    .hero-content {
        padding: 1rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 100%;
        margin: 1rem;
        padding: 0;
    }

    .feature-card {
        padding: 1rem;
        min-height: 140px;
    }

    .section-header {
        margin: 2rem 1rem;
        padding: 1rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }

    .content-wrapper {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
        padding: 0;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .features-grid {
        margin: 0.5rem;
    }

    .feature-card {
        padding: 0.875rem;
        min-height: 120px;
    }

    .section-header {
        margin: 1.5rem 0.5rem;
        padding: 0.875rem;
    }
}

/* Navigation Styles */
.top-bar {
    position: static;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
}

.logo {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-cta {
    background: #00ff9d;
    color: #000;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 157, 0.3);
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .nav-links {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .top-bar {
        padding: 1rem;
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }
    
    .nav-link {
        font-size: 0.95rem;
        justify-content: center;
        width: 100%;
        padding: 0.5rem 0;
    }
    
    .nav-cta {
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
    }
}

/* Add subtle animation to hero */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer Styles */
.footer {
    margin-top: 6rem;
    padding: 4rem 2rem 2rem;
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
    box-sizing: border-box;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
}

.footer-brand {
    margin-bottom: 1.5rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.footer-section h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    max-width: 1200px;
    margin: 4rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Footer Responsive Design */
@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 580px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section {
        margin-bottom: 2rem;
    }

    .footer {
        padding: 3rem 1.5rem 1.5rem;
    }
}

.coming-soon-link {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    cursor: default;
}

/* Add these styles to your existing CSS */
.market-pill .change.positive {
    color: var(--success-color, #00ff9d);
}

.market-pill .change.negative {
    color: var(--error-color, #ff4b4b);
}

/* Ensure background effects stay behind */
.background-effects,
.glass-box::before,
.glass-box::after {
    position: absolute;
    z-index: -1;
    pointer-events: none;
}

/* Action buttons in hero section */
.hero-content .action-buttons {
    position: relative;
    z-index: 300;  /* Match h1 z-index */
    pointer-events: auto; /* Re-enable clicks */
}

.hero-content .btn {
    position: relative;
    z-index: 301;  /* Slightly higher than container */
}

/* Ensure other sections don't overlap */
.features-section,
.development-section,
.metrics-section,
.cta-section {
    position: relative;
    z-index: 1000;
}

.hero-text {
    position: relative;
    z-index: 3004;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 2rem;
}

.main-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, #00ff9d 0%, rgba(0, 255, 157, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    text-shadow: 0 0 20px rgba(0, 255, 157, 0.3);
    animation: glow 3s ease-in-out infinite alternate;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    line-height: 1.6;
    color: rgba(0, 255, 157, 0.8);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-shadow: 0 0 15px rgba(0, 255, 157, 0.1);
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(0, 255, 157, 0.3);
    }
    to {
        text-shadow: 0 0 30px rgba(0, 255, 157, 0.5);
    }
}

/* Add a subtle green glow to the page */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 157, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

@media (max-width: 768px) {
    .hero-text {
        padding: 0 1.5rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-text {
        padding: 0 1rem;
    }
    .main-title {
        text-shadow: 0 0 15px rgba(0, 255, 157, 0.2);
    }
}

.glass-button {
    background: rgba(0, 255, 157, 0.1);
    border: 1px solid rgba(0, 255, 157, 0.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary, .btn-secondary {
    background: linear-gradient(135deg, rgba(0, 255, 157, 0.2) 0%, rgba(0, 255, 157, 0.1) 100%);
    color: var(--primary-color);
    border: 1px solid rgba(0, 255, 157, 0.3);
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.1);
}

.btn-primary:hover, .btn-secondary:hover {
    background: linear-gradient(135deg, rgba(0, 255, 157, 0.3) 0%, rgba(0, 255, 157, 0.2) 100%);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 255, 157, 0.2);
}

@media (max-width: 480px) {
    .action-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn {
        width: 100%;
        padding: 0.75rem 1.5rem;
    }
}

/* Reset all section z-indices */
.hero-section,
.features-section,
.development-section,
.metrics-section {
    position: relative;
    z-index: 1;
}

/* Reset and remove any glass effects for the CTA section */
.solid-section {
    position: relative;
    z-index: 9999;
    text-align: center;
    padding: 4rem 2rem;
    margin: 6rem auto;
    max-width: 1000px;
    background: rgb(0, 0, 0);
    border: 2px solid #00ff9d;
    border-radius: 24px;
    box-shadow: 0 0 60px rgba(0, 255, 157, 0.2);
}

.solid-text {
    position: relative;
    z-index: 10000;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: #00ff9d;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    text-shadow: 0 0 20px rgba(0, 255, 157, 0.5);
}

/* Override any backdrop filters */
.solid-section *,
.solid-section *::before,
.solid-section *::after {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Ensure text is visible */
.solid-section h2,
.solid-section p {
    background: none;
    -webkit-text-fill-color: initial;
    background-clip: initial;
    -webkit-background-clip: initial;
}

.solid-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    font-weight: 500;
}

/* Adjust content padding to account for header */
.content-wrapper {
    padding-top: 0;
}

@media (max-width: 768px) {
    .content-wrapper {
        padding-top: 0;
    }
} 