/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors from original site */
    --surface: #0A0A0F;
    --surface-elevated: #131318;
    --content: #E8E8F0;
    --content-muted: #A8A8B8;
    --accent: #9D4EDD;
    --accent-hover: #B565F2;
    --gradient: linear-gradient(135deg, #9D4EDD 0%, #E0AAFF 100%);
    
    /* Typography */
    --font-heading: 'Clash Display', sans-serif;
    --font-body: 'General Sans', 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--surface);
    color: var(--content);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
    width: 100%;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
    background: radial-gradient(circle at 50% 0%, rgba(157,78,221,0.1) 0%, transparent 50%);
    width: 100%;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--content-muted);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(157,78,221,0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(157,78,221,0.5);
}

.hero-media {
    position: relative;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-video {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: var(--surface-elevated);
    border-top: 1px solid rgba(157,78,221,0.2);
    border-bottom: 1px solid rgba(157,78,221,0.2);
    width: 100%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    width: 100%;
}

.stat-card {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--content-muted);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-network {
    display: flex;
    justify-content: center;
    align-items: center;
}

.network-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(157,78,221,0.1);
    border: 1px solid rgba(157,78,221,0.3);
    border-radius: 50px;
    color: var(--content);
}

/* What Section */
.what-section {
    padding: 6rem 0;
    width: 100%;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--content-muted);
    font-size: 1.25rem;
    margin-top: -2rem;
    margin-bottom: 3rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    width: 100%;
}

.feature-card {
    background: var(--surface-elevated);
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(157,78,221,0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 10px 40px rgba(157,78,221,0.2);
}

.card-emoji {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--content);
}

.feature-card p {
    color: var(--content-muted);
    line-height: 1.8;
}

/* KORIVERSE Section */
.koriverse-section {
    padding: 6rem 0;
    background: var(--surface-elevated);
    width: 100%;
}

.koriverse-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
    width: 100%;
}

.verse-box {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    padding: 2.5rem 2rem;
    background: rgba(157,78,221,0.05);
    border: 1px solid rgba(157,78,221,0.2);
    border-radius: 16px;
    text-align: center;
}

.verse-box h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.verse-center {
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.kori-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(157,78,221,0.4);
    border: 3px solid var(--accent);
}

.kori-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contract Section */
.contract-section {
    padding: 4rem 0;
    width: 100%;
}

.contract-card {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contract-card label {
    display: block;
    color: var(--content-muted);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contract-input-group {
    display: flex;
    gap: 1rem;
    background: var(--surface-elevated);
    padding: 0.5rem;
    border-radius: 12px;
    border: 1px solid rgba(157,78,221,0.2);
}

.contract-input-group input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--content);
    padding: 0.75rem 1rem;
    font-family: monospace;
    font-size: 1rem;
}

.contract-input-group input:focus {
    outline: none;
}

.copy-btn {
    padding: 0.75rem 2rem;
    background: var(--gradient);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    transform: scale(1.05);
}

.copy-notification {
    margin-top: 1rem;
    color: #4CAF50;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.copy-notification.show {
    opacity: 1;
}

/* Join Section */
.join-section {
    padding: 6rem 0;
    background: var(--surface-elevated);
    width: 100%;
}

.join-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    width: 100%;
}

.join-card {
    background: var(--surface);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(157,78,221,0.2);
}

.join-card h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-2px);
}

.social-btn.twitter {
    background: #1DA1F2;
}

.social-btn.tiktok {
    background: #000000;
}

.social-btn.telegram {
    background: #0088CC;
}

.toggle-guide-btn {
    width: 100%;
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(157,78,221,0.1);
    border: 1px solid rgba(157,78,221,0.3);
    border-radius: 10px;
    color: var(--content);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-guide-btn:hover {
    background: rgba(157,78,221,0.2);
}

.buy-guide {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(157,78,221,0.05);
    border-radius: 12px;
    text-align: left;
    max-height: 500px;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.buy-guide.hidden {
    max-height: 0;
    padding: 0;
}

.buy-guide ol {
    margin-left: 1.5rem;
    line-height: 2;
    color: var(--content-muted);
}

.buy-guide li {
    margin-bottom: 0.75rem;
}

.disclaimer {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(255,193,7,0.1);
    border-left: 3px solid #FFC107;
    font-size: 0.9rem;
    color: var(--content-muted);
}

/* Footer */
.footer {
    padding: 3rem 0;
    background: var(--surface);
    border-top: 1px solid rgba(157,78,221,0.2);
    width: 100%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-brand p {
    color: var(--content-muted);
    font-size: 0.9rem;
}

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

.footer-links a {
    color: var(--content-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

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

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-media {
        justify-content: center;
    }

    .hero-video {
        max-width: 100%;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .koriverse-diagram {
        flex-direction: column;
    }

    .verse-box {
        max-width: 100%;
    }

    .join-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}
