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

:root {
    /* Color Palette - Inspired by the SocraticSol Logo */
    --primary-bg: #0a0a0f;
    --secondary-bg: #1a1a2e;
    --accent-bg: #16213e;
    --neon-gold: #d4af37;
    --neon-blue: #4a90e2;
    --neon-purple: #8b5cf6;
    --accent-orange: #ff8c42;
    --ancient-bronze: #b8860b;
    --lightning-yellow: #ffd700;
    --text-primary: #ffffff;
    --text-secondary: #c0c0c0;
    --text-accent: #d4af37;
    
    /* Typography */
    --font-classical: 'Cinzel', serif;
    --font-tech: 'Orbitron', monospace;
    --font-street: 'Permanent Marker', cursive;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
    
    /* Animations */
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

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

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

/* Philosophical Quotes Background */
.quotes-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.quote {
    position: absolute;
    font-family: var(--font-classical);
    font-style: italic;
    font-size: clamp(12px, 2vw, 18px);
    color: rgba(255, 255, 255, 0.03);
    white-space: nowrap;
    animation: float 20s infinite linear;
}

.quote-1 {
    top: 10%;
    left: -100%;
    animation-delay: 0s;
}

.quote-2 {
    top: 30%;
    right: -100%;
    animation-delay: -5s;
    animation-direction: reverse;
}

.quote-3 {
    top: 50%;
    left: -100%;
    animation-delay: -10s;
}

.quote-4 {
    top: 70%;
    right: -100%;
    animation-delay: -15s;
    animation-direction: reverse;
}

.quote-5 {
    top: 90%;
    left: -100%;
    animation-delay: -8s;
}

@keyframes float {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(100vw + 100%));
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    z-index: 1000;
    transition: var(--transition-smooth);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-text {
    font-family: var(--font-classical);
    font-size: 24px;
    font-weight: 700;
    color: var(--neon-gold);
    text-shadow: 0 0 10px var(--lightning-yellow);
}

.ticker {
    font-family: var(--font-tech);
    font-size: 14px;
    color: var(--lightning-yellow);
    background: rgba(255, 215, 0, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid var(--lightning-yellow);
}

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

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

.nav-link:hover {
    color: var(--neon-gold);
}

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

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--neon-gold);
    transition: var(--transition-fast);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
    padding: 120px 20px 80px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}

.title-main {
    display: block;
    font-family: var(--font-classical);
    background: linear-gradient(45deg, var(--neon-gold), var(--neon-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

.title-ticker {
    display: block;
    font-family: var(--font-street);
    color: var(--lightning-yellow);
    font-size: 0.6em;
    margin-top: 10px;
    text-shadow: 0 0 20px var(--lightning-yellow);
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px var(--neon-gold);
    }
    to {
        text-shadow: 0 0 30px var(--neon-blue), 0 0 40px var(--lightning-yellow);
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-accent);
    margin-bottom: 30px;
    font-family: var(--font-classical);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(45deg, var(--neon-gold), var(--neon-blue));
    color: white;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--ancient-bronze);
    border: 2px solid var(--ancient-bronze);
}

.btn-secondary:hover {
    background: var(--ancient-bronze);
    color: var(--primary-bg);
    transform: translateY(-2px);
}

.hero-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-container {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(212, 175, 55, 0.05);
    animation: pulse 2s infinite;
    overflow: hidden;
    border: 3px solid var(--neon-gold);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

.main-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.main-logo:hover {
    transform: scale(1.05);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid var(--neon-gold);
    border-bottom: 2px solid var(--neon-gold);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    40% {
        transform: translateY(-10px) rotate(45deg);
    }
    60% {
        transform: translateY(-5px) rotate(45deg);
    }
}

/* Section Styles */
section {
    padding: var(--section-padding);
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
    margin-bottom: 60px;
    font-family: var(--font-classical);
    background: linear-gradient(45deg, var(--neon-gold), var(--ancient-bronze));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* About Section */
.about {
    background: var(--secondary-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.about-card {
    background: var(--accent-bg);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: var(--transition-smooth);
}

.about-card:hover::before {
    left: 100%;
}

.about-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-gold);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}

.card-icon {
    font-size: 3rem;
    color: var(--neon-blue);
    margin-bottom: 20px;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--neon-gold);
    font-family: var(--font-tech);
}

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

/* Buy Section */
.buy {
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--accent-bg) 100%);
}

.buy-content {
    display: flex;
    justify-content: center;
}

.buy-card {
    background: var(--secondary-bg);
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    border: 2px solid var(--neon-purple);
    box-shadow: 0 0 50px rgba(139, 92, 246, 0.3);
}

.buy-card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--neon-purple);
    font-family: var(--font-classical);
}

.buy-card p {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.buy-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.btn-buy {
    background: linear-gradient(45deg, var(--neon-purple), var(--accent-orange));
    color: white;
    padding: 20px 40px;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition-fast);
    box-shadow: 0 4px 30px rgba(139, 92, 246, 0.4);
}

.btn-buy:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(139, 92, 246, 0.6);
}

.buy-note {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Contract Section */
.contract {
    background: var(--secondary-bg);
}

.contract-content {
    display: flex;
    justify-content: center;
}

.contract-card {
    background: var(--accent-bg);
    padding: 40px;
    border-radius: 15px;
    max-width: 600px;
    width: 100%;
    border: 1px solid var(--ancient-bronze);
}

.contract-card h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--ancient-bronze);
    text-align: center;
    font-family: var(--font-tech);
}

.contract-address-container {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
}

.contract-address {
    flex: 1;
    background: var(--primary-bg);
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid rgba(205, 127, 50, 0.3);
    color: var(--text-secondary);
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    word-break: break-all;
}

.copy-btn {
    background: var(--ancient-bronze);
    color: var(--primary-bg);
    border: none;
    padding: 15px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 100px;
    justify-content: center;
}

.copy-btn:hover:not(:disabled) {
    background: var(--neon-gold);
    transform: translateY(-2px);
}

.copy-btn:disabled {
    background: #555;
    color: #999;
    cursor: not-allowed;
}

.contract-info {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Footer */
.footer {
    background: var(--primary-bg);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding: 60px 0 30px;
}

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

.footer-brand h3 {
    font-family: var(--font-classical);
    color: var(--neon-gold);
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.footer-brand p {
    color: var(--text-secondary);
}

.footer-links h4 {
    color: var(--ancient-bronze);
    margin-bottom: 15px;
    font-family: var(--font-tech);
}

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

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.footer-disclaimer {
    background: rgba(139, 92, 246, 0.1);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--neon-purple);
}

.footer-disclaimer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .contract-address-container {
        flex-direction: column;
    }
    
    .copy-btn {
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .logo-container {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 60px 0;
        --container-padding: 0 15px;
    }
    
    .hero {
        padding: 100px 15px 60px;
    }
    
    .about-card, .buy-card, .contract-card {
        padding: 30px 20px;
    }
    
    .btn-primary, .btn-secondary, .btn-buy {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .logo-container {
        width: 200px;
        height: 200px;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --neon-gold: #ffff00;
        --neon-blue: #00aaff;
        --ancient-bronze: #ff9900;
        --text-secondary: #ffffff;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .scroll-arrow {
        animation: none;
    }
    
    .quote {
        animation: none;
    }
}
