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

:root {
    /* Purple Color Palette from the image */
    --primary-purple: #8B5CF6;
    --secondary-purple: #A855F7;
    --light-purple: #C084FC;
    --dark-purple: #6D28D9;
    --purple-gradient: linear-gradient(135deg, #8B5CF6 0%, #A855F7 50%, #C084FC 100%);
    --purple-glow: 0 0 30px rgba(139, 92, 246, 0.3);
    
    /* Supporting Colors */
    --accent-cyan: #06B6D4;
    --accent-blue: #3B82F6;
    --dark-bg: #0F0F23;
    --darker-bg: #0A0A1A;
    --card-bg: rgba(139, 92, 246, 0.15);
    --border-color: rgba(139, 92, 246, 0.3);
    
    /* Text Colors */
    --text-primary: #8B5CF6;
    --text-secondary: #6D28D9;
    --text-muted: #7C3AED;
    
    /* Status Colors */
    --success: #10B981;
    --error: #EF4444;
    --warning: #F59E0B;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    --border-radius: 12px;
    --border-radius-large: 20px;
    
    /* Animations */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

html, body {
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    color: var(--text-primary);
    line-height: 1.6;
    position: relative;
    z-index: 0;
}

/* Background Image - Scrollable */
.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 400vh;
    z-index: -1;
}

.bg-image {
    width: 100vw;
    height: 100%;
    object-fit: contain;
    object-position: top center;
    display: block;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 70px;
}

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

.logo-text {
    font-size: 24px;
    font-weight: 800;
    background: var(--purple-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-subtitle {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-purple);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--purple-gradient);
    transition: var(--transition);
}

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

.nav-cta {
    display: flex;
    gap: 15px;
}

.nav-cta .btn-primary {
    padding: 8px 20px;
    font-size: 14px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline {
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: inherit;
    font-size: 16px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--purple-gradient);
    color: white;
    box-shadow: var(--purple-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.5);
}

.btn-secondary {
    background: rgba(139, 92, 246, 0.2);
    color: var(--primary-purple);
    border: 1px solid var(--primary-purple);
}

.btn-secondary:hover {
    background: var(--primary-purple);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background: var(--card-bg);
    border-color: var(--primary-purple);
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    padding-top: 70px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.title-main {
    font-size: 72px;
    font-weight: 900;
    background: var(--purple-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
}

.title-subtitle {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.title-highlight {
    font-size: 24px;
    font-weight: 600;
    color: var(--accent-cyan);
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-description {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.buyback-timer {
    background: #1F2937;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-large);
    padding: 30px;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.timer-label {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.timer-display {
    font-size: 48px;
    font-weight: 900;
    font-family: var(--font-mono);
    background: var(--purple-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.timer-pulse {
    position: absolute;
    top: 50%;
    right: 20px;
    width: 12px;
    height: 12px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    background: var(--purple-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
}

.section-header p {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* How It Works Section */
.how-it-works {
    padding: var(--section-padding);
    position: relative;
    z-index: 2;
}

.mechanism-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.flow-step {
    flex: 1;
    min-width: 250px;
    background: #1F2937;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-large);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
}

.flow-step:hover {
    transform: translateY(-10px);
    border-color: var(--primary-purple);
    box-shadow: var(--purple-glow);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--purple-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.step-icon svg {
    width: 40px;
    height: 40px;
    stroke-width: 2;
}

.flow-step h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

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

.flow-arrow {
    font-size: 24px;
    color: var(--primary-purple);
    font-weight: bold;
}

/* What is DBA Section */
.what-is-dba {
    padding: var(--section-padding);
    position: relative;
    z-index: 2;
}

.dba-dropdown {
    max-width: 800px;
    margin: 0 auto;
}

.dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1F2937;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-large);
    padding: 25px 30px;
    cursor: pointer;
    transition: var(--transition);
}

.dropdown-header:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--primary-purple);
}

.dropdown-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.dropdown-toggle {
    font-size: 28px;
    color: var(--primary-purple);
    transition: var(--transition);
    font-weight: bold;
}

.dropdown-content {
    background: var(--purple-gradient);
    border-radius: var(--border-radius-large);
    padding: 30px;
    margin-top: 15px;
    color: white;
    line-height: 1.6;
    font-size: 16px;
    display: none;
    box-shadow: var(--purple-glow);
}

.dropdown-content.active {
    display: block;
    animation: slideDown 0.3s ease-out;
}

.dropdown-header.active .dropdown-toggle {
    transform: rotate(45deg);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.doc-card {
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-large);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
}

.doc-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-purple);
}

.doc-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.doc-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.doc-card p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.6;
}

.faq-section {
    margin-top: 150px;
}

.faq-section h3 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    background: var(--purple-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
}

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

.faq-item {
    background: #1F2937;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    overflow: hidden;
}

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

.faq-question:hover {
    background: rgba(139, 92, 246, 0.1);
}

.faq-question h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.faq-toggle {
    font-size: 24px;
    color: var(--primary-purple);
    transition: var(--transition);
}

.faq-answer {
    padding: 0 30px 25px;
    color: var(--text-secondary);
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

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

/* Community Section */
.community {
    padding: var(--section-padding);
    position: relative;
    z-index: 2;
    margin-top: 200px;
    background: white;
}

.community-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    background: var(--purple-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.stat-label {
    color: var(--text-muted);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 60px;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #1F2937;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-large);
    padding: 30px;
    text-decoration: none;
    transition: var(--transition);
}

.social-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-purple);
}

.social-icon {
    font-size: 32px;
}

.social-info {
    flex: 1;
}

.social-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.social-info p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 15px;
}

.social-info .btn-primary {
    margin-top: 10px;
}

.newsletter {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.newsletter p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: #1F2937;
    color: white;
    font-family: inherit;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-purple);
}

.newsletter-form input::placeholder {
    color: var(--text-muted);
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
    position: relative;
    z-index: 2;
    background: white;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

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

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

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

.footer-social a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--primary-purple);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-info p {
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.disclaimer {
    font-size: 12px;
    color: var(--text-muted);
}

.contract-info {
    text-align: right;
}

.contract-info p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 5px;
}

.contract-address {
    font-family: var(--font-mono);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .title-main {
        font-size: 56px;
    }
    
    .title-subtitle {
        font-size: 28px;
    }
    
    .mechanism-flow {
        flex-direction: column;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .title-main {
        font-size: 48px;
    }
    
    .title-subtitle {
        font-size: 24px;
    }
    
    .title-highlight {
        font-size: 20px;
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-large {
        width: 100%;
        max-width: 300px;
    }
    
    .section-header h2 {
        font-size: 36px;
    }
    
    .section-header p {
        font-size: 18px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .contract-info {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .title-main {
        font-size: 36px;
    }
    
    .title-subtitle {
        font-size: 20px;
    }
    
    .timer-display {
        font-size: 36px;
    }
    
    .flow-step {
        min-width: 200px;
        padding: 30px 20px;
    }
    
    .social-links {
        grid-template-columns: 1fr;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-purple);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-purple);
}
