/* LLMVerse Custom Styles */

:root {
    --primary: #00ff8c;
    --dark: #0a0a0a;
    --light: #ffffff;
    --gray: #8a8a8a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

body {
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

nav {
    position: fixed;
    width: 100%;
    padding: 1.5rem;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.nav-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1rem;
}

.nav-links a:hover,
.nav-links a.accent {
    color: var(--primary);
}

.accent {
    color: var(--primary);
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.section {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 40px 0 rgba(0,255,140,0.18);
}

.btn {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background: var(--primary);
    color: var(--dark);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    margin-top: 2rem;
    font-size: 1rem;
    /* width: 100%; */ /* Remove this line to avoid full-width button */
    border: none;
    cursor: pointer;
    transition: transform 0.3s, background 0.2s, color 0.2s;
}

.btn:hover {
    transform: scale(1.05);
    background: var(--primary);
    color: #fff;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.tech-section {
    background: rgba(255, 255, 255, 0.02);
    padding: 6rem 0;
}

.tech-header {
    text-align: center;
    margin-bottom: 4rem;
}

.tech-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.tech-header p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tech-card {
    background: rgba(0, 255, 140, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 140, 0.1);
    transition: all 0.3s ease;
}

.tech-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.tech-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.card .icon {
    font-size: 2rem;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
    100% { transform: translateY(0px) rotate(360deg); }
}

.floating-shape {
    position: absolute;
    opacity: 0.1;
    animation: float 15s infinite;
}

.blockchain-section {
    background: linear-gradient(45deg, rgba(0, 255, 140, 0.05), rgba(0, 0, 0, 0.2));
    padding: 8rem 2rem;
}

.blockchain-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.blockchain-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.blockchain-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    background: rgba(0, 255, 140, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 140, 0.1);
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.blockchain-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blockchain-circle {
    position: absolute;
    border: 2px solid var(--primary);
    border-radius: 50%;
    opacity: 0.1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.1); opacity: 0.2; }
    100% { transform: scale(1); opacity: 0.1; }
}

/* Contact Page */
.contact-form {
    max-width: 420px;
    margin: 0 auto;
}
.contact-form label {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.4rem;
    display: block;
    font-size: 1.05rem;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.9rem 1.1rem;
    border-radius: 7px;
    border: 1.5px solid rgba(0,255,140,0.18);
    background: rgba(0,255,140,0.05);
    color: var(--light);
    font-size: 1.08rem;
    margin-bottom: 1.2rem;
    transition: border 0.2s, box-shadow 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(0,255,140,0.18);
}
.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-info h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}
.contact-info p, .contact-info a {
    color: rgba(255,255,255,0.92);
    font-size: 1.08rem;
    margin-bottom: 1.1rem;
    text-decoration: none;
}
.contact-info .social-links {
    margin: 1.5rem 0 2rem 0;
}
.contact-info .social-links a {
    color: var(--primary);
    font-size: 2rem;
    margin: 0 0.7rem;
    transition: color 0.2s, transform 0.2s;
    display: inline-block;
}
.contact-info .social-links a:hover {
    color: var(--light);
    transform: translateY(-4px) scale(1.13);
}
.contact-info .location {
    margin-top: 2.5rem;
}
.contact-info .location h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    font-weight: 600;
}
.contact-info .location p {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
}

/* Roadmap Page */
.roadmap-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}
.timeline {
    position: relative;
    padding: 2rem 0;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    width: 4px;
    background: var(--primary);
    transform: translateX(-50%);
}
.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 30px;
    position: relative;
    margin-bottom: 4rem;
    width: 50%;
}
.timeline-item:nth-child(even) {
    align-self: flex-end;
    justify-content: flex-start;
    padding-left: 30px;
    padding-right: 0;
    margin-left: 50%;
}
.timeline-item-content {
    background: rgba(0, 255, 140, 0.05);
    border: 1px solid rgba(0, 255, 140, 0.1);
    border-radius: 10px;
    padding: 2rem;
    position: relative;
    width: 400px;
    max-width: 100%;
    transition: all 0.3s ease;
}
.timeline-item-content:hover {
    border-color: var (--primary);
    transform: translateY(-5px);
}
.timeline-item-content::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -15px;
    width: 30px;
    height: 30px;
    background: rgba(0, 255, 140, 0.2);
    border: 4px solid var(--primary);
    border-radius: 50%;
}
.timeline-item:nth-child(even) .timeline-item-content::after {
    right: auto;
    left: -15px;
}
.timeline-item-content .tag {
    display: inline-block;
    background: var(--primary);
    color: var(--dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 1rem;
}
.timeline-item-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}
.timeline-item-content ul {
    list-style-type: none;
    padding-left: 0;
}
.timeline-item-content ul li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}
.timeline-item-content ul li::before {
    content: "→";
    color: var(--primary);
    position: absolute;
    left: 0;
}

.roadmap-header {
    padding-top: 120px;
    padding-bottom: 40px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}
.roadmap-header h1 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.roadmap-header p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}
.roadmap-header .accent {
    color: var(--primary);
}

/* Whitepaper Page */
.whitepaper-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}
.whitepaper-container h2 {
    font-size: 2.5rem;
    margin: 3rem 0 1.5rem;
    border-bottom: 1px solid rgba(0, 255, 140, 0.2);
    padding-bottom: 1rem;
    color: var(--primary); /* Make titles green */
}
.whitepaper-container h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin: 2rem 0 1rem;
}
.whitepaper-container p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}
.whitepaper-container ul, .whitepaper-container ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}
.whitepaper-container li {
    margin-bottom: 0.8rem;
}
.whitepaper-container code {
    background: rgba(0, 255, 140, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-family: monospace;
}
.whitepaper-container blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 1rem;
    margin-left: 0;
    margin-bottom: 1.5rem;
    font-style: italic;
    color: var(--gray);
}
.whitepaper-container img {
    max-width: 100%;
    border-radius: 10px;
    margin: 2rem 0;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    border-radius: 10px;
    overflow: hidden;
}
th {
    background-color: rgba(0, 255, 140, 0.1);
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 255, 140, 0.2);
}
td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
tr:hover {
    background-color: rgba(0, 255, 140, 0.05);
}
.diagram {
    background: rgba(0, 255, 140, 0.05);
    border: 1px solid rgba(0, 255, 140, 0.1);
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
.diagram pre {
    margin: 0 auto;
    display: inline-block;
}
.diagram-pre {
    margin: 0;
    padding: 2rem;
    background: rgba(0,255,140,0.05);
    border: 1px solid rgba(0,255,140,0.1);
    border-radius: 10px;
    font-family: 'Fira Mono', 'Consolas', 'Menlo', 'Monaco', 'Liberation Mono', monospace;
    font-size: 1.05em;
    white-space: pre;
    overflow-x: auto;
}
.footnote {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.whitepaper-header {
    padding-top: 120px;
    padding-bottom: 40px;
    text-align: center;
}
.whitepaper-header h1 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.whitepaper-header p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}
.whitepaper-header .accent {
    color: var(--primary);
}

/* Footer */
.footer {
    background: rgba(0,0,0,0.22);
    text-align: center;
    padding: 2.5rem 0 1.5rem 0;
    margin-top: 2rem;
    color: rgba(255,255,255,0.7);
    font-size: 1.08rem;
    border-top: 1px solid rgba(0,255,140,0.07);
}
footer {
    text-align:center;
    padding: 20px;
    font-size: 0.9em;
    color: #888;
}

/* Responsive styles */
@media (max-width: 900px) {
    .section,
    .tech-section {
        padding: 4rem 1rem;
    }
    .tech-grid,
    .grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
    }
    .blockchain-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .blockchain-visual {
        height: 250px;
    }
    .roadmap-container {
        padding: 1rem;
    }
    .timeline-item-content {
        width: 100%;
        min-width: 0;
    }
    .whitepaper-container {
        padding: 1rem;
    }
    .diagram-pre {
        padding: 1rem;
    }
    .section {
        padding: 4rem 1rem 2rem 1rem;
    }
    .grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 700px) {
    .timeline {
        padding: 1rem 0;
    }
    .timeline::before {
        left: 10px;
    }
    .timeline-item,
    .timeline-item:nth-child(even) {
        width: 100%;
        margin-left: 0;
        padding-left: 0;
        padding-right: 0;
        justify-content: flex-start;
    }
    .timeline-item-content {
        width: 100%;
        min-width: 0;
        margin-left: 30px;
    }
    .timeline-item-content::after {
        left: -30px !important;
        right: auto !important;
    }
}

@media (max-width: 600px) {
    nav {
        padding: 1rem;
    }
    .nav-content {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        box-sizing: border-box;
    }
    .logo {
        font-size: 1.2rem;
    }
    .nav-links {
        gap: 1rem;
        font-size: 0.95rem;
    }
    body {
        padding: 0;
        margin: 0;
        width: 100vw;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    .hero {
        height: auto;
        min-height: 70vh;
        padding: 3rem 0 2rem 0;
        width: 100vw;
        box-sizing: border-box;
    }
    .hero-content {
        padding-left: 1rem;
        padding-right: 1rem;
        box-sizing: border-box;
        width: 100%;
    }
    .hero h1 {
        font-size: 2.1rem;
    }
    .hero p {
        font-size: 1rem;
        max-width: 100vw;
        box-sizing: border-box;
        text-align: center;
    }
    .btn {
        padding: 0.8rem 1.2rem;
        font-size: 1rem;
        margin-top: 1.2rem;
    }
    .section,
    .tech-section {
        padding: 2.5rem 0.5rem;
        box-sizing: border-box;
        width: 100vw;
    }
    .tech-header h2,
    .blockchain-text h2 {
        font-size: 1.5rem;
    }
    .tech-header p,
    .blockchain-text p {
        font-size: 1rem;
    }
    .tech-card,
    .card,
    .stat-card {
        padding: 1rem;
        font-size: 0.98rem;
        box-sizing: border-box;
    }
    .tech-card h3,
    .card h3 {
        font-size: 1.1rem;
    }
    .blockchain-section {
        padding: 3rem 0.5rem;
        box-sizing: border-box;
        width: 100vw;
    }
    .blockchain-visual {
        height: 120px;
    }
    .blockchain-circle {
        width: 80px !important;
        height: 80px !important;
    }
    .stat-card h3 {
        font-size: 1.3rem;
    }
    .stat-card p {
        font-size: 0.95rem;
    }
    .footer {
        font-size: 0.85em !important;
        padding: 1.2rem 0 !important;
    }
    footer {
        font-size: 0.8em !important;
        padding: 10px !important;
    }
    /* Fix grid and card alignment */
    .grid,
    .tech-grid {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100vw;
        box-sizing: border-box;
    }
    .card,
    .tech-card {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100%;
        box-sizing: border-box;
    }
    .header {
        padding-top: 90px;
        padding-bottom: 30px;
    }
    .header h1 {
        font-size: 2rem;
    }
    .header p,
    .whitepaper-container p,
    .whitepaper-container ul,
    .whitepaper-container ol {
        font-size: 1rem;
    }
    .whitepaper-container h2 {
        font-size: 1.3rem;
        padding-bottom: 0.5rem;
    }
    .whitepaper-container h3 {
        font-size: 1.1rem;
    }
    .diagram-pre {
        font-size: 0.7em;
        padding: 0.5rem;
    }
    table,
    th,
    td {
        font-size: 0.95rem;
    }
    .footnote {
        font-size: 0.8rem;
        padding-top: 1rem;
    }
}

/* End LLMVerse Custom Styles */
