/* Mondeum Coming Soon - Theme Styles */

:root {
    --bg-primary: #0A0E17;
    --bg-secondary: #111827;
    --bg-card: rgba(255, 255, 255, 0.03);
    --accent: #00E6A0;
    --accent-dim: rgba(0, 230, 160, 0.15);
    --accent-glow: rgba(0, 230, 160, 0.4);
    --text-primary: #F1F5F9;
    --text-secondary: #94A3B8;
    --text-muted: #475569;
    --border: rgba(255, 255, 255, 0.06);
    --font-display: 'Instrument Serif', Georgia, serif;
    --font-body: 'DM Sans', sans-serif;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ── Ambient Background ── */
.bg-mesh {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.bg-mesh::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -20%;
    width: 70%;
    height: 70%;
    background: radial-gradient(ellipse, rgba(0, 230, 160, 0.06) 0%, transparent 70%);
    animation: drift1 20s ease-in-out infinite;
}

.bg-mesh::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(56, 96, 255, 0.05) 0%, transparent 70%);
    animation: drift2 25s ease-in-out infinite;
}

@keyframes drift1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(10%, 8%) scale(1.1); }
}

@keyframes drift2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-8%, -6%) scale(1.15); }
}

.grid-overlay {
    position: fixed;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.noise {
    position: fixed;
    inset: 0;
    z-index: 1;
    opacity: 0.35;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

.page-wrapper {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ── Header / Nav ── */
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2.5rem;
    position: relative;
    z-index: 10;
    animation: fadeDown 0.8s ease-out;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 34px;
    width: auto;
    display: block;
}

.nav-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse-dot 2s ease-in-out infinite;
    box-shadow: 0 0 8px var(--accent-glow);
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ── Hero ── */
.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 2rem 4rem;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    font-size: 0.78rem;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    animation: fadeUp 0.8s ease-out 0.2s both;
}

.tag-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
}

.hero h1 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    animation: fadeUp 0.8s ease-out 0.35s both;
}

.hero h1 em {
    font-style: italic;
    color: var(--accent);
    position: relative;
}

.hero h1 em::after {
    content: '';
    position: absolute;
    bottom: 0.08em;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    opacity: 0.3;
    border-radius: 2px;
}

.hero p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 540px;
    margin-bottom: 2.5rem;
    font-weight: 300;
    animation: fadeUp 0.8s ease-out 0.5s both;
}

/* ── Email Form ── */
.email-form {
    display: flex;
    gap: 0;
    width: 100%;
    max-width: 480px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    transition: border-color 0.3s, box-shadow 0.3s;
    animation: fadeUp 0.8s ease-out 0.65s both;
}

.email-form:focus-within {
    border-color: rgba(0, 230, 160, 0.3);
    box-shadow: 0 0 30px rgba(0, 230, 160, 0.08);
}

.email-form input[type="email"] {
    flex: 1;
    padding: 1rem 1.25rem;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
}

.email-form input[type="email"]::placeholder {
    color: var(--text-muted);
}

.email-form button {
    padding: 1rem 1.75rem;
    border: none;
    background: var(--accent);
    color: var(--bg-primary);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
}

.email-form button:hover {
    background: #00ffb2;
}

.email-form button:active {
    transform: scale(0.97);
}

.form-note {
    font-size: 0.76rem;
    color: var(--text-muted);
    margin-top: 0.8rem;
    animation: fadeUp 0.8s ease-out 0.8s both;
}

/* ── Success state ── */
.success-msg {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--accent);
    font-size: 0.92rem;
    font-weight: 500;
    animation: fadeUp 0.4s ease-out;
}

.success-msg.show {
    display: flex;
}

.success-msg svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 2;
}

.error-msg {
    display: none;
    color: #f87171;
    font-size: 0.82rem;
    margin-top: 0.5rem;
}

.error-msg.show {
    display: block;
}

/* ── Features Strip ── */
.features-strip {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    padding: 2.5rem 2rem;
    border-top: 1px solid var(--border);
    margin-top: auto;
    flex-wrap: wrap;
    animation: fadeUp 0.8s ease-out 1s both;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.feature-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 16px;
    height: 16px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ── Footer ── */
.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 2.5rem;
    border-top: 1px solid var(--border);
    font-size: 0.75rem;
    color: var(--text-muted);
    animation: fadeUp 0.8s ease-out 1.2s both;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--text-muted);
    transition: color 0.2s;
    display: flex;
    align-items: center;
}

.social-links a:hover {
    color: var(--accent);
}

.social-links svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

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

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .nav {
        padding: 1.2rem 1.5rem;
    }

    .logo img {
        height: 26px;
    }

    .hero {
        padding: 1.5rem 1.5rem 3rem;
    }

    .hero h1 {
        font-size: clamp(2.2rem, 8vw, 3.5rem);
    }

    .hero p {
        font-size: 1rem;
    }

    .email-form {
        flex-direction: column;
        border-radius: 12px;
    }

    .email-form input[type="email"] {
        padding: 1rem 1.15rem;
        text-align: center;
    }

    .email-form button {
        padding: 0.9rem 1.5rem;
        border-radius: 0;
    }

    .features-strip {
        gap: 1.5rem;
        padding: 2rem 1.5rem;
    }

    .feature-item span {
        display: none;
    }

    .site-footer {
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 0.75rem;
    }
}

@media (max-width: 420px) {
    .nav-status span {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
    }
}
