/* WiFi Voucher — public landing page */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #030712;
    color: #e2e8f0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.landing-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 70% 55% at 50% -5%, rgba(245, 158, 11, 0.28), transparent 65%),
        radial-gradient(ellipse 50% 45% at 0% 100%, rgba(99, 102, 241, 0.18), transparent 60%),
        radial-gradient(ellipse 45% 40% at 100% 80%, rgba(249, 115, 22, 0.12), transparent 55%),
        linear-gradient(160deg, #020617 0%, #0f172a 45%, #1e1b4b 100%);
}

.landing-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 75%);
}

.landing-page {
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

.landing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 960px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
}

.landing-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.landing-brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(249, 115, 22, 0.15));
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #fbbf24;
}

.landing-brand-icon svg {
    width: 1.35rem;
    height: 1.35rem;
}

.landing-brand-text strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #f8fafc;
}

.landing-brand-text span {
    font-size: 0.75rem;
    color: #94a3b8;
}

.landing-admin-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    transition: background 0.2s, border-color 0.2s;
}

.landing-admin-link:hover {
    background: rgba(245, 158, 11, 0.18);
    border-color: rgba(245, 158, 11, 0.5);
}

.landing-hero {
    max-width: 960px;
    margin: 0 auto;
    padding: 2rem 1.5rem 3rem;
    text-align: center;
}

.landing-badge {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    margin-bottom: 1.25rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.landing-hero h1 {
    margin: 0 0 1rem;
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    color: #f8fafc;
}

.landing-hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, #fbbf24, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-hero p {
    max-width: 36rem;
    margin: 0 auto 2rem;
    font-size: 1.05rem;
    color: #94a3b8;
}

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

.landing-feature {
    padding: 1.25rem;
    border-radius: 1rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.12);
    backdrop-filter: blur(8px);
    text-align: left;
}

.landing-feature h2 {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #f1f5f9;
}

.landing-feature p {
    margin: 0;
    font-size: 0.875rem;
    color: #94a3b8;
}

.landing-contact {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
}

.landing-contact-card {
    padding: 1.5rem;
    border-radius: 1rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.12);
    text-align: center;
}

.landing-contact-card h2 {
    margin: 0 0 0.75rem;
    font-size: 1.1rem;
    color: #f1f5f9;
}

.landing-contact-card p {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    color: #94a3b8;
}

.landing-contact-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.landing-contact-links a {
    font-size: 0.875rem;
    color: #fbbf24;
    text-decoration: none;
}

.landing-contact-links a:hover {
    text-decoration: underline;
}

.landing-footer {
    max-width: 960px;
    margin: 0 auto;
    padding: 1.5rem;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: #64748b;
}

.landing-footer a {
    color: #94a3b8;
    text-decoration: none;
}

.landing-footer a:hover {
    color: #fbbf24;
}

@media (max-width: 480px) {
    .landing-header {
        flex-direction: column;
        align-items: flex-start;
    }
}
