/* ============================================
   eyes.plus -- Frutiger Aero Glossy Tech
   Colors: #43a047, #e8f5e9, #0288d1, #01579b, #263238, #e0f7fa
   Fonts: Nunito, Nunito Sans, Lora
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.7;
    color: #263238;
    background: linear-gradient(180deg, #e0f7fa, #e8f5e9);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* --- Bubble Decorations --- */
.bubbles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    animation: bubbleFloat 12s ease-in-out infinite;
}

.bubble:nth-child(2) { animation-delay: -2s; animation-duration: 15s; }
.bubble:nth-child(3) { animation-delay: -4s; animation-duration: 18s; }
.bubble:nth-child(4) { animation-delay: -6s; animation-duration: 14s; }
.bubble:nth-child(5) { animation-delay: -8s; animation-duration: 16s; }
.bubble:nth-child(6) { animation-delay: -3s; animation-duration: 20s; }
.bubble:nth-child(7) { animation-delay: -5s; animation-duration: 13s; }
.bubble:nth-child(8) { animation-delay: -7s; animation-duration: 17s; }

@keyframes bubbleFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.5; }
    50% { transform: translateY(-30px) scale(1.05); opacity: 0.8; }
}

/* --- Water Droplets --- */
.water-droplets {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.droplet {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.8), rgba(2, 136, 209, 0.3) 60%, rgba(2, 136, 209, 0.1));
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), inset 0 -1px 2px rgba(255, 255, 255, 0.5);
    animation: dropletShimmer 4s ease-in-out infinite;
}

.droplet:nth-child(2) { animation-delay: -1s; }
.droplet:nth-child(3) { animation-delay: -2s; }
.droplet:nth-child(4) { animation-delay: -0.5s; }
.droplet:nth-child(5) { animation-delay: -3s; }
.droplet:nth-child(6) { animation-delay: -1.5s; }

@keyframes dropletShimmer {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.15); }
}

/* --- Sections Base --- */
section {
    position: relative;
    z-index: 1;
    padding: 4rem 2rem;
    max-width: 1100px;
    margin: 0 auto 2rem auto;
}

/* --- Section Curve Divider --- */
.section-curve {
    position: absolute;
    top: -30px;
    left: 0;
    width: 100%;
    height: 60px;
    background: inherit;
    clip-path: ellipse(70% 60px at 50% 0);
    z-index: -1;
}

/* --- Glassmorphism Panel --- */
.glass-panel,
.hero-section,
.feature-card,
.about-panel,
.testimonial-content {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* ==============================
   HERO SECTION
   ============================== */
.hero-section {
    margin-top: 3rem;
    padding: 5rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(2, 136, 209, 0.15), rgba(67, 160, 71, 0.12)), rgba(255, 255, 255, 0.7);
    overflow: hidden;
}

.lens-flare {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.4), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* --- Glossy Eye Icon --- */
.eye-icon {
    display: inline-block;
    margin-bottom: 2rem;
    position: relative;
    filter: drop-shadow(0 4px 16px rgba(2, 136, 209, 0.2));
}

.eye-outer {
    width: 120px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e0f7fa, #ffffff);
    border: 2.5px solid #0288d1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(2, 136, 209, 0.2);
}

.eye-outer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent);
    border-radius: 50% 50% 0 0;
    pointer-events: none;
}

.iris {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: radial-gradient(circle, #0288d1, #01579b);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 12px rgba(2, 136, 209, 0.4);
}

.iris::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    top: 25%;
    right: 30%;
    transform: rotate(-30deg);
}

.pupil {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #263238;
    box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.5);
}

.hero-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: #263238;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    color: #263238;
    opacity: 0.8;
    max-width: 500px;
    margin: 0 auto;
}

/* ==============================
   FEATURES SECTION
   ============================== */
.features-section {
    padding-top: 5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}

.feature-card {
    padding: 2.5rem 2rem;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Z-pattern offset */
.card-left {
    transform: translateY(0);
}

.card-center {
    transform: translateY(2rem);
}

.card-right {
    transform: translateY(0);
}

.card-center:hover {
    transform: translateY(calc(2rem - 6px));
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(2, 136, 209, 0.1);
    margin-bottom: 1.5rem;
}

.feature-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: #263238;
    margin-bottom: 0.75rem;
}

.feature-description {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 400;
    font-size: 0.85rem;
    color: #263238;
    opacity: 0.75;
    line-height: 1.6;
}

/* ==============================
   ABOUT SECTION
   ============================== */
.about-section {
    padding-top: 5rem;
}

.about-panel {
    padding: 3.5rem 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.section-heading {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    color: #263238;
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-text {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.7;
    color: #263238;
    margin-bottom: 1.25rem;
    text-align: center;
}

.about-text:last-child {
    margin-bottom: 0;
}

/* ==============================
   TESTIMONIAL SECTION
   ============================== */
.testimonial-section {
    padding-top: 5rem;
    text-align: center;
}

.testimonial-flare {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 40%, rgba(2, 136, 209, 0.15), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.testimonial-content {
    position: relative;
    z-index: 1;
    padding: 3.5rem 3rem;
    max-width: 750px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.75), rgba(224, 247, 250, 0.5)), rgba(255, 255, 255, 0.7);
}

.quote-mark {
    font-family: 'Lora', serif;
    font-size: 5rem;
    line-height: 1;
    color: #0288d1;
    opacity: 0.25;
    display: block;
    margin-bottom: -1.5rem;
}

.testimonial-quote {
    font-family: 'Lora', serif;
    font-weight: 400;
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #263238;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 400;
    font-size: 0.85rem;
    color: #263238;
    opacity: 0.6;
    font-style: normal;
}

/* ==============================
   FOOTER
   ============================== */
.site-footer {
    position: relative;
    z-index: 1;
    padding: 3rem 2rem 2rem;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto 2rem auto;
}

.footer-content {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.footer-brand {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #0288d1;
    margin-bottom: 0.25rem;
}

.footer-tagline {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 400;
    font-size: 0.85rem;
    color: #263238;
    opacity: 0.6;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-link {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 400;
    font-size: 0.85rem;
    color: #0288d1;
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
    opacity: 0.8;
}

.footer-link:hover {
    color: #01579b;
    opacity: 1;
}

.footer-copy {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 400;
    font-size: 0.75rem;
    color: #263238;
    opacity: 0.4;
}

/* ==============================
   ANIMATIONS -- Scroll Reveal
   ============================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.card-center.reveal.visible {
    transform: translateY(2rem);
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .card-left,
    .card-center,
    .card-right {
        transform: translateY(0);
    }

    .card-center:hover {
        transform: translateY(-6px);
    }

    .card-center.reveal.visible {
        transform: translateY(0);
    }

    section {
        padding: 3rem 1.25rem;
        margin-bottom: 1.5rem;
    }

    .hero-section {
        margin-top: 1.5rem;
        padding: 3.5rem 1.5rem 3rem;
    }

    .about-panel {
        padding: 2.5rem 2rem;
    }

    .testimonial-content {
        padding: 2.5rem 2rem;
    }

    .glass-panel,
    .hero-section,
    .feature-card,
    .about-panel,
    .testimonial-content,
    .footer-content {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
}

@media (max-width: 640px) {
    .bubbles,
    .water-droplets {
        display: none;
    }
}
