/* prototypic.dev - Glassmorphism Developer Workbench */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --deep-space: #0F0B1E;
    --nebula-purple: #6C3FAA;
    --plasma-teal: #22D3EE;
    --mint-teal: #2DD4BF;
    --warm-rose: #F472B6;
    --ghost-white: #F5F5FA;
    --muted-lavender: #A0A0B8;
}

body {
    background-color: var(--deep-space);
    color: var(--ghost-white);
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    overflow-x: hidden;
}

/* Gradient Mesh Background */
#gradient-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.mesh-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
}

.blob-purple {
    width: 600px;
    height: 600px;
    background: var(--nebula-purple);
    top: -10%;
    left: -5%;
    animation: meshDrift1 60s ease-in-out infinite;
}

.blob-teal {
    width: 500px;
    height: 500px;
    background: var(--plasma-teal);
    top: 30%;
    right: -10%;
    animation: meshDrift2 60s ease-in-out infinite;
}

.blob-rose {
    width: 450px;
    height: 450px;
    background: var(--warm-rose);
    bottom: -5%;
    left: 30%;
    animation: meshDrift3 60s ease-in-out infinite;
}

@keyframes meshDrift1 {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(100px, 80px); }
    50% { transform: translate(50px, 150px); }
    75% { transform: translate(-50px, 60px); }
}

@keyframes meshDrift2 {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-80px, 50px); }
    50% { transform: translate(-120px, -40px); }
    75% { transform: translate(-30px, -80px); }
}

@keyframes meshDrift3 {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(60px, -60px); }
    50% { transform: translate(-40px, -100px); }
    75% { transform: translate(80px, -30px); }
}

/* Glass Panels */
.glass-panel {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    position: relative;
    z-index: 1;
}

/* Hero Section */
#hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.glass-hero {
    padding: 3rem 4rem;
    text-align: center;
    max-width: 600px;
    opacity: 0;
    filter: blur(20px);
    animation: blurFocus 0.8s ease-out 0.5s forwards;
}

@keyframes blurFocus {
    from { opacity: 0; filter: blur(20px); transform: scale(0.95); }
    to { opacity: 1; filter: blur(0); transform: scale(1); }
}

.panel-tag {
    font-family: 'Source Code Pro', monospace;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--plasma-teal);
    display: block;
    margin-bottom: 1rem;
}

.hero-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ghost-white);
    margin-bottom: 0.75rem;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    color: var(--muted-lavender);
    margin-bottom: 2rem;
}

.status-bar {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mint-teal);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.status-text {
    font-family: 'Source Code Pro', monospace;
    font-size: 0.8rem;
    color: var(--muted-lavender);
}

/* Content Grid */
#content-grid {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 2rem 6rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.glass-card {
    padding: 2rem 2.5rem;
    opacity: 0;
    filter: blur(20px);
    transition: opacity 0.6s ease, filter 0.6s ease, transform 0.6s ease;
}

.glass-card.visible {
    opacity: 1;
    filter: blur(0);
}

.depth-3 {
    background: rgba(255, 255, 255, 0.08);
}

.depth-2 {
    background: rgba(255, 255, 255, 0.05);
}

.card-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--ghost-white);
    margin-bottom: 1rem;
}

.card-body {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--muted-lavender);
}

/* Feature List */
.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-list li {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--ghost-white);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-icon {
    color: var(--plasma-teal);
    font-size: 0.6rem;
}

/* Code Block */
.code-block {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1.25rem;
    margin-top: 1rem;
}

.code-block code {
    font-family: 'Source Code Pro', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--ghost-white);
}

.code-keyword { color: var(--warm-rose); }
.code-string { color: var(--mint-teal); }
.code-fn { color: var(--plasma-teal); }

.code-inline {
    display: inline-block;
}

/* Metric */
.card-metric {
    margin-top: 1.5rem;
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
}

.metric-value {
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--plasma-teal);
}

.metric-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--muted-lavender);
}

/* Tech Grid */
.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 0.5rem;
}

.tech-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tech-name {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--ghost-white);
}

.tech-version {
    font-family: 'Source Code Pro', monospace;
    font-size: 0.8rem;
    color: var(--plasma-teal);
}

/* Benchmarks */
.benchmark-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benchmark-item {
    display: grid;
    grid-template-columns: 100px 1fr 50px;
    gap: 1rem;
    align-items: center;
}

.benchmark-label {
    font-family: 'Source Code Pro', monospace;
    font-size: 0.75rem;
    color: var(--muted-lavender);
}

.benchmark-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
}

.benchmark-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--plasma-teal), var(--mint-teal));
    border-radius: 2px;
    transition: width 1s ease-out;
}

.benchmark-value {
    font-family: 'Source Code Pro', monospace;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--ghost-white);
    text-align: right;
}

/* Footer */
#site-footer {
    position: relative;
    z-index: 1;
    padding: 0 2rem 4rem;
    text-align: center;
}

.glass-footer {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
}

.footer-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--ghost-white);
}

.footer-muted {
    color: var(--muted-lavender);
}

.footer-divider {
    color: rgba(255, 255, 255, 0.15);
}

/* Responsive */
@media (max-width: 768px) {
    #content-grid {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }

    .glass-hero {
        padding: 2rem;
    }

    .benchmark-item {
        grid-template-columns: 80px 1fr 40px;
    }
}
