/* ============================================
   simulai.xyz - Holographic Depth Garden
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    font-weight: 400;
    color: #3A2A5A;
    background-color: #F8F5FF;
    overflow-x: hidden;
    perspective: 1px;
    transform-style: preserve-3d;
    min-height: 100vh;
}

/* --- Background Layer --- */
.depth-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    filter: blur(2px);
}

.gen-art {
    position: absolute;
    width: 100%;
    height: 100%;
}

.gen-art-1 {
    background:
        conic-gradient(from 45deg at 30% 40%, #C8B8E8 0deg, #F0D8C8 90deg, #C8E8D8 180deg, #E0D8F0 270deg, #C8B8E8 360deg),
        conic-gradient(from 180deg at 70% 60%, #F0D8C8 0deg, #C8E8D8 120deg, #C8B8E8 240deg, #F0D8C8 360deg);
    background-blend-mode: soft-light;
    opacity: 0.4;
}

.gen-art-2 {
    background:
        conic-gradient(from 120deg at 50% 50%, #C8E8D8 0deg, #C8B8E8 90deg, #F8F5FF 180deg, #F0D8C8 270deg, #C8E8D8 360deg);
    background-blend-mode: soft-light;
    opacity: 0.3;
}

/* --- Midground Layer --- */
.depth-mid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    filter: blur(0.5px);
    overflow: hidden;
}

.depth-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, #C8B8E8, #F0D8C8, #C8E8D8, #C8B8E8);
    background-size: 200% 200%;
    animation: shimmer 8s ease infinite;
}

@keyframes shimmer {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

@keyframes floatShape {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(3deg); }
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 5%;
    opacity: 0.15;
    animation: shimmer 8s ease infinite, floatShape 12s ease-in-out infinite;
}

.shape-2 {
    width: 120px;
    height: 120px;
    border-radius: 30%;
    top: 30%;
    right: 10%;
    opacity: 0.2;
    animation: shimmer 10s ease infinite 1s, floatShape 15s ease-in-out infinite 2s;
}

.shape-3 {
    width: 160px;
    height: 160px;
    top: 55%;
    left: 15%;
    opacity: 0.12;
    animation: shimmer 7s ease infinite 2s, floatShape 10s ease-in-out infinite 1s;
}

.shape-4 {
    width: 80px;
    height: 80px;
    border-radius: 40%;
    top: 70%;
    right: 20%;
    opacity: 0.25;
    animation: shimmer 9s ease infinite 3s, floatShape 14s ease-in-out infinite;
}

.shape-5 {
    width: 140px;
    height: 140px;
    top: 85%;
    left: 50%;
    opacity: 0.1;
    animation: shimmer 11s ease infinite, floatShape 16s ease-in-out infinite 3s;
}

.shape-6 {
    width: 100px;
    height: 100px;
    border-radius: 35%;
    top: 15%;
    right: 30%;
    opacity: 0.18;
    animation: shimmer 6s ease infinite 1s, floatShape 13s ease-in-out infinite 2s;
}

/* --- Foreground Layer --- */
.depth-fg {
    position: relative;
    z-index: 2;
}

/* --- Sections --- */
.section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 2rem;
}

/* --- Frosted-Glass Card --- */
.frosted-card {
    max-width: 600px;
    width: 100%;
    padding: 3rem;
    background: rgba(248, 245, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(200, 184, 232, 0.3);
}

/* --- Holographic Border --- */
.holographic-border {
    border: 2px solid transparent;
    background-image:
        linear-gradient(rgba(248, 245, 255, 0.7), rgba(248, 245, 255, 0.7)),
        linear-gradient(135deg, #C8B8E8, #F0D8C8, #C8E8D8, #C8B8E8);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    background-size: 100% 100%, 200% 200%;
    animation: borderShimmer 6s ease infinite;
}

@keyframes borderShimmer {
    0% { background-position: 0 0, 0% 0%; }
    50% { background-position: 0 0, 100% 100%; }
    100% { background-position: 0 0, 0% 0%; }
}

/* --- Elastic Hover --- */
.elastic-hover {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: default;
}

.elastic-hover:hover {
    transform: scale(1.02);
}

/* --- Hero --- */
.hero-section {
    text-align: center;
}

.hero-title {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(4rem, 10vw, 7rem);
    font-weight: 700;
    color: #3A2A5A;
    line-height: 1;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #C8B8E8;
    margin-top: 0.75rem;
    font-weight: 400;
}

/* --- Section Content --- */
.section-heading {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(2.2rem, 5vw, 4.8rem);
    font-weight: 700;
    color: #3A2A5A;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.section-text {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    color: #3A2A5A;
    margin-bottom: 1rem;
}

/* --- Holographic Text --- */
.holographic-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.5;
    background: linear-gradient(135deg, #C8B8E8, #F0D8C8, #C8E8D8, #C8B8E8);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 6s ease infinite;
}

/* --- Closing --- */
.closing-section {
    text-align: center;
}

.closing-title {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    color: #3A2A5A;
}

.closing-text {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #E0D8F0;
    margin-top: 0.5rem;
}

/* --- Reveal --- */
.reveal-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-section.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .frosted-card {
        padding: 2rem;
        margin: 0 1rem;
    }

    .section {
        padding: 3rem 1rem;
    }

    .depth-shape {
        opacity: 0.08;
    }
}
