/* ===== My Muscle — Dark Theme (CSS aligned to current HTML) ===== */
:root {
    --black: #000814;
    /* page background base */
    --ink: #0b1020;
    /* deep blue/black gradient end */
    --text: #d5dee7;
    /* primary text (near-white) */
    --muted: #cbd5e1;
    /* secondary text */
    --accent: #3a86ff;
    /* focus/interactive accent */
    --success: #22c55e;
    /* success state */
    --danger: #ef4444;
    /* error state */
    --radius: 14px;
    /* rounded corners */
    --shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    background: radial-gradient(1200px 600px at 80% -10%, #001a4a 0%, transparent 60%),
        radial-gradient(900px 600px at -10% 20%, #001b3b 0%, transparent 55%),
        linear-gradient(180deg, var(--black) 0%, var(--ink) 100%);
    background-attachment: fixed;
    line-height: 1.6;
}

/* Layout helpers */
.container {
    width: min(1100px, 92%);
    margin-inline: auto;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(0, 8, 20, 0.6);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

/* logo */

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 800;
    letter-spacing: 0.2px;
}


.brand-logo {
    height: 50px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.brand-text {
    font-weight: 800;
}

.nav .nav-link {
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
}

.nav .nav-link:hover,
.nav .nav-link:focus {
    color: var(--text);
    outline: none;
}

/* Main hero section */
.hero {
    min-height: 60vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 64px 0 48px;
}

.hero-title {
    font-size: clamp(28px, 4vw + 10px, 56px);
    line-height: 1.1;
    margin: 0 0 14px;
}

.hero-sub {
    color: var(--muted);
    margin: 0 0 28px;
    font-size: clamp(16px, 1.2vw + 12px, 20px);
}

/* Netlify signup form design */
.signup {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    width: min(460px, 100%);
    margin-inline: auto;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.signup p {
    margin: 0;
}

.signup label {
    display: block;
    font-weight: 600;
    color: var(--muted);
}

.signup input[type="text"],
.signup input[type="email"] {
    width: 100%;
    margin-top: 6px;
    padding: 14px 16px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text);
}

.signup input::placeholder {
    color: #94a3b8;
}

.signup input:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* Buttons*/
.btn {
    width: 70%;
    padding: 14px 18px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(180deg, #0a2a6a, #081a48);
    color: var(--text);
    font-weight: 700;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: transform 0.5s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: var(--shadow);

}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

/* About section */
.about {
    padding: 50px 0 96px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.about h2 {
    font-size: clamp(22px, 2.4vw + 10px, 32px);
    margin: 0 0 12px;
    text-align: center;
}

.about h3 {
    margin: 0 0 12px;
    text-align: center;
}

.about h4 {
    margin: 0 0 12px;
    text-align: center;
}

.about p {
    color: var(--muted);
    max-width: 100ch;
    text-align: center;
    padding: 25px;
}

.card.card-body {
    background: none;
    border: none;
    color: var(-text);
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100ch;

}

.collapse-horizontal .card.card.card-body{
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
    align-items: stretch;
    padding: 20px 40px;
}

.collapse-horizontal ul{
    list-style: inside;
    text-align: left;
}




/* Icons */

.bi-heart-pulse-fill {
    margin-bottom: 20px;
}

.bi-flask-fill {
    margin-bottom: 20px;
}

.bi-lungs-fill{
    margin-bottom: 20px;
}

.bi-eye-fill{
    margin-bottom: 20px;
}


/* Footer (matches .site-footer) */
.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 24px 0 48px;
    color: #9aa7bd;
    text-align: center;
}

/* Accessibility */
:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* Responsive adjustments */
@media (max-width: 560px) {
    .signup {
        width: 100%;
        padding: 16px;
    }
}

/* Optional JS message classes (if used) */
.form-message {
    text-align: center;
    font-weight: 600;
    margin-top: 8px;
}

.form-message.success {
    color: var(--success);
}

.form-message.error {
    color: var(--danger);
}

