:root {
    /* Color Palette */
    --primary: #6C63FF;
    --primary-dark: #5A52D9;
    --secondary: #FF6584;
    --accent: #00F5A0;
    --dark: #121212;
    --dark-light: #1E1E1E;
    --gray: #333333;
    --light-gray: #777777;
    --white: #FFFFFF;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6C63FF 0%, #5A52D9 100%);
    --gradient-secondary: linear-gradient(135deg, #FF6584 0%, #FF8C61 100%);
    --gradient-accent: linear-gradient(135deg, #00F5A0 0%, #00D9F5 100%);
    --gradient-dark: linear-gradient(135deg, #121212 0%, #2D2D2D 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

h2 {
    font-size: 2.5rem;
    color: var(--white);
}

h3 {
    font-size: 1.75rem;
    color: var(--white);
}

p {
    margin-bottom: 1rem;
    color: var(--light-gray);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 99, 255, 0.4);
    color: var(--white);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 101, 132, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 101, 132, 0.4);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
}

.logo span {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--white);
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 20px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    overflow: hidden;
}

.animated-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.1) 0%, rgba(0, 245, 160, 0.05) 25%, rgba(18, 18, 18, 0) 70%);
    animation: rotate 30s linear infinite;
}

.animated-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/grid.svg');
    opacity: 0.1;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.hero-content {
    max-width: 600px;
    z-index: 1;
}

.hero-content h1 {
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: var(--light-gray);
}

.hero-content .btn {
    margin-right: 15px;
    margin-bottom: 15px;
}

.hero-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    max-width: 600px;
    z-index: 0;
}

.hero-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--dark-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 15px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.about-card {
    background: var(--dark);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.about-card .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

/* Token Section */
.token {
    padding: 100px 0;
    background: var(--dark);
}

.token-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
}

.token-info, .token-benefits {
    background: var(--dark-light);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.token-info h3, .token-benefits h3 {
    margin-bottom: 20px;
    color: var(--accent);
}

.token-info ul, .token-benefits ul {
    list-style: none;
}

.token-info li, .token-benefits li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.token-info i, .token-benefits i {
    color: var(--primary);
    font-size: 1.2rem;
}

.token-visual {
    position: relative;
}

.token-visual img {
    width: 200px;
    height: 200px;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(108, 99, 255, 0.5));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 20px rgba(108, 99, 255, 0.8));
    }
}

.token-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--dark-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--dark);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card img {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background: var(--dark);
}

.steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 20px;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px;
    font-weight: 700;
}

.step-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.step-connector {
    flex: 0 0 40px;
    height: 2px;
    background: var(--primary);
    position: relative;
}

.step-connector::before, .step-connector::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: var(--radius-full);
    top: 50%;
    transform: translateY(-50%);
}

.step-connector::before {
    left: 0;
}

.step-connector::after {
    right: 0;
}

/* Demo Section */
.demo {
    padding: 100px 0;
    background: var(--dark-light);
}

.chat-demo {
    max-width: 800px;
    margin: 0 auto;
    background: var(--dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-header {
    background: var(--gradient-primary);
    padding: 20px;
    text-align: center;
}

.chat-header h3 {
    margin: 0;
    color: var(--white);
}

.chat-messages {
    padding: 30px;
    max-height: 400px;
    overflow-y: auto;
}

.message {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.message.user {
    align-items: flex-end;
}

.message.bot {
    align-items: flex-start;
}

.message-content {
    padding: 15px 20px;
    border-radius: var(--radius-lg);
    max-width: 80%;
}

.message.user .message-content {
    background: var(--primary);
    color: var(--white);
    border-top-right-radius: 0;
}

.message.bot .message-content {
    background: var(--dark-light);
    color: var(--white);
    border-top-left-radius: 0;
}

.chat-input {
    display: flex;
    padding: 20px;
    background: var(--dark-light);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-input input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: var(--radius-full);
    background: var(--gray);
    color: var(--white);
    outline: none;
}

.chat-input button {
    width: 50px;
    height: 50px;
    margin-left: 10px;
    border: none;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-input button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
}

/* Community Section */
.community {
    padding: 100px 0;
    background: var(--dark);
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.testimonial {
    background: var(--dark-light);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.quote {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 2rem;
    color: var(--primary);
    line-height: 1;
}

.author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author img {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.author-info h4 {
    margin: 0;
    font-size: 1rem;
}

.author-info p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--light-gray);
}

.stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.stat {
    text-align: center;
    padding: 20px;
}

.stat h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: var(--dark-light);
    color: var(--white);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-link:hover {
    transform: translateY(-5px);
    background: var(--primary);
    color: var(--white);
}

/* Newsletter Section */
.newsletter {
    padding: 100px 0;
    background: var(--gradient-dark);
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-form {
    display: flex;
    margin-top: 30px;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    outline: none;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Footer */
footer {
    padding: 80px 0 30px;
    background: var(--dark-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 15px;
}

.footer-logo h3 {
    margin-bottom: 10px;
}

.footer-links h4 {
    margin-bottom: 20px;
    color: var(--accent);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--light-gray);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact h4 {
    margin-bottom: 20px;
    color: var(--accent);
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--primary);
}

.footer-contact .social-links {
    justify-content: flex-start;
    margin-top: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive Design */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }
    
    .hero-image {
        width: 45%;
    }
    
    .token-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .token-visual {
        display: none;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .nav-links, .cta-buttons {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 150px;
    }
    
    .hero-content {
        margin-bottom: 50px;
    }
    
    .hero-image {
        position: relative;
        width: 100%;
        max-width: 400px;
        transform: none;
        top: 0;
        margin: 0 auto;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step-connector {
        width: 2px;
        height: 40px;
        margin: 10px 0;
    }
    
    .step-connector::before, .step-connector::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .step-connector::before {
        top: 0;
    }
    
    .step-connector::after {
        top: auto;
        bottom: 0;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .btn-large {
        padding: 12px 24px;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .message-content {
        max-width: 90%;
    }
}