/* ============================================
   eyes.plus - Glassmorphism Frosted
   ============================================ */

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

body {
    background: radial-gradient(ellipse at center, #E8F0FE, #F5F0FF);
    color: #1A1A2E;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: clamp(0.9rem, 1.1vw, 1.05rem);
    line-height: 1.8;
    overflow-x: hidden;
    min-height: 100vh;
}

/* --- BOKEH --- */
.bokeh-layer {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bokeh-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
}

/* --- HERO --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 1;
    padding: 2rem;
}

.hero-glow {
    position: absolute;
    width: 60vmin;
    height: 60vmin;
    border-radius: 50%;
    background: rgba(108,99,255,0.06);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: glow-pulse 2s ease-in-out 1;
    z-index: 0;
}

@keyframes glow-pulse {
    0% { transform: translate(-50%, -50%) scale(0.8); }
    50% { transform: translate(-50%, -50%) scale(1.0); }
    100% { transform: translate(-50%, -50%) scale(0.95); }
}

.hero-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.hero-eyes {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: clamp(3rem, 8vw, 7rem);
    letter-spacing: 0.05em;
    color: #1A1A2E;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-eyes.revealed { opacity: 1; }

.hero-lens {
    display: inline-block;
    width: 80px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(108,99,255,0.08), transparent);
    box-shadow: 0 0 60px rgba(108,99,255,0.15);
    transform: scale(0.3);
    transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.hero-lens.scaled { transform: scale(1); }

.hero-plus {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: clamp(3rem, 8vw, 7rem);
    letter-spacing: 0.05em;
    color: #6C63FF;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-plus.revealed { opacity: 1; }

.hero-tagline {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1rem;
    color: #6B7280;
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.8s ease 1s;
}

.hero-tagline.revealed { opacity: 1; }

/* --- GLASS CARDS --- */
.cards-section {
    padding: 4rem 2rem;
    position: relative;
    z-index: 1;
}

.cards-row {
    display: flex;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    justify-content: center;
}

.glass-card {
    flex: 1;
    max-width: 32%;
    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 24px;
    padding: 32px 24px;
    box-shadow: 0 8px 32px rgba(108,99,255,0.08), inset 0 1px 0 rgba(255,255,255,0.5);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease;
}

.glass-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(108,99,255,0.12), inset 0 1px 0 rgba(255,255,255,0.5);
}

.card-icon {
    margin-bottom: 1rem;
}

.card-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    letter-spacing: 0.02em;
    color: #1A1A2E;
    margin-bottom: 0.75rem;
}

.card-desc {
    color: #6B7280;
    font-size: 0.95rem;
}

/* --- PRISM --- */
.prism-section {
    padding: 4rem 2rem;
    background: #FAFBFF;
    text-align: center;
    position: relative;
    z-index: 1;
}

.prism-svg {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

.beam-in {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    transition: stroke-dashoffset 0.4s ease-out;
}

.beam-in.drawn { stroke-dashoffset: 0; }

.spectrum-line {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    transition: stroke-dashoffset 0.6s ease-out;
}

.spectrum-line.drawn { stroke-dashoffset: 0; }

/* --- ACUITY TEST --- */
.acuity-section {
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.acuity-line {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #1A1A2E;
    margin-bottom: 1rem;
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.acuity-line.visible {
    opacity: 1;
    transform: scale(1);
}

.size-1 { font-size: 5rem; }
.size-2 { font-size: 3.5rem; opacity: 0.85; }
.size-3 { font-size: 2.2rem; opacity: 0.65; }
.size-4 { font-size: 1.3rem; opacity: 0.45; }
.size-5 { font-size: 0.8rem; opacity: 0.3; }

.acuity-line.visible.size-2 { opacity: 0.85; }
.acuity-line.visible.size-3 { opacity: 0.65; }
.acuity-line.visible.size-4 { opacity: 0.45; }
.acuity-line.visible.size-5 { opacity: 0.3; }

/* --- FOOTER --- */
.glass-footer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 2rem;
    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255,255,255,0.8);
}

.footer-brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    color: #6B7280;
    letter-spacing: 0.05em;
}

.footer-lens-icon svg {
    animation: lens-spin 8s linear infinite;
}

@keyframes lens-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .cards-row {
        flex-direction: column;
        align-items: center;
    }

    .glass-card {
        max-width: 100%;
    }

    .size-1 { font-size: 3rem; }
    .size-2 { font-size: 2rem; }
}
