/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Page Container */
.page-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: #000000;
}

/* Fixed Background */
.fixed-background {
    position: fixed;
    inset: 0;
    z-index: 0;
}

.fixed-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.background-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.7) 0%, 
        rgba(0, 0, 0, 0.5) 50%, 
        rgba(0, 0, 0, 0.8) 100%);
}

/* AI Canvas */
#ai-canvas {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* Content Wrapper */
.content-wrapper {
    position: relative;
    z-index: 10;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    background-color: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Section */
.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 3rem;
    height: 3rem;
    object-fit: contain;
    display: block;
}

.logo-text h1 {
    color: white;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1;
}

.logo-text p {
    color: #5592f5;
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-top: 0.125rem;
}

/* Connect Wallet Button */
.connect-wallet-btn {
    position: relative;
    background-color: white;
    color: black;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
}

.connect-wallet-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.btn-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #5592f5 0%, #0025a4 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.connect-wallet-btn:hover .btn-gradient-overlay {
    opacity: 1;
}

.btn-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.connect-wallet-btn:hover .btn-content {
    color: white;
}

.wallet-icon {
    width: 1rem;
    height: 1rem;
}

.btn-text-short {
    display: none;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 1rem 4rem;
}

.hero-container {
    max-width: 1152px;
    margin: 0 auto;
    text-align: center;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    padding: 0.75rem 1.5rem;
    margin-bottom: 2rem;
    animation: fadeIn 0.8s ease-out;
}

.badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: #5592f5;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-badge span {
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* Main Headline */
.hero-title {
    font-size: 5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.title-line-1 {
    display: block;
    animation: slideUp 0.8s ease-out;
}

.title-line-2 {
    display: block;
    background: linear-gradient(to right, #5592f5 0%, #0338b4 50%, #0025a4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideUpDelay 1.2s ease-out;
}

/* Subheadline */
.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    animation: fadeInDelay 1.4s ease-out;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.explore-btn {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.explore-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #5592f5 0%, #0025a4 100%);
    border-radius: 1rem;
    filter: blur(24px);
    opacity: 0.6;
    animation: pulse 2s infinite;
}

.explore-btn:hover .explore-glow {
    opacity: 1;
}

.explore-content {
    position: relative;
    background: linear-gradient(to right, #5592f5 0%, #0025a4 100%);
    border-radius: 0.75rem;
    padding: 1.25rem 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    transition: transform 0.3s ease;
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
}

.explore-btn:hover .explore-content {
    transform: scale(1.05);
}

.sparkles-icon,
.chevron-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.chevron-icon {
    transition: transform 0.3s ease;
}

.explore-btn:hover .chevron-icon {
    transform: translateX(0.25rem);
}

.learn-btn {
    width: 100%;
    max-width: 400px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.75rem;
    padding: 1.25rem 3rem;
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.learn-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 48rem;
    margin: 0 auto;
}

.stat-card {
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #5592f5;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Features Section */
.features-section {
    padding: 6rem 1rem;
}

.features-container {
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1.5rem;
}

.title-highlight {
    color: #5592f5;
}

.section-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 32rem;
    margin: 0 auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.feature-card {
    position: relative;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(85, 146, 245, 0.5);
}

.feature-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    filter: blur(48px);
    transition: all 0.3s ease;
}

.feature-glow-1 {
    background-color: rgba(85, 146, 245, 0.2);
}

.feature-glow-2 {
    background-color: rgba(3, 56, 180, 0.2);
}

.feature-glow-3 {
    background-color: rgba(85, 146, 245, 0.2);
}

.feature-card:hover .feature-glow-1 {
    background-color: rgba(85, 146, 245, 0.3);
}

.feature-card:hover .feature-glow-2 {
    background-color: rgba(3, 56, 180, 0.3);
}

.feature-card:hover .feature-glow-3 {
    background-color: rgba(85, 146, 245, 0.3);
}

.feature-content {
    position: relative;
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.feature-icon-1 {
    background: linear-gradient(135deg, #5592f5 0%, #0025a4 100%);
}

.feature-icon-2 {
    background: linear-gradient(135deg, #0338b4 0%, #0025a4 100%);
}

.feature-icon-3 {
    background: linear-gradient(135deg, #5592f5 0%, #0338b4 100%);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.feature-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 6rem 1rem;
}

.cta-container {
    max-width: 1024px;
    margin: 0 auto;
}

.cta-card {
    position: relative;
    background: linear-gradient(to right, #0025a4 0%, #0338b4 50%, #5592f5 100%);
    border-radius: 3rem;
    padding: 4rem 2rem;
    overflow: hidden;
}

.cta-decoration {
    position: absolute;
    width: 16rem;
    height: 16rem;
    border-radius: 50%;
    filter: blur(48px);
}

.cta-decoration-1 {
    top: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.1);
}

.cta-decoration-2 {
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.2);
}

.cta-content {
    position: relative;
    text-align: center;
}

.cta-title {
    font-size: 3.75rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background-color: white;
    color: #0025a4;
    font-weight: 900;
    padding: 1.5rem 4rem;
    border-radius: 9999px;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.5);
}

.cta-chevron {
    width: 1.5rem;
    height: 1.5rem;
    transition: transform 0.3s ease;
}

.cta-button:hover .cta-chevron {
    transform: translateX(0.5rem);
}

/* Footer */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 1rem;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo-icon {
    display: flex;
    align-items: center;
}

.footer-logo-img {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: contain;
    display: block;
}

.footer-brand-name {
    color: white;
    font-weight: 700;
    font-size: 1rem;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUpDelay {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    20% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDelay {
    0% {
        opacity: 0;
    }
    40% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Responsive - Tablet */
@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
    
    .explore-btn,
    .learn-btn {
        width: auto;
    }
}

/* Responsive - Desktop */
@media (min-width: 768px) {
    .nav-container {
        padding: 1.5rem 2rem;
    }
    
    .logo-icon {
        width: 3rem;
        height: 3rem;
    }
    
    .logo-text h1 {
        font-size: 1.5rem;
    }
    
    .logo-text p {
        font-size: 0.75rem;
    }
    
    .connect-wallet-btn {
        padding: 0.75rem 1.5rem;
    }
    
    .btn-content {
        font-size: 0.875rem;
    }
    
    .btn-text-short {
        display: none;
    }
    
    .btn-text-full {
        display: inline;
    }
    
    .hero-section {
        padding: 8rem 2rem 6rem;
    }
    
    .hero-badge {
        padding: 0.75rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .hero-badge span {
        font-size: 0.875rem;
    }
    
    .hero-title {
        font-size: 7rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .stats-grid {
        gap: 2rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .feature-icon {
        width: 4rem;
        height: 4rem;
    }
    
    .feature-title {
        font-size: 1.5rem;
    }
    
    .feature-description {
        font-size: 1rem;
    }
    
    .cta-card {
        padding: 4rem;
    }
    
    .cta-title {
        font-size: 3.75rem;
    }
    
    .cta-subtitle {
        font-size: 1.25rem;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Mobile Optimizations */
@media (max-width: 639px) {
    .btn-text-full {
        display: none;
    }
    
    .btn-text-short {
        display: inline;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .stats-grid {
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .section-title {
        font-size: 1.875rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-subtitle {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }
    
    .footer-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
}
