/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #000000;
    min-height: 100vh;
    background: #ffffff;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 0;
    z-index: 50;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #000000;
}

.nav-logo {
    width: 32px;
    height: 32px;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-square {
    width: 16px;
    height: 16px;
    background: #ffffff;
}

.nav-divider {
    width: 4px;
    height: 24px;
    background: #000000;
}

.nav-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #000000;
    letter-spacing: -0.025em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #6c757d;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #000000;
}

.nav-button {
    background: #000000;
    color: #ffffff;
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-button:hover {
    background: #1a1a1a;
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 8rem 1rem 6rem;
    overflow: hidden;
    background: #ffffff;
}

.hero-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8f9fa;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    border: 1px solid #e9ecef;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #000000;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #000000;
    border-radius: 50%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: #000000;
    letter-spacing: -0.025em;
}

.hero-title-accent {
    color: #6c757d;
}

.hero-description {
    font-size: 1.25rem;
    color: #6c757d;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.hero-button-primary {
    background: #000000;
    color: #ffffff;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-button-primary:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
}

.hero-button-secondary {
    background: #ffffff;
    color: #000000;
    padding: 1rem 2.5rem;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-button-secondary:hover {
    background: #f8f9fa;
    border-color: #dee2e6;
    transform: translateY(-1px);
}

/* Hero Contract Address */
.hero-contract {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    font-size: 0.875rem;
    color: #6c757d;
    font-family: 'Courier New', monospace;
}

.contract-label {
    font-weight: 600;
    margin-right: 0.5rem;
}

.contract-address {
    color: #000000;
    font-weight: 500;
    user-select: all;
    cursor: pointer;
}

.contract-address:hover {
    color: #1a1a1a;
}

/* Features Section */
.features {
    padding: 6rem 1rem;
    background: #f8f9fa;
}

.features-container {
    max-width: 1280px;
    margin: 0 auto;
}

.features-header {
    text-align: center;
    margin-bottom: 4rem;
}

.features-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.features-title-accent {
    color: #6c757d;
}

.features-description {
    font-size: 1.25rem;
    color: #6c757d;
    max-width: 36rem;
    margin: 0 auto;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 0.75rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: #dee2e6;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background: #000000;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.05);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 1rem;
}

.feature-description {
    color: #6c757d;
    line-height: 1.6;
}

/* Stats Section */
.stats {
    padding: 5rem 1rem;
    background: #ffffff;
}

.stats-container {
    max-width: 1280px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    transition: transform 0.3s ease;
    padding: 1rem;
}

.stat-item:hover {
    transform: scale(1.05);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #000000;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

.stat-label {
    color: #6c757d;
    font-weight: 500;
    font-size: 1rem;
}

/* Examples Section */
.examples {
    padding: 6rem 1rem;
    background: #f8f9fa;
}

.examples-container {
    max-width: 1280px;
    margin: 0 auto;
}

.examples-header {
    text-align: center;
    margin-bottom: 4rem;
}

.examples-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.examples-title-accent {
    color: #6c757d;
}

.examples-description {
    font-size: 1.25rem;
    color: #6c757d;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.example-card {
    background: #ffffff;
    border-radius: 0.75rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.example-card:hover {
    border-color: #dee2e6;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.example-card.featured {
    border: 2px solid #000000;
    transform: scale(1.02);
}

.example-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #000000;
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
}

.example-preview {
    height: 200px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #e9ecef;
}

.example-3d {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.example-placeholder {
    color: #6c757d;
    opacity: 0.5;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.example-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.example-card:hover .example-image {
    transform: scale(1.05);
}

.example-content {
    padding: 1.5rem;
}

.example-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 0.5rem;
}

.example-description {
    color: #6c757d;
    margin-bottom: 1rem;
    font-style: italic;
    line-height: 1.5;
}

.example-specs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.spec-tag {
    background: #f8f9fa;
    color: #000000;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid #e9ecef;
}

/* CTA Section */
.cta {
    padding: 6rem 1rem;
    background: #ffffff;
}

.cta-container {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
}

.cta-title-accent {
    color: #6c757d;
}

.cta-description {
    font-size: 1.25rem;
    color: #6c757d;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.cta-button-primary {
    background: #000000;
    color: #ffffff;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button-primary:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
}

.cta-button-secondary {
    background: #ffffff;
    color: #000000;
    padding: 1rem 2.5rem;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button-secondary:hover {
    background: #f8f9fa;
    border-color: #dee2e6;
    transform: translateY(-1px);
}

/* Footer */
.footer {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 4rem 1rem 2rem;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    grid-column: span 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    width: 32px;
    height: 32px;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-divider {
    width: 4px;
    height: 24px;
    background: #000000;
}

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #000000;
    letter-spacing: -0.025em;
}

.footer-description {
    color: #6c757d;
    line-height: 1.6;
}

.footer-column-title {
    font-weight: 600;
    color: #000000;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-link {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-link:hover {
    color: #000000;
}

.footer-bottom {
    border-top: 1px solid #e9ecef;
    padding-top: 2rem;
    text-align: center;
    color: #6c757d;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (min-width: 640px) {
    .hero-buttons,
    .cta-buttons {
        flex-direction: row;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .nav-links {
        display: flex;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .features-title,
    .examples-title,
    .cta-title {
        font-size: 2rem;
    }
    
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
    }
    
    .example-card.featured {
        transform: none;
    }
    
    .hero {
        padding: 4rem 1rem 3rem;
    }
    
    .features,
    .examples,
    .cta {
        padding: 4rem 1rem;
    }
    
    .stats {
        padding: 3rem 1rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Enhanced animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.hero-badge {
    animation: float 4s ease-in-out infinite;
}

/* Improved button hover effects */
button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced card hover effects */
.feature-card,
.example-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Focus states for accessibility */
button:focus,
.nav-link:focus,
.footer-link:focus {
    outline: 2px solid #000000;
    outline-offset: 2px;
}

/* Selection styling */
::selection {
    background: #000000;
    color: #ffffff;
}

/* Subtle animations for better UX */
.nav-brand,
.feature-icon,
.stat-item {
    transition: transform 0.3s ease;
}

.nav-brand:hover {
    transform: scale(1.02);
}
