/* Reset and Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Dark Theme Colors */
    --bg-primary: #0a0b0d;
    --bg-secondary: #1a1b23;
    --bg-tertiary: #252730;
    --bg-card: rgba(26, 27, 35, 0.8);
    --bg-glass: rgba(37, 39, 48, 0.6);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a0a9c0;
    --text-muted: #6b7280;
    
    /* Accent Colors - Blue Theme */
    --accent-primary: #07e3f8;
    --accent-secondary: #0ea5e9;
    --accent-tertiary: #3b82f6;
    --gradient-primary: linear-gradient(135deg, #07e3f8 0%, #0ea5e9 50%, #3b82f6 100%);
    --gradient-secondary: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
    
    /* Border Colors */
    --border-primary: rgba(7, 227, 248, 0.2);
    --border-secondary: rgba(59, 130, 246, 0.15);
    
    /* Effects */
    --glow-primary: 0 0 20px rgba(7, 227, 248, 0.3);
    --glow-secondary: 0 0 15px rgba(59, 130, 246, 0.2);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.4);
    
    /* Fonts */
    --font-primary: 'Inter', system-ui, sans-serif;
    --font-heading: 'Space Grotesk', system-ui, sans-serif;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Effects */
.background-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(7, 227, 248, 0.05) 1px, transparent 0);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
}

/* Particle Canvas */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 11, 13, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-secondary);
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 40px;
    width: auto;
    filter: drop-shadow(var(--glow-primary));
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

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

.connect-wallet-btn {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
}

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

.connect-wallet-btn.connected {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-primary);
}

.wallet-connected {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wallet-avatar {
    font-size: 14px;
}

.wallet-address {
    font-family: monospace;
    font-size: 12px;
    color: var(--accent-primary);
}

.disconnect-icon {
    margin-left: 4px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.connect-wallet-btn.connected:hover .disconnect-icon {
    opacity: 1;
    color: #ef4444;
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 1px solid var(--border-primary);
    border-radius: 50%;
    animation: float 20s infinite linear;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: -7s;
}

.floating-element:nth-child(3) {
    bottom: 30%;
    left: 70%;
    animation-delay: -14s;
}

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

.hero-content {
    max-width: 900px;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: var(--bg-glass);
    border: 1px solid var(--border-primary);
    border-radius: 50px;
    padding: 8px 20px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.hero-badge span {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.cta-button {
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cta-button.primary {
    background: var(--gradient-primary);
    color: var(--bg-primary);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-primary);
}

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

.cta-button.secondary:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

/* Token Creator Section */
.token-creator {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.creator-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.creator-form {
    background: var(--bg-card);
    border: 1px solid var(--border-secondary);
    border-radius: 24px;
    padding: 2rem;
    backdrop-filter: blur(20px);
}

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

.form-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
}

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

.vrtx-balance-display {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-secondary);
    border-radius: 12px;
    padding: 8px 16px;
    min-width: 200px;
}

.vrtx-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vrtx-info.disconnected .vrtx-label {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.vrtx-label {
    font-weight: 500;
    color: var(--text-secondary);
}

.vrtx-amount {
    font-weight: 700;
    color: var(--accent-primary);
    font-family: monospace;
}

.vrtx-symbol {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.refresh-balance-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 14px;
    margin-left: 8px;
    transition: all 0.3s ease;
}

.refresh-balance-btn:hover {
    background: var(--bg-secondary);
    color: var(--accent-primary);
    transform: rotate(90deg);
}

.vrtx-error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    padding: 12px 16px;
    color: #ef4444;
    font-weight: 500;
    margin: 16px 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.vrtx-error-message.show-error {
    opacity: 1;
    transform: translateY(0);
}

.network-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(151, 71, 255, 0.1);
    border: 1px solid rgba(151, 71, 255, 0.2);
    border-radius: 12px;
    padding: 6px 12px;
    font-size: 0.9rem;
    color: #9747ff;
}

.network-icon {
    width: 16px;
    height: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-secondary);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(7, 227, 248, 0.1);
}

.form-group small {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 4px;
    display: block;
}

.advanced-features {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-secondary);
}

.advanced-features h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
}

.coming-soon {
    background: rgba(255, 159, 67, 0.2);
    color: #ff9f43;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.feature-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    opacity: 0.5;
}

.feature-option.disabled {
    cursor: not-allowed;
}

.feature-option input[type="checkbox"] {
    width: auto;
}

.submit-button {
    width: 100%;
    background: var(--gradient-primary);
    color: var(--bg-primary);
    border: none;
    border-radius: 12px;
    padding: 16px 24px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-primary);
}

.button-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.button-icon {
    width: 20px;
    height: 20px;
}

/* Creation Info */
.creation-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-secondary);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(20px);
}

.info-card h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--accent-primary);
}

.info-card ul {
    list-style: none;
}

.info-card li {
    padding: 4px 0;
    color: var(--text-secondary);
}

.cost-item, .cost-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.cost-total {
    border-top: 1px solid var(--border-secondary);
    margin-top: 8px;
    padding-top: 12px;
    font-weight: 600;
}

.cost {
    color: var(--accent-primary);
    font-weight: 600;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.feature-category {
    background: var(--bg-card);
    border: 1px solid var(--border-secondary);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(20px);
}

.feature-category h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: 12px;
    transition: all 0.3s ease;
}

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

.feature-icon {
    font-size: 1.5rem;
    min-width: 40px;
}

.feature-content h4 {
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Why VORTEX Section */
.why-vortex {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border-secondary);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

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

.benefit-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.value-props {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.value-prop {
    background: var(--bg-card);
    border: 1px solid var(--border-secondary);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(20px);
}

.value-prop h4 {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--accent-primary);
}

.process-steps h3 {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 3rem;
}

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

.step {
    background: var(--bg-card);
    border: 1px solid var(--border-secondary);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(20px);
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 8px;
}

/* Footer */
footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-secondary);
    padding: 3rem 0 1rem;
}

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

.footer-brand {
    max-width: 400px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 32px;
    width: auto;
}

.footer-brand-name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 1rem;
}

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

.footer-section h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--accent-primary);
}

.footer-section a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-secondary);
}

.footer-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* FAQ Section */
.faq {
    padding: 120px 0;
    background: var(--bg-primary);
}

.faq-grid {
    display: grid;
    gap: 2.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-secondary);
    border-radius: 16px;
    padding: 2.5rem;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--border-primary);
    transform: translateY(-4px);
    box-shadow: var(--glow-secondary);
}

.faq-item h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-item h3::before {
    content: "❓";
    font-size: 1.2rem;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.faq-item p:last-child {
    margin-bottom: 0;
}

.faq-list {
    color: var(--text-secondary);
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.faq-list li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.faq-list li:last-child {
    margin-bottom: 0;
}

/* Create Page Specific Styles */
.create-hero {
    padding: 120px 0 60px;
    background: var(--bg-primary);
    text-align: center;
}

.create-header h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.create-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.nav-menu a.active {
    color: var(--accent-primary);
    position: relative;
}

.nav-menu a.active::after {
    width: 100%;
}

.help-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 12px;
    transition: all 0.3s ease;
}

.help-link:hover {
    opacity: 0.8;
    transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .creator-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .faq-item {
        padding: 2rem;
    }
    
    .faq-item h3 {
        font-size: 1.3rem;
    }
    
    .header-right {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .vrtx-balance-display {
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .faq-item {
        padding: 1.5rem;
    }
    
    .faq-item h3 {
        font-size: 1.2rem;
    }
}