/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-icon {
    width: 80px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.logo-svg:hover {
    transform: scale(1.1);
}

.logo-text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    color: #FF6B6B;
}

.logo-subtitle {
    font-size: 0.8rem;
    color: #666;
    font-weight: 600;
}

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

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #FF6B6B;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FF6B6B;
    transition: width 0.3s ease;
}

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

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #FF6B6B;
    border: 2px solid #FF6B6B;
}

.btn-secondary:hover {
    background: #FF6B6B;
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 120px; /* Increase space for fixed navbar */
    scroll-margin-top: 100px; /* Add space for fixed navbar */
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.title-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.title-line {
    display: block;
    animation: slideInLeft 1.2s ease-out;
    transform: translateX(0);
    opacity: 1;
}

.title-line:nth-child(1) {
    animation-delay: 0s;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
}

.title-line:nth-child(3) {
    animation-delay: 0.4s;
}

.highlight {
    background: linear-gradient(45deg, #FFD93D, #FF6B6B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFD93D;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease-out 1s both;
}

/* Noodle Animations */
.noodle-animations {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

.noodle-bowl-large {
    position: relative;
    width: 300px;
    height: 200px;
    margin: 0 auto;
    animation: bowlFloat 4s ease-in-out infinite;
}

.bowl-large {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 100px;
    background: linear-gradient(135deg, #F5F5DC, #DEB887);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    border: 4px solid #8B4513;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.noodles-container {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 60px;
}

.noodle-strand {
    position: absolute;
    height: 4px;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    border-radius: 2px;
    animation: noodleWave 3s ease-in-out infinite;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.noodle-1 { width: 80px; top: 10px; left: 10px; animation-delay: 0s; }
.noodle-2 { width: 70px; top: 20px; left: 20px; animation-delay: 0.3s; }
.noodle-3 { width: 85px; top: 30px; left: 15px; animation-delay: 0.6s; }
.noodle-4 { width: 75px; top: 40px; left: 25px; animation-delay: 0.9s; }
.noodle-5 { width: 90px; top: 15px; left: 5px; animation-delay: 1.2s; }
.noodle-6 { width: 65px; top: 25px; left: 30px; animation-delay: 1.5s; }
.noodle-7 { width: 80px; top: 35px; left: 10px; animation-delay: 1.8s; }
.noodle-8 { width: 70px; top: 45px; left: 20px; animation-delay: 2.1s; }

.chopsticks-large {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
}

.chopstick-large {
    position: absolute;
    width: 6px;
    height: 120px;
    background: linear-gradient(90deg, #8B4513, #A0522D);
    border-radius: 3px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.chopstick-left {
    transform: rotate(-20deg);
    animation: chopstickMove 2s ease-in-out infinite;
}

.chopstick-right {
    transform: rotate(20deg);
    animation: chopstickMove 2s ease-in-out infinite reverse;
}

.floating-noodles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-noodle-item {
    position: absolute;
    font-size: 2rem;
    animation: float 6s ease-in-out infinite;
    opacity: 0.8;
}

.floating-noodle-item:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.floating-noodle-item:nth-child(2) { top: 20%; right: 15%; animation-delay: 1s; }
.floating-noodle-item:nth-child(3) { top: 60%; left: 5%; animation-delay: 2s; }
.floating-noodle-item:nth-child(4) { top: 70%; right: 10%; animation-delay: 3s; }
.floating-noodle-item:nth-child(5) { top: 40%; left: 50%; animation-delay: 4s; }
.floating-noodle-item:nth-child(6) { top: 80%; left: 20%; animation-delay: 5s; }

@keyframes bowlFloat {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes noodleWave {
    0%, 100% { transform: rotate(0deg) scaleY(1); }
    50% { transform: rotate(3deg) scaleY(1.1); }
}

@keyframes chopstickMove {
    0%, 100% { transform: rotate(-20deg); }
    50% { transform: rotate(-30deg); }
}



/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-noodle {
    position: absolute;
    font-size: 2rem;
    animation: float 6s ease-in-out infinite;
}

.floating-noodle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.floating-noodle:nth-child(2) { top: 60%; left: 5%; animation-delay: 1s; }
.floating-noodle:nth-child(3) { top: 30%; right: 15%; animation-delay: 2s; }
.floating-noodle:nth-child(4) { top: 70%; right: 10%; animation-delay: 3s; }
.floating-noodle:nth-child(5) { top: 50%; left: 50%; animation-delay: 4s; }

/* Sections */
.about, .tokenomics, .roadmap, .community {
    padding: 5rem 0;
    scroll-margin-top: 100px; /* Add space for fixed navbar */
}

.about {
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: #333;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    font-style: italic;
}

/* Recipe Story */
.recipe-story {
    margin-bottom: 3rem;
}

.story-intro {
    background: linear-gradient(135deg, #FF6B6B, #4ECDC4);
    padding: 2rem;
    border-radius: 20px;
    color: white;
    text-align: center;
    margin-bottom: 2rem;
}

.story-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
}

.recipe-conclusion {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 20px;
    border-left: 5px solid #FF6B6B;
}

.conclusion-text {
    font-size: 1.2rem;
    color: #333;
    margin: 0;
    font-weight: 500;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Tokenomics */
.tokenomics {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding-top: 6rem; /* Extra space for navbar */
}

.tokenomics .section-title {
    color: white;
}

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

.chart-container {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.chart-slice {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(
        var(--color) 0deg calc(var(--percentage) * 3.6deg),
        transparent calc(var(--percentage) * 3.6deg) 360deg
    );
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s ease-out;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Chart Legend */
.chart-legend {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.tokenomics-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.info-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.info-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #FFD93D;
}

.info-value {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Roadmap */
.roadmap-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #FF6B6B, #4ECDC4);
    transform: translateX(-50%);
}

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

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

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

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FF6B6B, #4ECDC4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    z-index: 2;
    animation: pulse 2s ease-in-out infinite;
}

.timeline-content {
    width: 45%;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: slideInFromSide 0.8s ease-out;
}

.timeline-content h3 {
    color: #FF6B6B;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.timeline-content ul {
    list-style: none;
}

.timeline-content li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.timeline-content li:last-child {
    border-bottom: none;
}

/* Community */
.community {
    background: #f8f9fa;
    text-align: center;
}

.community-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-width: 150px;
    min-height: 120px;
}

.social-link:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    color: #FF6B6B;
}

.social-link i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link span {
    font-weight: 600;
    text-align: center;
}

.x-icon {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-logo .logo-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo .logo-svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.footer-logo .logo-svg:hover {
    transform: scale(1.1);
}

.footer-logo .logo-text {
    color: #FF6B6B;
}

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

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FF6B6B;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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



@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

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

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

.chart-container {
    animation: chartPulse 3s ease-in-out infinite;
}

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

@keyframes slideInFromSide {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    
    .title-container {
        gap: 0.3rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .noodle-animations {
        width: 300px;
        height: 300px;
    }
    
    .noodle-bowl-large {
        width: 250px;
        height: 150px;
    }
    
    .bowl-large {
        width: 150px;
        height: 80px;
    }
    
    .noodles-container {
        width: 120px;
        height: 50px;
    }
    
    .chopstick-large {
        height: 100px;
    }
    
    .floating-noodle-item {
        font-size: 1.5rem;
    }
    
    .tokenomics-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .roadmap-timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
    }
    
    .timeline-marker {
        left: 30px;
        transform: translateX(-50%);
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
