/* Variables */
:root {
    --primary: #5D3FD3;
    --primary-dark: #4B0082;
    --primary-light: #7B68EE;
    --accent: #FFA500;
    --white: #ffffff;
    --black: #000000;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    color: var(--gray-800);
    background: var(--gray-100);
}

img {
    max-width: 100%;
    height: auto;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: var(--primary);
    padding: 1rem 0;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.nav-menu a:hover {
    opacity: 1;
}

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

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background: var(--accent);
    color: var(--white);
    font-weight: 600;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-weight: 600;
    border-radius: var(--radius-full);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background-color 0.2s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding-top: 6rem;
    background: var(--primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    opacity: 0.8;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    backdrop-filter: blur(10px);
}

.trust-badge i {
    color: var(--accent);
    font-size: 1.25rem;
}

.trust-badge span {
    color: var(--white);
    font-weight: 500;
}

/* Stats Counter */
.stats-counter {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: -3rem auto 3rem;
    position: relative;
    z-index: 10;
}

.stat-item {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray-600);
    font-weight: 500;
}

/* Sections */
section {
    padding: 6rem 0;
}

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

.section-title h2, .section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-title p, .section-header p {
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: transform 0.3s;
    box-shadow: var(--shadow);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 1.75rem;
    color: var(--white);
}

.feature-card h3 {
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--gray-600);
}

/* Tokenomics */
.tokenomics-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.tokenomics-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: var(--primary-light);
    color: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
}

.info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.info-card p {
    font-size: 2rem;
    font-weight: 700;
}

.tokenomics-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tokenomics-item {
    position: relative;
}

.tokenomics-item .item-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--gray-700);
}

.tokenomics-item .item-value {
    position: absolute;
    right: 0;
    top: 0;
    font-weight: 600;
    color: var(--primary);
}

.item-bar {
    height: 8px;
    border-radius: 4px;
    transition: width 1s ease-in-out;
}

/* Progress bar colors */
.tokenomics-item:nth-child(1) .item-bar {
    background: #5D3FD3;  /* Liquidity Pool */
}

.tokenomics-item:nth-child(2) .item-bar {
    background: #7B68EE;  /* Burning Mechanism */
}

.tokenomics-item:nth-child(3) .item-bar {
    background: #4B0082;  /* Team & Development */
}

.tokenomics-item:nth-child(4) .item-bar {
    background: #FFA500;  /* Rewards & Airdrop */
}

.tokenomics-item:nth-child(5) .item-bar {
    background: #FF8C00;  /* Community & Marketing */
}

.tokenomics-item:nth-child(6) .item-bar {
    background: #FFB84D;  /* Staking & HODL Rewards */
}

@media (max-width: 768px) {
    .tokenomics-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .chart-container {
        height: 300px;
    }

    .info-card p {
        font-size: 1.5rem;
    }
}

/* How to Buy Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-content h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.step-content p {
    color: var(--gray-600);
}

/* Security Features */
.security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.security-item {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.security-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.security-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.security-item h3 {
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.security-item p {
    color: var(--gray-600);
}

/* Community Section */
.community {
    background: var(--gray-100);
}

.social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.social-link {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.social-link i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.social-link span {
    color: var(--gray-900);
    font-weight: 500;
}

/* Roadmap Section */
.roadmap {
    background: var(--white);
    padding: 6rem 0;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.phase {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.phase:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.phase-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.phase-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.phase h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.phase ul {
    list-style: none;
    padding: 0;
}

.phase ul li {
    color: var(--gray-600);
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.phase ul li::before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 0;
}

/* FAQ Section */
.faq {
    background: var(--gray-100);
    padding: 6rem 0;
}

.faq-list {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--gray-900);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    user-select: none;
    position: relative;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    min-width: 24px;
    text-align: center;
    transition: transform 0.3s ease;
}

.faq-question.active {
    background: var(--primary-light);
    color: var(--white);
}

.faq-question.active::after {
    content: '−';
    color: var(--white);
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: var(--white);
    padding: 0;
    color: var(--gray-600);
    transition: all 0.3s ease-out;
    line-height: 1.6;
}

.faq-answer.active {
    max-height: 500px;
    padding: 1.5rem;
    border-top: 1px solid var(--gray-200);
    overflow-y: auto;
}

@media (max-width: 768px) {
    .faq-list {
        margin: 2rem 1rem 0;
    }
    
    .faq-question {
        padding: 1.25rem;
        font-size: 0.95rem;
    }
    
    .faq-answer {
        padding: 0 1.25rem;
        font-size: 0.9rem;
    }
    
    .faq-answer.active {
        padding: 1.25rem;
    }
}

/* Community Section */
.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.community-card {
    display: block;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    text-decoration: none;
    color: inherit;
}

.community-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.community-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.community-icon i {
    font-size: 2rem;
    color: var(--white);
}

.community-card h3 {
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.community-card p {
    color: var(--gray-600);
    margin-bottom: 0;
}

/* Countdown Timer */
.countdown-container {
    text-align: center;
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
    animation: pump 0.5s infinite;
}

.countdown-item:nth-child(1) { animation-delay: 0s; }
.countdown-item:nth-child(2) { animation-delay: 0.1s; }
.countdown-item:nth-child(3) { animation-delay: 0.2s; }
.countdown-item:nth-child(4) { animation-delay: 0.3s; }

@keyframes pump {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
        text-shadow: 0 0 20px rgba(93, 63, 211, 0.8);
    }
    100% {
        transform: scale(1);
    }
}

.countdown-item span {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 0 10px rgba(93, 63, 211, 0.5);
    transition: all 0.1s ease-in-out;
}

.countdown-item .label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-300);
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .countdown {
        gap: 1rem;
    }

    .countdown-item {
        min-width: 60px;
    }

    .countdown-item span {
        font-size: 2rem;
    }

    .countdown-item .label {
        font-size: 0.8rem;
    }
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: var(--gray-300);
    margin-top: 1rem;
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links a {
    display: block;
    color: var(--gray-300);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--gray-400);
    font-size: 0.9rem;
}

/* Utility Classes */
.mt-3 { margin-top: 1rem; }

/* Responsive Design */
@media (max-width: 1024px) {
    .stats-counter {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--primary);
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero {
        padding-top: 5rem;
    }

    .nav-right .btn-primary {
        display: none;
    }

    .section-title h2, .section-header h2 {
        font-size: 2rem;
    }

    .trust-badges {
        flex-direction: column;
    }

    .tokenomics {
        padding: 1.5rem;
    }

    .chart-container {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .stats-counter {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .phase ul li {
        padding-left: 1rem;
    }
}

@media (max-width: 480px) {
    .community-grid {
        grid-template-columns: 1fr;
    }

    .footer {
        padding: 3rem 0 1.5rem;
    }
}
