:root {
    --primary-bg: #0c0516;
    --secondary-bg: #1a0d2e;
    --accent-cosmic: #6d28d9;
    --accent-stellar: #f59e0b;
    --accent-nebula: #ec4899;
    --accent-galactic: #06b6d4;
    --text-primary: #ffffff;
    --text-secondary: #a855f7;
    --border-cosmic: #4c1d95;
    --success-color: #10b981;
    --ethereum-color: #627eea;
    --bitcoin-color: #f7931a;
    --polygon-color: #8247e5;
    --solana-color: #14f195;
}

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

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.cosmos-container {
    min-height: 100vh;
    background: radial-gradient(ellipse at center, var(--secondary-bg) 0%, var(--primary-bg) 100%);
    position: relative;
}

/* Stars Background Animation */
.stars-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #fff, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.4), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: twinkle 20s linear infinite;
}

/* Navigation */
.cosmos-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(12, 5, 22, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-cosmic);
}

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

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--accent-cosmic), var(--accent-stellar));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.language-switcher {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--border-cosmic);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.lang-btn.active,
.lang-btn:hover {
    border-color: var(--accent-cosmic);
    color: var(--accent-cosmic);
    box-shadow: 0 0 10px rgba(109, 40, 217, 0.3);
}

.cta-button {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(45deg, var(--accent-cosmic), var(--accent-stellar));
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(109, 40, 217, 0.4);
}

/* Hero Section */
.hero {
    padding: 8rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.gradient-text {
    background: linear-gradient(45deg, var(--accent-cosmic), var(--accent-stellar));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.primary-btn {
    padding: 1rem 2rem;
    background: linear-gradient(45deg, var(--accent-cosmic), var(--accent-stellar));
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(109, 40, 217, 0.4);
}

.secondary-btn {
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid var(--accent-cosmic);
    border-radius: 12px;
    color: var(--accent-cosmic);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.secondary-btn:hover {
    background: var(--accent-cosmic);
    color: white;
    transform: translateY(-3px);
}

/* Blockchain Cosmos Visualization */
.blockchain-cosmos {
    position: relative;
    width: 600px;
    height: 600px;
    margin: 0 auto;
}

.central-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.hub-core {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--accent-cosmic), var(--accent-stellar));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: pulse 2s infinite;
}

.interop-symbol {
    font-size: 2.5rem;
    color: white;
    animation: rotate 3s linear infinite;
}

.hub-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring {
    position: absolute;
    border: 1px solid rgba(109, 40, 217, 0.3);
    border-radius: 50%;
    animation: rotate 15s linear infinite reverse;
}

.ring-1 { 
    width: 140px; 
    height: 140px; 
    top: -70px; 
    left: -70px; 
    animation-duration: 20s;
}
.ring-2 { 
    width: 200px; 
    height: 200px; 
    top: -100px; 
    left: -100px; 
    animation-duration: 25s;
}
.ring-3 { 
    width: 260px; 
    height: 260px; 
    top: -130px; 
    left: -130px; 
    animation-duration: 30s;
}

.blockchain-nodes {
    position: relative;
    width: 100%;
    height: 100%;
}

.chain-node {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid;
    transition: all 0.3s ease;
    cursor: pointer;
}

.chain-node:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px currentColor;
}

.chain-node.ethereum {
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(98, 126, 234, 0.2);
    border-color: var(--ethereum-color);
    color: var(--ethereum-color);
}

.chain-node.bitcoin {
    top: 150px;
    right: 80px;
    background: rgba(247, 147, 26, 0.2);
    border-color: var(--bitcoin-color);
    color: var(--bitcoin-color);
}

.chain-node.polygon {
    bottom: 150px;
    right: 80px;
    background: rgba(130, 71, 229, 0.2);
    border-color: var(--polygon-color);
    color: var(--polygon-color);
}

.chain-node.solana {
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 241, 149, 0.2);
    border-color: var(--solana-color);
    color: var(--solana-color);
}

.chain-node.avalanche {
    bottom: 150px;
    left: 80px;
    background: rgba(232, 65, 66, 0.2);
    border-color: #e84142;
    color: #e84142;
}

.chain-node.cardano {
    top: 150px;
    left: 80px;
    background: rgba(0, 51, 173, 0.2);
    border-color: #0033ad;
    color: #0033ad;
}

.node-icon {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.node-label {
    font-size: 0.7rem;
    text-align: center;
    opacity: 0.8;
}

.node-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid currentColor;
    border-radius: 16px;
    opacity: 0;
    animation: pulse-ring 2s infinite;
}

.connection-bridges {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.bridge {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-galactic), transparent);
    opacity: 0.6;
    animation: bridge-flow 3s infinite;
}

.bridge-1 {
    top: 130px;
    left: 150px;
    width: 200px;
    transform: rotate(45deg);
    animation-delay: 0s;
}

.bridge-2 {
    top: 300px;
    left: 200px;
    width: 150px;
    transform: rotate(-30deg);
    animation-delay: 1s;
}

.bridge-3 {
    top: 200px;
    left: 120px;
    width: 180px;
    transform: rotate(120deg);
    animation-delay: 2s;
}

.bridge-data {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-galactic);
    border-radius: 50%;
    animation: data-flow 3s infinite;
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--accent-cosmic), var(--accent-stellar));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(26, 13, 46, 0.8);
    border: 1px solid var(--border-cosmic);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-cosmic);
    box-shadow: 0 20px 40px rgba(109, 40, 217, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Networks Section */
.networks {
    padding: 6rem 2rem;
    background: rgba(26, 13, 46, 0.3);
}

.networks-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.networks-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.networks-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.networks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.network-item {
    background: rgba(12, 5, 22, 0.8);
    border: 1px solid var(--border-cosmic);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.network-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cosmic);
}

.network-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    font-weight: bold;
}

.ethereum-bg { background: linear-gradient(45deg, var(--ethereum-color), #9bb3f0); }
.bitcoin-bg { background: linear-gradient(45deg, var(--bitcoin-color), #fbb040); }
.polygon-bg { background: linear-gradient(45deg, var(--polygon-color), #a855f7); }
.solana-bg { background: linear-gradient(45deg, var(--solana-color), #4ade80); }

.network-symbol {
    color: white;
}

.network-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.network-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.stat {
    text-align: center;
}

.stat .label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.stat .value {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
}

.network-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-indicator.active {
    background: var(--success-color);
    animation: pulse 2s infinite;
}

.status-text {
    font-size: 0.9rem;
    color: var(--success-color);
}

/* Bridge Technology Section */
.bridge-tech {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tech-header {
    text-align: center;
    margin-bottom: 4rem;
}

.tech-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.tech-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.tech-process {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    min-width: 250px;
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--accent-cosmic), var(--accent-stellar));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-visual {
    margin: 1rem 0;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lock-animation,
.validation-animation,
.mint-animation {
    width: 30px;
    height: 30px;
    border: 2px solid var(--accent-cosmic);
    border-radius: 50%;
    animation: spin 2s linear infinite;
}

.process-arrow {
    font-size: 2rem;
    color: var(--accent-stellar);
    animation: pulse 2s infinite;
}

/* Use Cases */
.use-cases {
    padding: 6rem 2rem;
    background: rgba(26, 13, 46, 0.3);
}

.cases-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.cases-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cases-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.case-item {
    background: rgba(12, 5, 22, 0.8);
    border: 1px solid var(--border-cosmic);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.case-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-stellar);
    box-shadow: 0 15px 30px rgba(245, 158, 11, 0.2);
}

.case-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.case-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.case-item p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.case-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.metric {
    padding: 0.25rem 0.75rem;
    background: rgba(245, 158, 11, 0.2);
    color: var(--accent-stellar);
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Statistics */
.stats {
    padding: 4rem 2rem;
    background: rgba(109, 40, 217, 0.1);
    margin: 4rem 0;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(45deg, var(--accent-cosmic), var(--accent-stellar));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* CTA Section */
.cta-section {
    padding: 6rem 2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.cta-button-large {
    padding: 1.2rem 3rem;
    background: linear-gradient(45deg, var(--accent-cosmic), var(--accent-stellar));
    border: none;
    border-radius: 16px;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button-large:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(109, 40, 217, 0.4);
}

/* Cookie Banner & Footer */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(12, 5, 22, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-cosmic);
    padding: 1rem 2rem;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
}

.accept-btn {
    padding: 0.75rem 1.5rem;
    background: var(--accent-cosmic);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
}

.privacy-link {
    color: var(--accent-cosmic);
    text-decoration: none;
    padding: 0.75rem 1rem;
}

.footer {
    background: var(--secondary-bg);
    border-top: 1px solid var(--border-cosmic);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-cosmic);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--accent-cosmic);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border-cosmic);
    text-align: center;
    color: var(--text-secondary);
}

.legal-page {
    padding: 8rem 2rem 4rem;
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.last-updated {
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-style: italic;
}

.legal-content section {
    margin-bottom: 2.5rem;
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--accent-cosmic);
}

.legal-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Animations */
@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

@keyframes bridge-flow {
    0% { opacity: 0; transform: scaleX(0); }
    50% { opacity: 1; transform: scaleX(1); }
    100% { opacity: 0; transform: scaleX(0); }
}

@keyframes data-flow {
    0% { transform: translateX(0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(100px); opacity: 0; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .blockchain-cosmos {
        width: 400px;
        height: 400px;
    }
    
    .nav-content {
        padding: 1rem;
    }
    
    .features-grid,
    .networks-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-process {
        flex-direction: column;
    }
    
    .process-arrow {
        transform: rotate(90deg);
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}