/* ===========================================================
   Hardline Project — coming soon landing page
   Light theme. Color accents derived from the Embedded
   Engineering brand: lime green -> green -> teal -> blue.
   Animations run once, on page load only.
   =========================================================== */

:root {
    --bg:        #f4f7fa;   /* soft light base               */
    --panel:     #ffffff;   /* card / panel surface          */
    --text:      #1b2630;   /* primary dark text             */
    --text-dim:  #5d6b78;   /* muted secondary text          */

    --lime:  #a5cd39;
    --green: #2bb673;
    --teal:  #00a99d;
    --blue:  #27aae1;

    --brand-gradient: linear-gradient(
        100deg,
        var(--lime) 0%,
        var(--green) 35%,
        var(--teal) 65%,
        var(--blue) 100%
    );
}

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

html, body {
    height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    color: var(--text);
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
    text-align: center;
    overflow: hidden;
    position: relative;
}

/* ---------- soft static background glow ---------- */
.bg-glow {
    position: fixed;
    inset: -30%;
    z-index: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(43, 182, 115, 0.12), transparent 45%),
        radial-gradient(circle at 70% 65%, rgba(39, 170, 225, 0.12), transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(165, 205, 57, 0.08), transparent 55%);
    filter: blur(20px);
}

/* ---------- hero ---------- */
.hero {
    position: relative;
    z-index: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fade-up 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.logo-link {
    display: inline-block;
    margin-bottom: 2.2rem;
    line-height: 0;
    transition: transform 0.2s ease;
}

.logo-link:hover {
    transform: translateY(-2px);
}

.logo {
    width: clamp(180px, 36vw, 340px);
    height: auto;
    background: #ffffff;
    padding: 14px 22px;
    border-radius: 14px;
    box-shadow: 0 10px 35px rgba(27, 38, 48, 0.12);
}

.title {
    font-size: clamp(2.4rem, 7vw, 5rem);
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.25;
    padding-bottom: 0.1em;
    color: #1b2630;
}

.subtitle {
    margin-top: 2.4rem;
    font-size: clamp(1rem, 2.4vw, 1.5rem);
    font-weight: 400;
    color: var(--text-dim);
}

/* thin gradient accent bar that grows in on load */
.accent-bar {
    margin-top: 2.6rem;
    width: clamp(120px, 30vw, 260px);
    height: 4px;
    border-radius: 4px;
    background: var(--brand-gradient);
    transform-origin: center;
    animation: grow 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

@keyframes grow {
    from { transform: scaleX(0); opacity: 0; }
    to   { transform: scaleX(1); opacity: 1; }
}

/* ---------- footer ---------- */
.footer {
    position: fixed;
    bottom: 1.4rem;
    z-index: 1;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: var(--text-dim);
    text-transform: lowercase;
    animation: fade-up 1.4s ease 0.6s both;
}

@keyframes fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0);    }
}

/* respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
