/* ================================
   SERPO COIN - COSMIC THEME CSS
   ================================ */

:root {
    --primary-cyan: #00ffff;
    --primary-yellow: #ffd700;
    --primary-blue: #4361ee;
    --dark-bg: #0a0e27;
    --darker-bg: #050811;
    --card-bg: rgba(15, 23, 42, 0.8);
    --text-light: #e0e7ff;
    --text-muted: #94a3b8;
    --gradient-1: linear-gradient(135deg, #00ffff 0%, #ffd700 100%);
    --gradient-2: linear-gradient(135deg, #4361ee 0%, #ffd700 100%);
    --glow-cyan: 0 0 20px rgba(0, 255, 255, 0.5);
    --glow-yellow: 0 0 20px rgba(255, 215, 0, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
}

/* ================================
   NAVIGATION
   ================================ */

.cosmic-nav {
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.brand-text {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cosmic-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    transition: all 0.3s ease;
    position: relative;
}

.cosmic-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.cosmic-nav .nav-link:hover,
.cosmic-nav .nav-link.active {
    color: var(--primary-cyan);
}

.cosmic-nav .nav-link:hover::after,
.cosmic-nav .nav-link.active::after {
    width: 80%;
}

.navbar-nav {
    align-items: center;
}

.navbar-collapse {
    visibility: visible !important;
    opacity: 1 !important;
}

/* ================================
   BUTTONS
   ================================ */

.btn-gradient {
    background: var(--gradient-1);
    border: none;
    color: #000;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: var(--glow-cyan);
    font-family: 'Orbitron', sans-serif;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.8);
    color: #000;
}

.btn-outline-light {
    border: 2px solid var(--primary-cyan);
    color: var(--primary-cyan);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-family: 'Orbitron', sans-serif;
}

.btn-outline-light:hover {
    background: var(--primary-cyan);
    color: #000;
    box-shadow: var(--glow-cyan);
}

.btn-outline-cyan {
    border: 2px solid var(--primary-cyan);
    color: var(--primary-cyan);
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-cyan:hover {
    background: var(--primary-cyan);
    color: #000;
}

/* ================================
   HERO SECTION
   ================================ */

.hero-section {
    min-height: 100vh;
    position: relative;
    background: radial-gradient(ellipse at center, rgba(67, 97, 238, 0.2) 0%, var(--dark-bg) 50%);
}

#planet-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, var(--dark-bg) 100%);
    z-index: 2;
}

.hero-logo {
    width: 150px;
    height: 150px;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(var(--glow-cyan));
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-cyan {
    color: var(--primary-cyan);
}

.text-yellow {
    color: var(--primary-yellow);
}

.text-blue {
    color: var(--primary-blue);
}

.text-orange {
    color: #ff6b35;
}

.hero-tagline {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
    color: var(--primary-cyan);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ================================
   PAGE HEADER
   ================================ */

.page-header {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at top, rgba(255, 215, 0, 0.2) 0%, var(--dark-bg) 50%);
    margin-top: 76px;
}

.min-vh-50 {
    min-height: 50vh;
}

/* ================================
   BACKGROUNDS & EFFECTS
   ================================ */

.stars-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, white, transparent),
        radial-gradient(2px 2px at 60px 70px, white, transparent),
        radial-gradient(1px 1px at 50px 50px, white, transparent),
        radial-gradient(1px 1px at 130px 80px, white, transparent),
        radial-gradient(2px 2px at 90px 10px, white, transparent);
    background-size: 200px 200px;
    animation: stars 3s linear infinite;
    opacity: 0.5;
    z-index: 0;
}

@keyframes stars {
    from { transform: translateY(0); }
    to { transform: translateY(-200px); }
}

.glow-effect {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.3) 0%, transparent 70%);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ================================
   CARDS
   ================================ */

.intro-card,
.content-card,
.feature-card,
.token-info-card,
.distribution-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(0, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.intro-card:hover,
.content-card:hover,
.feature-card:hover {
    border-color: rgba(0, 255, 255, 0.3);
    box-shadow: var(--glow-cyan);
    transform: translateY(-5px);
}

.gradient-border {
    position: relative;
    background: var(--card-bg);
    border: none;
}

.gradient-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: var(--gradient-1);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

.stats-box {
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--primary-cyan);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.stats-box:hover {
    background: rgba(0, 255, 255, 0.2);
    box-shadow: var(--glow-cyan);
}

.feature-card {
    text-align: center;
    height: 100%;
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    border-radius: 50%;
    font-size: 2rem;
    color: #000;
}

/* ================================
   VISION PAGE
   ================================ */

.vision-hero {
    min-height: 100vh;
    position: relative;
}

.parallax-stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent);
    background-size: 400px 400px;
    opacity: 0.6;
}

#stars-layer-1 { animation: stars 30s linear infinite; }
#stars-layer-2 { animation: stars 45s linear infinite; opacity: 0.4; }
#stars-layer-3 { animation: stars 60s linear infinite; opacity: 0.3; }

.cosmic-path {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 255, 255, 0.05) 50%, transparent 100%);
}

.vision-icon {
    font-size: 5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vision-statement {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(0, 255, 255, 0.05);
    border-left: 4px solid var(--primary-cyan);
    border-radius: 10px;
}

.pillar-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.pillar-card:hover {
    border-color: rgba(0, 255, 255, 0.3);
    box-shadow: var(--glow-cyan);
    transform: translateY(-10px);
}

.pillar-card.active {
    border-color: var(--primary-yellow);
    box-shadow: var(--glow-yellow);
}

.pillar-icon {
    font-size: 3rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.custom-list {
    list-style: none;
    padding-left: 0;
}

.custom-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: rgba(255, 255, 255, 0.9);
}

.custom-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-cyan);
    font-weight: bold;
}

/* ================================
   UTILITIES PAGE
   ================================ */

.utility-tabs {
    flex-wrap: wrap;
    gap: 0.5rem;
}

.utility-tabs .nav-link {
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
    color: var(--text-light);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.utility-tabs .nav-link:hover,
.utility-tabs .nav-link.active {
    background: var(--gradient-1);
    color: #000;
    border-color: transparent;
    box-shadow: var(--glow-cyan);
}

.utility-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.glow-effect-large {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.3) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

.utility-icon-large {
    font-size: 10rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    z-index: 2;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-item {
    padding: 0.75rem 0;
    display: flex;
    align-items: start;
}

.feature-item i {
    margin-top: 0.25rem;
}

/* ================================
   TOKENOMICS PAGE
   ================================ */

.token-stat-box {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.token-stat-box:hover {
    border-color: rgba(0, 255, 255, 0.3);
    box-shadow: var(--glow-cyan);
    transform: translateY(-5px);
}

.distribution-list {
    padding: 1rem;
}

.distribution-item {
    margin-bottom: 1.5rem;
}

.progress {
    height: 10px;
    background-color: rgba(0, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    background: var(--gradient-1);
    transition: width 1s ease;
}

.bg-cyan { background-color: var(--primary-cyan); }
.bg-yellow { background-color: var(--primary-yellow); }
.bg-blue { background-color: var(--primary-blue); }

.badge.bg-cyan,
.badge.bg-yellow,
.badge.bg-blue {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

.feature-highlight {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-highlight:hover {
    border-color: rgba(0, 255, 255, 0.3);
    box-shadow: var(--glow-cyan);
    transform: translateY(-5px);
}

.feature-highlight i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Holder Cards */
.holder-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.holder-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-blue));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.holder-card:hover::before {
    opacity: 1;
}

.holder-card:hover {
    border-color: rgba(0, 255, 255, 0.3);
    box-shadow: var(--glow-cyan);
    transform: translateY(-5px);
}

.holder-rank {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-blue));
    color: var(--bg-dark);
    font-weight: 700;
    font-size: 1rem;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.4);
}

.holder-icon {
    width: 80px;
    height: 80px;
    margin: 1.5rem auto 0;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(67, 97, 238, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(0, 255, 255, 0.3);
}

.holder-icon i {
    font-size: 2rem;
    color: var(--primary-cyan);
}

.holder-card h5 {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    min-height: 2.5rem;
}

.holder-percentage {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0.5rem 0;
}

/* ================================
   ROADMAP PAGE
   ================================ */

/* ================================
   ROADMAP PAGE
   ================================ */

.roadmap-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-cyan) 0%, var(--primary-yellow) 100%);
    border-radius: 2px;
}

.roadmap-item {
    display: grid;
    grid-template-columns: 1fr 120px 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
    align-items: center;
}

.roadmap-item:nth-child(odd) .roadmap-content {
    grid-column: 1;
    grid-row: 1;
}

.roadmap-item:nth-child(odd) .roadmap-icon {
    grid-column: 2;
    grid-row: 1;
}

.roadmap-item:nth-child(odd) .roadmap-timeline-date {
    grid-column: 3;
    grid-row: 1;
    text-align: left;
}

.roadmap-item:nth-child(even) .roadmap-timeline-date {
    grid-column: 1;
    grid-row: 1;
    text-align: right;
}

.roadmap-item:nth-child(even) .roadmap-icon {
    grid-column: 2;
    grid-row: 1;
}

.roadmap-item:nth-child(even) .roadmap-content {
    grid-column: 3;
    grid-row: 1;
}

.roadmap-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #000;
    flex-shrink: 0;
    z-index: 3;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.6);
    border: 4px solid var(--dark-bg);
    position: relative;
}

.roadmap-timeline-date {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-cyan);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.roadmap-timeline-date .phase-number {
    font-size: 0.9rem;
    color: var(--primary-yellow);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.roadmap-content {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    border: 2px solid rgba(0, 255, 255, 0.2);
    color: #ffffff;
    transition: all 0.3s ease;
    position: relative;
}

.roadmap-content:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 255, 0.5);
    box-shadow: 0 10px 40px rgba(0, 255, 255, 0.3);
}

.roadmap-content .badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.roadmap-content h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.roadmap-content .subtitle {
    font-style: italic;
    color: var(--primary-yellow);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.roadmap-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.roadmap-content h5 {
    color: #ffd700;
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.roadmap-content ul {
    color: rgba(255, 255, 255, 0.85);
}

.roadmap-item.completed .roadmap-icon {
    background: linear-gradient(135deg, #00ffff 0%, #00cc99 100%);
    animation: completedPulse 3s ease-in-out infinite;
}

.roadmap-item.in-progress .roadmap-icon {
    background: linear-gradient(135deg, #00ffff 0%, #ffd700 100%);
    animation: progressPulse 2s ease-in-out infinite;
}

.roadmap-item.upcoming .roadmap-icon {
    background: linear-gradient(135deg, #4361ee 0%, #7209b7 100%);
}

@keyframes completedPulse {
    0%, 100% {
        box-shadow: 0 0 30px rgba(0, 255, 255, 0.6);
    }
    50% {
        box-shadow: 0 0 50px rgba(0, 255, 255, 0.9);
    }
}

@keyframes progressPulse {
    0%, 100% {
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 50px rgba(255, 215, 0, 0.9);
        transform: scale(1.05);
    }
}

/* ================================
   TEAM PAGE
   ================================ */

.team-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.team-card:hover {
    border-color: rgba(0, 255, 255, 0.3);
    box-shadow: var(--glow-cyan);
    transform: translateY(-10px);
}

.team-image {
    position: relative;
    height: 300px;
    background: var(--gradient-2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-placeholder {
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.3);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.social-links-team {
    display: flex;
    gap: 1rem;
}

.social-links-team a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-cyan);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.social-links-team a:hover {
    background: var(--primary-yellow);
    transform: scale(1.1);
}

.team-content {
    padding: 2rem;
}

/* ================================
   CONTACT PAGE
   ================================ */

.contact-info-card,
.contact-form-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(0, 255, 255, 0.1);
}

.contact-method {
    display: flex;
    align-items: start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #000;
    flex-shrink: 0;
}

.social-links-large {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icon-large {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--primary-cyan);
    color: var(--primary-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-icon-large:hover {
    background: var(--primary-cyan);
    color: #000;
    box-shadow: var(--glow-cyan);
}

.cosmic-input {
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
    color: var(--text-light);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.cosmic-input:focus {
    background: rgba(0, 255, 255, 0.1);
    border-color: var(--primary-cyan);
    color: var(--text-light);
    box-shadow: var(--glow-cyan);
    outline: none;
}

.cosmic-input::placeholder {
    color: var(--text-muted);
}

.newsletter-card {
    background: var(--gradient-2);
    border-radius: 20px;
    padding: 3rem;
    color: white;
}

/* ================================
   FOOTER
   ================================ */

.cosmic-footer {
    background: var(--darker-bg);
    border-top: 1px solid rgba(0, 255, 255, 0.1);
    margin-top: 5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
}

.footer-logo {
    width: 40px;
    height: 40px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-cyan);
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--primary-cyan);
    color: var(--primary-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-cyan);
    color: #000;
    box-shadow: var(--glow-cyan);
}

/* ================================
   CTA SECTIONS
   ================================ */

.cta-box,
.vision-cta,
.message-card,
.join-team-cta {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.message-card {
    position: relative;
    overflow: hidden;
}

/* ================================
   RESPONSIVE
   ================================ */

/* Extra Small Devices (Phones, less than 576px) */
@media (max-width: 575.98px) {
    .cosmic-nav {
        padding: 0.5rem 0;
    }
    
    .logo-img {
        width: 30px;
        height: 30px;
    }
    
    .brand-text {
        font-size: 1.25rem;
    }
    
    .btn-gradient,
    .btn-outline-light {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .hero-logo {
        width: 80px;
        height: 80px;
    }
    
    .display-1 {
        font-size: 2.5rem !important;
    }
    
    .display-2 {
        font-size: 2rem !important;
    }
    
    .display-4 {
        font-size: 1.75rem !important;
    }
    
    .display-6 {
        font-size: 1.25rem !important;
    }
    
    .lead {
        font-size: 1rem !important;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.75rem;
    }
    
    /* Roadmap extra small screens */
    .roadmap-timeline {
        padding: 1rem 0.5rem;
    }
    
    .roadmap-timeline::before {
        display: none;
    }
    
    .roadmap-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .roadmap-content {
        padding: 1.25rem;
    }
    
    .roadmap-content h3 {
        font-size: 1.25rem !important;
    }
    
    .roadmap-content p {
        font-size: 0.9rem !important;
    }
    
    .roadmap-content h5 {
        font-size: 1rem !important;
    }
    
    .custom-list li {
        font-size: 0.85rem !important;
        padding-left: 1rem !important;
    }
    
    .roadmap-timeline-date {
        font-size: 0.95rem;
    }
}

/* Medium Devices (Tablets, 576px and up) */
@media (max-width: 767.98px) {
    .page-header {
        min-height: 30vh;
        margin-top: 60px;
    }
    
    .intro-card,
    .content-card,
    .feature-card,
    .pillar-card,
    .contact-form-card,
    .contact-info-card {
        padding: 1.25rem;
    }
    
    .cta-box,
    .vision-cta,
    .message-card {
        padding: 1.5rem;
    }
    
    .icon-wrapper {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .utility-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
    }
    
    .utility-tabs .nav-link {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
        white-space: nowrap;
    }
    
    .roadmap-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
    
    .roadmap-content {
        margin-left: 1rem;
        padding: 1.25rem;
    }
    
    .team-image {
        height: 200px;
    }
    
    .avatar-placeholder {
        font-size: 4rem;
    }
    
    .stats-box {
        padding: 1rem;
    }
    
    .token-stat-box {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    /* Roadmap mobile fixes */
    .roadmap-timeline::before {
        left: 60px;
    }
    
    .roadmap-item {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 3rem;
        padding-left: 0;
    }
    
    .roadmap-item:nth-child(odd) .roadmap-content,
    .roadmap-item:nth-child(even) .roadmap-content {
        grid-column: 1;
        grid-row: 2;
    }
    
    .roadmap-item:nth-child(odd) .roadmap-icon,
    .roadmap-item:nth-child(even) .roadmap-icon {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        margin-left: 0;
    }
    
    .roadmap-item:nth-child(odd) .roadmap-timeline-date,
    .roadmap-item:nth-child(even) .roadmap-timeline-date {
        grid-column: 1;
        grid-row: 3;
        text-align: left;
        margin-top: 0.5rem;
    }
    
    .roadmap-icon {
        width: 90px;
        height: 90px;
        font-size: 2.2rem;
    }
    
    .roadmap-content {
        margin-left: 0;
        width: 100%;
    }
    
    .navbar-collapse {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(0, 255, 255, 0.1);
    }
    
    .navbar-nav {
        gap: 0.5rem;
    }
    
    .nav-link {
        padding: 0.75rem 1rem !important;
    }
    
    .cosmic-footer {
        padding: 2rem 0 !important;
    }
    
    .footer-logo {
        width: 30px;
        height: 30px;
    }
}

/* Small Devices (Tablets, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .display-1 {
        font-size: 3rem !important;
    }
    
    .display-2 {
        font-size: 2.5rem !important;
    }
    
    .hero-logo {
        width: 100px;
        height: 100px;
    }
    
    .page-header {
        margin-top: 70px;
    }
    
    .pillar-card,
    .content-card,
    .contact-form-card {
        padding: 1.75rem;
    }
    
    .utility-tabs .nav-link {
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
    }
}

/* Medium Devices (Tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-logo {
        width: 120px;
        height: 120px;
    }
    
    .display-1 {
        font-size: 3.5rem !important;
    }
    
    .page-header {
        margin-top: 76px;
    }
    
    .roadmap-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .roadmap-item::before {
        display: none; /* Hide connecting line on mobile */
    }
    
    .roadmap-icon {
        margin-bottom: 1.5rem;
    }
    
    .roadmap-content {
        margin-left: 0;
        width: 100%;
    }
    
    .team-image {
        height: 250px;
    }
    
    .navbar-collapse {
        margin-top: 1rem;
    }
}

/* Large Devices (Desktops, 992px and up) */
@media (min-width: 992px) {
    .navbar-nav {
        align-items: center;
    }
    
    .nav-link {
        margin: 0 0.25rem;
    }
    
    .page-header {
        margin-top: 76px;
    }
}

/* Extra Large Devices (Large Desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* XXL Devices (Larger Desktops, 1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Mobile Navigation Enhancements */
@media (max-width: 991.98px) {
    .navbar-toggler {
        border: 1px solid var(--primary-cyan);
        padding: 0.5rem;
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(0, 255, 255, 0.25);
    }
    
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    
    .cosmic-nav .btn-gradient {
        width: 100%;
        margin-top: 1rem;
    }
}

/* Landscape Orientation */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section,
    .vision-hero {
        min-height: auto;
        padding: 100px 0 50px;
    }
    
    .page-header {
        min-height: auto;
        padding: 80px 0 40px;
    }
}

/* Touch-friendly enhancements */
@media (hover: none) and (pointer: coarse) {
    /* Touch devices */
    .btn,
    .nav-link,
    .utility-tabs .nav-link {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .card,
    .content-card,
    .pillar-card,
    .feature-card {
        transition: transform 0.2s ease;
    }
    
    .card:active,
    .content-card:active,
    .pillar-card:active,
    .feature-card:active {
        transform: scale(0.98);
    }
}

/* Component-specific mobile optimizations */
@media (max-width: 575.98px) {
    /* Three.js canvas adjustments */
    #planet-canvas {
        height: 300px !important;
    }
    
    /* Chart adjustments */
    #tokenomicsChart {
        max-height: 250px !important;
    }
    
    /* Form optimizations */
    .form-control,
    .form-select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Table responsiveness */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Modal optimizations */
    .modal-dialog {
        margin: 0.5rem;
    }
    
    /* Scroll indicators */
    .utility-tabs::-webkit-scrollbar {
        height: 4px;
    }
    
    .utility-tabs::-webkit-scrollbar-thumb {
        background: var(--primary-cyan);
        border-radius: 4px;
    }
}

/* Print styles */
@media print {
    .cosmic-nav,
    .cosmic-footer,
    .btn,
    #planet-canvas,
    .stars-bg {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .content-card,
    .pillar-card {
        border: 1px solid #ddd !important;
        page-break-inside: avoid;
    }
}

/* ================================
   UTILITY CLASSES
   ================================ */

.z-3 { z-index: 3; }
.overflow-hidden { overflow: hidden; }

/* ================================
   CHATBOT SECTION
   ================================ */

.chatbot-section {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.8) 100%);
    position: relative;
    overflow: hidden;
}

.chatbot-container {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 1rem;
    border: 1px solid rgba(0, 255, 255, 0.2);
    box-shadow: 0 10px 40px rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.chatbot-container:hover {
    border-color: rgba(0, 255, 255, 0.4);
    box-shadow: 0 15px 50px rgba(0, 255, 255, 0.2);
    transform: translateY(-5px);
}

.chatbot-container iframe {
    border-radius: 15px;
}

/* ================================
   FLOATING CHATBOT WIDGET
   ================================ */

.floating-chatbot {
    position: fixed;
    bottom: 110px;
    right: 30px;
    z-index: 9999;
}

.chatbot-toggle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00ffff 0%, #ffd700 100%);
    border: none;
    box-shadow: 0 4px 20px rgba(0, 255, 255, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #000;
    transition: all 0.3s ease;
    animation: pulse-chat 2s ease-in-out infinite;
}

.chatbot-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(0, 255, 255, 0.6);
}

.chatbot-toggle-btn i {
    transition: transform 0.3s ease;
}

.chatbot-toggle-btn.active i {
    transform: rotate(180deg);
}

@keyframes pulse-chat {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(0, 255, 255, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(0, 255, 255, 0.8);
    }
}

.chatbot-window {
    position: fixed;
    bottom: 180px;
    right: 30px;
    width: 400px;
    height: 600px;
    background: var(--card-bg);
    border-radius: 20px;
    border: 2px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 9998;
    animation: slideUp 0.3s ease-out;
}

.chatbot-window.active {
    display: flex;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chatbot-header {
    background: linear-gradient(135deg, #00ffff 0%, #ffd700 100%);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #000;
}

.chatbot-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.chatbot-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #000;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: transform 0.3s ease;
}

.chatbot-close:hover {
    transform: rotate(90deg);
}

.chatbot-body {
    flex: 1;
    overflow: hidden;
}

.chatbot-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive for floating chatbot */
@media (max-width: 768px) {
    .chatbot-window {
        width: calc(100vw - 40px);
        height: calc(100vh - 150px);
        right: 20px;
        bottom: 90px;
    }
    
    .floating-chatbot {
        bottom: 100px;
        right: 20px;
    }
    
    .chatbot-toggle-btn {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-1);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-cyan);
}

/* ================================
   BUY PAGE STYLES
   ================================ */

.buy-hero {
    padding-top: 100px;
}

.buy-icon {
    animation: float 3s ease-in-out infinite;
}

.token-info-badge {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid var(--primary-cyan);
    border-radius: 10px;
    display: inline-block;
}

.token-info-badge code {
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 15px;
    border-radius: 5px;
    display: inline-block;
    word-break: break-all;
    font-size: 0.9rem;
}

/* Platform Cards */
.platform-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-cyan);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
}

.platform-card:hover::before {
    transform: scaleX(1);
}

.platform-card.featured {
    border-color: var(--primary-yellow);
    background: rgba(25, 33, 52, 0.9);
}

.platform-card.featured:hover {
    border-color: var(--primary-yellow);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-2);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
}

.platform-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.platform-card:hover .platform-icon {
    transform: scale(1.1);
    background: rgba(0, 255, 255, 0.2);
    box-shadow: var(--glow-cyan);
}

.platform-card.featured .platform-icon {
    background: rgba(255, 215, 0, 0.1);
}

.platform-card.featured:hover .platform-icon {
    background: rgba(255, 215, 0, 0.2);
    box-shadow: var(--glow-yellow);
}

.platform-features ul li {
    padding: 5px 0;
    color: var(--text-light);
}

/* How to Buy Section */
.how-to-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 15px;
    padding: 40px;
}

.steps-timeline {
    position: relative;
    padding-left: 80px;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-cyan), var(--primary-yellow));
}

.step-item {
    position: relative;
    margin-bottom: 40px;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-number {
    position: absolute;
    left: -80px;
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-bg);
    box-shadow: var(--glow-cyan);
    z-index: 1;
}

.step-content {
    background: rgba(25, 33, 52, 0.6);
    padding: 20px;
    border-radius: 10px;
    border-left: 3px solid var(--primary-cyan);
}

.step-content h5 {
    color: var(--primary-cyan);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.step-content p {
    margin-bottom: 0;
}

.step-content a {
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.step-content a:hover {
    text-shadow: var(--glow-cyan);
}

/* Notes Section */
.notes-card {
    background: rgba(15, 23, 42, 0.9);
    border: 2px solid var(--primary-cyan);
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
}

.note-item {
    padding: 20px;
    background: rgba(25, 33, 52, 0.6);
    border-radius: 10px;
    height: 100%;
}

.note-item i {
    display: block;
}

.note-item h5 {
    color: var(--primary-cyan);
    margin-bottom: 10px;
}

/* CTA Card */
.cta-card {
    background: rgba(15, 23, 42, 0.9);
    border: 2px solid var(--primary-yellow);
    border-radius: 15px;
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.2);
}

/* Info Cards */
.info-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-cyan);
    box-shadow: 0 5px 20px rgba(0, 255, 255, 0.2);
}

/* Responsive Design for Buy Page */
@media (max-width: 768px) {
    .buy-hero {
        padding-top: 80px;
    }
    
    .token-info-badge code {
        font-size: 0.7rem;
        padding: 6px 10px;
    }
    
    .steps-timeline {
        padding-left: 60px;
    }
    
    .steps-timeline::before {
        left: 20px;
    }
    
    .step-number {
        left: -60px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .step-content {
        padding: 15px;
    }
    
    .how-to-card {
        padding: 20px;
    }
    
    .notes-card {
        padding: 20px !important;
    }
    
    .cta-card {
        padding: 30px !important;
    }
}
