/* Base Styles & Variables */
:root {
    --primary: #00ffff;
    --secondary: #8a2be2;
    --accent: #ff6b6b;
    --text: #ffffff;
    --text-secondary: #b3b3b3;
    --bg-dark: #000000;
    --bg-darker: #0a0a0a;
    --bg-glass: rgba(255, 255, 255, 0.05);
    --bg-glass-hover: rgba(255, 255, 255, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Space Background */
.space-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #000000;
    overflow: hidden;
}

/* Animated Nebula Effect */
.nebula {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(20, 20, 30, 0.8) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(10, 10, 20, 0.7) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(15, 15, 25, 0.6) 0%, transparent 60%);
    animation: nebulaPulse 30s infinite alternate;
}

/* Twinkling Stars */
.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 40px 70px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 90px 40px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 130px 80px, #fff, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: twinkle 3s infinite;
}

/* Add more star patterns */
.stars::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(1px 1px at 150px 120px, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 30px 180px, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 200px 20px, #fff, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 250px 250px;
    animation: twinkle 5s infinite;
    opacity: 0.7;
}

/* Animated Particles */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary);
    border-radius: 50%;
    animation: float 10s infinite linear;
}

.stars {
    position: absolute;
    width: 100%;
    height: 100%;
}

.star {
    position: absolute;
    width: 1px;
    height: 1px;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

/* Chart Styles */
.chart-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.chart {
    position: relative;
    width: 350px;
    height: 350px;
    filter: drop-shadow(0 10px 30px rgba(138, 43, 226, 0.3));
}

.chart-tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    pointer-events: none;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.chart-tooltip strong {
    display: block;
    margin-bottom: 2px;
    color: var(--primary);
}

canvas {
    cursor: crosshair;
}

/* Main Wrapper */
.main-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0; /* Increased padding for larger logo */
    position: relative;
    z-index: 100;
}

.logo {
    height: 80px; /* Further increased from 60px */
    display: flex;
    align-items: center;
}

.logo-image {
    height: 100%;
    width: auto;
    max-width: 280px; /* Significantly increased from 200px */
    transition: var(--transition);
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: var(--primary);
}

nav a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Glass Card */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 25px;
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    text-align: center;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: #000;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.4);
}

.btn-secondary:hover {
    background: rgba(138, 43, 226, 0.1);
    transform: translateY(-3px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px;
    position: relative;
}

#hero-headline {
    font-size: 5rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #fff, #aaa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.hero-subtext {
    font-size: 1.5rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.contract-address-container {
    margin: 25px auto 40px;
    text-align: center;
    max-width: 90%;
}

.contract-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.contract-box {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contract-text {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9rem;
    margin-right: 10px;
    word-break: break-all;
    color: #fff;
    opacity: 0.9;
}

.copy-btn {
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    color: var(--primary);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    padding: 0;
}

.copy-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.copy-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
    background: rgba(0, 255, 255, 0.15);
}

.copy-btn:hover::before {
    opacity: 1;
}

.copy-btn:active {
    transform: translateY(0) scale(0.95);
}

.copy-btn i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.copy-btn.copied {
    background: rgba(0, 200, 83, 0.2);
    border-color: rgba(0, 200, 83, 0.4);
    color: #4caf50;
}

.copy-btn.copied:hover {
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.4);
}

.copy-btn::after {
    content: 'Copy to clipboard';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
}

.copy-btn:hover::after {
    opacity: 1;
    visibility: visible;
    top: -35px;
}

#copy-feedback {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

#copy-feedback.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.copy-feedback {
    font-size: 0.8rem;
    color: var(--primary);
    height: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.copy-feedback.show {
    height: auto;
    opacity: 1;
}

/* Sections */
section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.about-item {
    text-align: center;
    padding: 40px 25px;
}

.about-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

/* Phases Section */
.phases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

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

.phase-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: bold;
    font-size: 1.2rem;
    color: #000;
}

.phase h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Tokenomics Section */
.tokenomics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.token-stat {
    text-align: center;
    padding: 25px 15px;
}

.token-stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.token-stat-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
}

.chart-container {
    margin: 30px auto;
    width: 100%;
    max-width: 400px;
    position: relative;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 30px auto;
    max-width: 800px;
}

.chart-container .chart {
    width: 100%;
    max-width: 300px;
    height: 300px;
    margin: 0 auto 20px;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    background: rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.chart-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    width: 100%;
}

.legend-item {
    display: flex;
    align-items: center;
    margin: 5px 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.legend-color {
    width: 15px;
    height: 15px;
    border-radius: 3px;
    margin-right: 8px;
    flex-shrink: 0;
}

.allocation-bars {
    margin-top: 40px;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.progress-bars-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.progress-item {
    width: 100%;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 500;
    color: #e0e0e0;
}

.progress-label {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.progress-percent {
    font-weight: 700;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 0.85rem;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.progress-fill {
    height: 100%;
    border-radius: 6px;
    position: relative;
    transition: width 1s ease-in-out;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.2) 50%, 
        rgba(255, 255, 255, 0) 100%);
    animation: shimmer 2s infinite;
    background-size: 200% 100%;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .allocation-bars {
        padding: 0 15px;
    }
    
    .progress-info {
        font-size: 0.9rem;
    }
    
    .progress-bar {
        height: 10px;
    }
}

.chart-segment {
    position: absolute;
    width: 100%;
    height: 100%;
    clip-path: polygon(50% 50%, 100% 0, 100% 100%, 50% 100%);
    transform-origin: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    text-align: center;
    box-sizing: border-box;
    pointer-events: none;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.chart-segment:hover {
    opacity: 1;
    transform: scale(1.02);
    z-index: 10 !important;
}

.chart-segment:nth-child(1) { 
    transform: rotate(0deg); 
    background-color: var(--primary);
    z-index: 5;
}
.chart-segment:nth-child(2) { 
    transform: rotate(72deg); 
    background-color: var(--secondary);
    z-index: 4;
}
.chart-segment:nth-child(3) { 
    transform: rotate(144deg); 
    background-color: var(--accent);
    z-index: 3;
}
.chart-segment:nth-child(4) { 
    transform: rotate(216deg); 
    background-color: #4ecdc4;
    z-index: 2;
}
.chart-segment:nth-child(5) { 
    transform: rotate(288deg); 
    background-color: #ffd166;
    z-index: 1;
}

.chart-label {
    font-size: 0.75rem;
    margin-bottom: 2px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 3px 8px;
    border-radius: 12px;
    white-space: nowrap;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.chart-percentage {
    font-size: 1.1rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    padding: 4px 10px;
    border-radius: 15px;
    font-weight: 700;
    min-width: 45px;
    display: inline-block;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chart-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    margin: 0 auto;
    text-align: center;
    padding: 60px 40px;
}

.legend-color {
    width: 15px;
    height: 15px;
    border-radius: 3px;
}

/* ====== Roadmap Section ====== */
.roadmap-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    overflow: hidden;
}

.roadmap-line {
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, 
        transparent, 
        rgba(0, 255, 255, 0.3), 
        rgba(138, 43, 226, 0.3), 
        transparent);
    z-index: 1;
    transform: translateX(-50%);
}

.roadmap-items {
    position: relative;
    z-index: 2;
    padding: 20px 0;
}

.roadmap-item {
    position: relative;
    margin-bottom: 80px;
    width: 50%;
    padding: 0 50px;
    box-sizing: border-box;
    transition: all 0.4s ease;
}

.roadmap-item:hover {
    transform: translateY(-5px);
}

.roadmap-item:nth-child(odd) {
    left: 0;
    padding-right: 0;
    text-align: right;
}

.roadmap-item:nth-child(even) {
    left: 50%;
    padding-left: 0;
    text-align: left;
}

.roadmap-dot {
    position: absolute;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    top: 30px;
    right: -12px;
    z-index: 3;
    border: 3px solid rgba(10, 10, 20, 0.9);
    box-shadow: 0 0 0 4px rgba(0, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.roadmap-item:hover .roadmap-dot {
    transform: scale(1.2);
    box-shadow: 0 0 0 6px rgba(0, 255, 255, 0.3);
}

.roadmap-item:nth-child(even) .roadmap-dot {
    left: -12px;
    right: auto;
}

.roadmap-content {
    padding: 30px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.roadmap-item.visible .roadmap-content {
    opacity: 1;
    transform: translateY(0);
}

.roadmap-phase {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 10px;
}

.roadmap-phase::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
}

.roadmap-item:nth-child(even) .roadmap-phase::after {
    left: auto;
    right: 0;
    background: linear-gradient(90deg, transparent, var(--secondary));
}

.roadmap-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.roadmap-list li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
    color: var(--text-secondary);
    line-height: 1.6;
    transition: all 0.3s ease;
}

.roadmap-list li:hover {
    color: #fff;
    transform: translateX(5px);
}

.roadmap-list li::before {
    content: '→';
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
    transition: all 0.3s ease;
}

.roadmap-list li:hover::before {
    transform: translateX(5px);
    color: var(--secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .roadmap-container {
        padding: 20px 10px;
    }
    
    .roadmap-line {
        left: 20px;
    }
    
    .roadmap-item {
        width: 100%;
        left: 0 !important;
        padding: 0 0 0 60px !important;
        margin-bottom: 50px;
        text-align: left !important;
    }
    
    .roadmap-item:nth-child(even) {
        padding-left: 60px !important;
    }
    
    .roadmap-dot {
        left: 18px !important;
        right: auto !important;
    }
    
    .roadmap-phase::after {
        left: 0 !important;
        right: auto !important;
        background: linear-gradient(90deg, var(--primary), transparent) !important;
    }
    
    .roadmap-content {
        padding: 20px;
    }
}

.community-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature {
    text-align: center;
    padding: 40px 25px;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.community-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 60px;
    padding: 40px;
    text-align: center;
}

.stat-item {
    padding: 0 20px;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

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

/* FAQ Section */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 500;
}

.faq-toggle {
    font-size: 1.5rem;
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 25px 20px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 6rem 2rem;
    background: linear-gradient(135deg, 
        rgba(0, 255, 255, 0.05) 0%, 
        rgba(138, 43, 226, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 255, 255, 0.1), 
        transparent);
    animation: slideIn 3s ease-out;
}

.cta-content {
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 25px;
    padding: 3rem;
    backdrop-filter: blur(15px);
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(138, 43, 226, 0.3);
    transition: all 0.4s ease;
}

.cta-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 255, 255, 0.4);
    border-color: var(--primary);
}

.cta-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-section .cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-section .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.cta-section .btn:hover::before {
    left: 100%;
}

@keyframes slideIn {
    0% { left: -100%; }
    100% { left: 100%; }
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 40px;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.5);
    padding: 60px 0 30px;
    position: relative;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding: 0 20px;
}

.footer-logo {
    margin-bottom: 20px;
    text-align: center;
}

.footer-logo-image {
    max-width: 200px;
    height: auto;
    margin: 0 auto 15px;
    display: block;
}

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

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

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

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

.footer-column a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-glass);
    color: var(--text);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--primary);
    color: #000;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #000;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Animations */
@keyframes particleFloat {
    0% {
        transform: translate(0, 0);
        opacity: 0.3;
    }
    25% {
        transform: translate(100px, -50px);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50px, -100px);
        opacity: 0.7;
    }
    75% {
        transform: translate(-100px, -50px);
        opacity: 0.5;
    }
    100% {
        transform: translate(0, 0);
        opacity: 0.3;
    }
}

@keyframes float {
    0% { transform: translateY(100vh) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) translateX(100px); opacity: 0; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes nebulaPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% { 
        transform: scale(1.1);
        opacity: 1;
    }
}

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

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

@keyframes slideIn {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .chart-container {
        max-width: 100%;
        padding: 15px;
    }
    
    .chart {
        height: 280px;
        max-width: 280px;
    }
    
    .chart-label {
        font-size: 0.7rem;
        padding: 2px 6px;
    }
    
    .chart-percentage {
        font-size: 1rem;
        padding: 3px 8px;
    }
}

@media (max-width: 480px) {
    .chart {
        height: 250px;
        max-width: 250px;
    }
    
    .chart-label {
        font-size: 0.65rem;
    }
    
    .chart-percentage {
        font-size: 0.9rem;
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 4rem;
    }
    
    .hero-subtext {
        font-size: 1.3rem;
    }
    
    .phases {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .roadmap-item {
        width: 100%;
        left: 0 !important;
    }
}
