/* Landing page styles - uses --wl-* CSS variables from theme.css.php */

/* ── Fixed Login Button ──────────────────────── */
.site-login-btn {
    position: fixed;
    top: 12px;
    right: 12px;
    left: auto;
    z-index: 999;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--wl-primary);
    color: #FFF;
    text-decoration: none;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    -webkit-tap-highlight-color: transparent;
}
.site-login-btn svg { flex-shrink: 0; }

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

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--wl-dark);
    background: var(--wl-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ── Hero ────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(255,214,0,.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(212,43,43,.08) 0%, transparent 50%),
        var(--wl-white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D42B2B' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: .5;
    pointer-events: none;
}

.hero__logo {
    width: 160px;
    height: 160px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    animation: fadeUp .8s ease both;
    filter: drop-shadow(0 4px 20px rgba(212,43,43,.15));
}

.hero__title {
    font-family: 'Quicksand', sans-serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    color: var(--wl-dark);
    letter-spacing: -.02em;
    animation: fadeUp .8s ease .15s both;
}

.hero__title span { color: var(--wl-primary); }

.hero__tagline {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--wl-gray);
    max-width: 520px;
    margin: .75rem auto 0;
    animation: fadeUp .8s ease .3s both;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: 1.5rem;
    padding: .5rem 1.25rem;
    background: var(--wl-secondary-light);
    border: 1px solid var(--wl-secondary);
    border-radius: 100px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--wl-dark);
    animation: fadeUp .8s ease .45s both;
}

.hero__badge::before { content: '\2B50'; }

/* ── CTA ─────────────────────────────────────── */
.cta-group {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeUp .8s ease .6s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .85rem 2rem;
    border-radius: 100px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
    cursor: pointer;
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.btn--primary { background: var(--wl-primary); color: var(--wl-white); }
.btn--secondary { background: var(--wl-white); color: var(--wl-dark); border: 2px solid #E0E0E0; }
.btn--outline { background: transparent; color: var(--wl-white); border: 2px solid var(--wl-white); }
.btn--outline:hover { background: var(--wl-white); color: var(--wl-primary); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ── Features ────────────────────────────────── */
.features { padding: 5rem 2rem; background: var(--wl-light); }

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    max-width: 960px;
    margin: 0 auto;
}

.feature {
    background: var(--wl-white);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 1px solid #F0F0F0;
    transition: transform .25s, box-shadow .25s;
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,.06);
}

.feature__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    background: var(--wl-secondary-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.feature__title {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: .5rem;
}

.feature__text { font-size: .9rem; color: var(--wl-gray); }

/* ── About ───────────────────────────────────── */
.about {
    padding: 5rem 2rem;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.about__title {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.about__text { color: var(--wl-gray); font-size: 1.05rem; margin-bottom: 1rem; }

/* ── Contact ─────────────────────────────────── */
.contact {
    padding: 4rem 2rem;
    background: var(--wl-dark);
    color: var(--wl-white);
    text-align: center;
}

.contact__title {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: .5rem;
}

.contact__address {
    color: rgba(255,255,255,.65);
    font-size: .95rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.contact__links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact__link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .65rem 1.5rem;
    border-radius: 100px;
    background: rgba(255,255,255,.1);
    color: var(--wl-white);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 500;
    transition: background .2s;
}

.contact__link:hover { background: rgba(255,255,255,.2); }
.contact__link svg { width: 18px; height: 18px; }

/* ── Footer ──────────────────────────────────── */
.footer {
    padding: 1.5rem 2rem;
    background: #111;
    text-align: center;
    font-size: .8rem;
    color: rgba(255,255,255,.4);
}

.footer__brand { color: var(--wl-secondary); }

.footer__login {
    color: rgba(255,255,255,.5);
    text-decoration: none;
    font-size: .8rem;
}

.footer__login:hover { color: rgba(255,255,255,.7); }

/* ── Animations ──────────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 480px) {
    .hero__logo { width: 120px; height: 120px; }
    .cta-group { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 280px; justify-content: center; }
}
