/*@import url('https://fonts.googleapis.com/css2?family=Noto+Color+Emoji&display=swap');*/

/* =========================================================
   Variables
   ========================================================= */

:root {
    --landing-primary: #00897b;
    --landing-primary-dark: #00695c;
    --landing-primary-soft: #e0f2f1;
    --landing-primary-softer: #f1fbfa;
    --landing-card: rgba(255, 255, 255, 0.96);
    --landing-text: #2c3e50;
    --landing-muted: #607d8b;
    --landing-border: #cfd8dc;
    --landing-shadow: 0 14px 35px rgba(0, 0, 0, 0.10);
    --landing-shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.15);
    --landing-radius: 16px;
}

/* =========================================================
   Landing Page Container
   ========================================================= */

.landing-page {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.25rem 3rem;
    color: var(--landing-text);
}

/* =========================================================
   Section Eyebrow (reusable)
   ========================================================= */

.section-eyebrow {
    display: inline-block;
    margin-bottom: 0.4rem;
    color: var(--landing-primary);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.section-eyebrow.centered {
    text-align: center;
    width: 100%;
}

/* =========================================================
   HERO / BANNER SECTION
   ========================================================= */

.hero-section {
    margin: 0 -1.25rem 2.5rem;
    border-radius: 0 0 var(--landing-radius) var(--landing-radius);
    overflow: hidden;
}

.hero-banner {
    position: relative;
    min-height: 420px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 2.5rem 3rem;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.25) 70%, rgba(0, 0, 0, 0.05) 100%);
}

.hero-content {
    max-width: 720px;
    color: #ffffff;
}

.hero-badge {
    display: inline-block;
    padding: 0.25rem 0.9rem;
    margin-bottom: 0.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-content h1 {
    margin: 0 0 0.35rem;
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.12;
    color: #ffffff;
}

.hero-subtitle {
    margin: 0 0 0.6rem;
    font-size: clamp(1.1rem, 1.8vw, 1.4rem);
    font-weight: 500;
    opacity: 0.92;
}

.hero-description {
    max-width: 580px;
    margin: 0 0 1.5rem;
    font-size: 0.98rem;
    line-height: 1.65;
    opacity: 0.85;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.hero-btn-primary,
.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.6rem 1.8rem;
    border-radius: 9px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.hero-btn-primary {
    color: var(--landing-text);
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.hero-btn-secondary {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* =========================================================
   STATS SECTION
   ========================================================= */

.stats-section {
    padding: 2.5rem 0 1.5rem;
    margin-bottom: 1.5rem;
}

.stats-container {
    background: var(--landing-card);
    border: 1px solid var(--landing-border);
    border-radius: var(--landing-radius);
    box-shadow: var(--landing-shadow);
    padding: 2rem 2rem 1.5rem;
}

.stats-heading {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--landing-primary-dark);
    margin: 0 0 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.2rem;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 0.5rem;
    border-radius: 11px;
    background: var(--landing-primary-softer);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--landing-shadow-hover);
}

.stat-card-last-update {
    background: linear-gradient(135deg, var(--landing-primary-softer), #e8f5e9);
}

.stat-number {
    display: block;
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 800;
    color: var(--landing-primary-dark);
    line-height: 1.2;
}

.stat-number.loading {
    opacity: 0.4;
    animation: statPulse 1.2s ease-in-out infinite alternate;
}

@keyframes statPulse {
    from { opacity: 0.3; }
    to { opacity: 0.7; }
}

.stat-label {
    margin-top: 0.25rem;
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--landing-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Date display - cleaner & more beautiful */
.stat-date {
    display: block;
    font-size: clamp(1rem, 1.6vw, 1.3rem);
    font-weight: 700;
    color: var(--landing-primary-dark);
    line-height: 1.3;
    letter-spacing: 0.02em;
}

.stat-date.loading {
    opacity: 0.4;
    animation: statPulse 1.2s ease-in-out infinite alternate;
}

.stat-date .date-day {
    font-weight: 800;
    color: var(--landing-primary);
}

.stat-date .date-month-year {
    font-weight: 600;
    color: var(--landing-muted);
    font-size: 0.85em;
}

.stat-date .date-time {
    display: none;
}

.stats-note {
    text-align: center;
    margin: 1.2rem 0 0;
    font-size: 0.72rem;
    color: var(--landing-muted);
    opacity: 0.7;
}

/* =========================================================
   ABOUT PREVIEW SECTION
   ========================================================= */

.about-preview-section {
    padding: 2rem 0 2.5rem;
}

.about-preview-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: var(--landing-card);
    border: 1px solid var(--landing-border);
    border-radius: var(--landing-radius);
    box-shadow: var(--landing-shadow);
    overflow: hidden;
}

.about-preview-content {
    padding: 2.2rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-preview-content .section-eyebrow {
    margin-bottom: 0.2rem;
}

.about-preview-content h2 {
    margin: 0 0 0.6rem;
    font-size: clamp(1.5rem, 2.5vw, 1.9rem);
    font-weight: 800;
    color: var(--landing-primary-dark);
}

.about-preview-content p {
    margin: 0 0 0.8rem;
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--landing-text);
}

.about-preview-content p:last-of-type {
    margin-bottom: 1.2rem;
}

.about-preview-content strong {
    color: var(--landing-primary-dark);
}

.about-preview-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--landing-primary);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
}

.about-preview-link:hover {
    gap: 0.7rem;
    color: var(--landing-primary-dark);
}

.about-preview-image {
    position: relative;
    min-height: 280px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.about-preview-image-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, transparent 70%);
}

.about-preview-image-label {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* =========================================================
   SEARCH FEATURES SECTION
   ========================================================= */

.search-features-section {
    padding: 2rem 0 2.5rem;
}

.search-features-container {
    text-align: center;
}

.search-features-container h2 {
    margin: 0 0 0.4rem;
    font-size: clamp(1.6rem, 2.8vw, 2.1rem);
    font-weight: 800;
    color: var(--landing-primary-dark);
}

.search-features-subtitle {
    max-width: 640px;
    margin: 0 auto 2rem;
    font-size: 0.96rem;
    line-height: 1.6;
    color: var(--landing-muted);
}

.search-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.search-feature-card {
    padding: 1.5rem 1.2rem 1.2rem;
    border: 1px solid var(--landing-border);
    border-radius: 12px;
    background: var(--landing-card);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.search-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--landing-shadow-hover);
}

.feature-icon {
    display: inline-block;
    font-size: 1.8rem;
    margin-bottom: 0.4rem;
    font-family: "Noto Color Emoji", "Segoe UI Emoji", sans-serif;
}

.search-feature-card h3 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--landing-primary-dark);
}

.search-feature-card p {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--landing-muted);
}

.search-features-cta {
    margin-top: 1rem;
}

.features-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 46px;
    padding: 0.6rem 2rem;
    border-radius: 9px;
    color: #ffffff;
    background: var(--landing-primary);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.features-cta-btn:hover {
    background: var(--landing-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 137, 123, 0.35);
}

/* =========================================================
   CTA BANNER SECTION
   ========================================================= */

.cta-banner-section {
    margin: 1.5rem -1.25rem 0;
    border-radius: var(--landing-radius) var(--landing-radius) 0 0;
    overflow: hidden;
}

.cta-banner {
    position: relative;
    min-height: 220px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.35) 100%);
}

.cta-content {
    text-align: center;
    color: #ffffff;
    max-width: 700px;
}

.cta-content h2 {
    margin: 0 0 0.3rem;
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 800;
}

.cta-content p {
    margin: 0 0 1.2rem;
    font-size: 0.96rem;
    line-height: 1.6;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
}

.cta-actions .hidden {
    display: none !important;
}

.cta-btn-primary,
.cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.5rem 1.8rem;
    border-radius: 9px;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta-btn-primary {
    color: var(--landing-text);
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.cta-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.cta-btn-secondary {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .stat-card-last-update {
        grid-column: span 1;
    }
}

@media (max-width: 900px) {
    .about-preview-container {
        grid-template-columns: 1fr;
    }

    .about-preview-image {
        min-height: 200px;
        order: -1;
    }

    .about-preview-content {
        padding: 1.8rem 1.5rem;
    }

    .search-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .landing-page {
        padding: 0 0.75rem 2rem;
    }

    .hero-section {
        margin: 0 -0.75rem 2rem;
        border-radius: 0;
    }

    .hero-banner {
        min-height: 320px;
    }

    .hero-overlay {
        padding: 1.8rem 1.5rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 0.88rem;
    }

    .hero-btn-primary,
    .hero-btn-secondary {
        min-height: 42px;
        padding: 0.5rem 1.4rem;
        font-size: 0.85rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-card-last-update {
        grid-column: span 2;
    }

    .stats-container {
        padding: 1.5rem 1rem 1rem;
    }

    .cta-banner-section {
        margin: 1.5rem -0.75rem 0;
    }

    .cta-banner {
        min-height: 180px;
    }

    .cta-overlay {
        padding: 1.5rem 1.2rem;
    }

    .cta-content h2 {
        font-size: 1.3rem;
    }

    .cta-actions {
        gap: 0.6rem;
    }

    .cta-btn-primary,
    .cta-btn-secondary {
        min-height: 40px;
        padding: 0.4rem 1.2rem;
        font-size: 0.82rem;
    }
}

@media (max-width: 540px) {
    .search-features-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions a {
        justify-content: center;
    }

    .hero-banner {
        min-height: 280px;
    }

    .hero-overlay {
        padding: 1.2rem 1rem;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
    }

    .stat-card-last-update {
        grid-column: span 2;
    }

    .stat-number {
        font-size: 1.4rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-btn-primary,
    .cta-btn-secondary {
        width: 100%;
        max-width: 280px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
