:root {
    /* Light Mode (Default) */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f1f3f5;
    --primary-gold: #cc9933;
    --gold-light: #e6b347;
    --gold-dark: #b38829;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.1);
    --text-primary: #0a0a0a;
    --text-secondary: rgba(0, 0, 0, 0.75);
    --text-muted: rgba(0, 0, 0, 0.5);
    --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(204, 153, 51, 0.2);
    --transition: cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --bg-primary: #0a0a0a;
    --bg-secondary: #141414;
    --bg-tertiary: #1a1a1a;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(204, 153, 51, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    transition: background-color 0.3s var(--transition), color 0.3s var(--transition);
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(204, 153, 51, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(204, 153, 51, 0.02) 0%, transparent 50%),
                radial-gradient(circle at 40% 20%, rgba(204, 153, 51, 0.01) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Glass Effect */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 0;
    position: relative;
}

/* Futuristic glow effect for glass elements */
.glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(204, 153, 51, 0.05), transparent);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.glass:hover::before {
    opacity: 1;
    animation: glowSweep 2s linear infinite;
}

@keyframes glowSweep {
    0% { transform: translateX(-100%) translateY(-100%); }
    100% { transform: translateX(100%) translateY(100%); }
}

.glass-button {
    background: linear-gradient(135deg, rgba(204, 153, 51, 0.1) 0%, rgba(204, 153, 51, 0.05) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(204, 153, 51, 0.3);
    border-radius: 9999px; /* Pill shape */
    transition: all 0.3s var(--transition);
}

.glass-button:hover {
    background: linear-gradient(135deg, rgba(204, 153, 51, 0.2) 0%, rgba(204, 153, 51, 0.1) 100%);
    border-color: var(--primary-gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s var(--transition);
}

[data-theme="dark"] .navbar {
    background: rgba(10, 10, 10, 0.8);
}

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

.nav-brand {
    display: flex;
    align-items: center;
}

.logo {
    height: 40px;
    width: auto;
}

/* Theme-aware logo switching */
[data-theme="dark"] .logo-light {
    display: none;
}

[data-theme="dark"] .logo-dark {
    display: block;
}

[data-theme="light"] .logo-dark {
    display: none;
}

[data-theme="light"] .logo-light {
    display: block;
}

/* Default: show dark logo for dark theme */
.logo-dark {
    display: none;
}

.logo-light {
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.3s var(--transition);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 24px;
    color: var(--primary-gold);
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 14px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-gold), transparent);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(204, 153, 51, 0.3), transparent);
    bottom: -100px;
    left: -100px;
    animation-delay: 5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(204, 153, 51, 0.2), transparent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-30px, 30px) scale(0.95); }
    75% { transform: translate(30px, 30px) scale(1.02); }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    margin-bottom: 30px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-gold);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.badge-icon {
    font-size: 18px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.hero-title {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    position: relative;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% { text-shadow: 0 0 10px rgba(204, 153, 51, 0.5); }
    100% { text-shadow: 0 0 20px rgba(204, 153, 51, 0.8), 0 0 30px rgba(204, 153, 51, 0.4); }
}

.title-line {
    display: block;
}

.title-gradient {
    background: linear-gradient(135deg, var(--primary-gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: clamp(18px, 2vw, 24px);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.btn-primary,
.btn-secondary {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold), var(--gold-dark));
    color: var(--primary-black);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(204, 153, 51, 0.4);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-gold);
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.stat {
    padding: 20px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-gold);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Ecosystem Section */
.ecosystem {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.eco-card {
    padding: 40px;
    transition: all 0.3s var(--transition);
    position: relative;
    overflow: hidden;
}

.eco-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s var(--transition);
}

.eco-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glass), var(--shadow-glow);
}

.eco-card:hover::before {
    transform: translateX(100%);
}

.eco-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(204, 153, 51, 0.1), transparent);
}

.eco-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
}

.eco-icon svg {
    width: 100%;
    height: 100%;
}

.eco-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.eco-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.eco-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    padding: 4px 12px;
    background: rgba(204, 153, 51, 0.1);
    border: 1px solid rgba(204, 153, 51, 0.3);
    border-radius: 20px;
    font-size: 12px;
    color: var(--primary-gold);
}

/* Vision Section */
.vision {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent, rgba(204, 153, 51, 0.02), transparent);
}

.vision-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.vision-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.vision-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature {
    display: flex;
    gap: 20px;
    padding: 20px;
    transition: all 0.3s var(--transition);
}

.feature:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-glass);
}

.feature-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.feature h4 {
    margin-bottom: 5px;
    color: var(--primary-gold);
}

.feature p {
    color: var(--text-secondary);
    font-size: 14px;
}

.vision-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-container {
    position: relative;
    width: 400px;
    height: 400px;
}

.orbit {
    position: absolute;
    border: 1px solid rgba(204, 153, 51, 0.2);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.orbit-1 {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.orbit-2 {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    animation-duration: 15s;
    animation-direction: reverse;
}

.orbit-3 {
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    animation-duration: 10s;
}

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

.planet {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary-gold);
    border-radius: 50%;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 20px var(--primary-gold);
}

.core-sphere {
    position: absolute;
    width: 120px;
    height: 120px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, rgba(204, 153, 51, 0.2), rgba(204, 153, 51, 0.1));
    box-shadow: var(--shadow-glass), inset 0 0 30px rgba(204, 153, 51, 0.3);
}

/* Apps Preview */
.apps-preview {
    padding: 100px 0;
}

.apps-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.app-card {
    padding: 30px;
    transition: all 0.3s var(--transition);
}

.app-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glass), var(--shadow-glow);
}

.app-preview {
    height: 200px;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
}

.app-mockup {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.gradient-bg-1 {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.gradient-bg-2 {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.gradient-bg-3 {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.gradient-bg-4 {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.app-card h3 {
    margin-bottom: 10px;
}

.app-card p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 15px;
}

.app-status {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(204, 153, 51, 0.1);
    border: 1px solid rgba(204, 153, 51, 0.3);
    border-radius: 20px;
    font-size: 12px;
    color: var(--primary-gold);
}

/* Timeline */
.timeline {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent, rgba(204, 153, 51, 0.02), transparent);
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--primary-gold), transparent);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-black);
    border: 2px solid var(--primary-gold);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-marker.active {
    width: 30px;
    height: 30px;
    box-shadow: 0 0 20px var(--primary-gold);
    animation: pulse 2s infinite;
}

.timeline-content {
    width: calc(50% - 40px);
    padding: 20px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
}

.timeline-content.featured {
    background: linear-gradient(135deg, rgba(204, 153, 51, 0.1), transparent);
    border-color: var(--primary-gold);
}

.timeline-date {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(204, 153, 51, 0.1);
    border: 1px solid rgba(204, 153, 51, 0.3);
    border-radius: 20px;
    font-size: 12px;
    color: var(--primary-gold);
    margin-bottom: 10px;
}

.timeline-content h3 {
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 60px;
    background: linear-gradient(135deg, rgba(204, 153, 51, 0.1), transparent);
}

.cta-title {
    font-size: clamp(36px, 5vw, 48px);
    margin-bottom: 20px;
}

.cta-description {
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.cta-form {
    display: flex;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto 20px;
}

.form-input {
    flex: 1;
    padding: 16px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 16px;
    transition: all 0.3s var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 20px rgba(204, 153, 51, 0.2);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.cta-note {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent, rgba(204, 153, 51, 0.02), transparent);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s var(--transition);
}

.contact-method:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-glass);
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-gold);
}

.contact-form {
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s var(--transition);
}

.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 20px rgba(204, 153, 51, 0.2);
}

.form-group select option {
    background: var(--primary-black);
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 15px;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-column h4 {
    color: var(--primary-gold);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s var(--transition);
}

.footer-column a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s var(--transition);
}

.social-link:hover {
    color: var(--primary-gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glass);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 70px;
    left: 20px;
    right: 20px;
    padding: 30px;
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s var(--transition), opacity 0.3s var(--transition), visibility 0.3s var(--transition);
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 0;
    transition: color 0.3s var(--transition);
}

.mobile-link:hover {
    color: var(--primary-gold);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .vision-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .visual-container {
        width: 300px;
        height: 300px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Theme Toggle */
.theme-toggle {
    background: transparent;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    transition: all 0.3s var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    background: rgba(204, 153, 51, 0.1);
    border-color: var(--primary-gold);
}

.theme-icon {
    width: 20px;
    height: 20px;
    color: var(--primary-gold);
    display: block;
}

.sun-icon {
    display: block;
}

.moon-icon {
    display: none;
}

[data-theme="dark"] .sun-icon {
    display: none;
}

[data-theme="dark"] .moon-icon {
    display: block;
}

/* Showcase Section */
.showcase {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent, rgba(204, 153, 51, 0.02), transparent);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.domain-card {
    padding: 20px;
    text-align: center;
    transition: all 0.3s var(--transition);
    position: relative;
    overflow: hidden;
    border-radius: 0;
    background: linear-gradient(135deg, var(--glass-bg) 0%, rgba(204, 153, 51, 0.02) 100%);
}

/* Animated border effect */
.domain-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(204, 153, 51, 0.3), 
        transparent 70%);
    background-size: 200% 200%;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    animation: borderFlow 3s linear infinite;
}

@keyframes borderFlow {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 200%; }
}

.domain-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 10px 30px rgba(204, 153, 51, 0.3),
        inset 0 0 20px rgba(204, 153, 51, 0.05);
    border-color: var(--primary-gold);
}

.domain-card:hover::after {
    opacity: 1;
}

/* Flagship domains - Premium revolutionary apps */
.domain-card[data-status="flagship"] {
    background: linear-gradient(135deg, rgba(204, 153, 51, 0.15), rgba(204, 153, 51, 0.05));
    border: 2px solid rgba(204, 153, 51, 0.4);
}

.domain-card[data-status="flagship"]:hover {
    background: linear-gradient(135deg, rgba(204, 153, 51, 0.2), rgba(204, 153, 51, 0.1));
    border-color: var(--primary-gold);
    box-shadow: 
        0 15px 40px rgba(204, 153, 51, 0.4),
        inset 0 0 30px rgba(204, 153, 51, 0.1);
}

.domain-card[data-status="flagship"] .domain-status {
    color: var(--primary-gold);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.domain-card[data-status="flagship"] .domain-name {
    font-weight: 700;
}

.domain-name {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.domain-status {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(204, 153, 51, 0.1);
    border: 1px solid rgba(204, 153, 51, 0.3);
    border-radius: 9999px;
    font-size: 11px;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.load-more {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 40px auto 0;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

/* Fix other rounded corners */
.eco-card,
.feature,
.app-card,
.timeline-content,
.timeline-marker,
.contact-form,
.form-input,
.footer .glass,
.mobile-menu,
.contact-method {
    border-radius: 0;
}

/* Keep pill shapes */
.tag,
.app-status,
.social-link {
    border-radius: 9999px;
}

/* Inline icon */
.inline-icon {
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
    color: var(--primary-gold);
}

/* Three.js Canvas */
#three-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: transparent;
}

/* Cyber grid overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(204, 153, 51, 0.01) 1px, transparent 1px),
        linear-gradient(90deg, rgba(204, 153, 51, 0.01) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
    animation: gridMove 10s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Performance optimization for mobile */
@media (max-width: 768px) {
    #three-canvas {
        opacity: 0.7;
    }
    
    body::after {
        display: none;
    }
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.video-modal.active {
    display: flex;
}

.video-modal-content {
    position: relative;
    max-width: 1200px;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--primary-gold);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 0 40px rgba(204, 153, 51, 0.3);
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: transparent;
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    font-size: 36px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.video-modal-close:hover {
    background: var(--primary-gold);
    color: #000;
    transform: rotate(90deg);
}

.video-modal video {
    width: 100%;
    border-radius: 10px;
}

/* Logo color for light mode */
[data-theme="light"] .logo-onl {
    fill: #0a0a0a;
}

/* Ensure sections have proper backgrounds */
.hero {
    background: transparent;
    position: relative;
}

.ecosystem,
.vision,
.apps-preview,
.timeline,
.showcase,
.cta-section,
.contact {
    position: relative;
    background: rgba(10, 10, 10, 0.85);
}

[data-theme="light"] .ecosystem,
[data-theme="light"] .vision,
[data-theme="light"] .apps-preview,
[data-theme="light"] .timeline,
[data-theme="light"] .showcase,
[data-theme="light"] .cta-section,
[data-theme="light"] .contact {
    background: rgba(255, 255, 255, 0.92);
}

/* Mobile Theme Toggle */
.theme-toggle-mobile {
    background: rgba(204, 153, 51, 0.1);
    border: 1px solid rgba(204, 153, 51, 0.3);
    border-radius: 8px;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    font-size: 14px;
    font-weight: 600;
    width: 100%;
    margin: 20px 0;
}

.theme-toggle-mobile:hover {
    background: rgba(204, 153, 51, 0.2);
    border-color: var(--primary-gold);
}

/* Footer New Style (Ecosystem Portal Style) */
.footer-content-new {
    text-align: center;
}

.footer-line {
    padding: 20px 0;
}

.footer-logo-section {
    border-bottom: 1px solid var(--glass-border);
}

.footer-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-logo-img {
    height: 40px;
    width: auto;
}

.footer-powered-text {
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-powered-text a {
    color: var(--primary-gold);
    text-decoration: none;
}

.footer-powered-text a:hover {
    text-decoration: underline;
}

.footer-links-line {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    border-bottom: 1px solid var(--glass-border);
}

.footer-links-line a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links-line a:hover {
    color: var(--primary-gold);
}

.footer-portals-line {
    padding: 30px 0;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: center;
    gap: 20px;
}

.portal-btn {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(204, 153, 51, 0.1);
    border: 1px solid rgba(204, 153, 51, 0.3);
    border-radius: 6px;
    color: var(--primary-gold);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.portal-btn:hover {
    background: rgba(204, 153, 51, 0.2);
    border-color: var(--primary-gold);
    transform: translateY(-2px);
}

.footer-powered-by-line {
    padding: 15px 0 5px 0;
}

.footer-powered-by-line p {
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.powered-by-u {
    color: var(--primary-gold);
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s var(--transition);
    display: inline-block;
}

.powered-by-u:hover {
    color: #ffdc73;
    transform: scale(1.1);
    text-shadow: 0 0 20px rgba(204, 153, 51, 0.5);
}

.footer-copyright-line {
    padding: 10px 0 20px 0;
}

.footer-copyright-line p {
    margin: 0;
    font-size: 14px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: clamp(36px, 10vw, 64px);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .ecosystem-grid {
        grid-template-columns: 1fr;
    }
    
    .eco-card.featured {
        grid-column: span 1;
    }
    
    .apps-carousel {
        grid-template-columns: 1fr;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: column;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .timeline-marker {
        left: 20px;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }
    
    .cta-form {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .section-title {
        font-size: clamp(28px, 8vw, 42px);
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }
}