/* =========================================================
   eFitLog FREE TRAINING TOOLS
   Shared Tools Site + Calculators
   ========================================================= */


/* =========================================================
   GLOBAL
   ========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    min-height: 100vh;
    background: #050605;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
}


/* =========================================================
   NAVBAR
   ========================================================= */

.navbar {
    width: 100%;
    min-height: 82px;

    display: flex;
    align-items: center;

    padding: 10px 32px;

    background: #0b5f32;
    border-bottom: 1px solid rgba(255,255,255,0.08);

    position: relative;
    z-index: 1000;
}

.nav-logo-link {
    display: flex;
    align-items: center;

    margin: 0;
    padding: 0;

    text-decoration: none;
    flex-shrink: 0;
}

.navbar .logo {
    display: block;

    width: auto;
    height: 60px;
    max-height: 60px;

    margin: 0;
    padding: 0;

    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;

    gap: 22px;

    margin: 0 0 0 auto;
    padding: 0;

    list-style: none;
}

.nav-links li {
    margin: 0;
    padding: 0;
}

.nav-links a {
    display: block;

    padding: 8px 0;

    color: #ffffff;

    text-decoration: none;

    font-size: 0.95rem;
    font-weight: 600;

    border-bottom: 2px solid transparent;

    transition:
        color 0.2s ease,
        border-color 0.2s ease;
}

.nav-links a:hover {
    color: #8dffbd;
}

.nav-links a.active {
    color: #00e676;
    border-bottom-color: #00e676;
}


/* =========================================================
   HAMBURGER
   ========================================================= */

.hamburger {
    display: none;

    margin-left: auto;
    padding: 4px 8px;

    background: transparent;
    color: #ffffff;

    border: 0;

    font-size: 30px;
    line-height: 1;

    cursor: pointer;
}


/* =========================================================
   SHARED TOOLS HERO
   ========================================================= */

.tools-hero {
    width: 100%;

    padding: 55px 20px 30px;

    text-align: center;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(0,230,118,0.08),
            transparent 48%
        );
}

.hero-inner {
    width: 100%;
    max-width: 900px;

    margin: 0 auto;
}

.hero-app-name {
    margin: 0 0 18px;

    color: #00e676;

    font-size: clamp(2.6rem, 5vw, 3.8rem);
    font-weight: 800;

    line-height: 1.1;
    letter-spacing: -1.5px;
}

.world-class-badge {
    margin: 0 auto 28px;
}

.world-class-badge img {
    display: block;

    width: 90%;
    max-width: 300px;
    height: auto;

    margin: 0 auto;
}

.tools-hero h1 {
    margin: 0 0 10px;

    color: #ffffff;

    font-size: clamp(1.7rem, 3vw, 2.2rem);
    font-weight: 700;

    line-height: 1.25;
    letter-spacing: -0.3px;
}

.hero-message {
    margin: 0 0 16px;

    color: #ffffff;

    font-size: 1.2rem;
    font-weight: 600;
}

.hero-description {
    max-width: 700px;

    margin: 0 auto;

    color: #c3c8c5;

    font-size: 1.05rem;
    line-height: 1.7;
}

.hero-brand-line {
    margin-top: 20px;

    color: #00e676;

    font-size: 1rem;
    font-weight: 700;

    letter-spacing: 0.7px;
}


/* =========================================================
   TOOLS INDEX
   ========================================================= */

.tools-section {
    width: 100%;
    max-width: 1050px;

    margin: 0 auto;
    padding: 25px 20px 75px;
}

.section-heading {
    margin-bottom: 28px;

    text-align: center;
}

.section-heading h2 {
    margin: 0 0 8px;

    color: #ffffff;

    font-size: 1.8rem;
    font-weight: 700;
}

.section-heading p {
    max-width: 650px;

    margin: 0 auto;

    color: #9da5a0;

    font-size: 1rem;
    line-height: 1.6;
}

.tools-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 22px;
}

.tool-card {
    display: flex;
    flex-direction: column;

    padding: 32px;

    background:
        linear-gradient(
            145deg,
            #171a18,
            #0c0e0d
        );

    border: 1px solid #292e2b;
    border-radius: 14px;

    box-shadow:
        0 14px 35px rgba(0,0,0,0.30);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.tool-card.live:hover {
    transform: translateY(-3px);

    border-color: rgba(0,230,118,0.45);

    box-shadow:
        0 18px 42px rgba(0,0,0,0.40);
}

.tool-label {
    display: inline-block;
    align-self: flex-start;

    margin-bottom: 18px;
    padding: 6px 10px;

    background: rgba(0,230,118,0.08);

    color: #00e676;

    border: 1px solid rgba(0,230,118,0.18);
    border-radius: 5px;

    font-size: 0.72rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.tool-label.soon {
    background: #171917;

    color: #909792;

    border-color: #303431;
}

.tool-card h3 {
    margin: 0 0 12px;

    color: #ffffff;

    font-size: 1.55rem;
    font-weight: 700;
}

.tool-card p {
    margin: 0 0 25px;

    color: #b2b9b4;

    font-size: 1rem;
    line-height: 1.65;
}

.tool-example {
    margin-bottom: 26px;
    padding: 15px 16px;

    background: #090b0a;

    border: 1px solid #242824;
    border-radius: 8px;

    color: #c6cbc8;

    font-size: 0.9rem;
}

.tool-example strong {
    color: #00e676;
}

.tool-button {
    display: inline-block;
    align-self: flex-start;

    margin-top: auto;
    padding: 12px 20px;

    background: #00c968;
    color: #001a0d;

    border-radius: 7px;

    text-decoration: none;

    font-size: 0.9rem;
    font-weight: 700;

    transition:
        background 0.2s ease,
        transform 0.15s ease;
}

.tool-button:hover {
    background: #00e676;

    transform: translateY(-1px);
}

.tool-button.disabled {
    background: #202320;
    color: #818883;

    border: 1px solid #343834;

    cursor: default;
}

.tool-button.disabled:hover {
    background: #202320;

    transform: none;
}


/* =========================================================
   TOOLS PURPOSE
   ========================================================= */

.tools-purpose {
    width: calc(100% - 40px);
    max-width: 850px;

    margin: 0 auto 70px;
    padding: 30px;

    background: #0e100f;

    border: 1px solid #242824;
    border-radius: 12px;

    text-align: center;
}

.tools-purpose h2 {
    margin: 0 0 12px;

    color: #ffffff;

    font-size: 1.55rem;
    font-weight: 700;
}

.tools-purpose h2 span {
    color: #00e676;
}

.tools-purpose p {
    margin: 0;

    color: #abb2ad;

    font-size: 1rem;
    line-height: 1.7;
}


/* =========================================================
   SHARED CALCULATOR PAGE
   ========================================================= */

.calculator-page {
    width: 100%;

    padding: 12px 20px 75px;
}

.calculator-wrapper {
    width: 100%;
    max-width: 680px;

    margin: 0 auto;
}

#container {
    width: 100%;
    max-width: 680px;

    margin: 0 auto;
    padding: 0;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(25,28,26,0.98),
            rgba(10,12,11,0.98)
        );

    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 24px;

    box-shadow:
        0 30px 80px rgba(0,0,0,0.60),
        0 0 50px rgba(0,255,100,0.035);

    text-align: center;
}

#calculator {
    padding: 32px 38px 38px;

    background: rgba(0,0,0,0.22);

    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}


/* =========================================================
   1RM FORM
   ========================================================= */

#oneRMForm {
    display: grid;

    grid-template-columns: 1fr 1fr;
    gap: 18px;

    margin: 0;

    text-align: left;
}

#oneRMForm label {
    display: block;

    margin: 0;

    color: #c7ccc9;

    font-size: 0.78rem;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1.2px;
}

#oneRMForm input {
    display: block;

    width: 100%;

    margin-top: 9px;
    padding: 18px;

    background: #080a09;
    color: #ffffff;

    border: 1px solid #343936;
    border-radius: 12px;

    outline: none;

    font-size: 1.55rem;
    font-weight: 700;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

#oneRMForm input:hover {
    border-color: #505753;
}

#oneRMForm input:focus {
    background: #0b0e0c;

    border-color: #00ff78;

    box-shadow:
        0 0 0 3px rgba(0,255,120,0.10),
        0 0 25px rgba(0,255,120,0.06);
}

#oneRMForm input::placeholder {
    color: #555c58;
}


/* =========================================================
   SHARED CALCULATOR BUTTONS
   ========================================================= */

.calculator-buttons {
    grid-column: 1 / -1;

    display: grid;

    grid-template-columns: 2fr 1fr;
    gap: 12px;

    margin-top: 8px;
}

.calculator-buttons button {
    width: 100%;
    min-height: 58px;

    margin: 0;
    padding: 16px 20px;

    border-radius: 11px;

    font-size: 0.95rem;
    font-weight: 900;

    text-transform: uppercase;
    letter-spacing: 0.9px;

    cursor: pointer;

    transition:
        transform 0.15s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}


/* =========================================================
   1RM BUTTONS
   ========================================================= */

#calculate {
    background:
        linear-gradient(
            135deg,
            #00e676,
            #00bd61
        );

    color: #00180c;

    border: 1px solid #00e676;

    box-shadow:
        0 10px 28px rgba(0,230,118,0.18);
}

#calculate:hover {
    transform: translateY(-2px);

    filter: brightness(1.08);

    box-shadow:
        0 14px 34px rgba(0,230,118,0.27);
}

#calculate:active {
    transform: translateY(0);
}

#reset {
    background:
        linear-gradient(
            180deg,
            #242825,
            #181b19
        );

    color: #d7ddd9;

    border: 1px solid #454c47;

    box-shadow:
        0 8px 20px rgba(0,0,0,0.25);
}

#reset:hover {
    background: #2c312e;

    color: #ffffff;

    border-color: #69716c;

    transform: translateY(-2px);
}

#reset:active {
    transform: translateY(0);
}


/* =========================================================
   1RM RESULT
   ========================================================= */

#oneRMResult {
    position: relative;

    margin: 0;
    padding: 42px 30px 46px;

    background:
        radial-gradient(
            circle at center,
            rgba(0,230,118,0.07),
            transparent 60%
        );
}

#oneRMResult::before {
    content: "";

    display: block;

    width: 45px;
    height: 3px;

    margin: 0 auto 25px;

    background: #00e676;

    border-radius: 20px;
}

#oneRMResult small {
    display: block;

    margin-bottom: 12px;

    color: #8e9992;

    font-size: 0.72rem;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 2px;
}

#oneRM {
    display: inline-block;

    color: #00e676;

    font-size: clamp(4.5rem, 15vw, 7rem);
    line-height: 0.95;

    font-weight: 900;
    letter-spacing: -4px;

    text-shadow:
        0 0 35px rgba(0,230,118,0.15);
}

.unit {
    display: inline-block;

    margin-left: 8px;
    padding-bottom: 10px;

    color: #ffffff;

    font-size: 1.35rem;
    font-weight: 800;

    vertical-align: bottom;
}

#calculationSummary {
    margin: 18px 0 0;

    color: #a8b0ab;

    font-size: 0.95rem;
    font-weight: 500;
}


/* =========================================================
   PLATE CALCULATOR FORM
   ========================================================= */

#plateCalculatorForm {
    display: grid;

    grid-template-columns: 1fr;
    gap: 20px;

    margin: 0;

    text-align: left;
}

#plateCalculatorForm label {
    display: block;

    margin: 0;

    color: #d9dfdb;

    font-size: 0.82rem;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1.3px;
}


/* =========================================================
   PLATE CALCULATOR TARGET WEIGHT INPUT
   ========================================================= */

#plateCalculatorForm input {
    display: block;

    width: 100%;
    height: 82px;

    margin-top: 10px;
    padding: 14px 22px;

    background:
        linear-gradient(
            180deg,
            #0c0f0d,
            #070908
        );

    color: #ffffff;

    border: 2px solid #3a413d;
    border-radius: 14px;

    outline: none;

    font-size: 2.5rem;
    line-height: 1;
    font-weight: 900;

    text-align: center;

    box-shadow:
        inset 0 2px 8px rgba(0,0,0,0.45),
        0 8px 24px rgba(0,0,0,0.20);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

#plateCalculatorForm input:hover {
    border-color: #59625d;
}

#plateCalculatorForm input:focus {
    background: #0b0f0c;

    border-color: #00e676;

    box-shadow:
        0 0 0 4px rgba(0,230,118,0.10),
        0 0 30px rgba(0,230,118,0.10),
        inset 0 2px 8px rgba(0,0,0,0.35);
}

#plateCalculatorForm input::placeholder {
    color: #4f5752;

    opacity: 1;
}

#plateCalculatorForm input[type="number"]::-webkit-inner-spin-button,
#plateCalculatorForm input[type="number"]::-webkit-outer-spin-button {
    opacity: 0.45;
}


/* =========================================================
   BAR WEIGHT NOTE
   ========================================================= */

.bar-weight-note {
    margin-top: -7px;

    color: #8f9892;

    font-size: 0.9rem;
    font-weight: 500;

    text-align: center;
}

.bar-weight-note strong {
    color: #ffffff;

    font-weight: 800;
}


/* =========================================================
   PLATE CALCULATOR BUTTONS
   ========================================================= */

#plateCalculatorForm .calculator-buttons {
    display: grid;

    grid-template-columns: 2fr 1fr;
    gap: 12px;

    margin-top: 4px;
}

#plateCalculatorForm .calculator-buttons button {
    min-height: 58px;

    padding: 16px 20px;

    border-radius: 11px;

    font-size: 0.95rem;
    font-weight: 900;

    text-transform: uppercase;
    letter-spacing: 0.9px;

    cursor: pointer;
}


/* =========================================================
   CALCULATE PLATES BUTTON
   ========================================================= */

#calculatePlates {
    background:
        linear-gradient(
            135deg,
            #00e676 0%,
            #00bd61 100%
        ) !important;

    color: #00180c !important;

    border: 1px solid #00e676 !important;

    box-shadow:
        0 10px 28px rgba(0,230,118,0.18) !important;
}

#calculatePlates:hover {
    transform: translateY(-2px);

    filter: brightness(1.08);

    box-shadow:
        0 14px 34px rgba(0,230,118,0.27) !important;
}

#calculatePlates:active {
    transform: translateY(0);
}


/* =========================================================
   RESET PLATES BUTTON
   ========================================================= */

#resetPlates {
    background:
        linear-gradient(
            180deg,
            #242825,
            #181b19
        ) !important;

    color: #d7ddd9 !important;

    border: 1px solid #454c47 !important;

    box-shadow:
        0 8px 20px rgba(0,0,0,0.25) !important;
}

#resetPlates:hover {
    background: #2c312e !important;

    color: #ffffff !important;

    border-color: #69716c !important;

    transform: translateY(-2px);
}

#resetPlates:active {
    transform: translateY(0);
}


/* =========================================================
   CALCULATOR ERROR
   ========================================================= */

.calculator-error {
    min-height: 1.4em;

    margin: -3px 0 0;

    color: #ff8c8c;

    font-size: 0.9rem;
    font-weight: 600;

    text-align: center;
}


/* =========================================================
   PLATE CALCULATOR RESULT AREA
   ========================================================= */

#plateResult {
    position: relative;

    margin: 0;
    padding: 42px 30px 48px;

    background:
        radial-gradient(
            circle at 50% 30%,
            rgba(0,230,118,0.10),
            transparent 58%
        );
}

#plateResult::before {
    content: "";

    display: block;

    width: 48px;
    height: 3px;

    margin: 0 auto 24px;

    background: #00e676;

    border-radius: 20px;

    box-shadow:
        0 0 14px rgba(0,230,118,0.25);
}

#plateResult > small {
    display: block;

    margin-bottom: 8px;

    color: #939c96;

    font-size: 0.72rem;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 2px;
}


/* =========================================================
   TARGET / PER-SIDE RESULT
   ========================================================= */

.plate-result-weight {
    margin: 0 0 28px;

    color: #ffffff;

    font-size: 1.15rem;
    font-weight: 800;

    line-height: 1.4;
}


/* =========================================================
   ACTUAL PLATE BREAKDOWN
   ========================================================= */

.plate-breakdown {
    display: flex;

    justify-content: center;
    align-items: stretch;

    flex-wrap: wrap;

    gap: 12px;

    min-height: 92px;
}

.plate-placeholder {
    width: 100%;

    padding: 25px 15px;

    color: #6f7872;

    font-size: 0.95rem;
}


/* =========================================================
   INDIVIDUAL PLATE RESULT CARDS
   ========================================================= */

.plate-item {
    display: flex;
    flex-direction: column;

    justify-content: center;

    min-width: 110px;
    min-height: 100px;

    padding: 16px 18px;

    background:
        linear-gradient(
            145deg,
            #151916,
            #090b0a
        );

    border: 1px solid #38413b;
    border-radius: 13px;

    box-shadow:
        0 12px 28px rgba(0,0,0,0.30),
        inset 0 1px 0 rgba(255,255,255,0.025);
}

.plate-item-count {
    display: block;

    margin-bottom: 6px;

    color: #00e676;

    font-size: 2.15rem;
    font-weight: 900;

    line-height: 1;

    letter-spacing: -1px;

    text-shadow:
        0 0 22px rgba(0,230,118,0.16);
}

.plate-item-weight {
    display: block;

    color: #ffffff;

    font-size: 1.05rem;
    font-weight: 800;

    letter-spacing: 0.2px;
}


/* =========================================================
   HUMAN-READABLE PLATE RESULT
   ========================================================= */

#plateSummary {
    max-width: 560px;

    margin: 28px auto 0;
    padding-top: 22px;

    color: #00e676;

    border-top: 1px solid rgba(255,255,255,0.07);

    font-size: 1.15rem;
    font-weight: 800;

    line-height: 1.55;
}


/* =========================================================
   EDUCATIONAL CONTENT
   ========================================================= */

.calculator-info {
    width: 100%;
    max-width: 850px;

    margin: 65px auto 0;

    color: #d5dad7;
}

.calculator-info h2 {
    margin: 45px 0 14px;

    color: #ffffff;

    font-size: 1.8rem;
}

.calculator-info h2:first-child {
    margin-top: 0;
}

.calculator-info p {
    margin: 0 0 18px;

    color: #b8bfba;

    font-size: 1.05rem;
    line-height: 1.75;
}

.calculator-info strong {
    color: #ffffff;
}

.green {
    color: #00e676;
}

.formula-box {
    margin: 25px 0;
    padding: 22px 25px;

    background: #0d100e;

    border: 1px solid rgba(0,230,118,0.22);
    border-radius: 10px;

    text-align: center;
}

.formula-box strong {
    color: #00e676;

    font-size: 1.08rem;
}


/* =========================================================
   EFITLOG CTA
   ========================================================= */

.efitlog-cta {
    width: 100%;
    max-width: 850px;

    margin: 65px auto 0;
    padding: 40px 30px;

    background:
        linear-gradient(
            145deg,
            #151a17,
            #090b0a
        );

    border: 1px solid rgba(0,230,118,0.25);
    border-radius: 14px;

    text-align: center;
}

.cta-kicker {
    margin: 0 0 10px;

    color: #00e676;

    font-size: 0.78rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.efitlog-cta h2 {
    margin: 0 0 15px;

    color: #ffffff;

    font-size: 1.8rem;
    font-weight: 700;
}

.efitlog-cta p {
    max-width: 680px;

    margin: 0 auto 25px;

    color: #b8bfba;

    font-size: 1.05rem;
    line-height: 1.7;
}

.explore-button {
    display: inline-block;

    padding: 13px 23px;

    background: #00c968;
    color: #001a0d;

    border-radius: 7px;

    text-decoration: none;

    font-weight: 700;

    transition:
        background 0.2s ease,
        transform 0.15s ease;
}

.explore-button:hover {
    background: #00e676;

    transform: translateY(-1px);
}


/* =========================================================
   STORE BADGES
   ========================================================= */

.store-area {
    margin-top: 32px;
}

.store-caption {
    margin-bottom: 15px !important;

    color: #ffffff !important;

    font-size: 0.95rem !important;
    font-weight: 700;
}

.store-badges {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 18px;

    flex-wrap: wrap;
}

.store-badges a {
    display: inline-block;
}

.store-badges img {
    display: block;
}

.apple-badge {
    height: 54px;
}

.google-badge {
    height: 80px;
}


/* =========================================================
   BACK TO TOOLS
   ========================================================= */

.back-to-tools {
    width: 100%;
    max-width: 850px;

    margin: 35px auto 0;

    text-align: center;
}

.back-to-tools a {
    color: #00e676;

    text-decoration: none;

    font-size: 0.95rem;
    font-weight: 600;
}

.back-to-tools a:hover {
    text-decoration: underline;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    width: 100%;

    margin: 0;
    padding: 28px 20px;

    background: #101210;
    color: #aeb4b0;

    border-top: 1px solid #252925;

    text-align: center;
}

.site-footer p {
    margin: 5px 0;

    font-size: 0.9rem;
}

.footer-links {
    margin-top: 10px !important;
}

.footer-links a {
    color: #00e676;

    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-links span {
    margin: 0 10px;

    color: #555b57;
}


/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */

@media (max-width: 1000px) {

    .navbar {
        padding: 10px 18px;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;

        position: absolute;

        top: 100%;
        left: 0;

        width: 100%;

        margin: 0;
        padding: 14px 0;

        flex-direction: column;

        gap: 0;

        background: #101310;

        border-bottom: 1px solid #292d29;

        box-shadow:
            0 12px 30px rgba(0,0,0,0.40);
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links li {
        width: 100%;

        text-align: center;
    }

    .nav-links a {
        width: 100%;

        padding: 11px 15px;

        border-bottom: 0;
    }

    .nav-links a.active {
        color: #00e676;
    }
}


/* =========================================================
   PHONE / TABLET
   ========================================================= */

@media (max-width: 700px) {

    .navbar {
        min-height: 72px;
    }

    .navbar .logo {
        height: 52px;
        max-height: 52px;
    }

    .tools-hero {
        padding: 42px 18px 28px;
    }

    .hero-app-name {
        font-size: 2.65rem;

        letter-spacing: -1px;
    }

    .world-class-badge img {
        max-width: 250px;
    }

    .tools-hero h1 {
        font-size: 1.6rem;
    }

    .hero-message {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .calculator-page {
        padding: 12px 14px 55px;
    }

    #container {
        border-radius: 18px;
    }

    #calculator {
        padding: 26px 22px 30px;
    }

    #oneRMForm {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    #oneRMForm input {
        padding: 16px;

        font-size: 1.35rem;
    }

    .calculator-buttons {
        grid-column: 1;

        grid-template-columns: 1fr;

        gap: 10px;
    }

    .calculator-buttons button {
        padding: 16px 18px;
    }

    #oneRMResult {
        padding: 35px 20px 40px;
    }

    #oneRM {
        font-size: 5rem;
    }

    .unit {
        font-size: 1.15rem;

        padding-bottom: 7px;
    }


    /* PLATE CALCULATOR MOBILE */

    #plateCalculatorForm input {
        height: 74px;

        padding: 12px 18px;

        font-size: 2.2rem;
    }

    #plateCalculatorForm .calculator-buttons {
        grid-template-columns: 1fr;

        gap: 10px;
    }

    #plateResult {
        padding: 35px 18px 40px;
    }

    .plate-breakdown {
        gap: 8px;
    }

    .plate-item {
        min-width: 92px;
        min-height: 90px;

        padding: 14px 12px;
    }

    .plate-item-count {
        font-size: 1.85rem;
    }

    .plate-item-weight {
        font-size: 0.95rem;
    }

    #plateSummary {
        font-size: 1.05rem;
    }


    /* CONTENT */

    .calculator-info {
        margin-top: 50px;
    }

    .calculator-info h2 {
        font-size: 1.55rem;
    }

    .tools-section {
        padding: 15px 14px 55px;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .tool-card {
        padding: 26px 22px;
    }

    .tools-purpose {
        width: calc(100% - 28px);

        margin-bottom: 55px;
        padding: 25px 20px;
    }

    .efitlog-cta {
        margin-top: 50px;
        padding: 32px 22px;
    }

    .efitlog-cta h2 {
        font-size: 1.6rem;
    }

    .apple-badge {
        height: 48px;
    }

    .google-badge {
        height: 70px;
    }
}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

    .tools-hero {
        padding-left: 10px;
        padding-right: 10px;
    }

    .hero-app-name {
        font-size: 2.15rem;
    }

    #calculator {
        padding-left: 16px;
        padding-right: 16px;
    }

    #oneRM {
        font-size: 4.25rem;
    }

    #plateCalculatorForm input {
        height: 68px;

        font-size: 1.9rem;
    }

    .plate-item {
        min-width: 82px;

        padding: 12px 10px;
    }

    .plate-item-count {
        font-size: 1.65rem;
    }
}


/* =========================================================
   RELATED EFITLOG TOOLS
   ========================================================= */

.calculator-info.related-tools {
    width: 100%;
    max-width: 850px;

    margin: 55px auto 0;
    padding: 38px 34px;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(0, 230, 118, 0.08),
            transparent 55%
        ),
        linear-gradient(
            145deg,
            #151a17,
            #090b0a
        );

    border: 1px solid rgba(0, 230, 118, 0.28);
    border-radius: 16px;

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.32);

    text-align: center;
}


/* Inner content */

.calculator-info.related-tools .related-tools-inner {
    width: 100%;
    max-width: 760px;

    margin: 0 auto;
}


/* Green section label */

.calculator-info.related-tools .section-kicker {
    display: block;

    margin: 0 0 11px;

    color: #00e676;

    font-size: 0.76rem;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1.6px;
}


/* Heading */

.calculator-info.related-tools h2 {
    margin: 0 0 14px;

    color: #ffffff;

    font-size: clamp(1.65rem, 4vw, 2.05rem);
    font-weight: 800;

    line-height: 1.2;
}


/* Intro */

.calculator-info.related-tools .related-tools-inner > p {
    max-width: 620px;

    margin: 0 auto 27px;

    color: #b8bfba;

    font-size: 1rem;
    line-height: 1.65;
}


/* Cards container */

.calculator-info.related-tools .related-tool-links {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;

    width: 100%;
}


/* Cards */

.calculator-info.related-tools .related-tool-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-height: 135px;

    padding: 23px 45px 23px 23px;

    background:
        linear-gradient(
            145deg,
            #101512,
            #080b09
        );

    border: 1px solid #303632;
    border-radius: 12px;

    color: #ffffff;

    text-decoration: none;
    text-align: left;

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.25);

    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}


/* Green arrow */

.calculator-info.related-tools .related-tool-card::after {
    content: "→";

    position: absolute;

    top: 19px;
    right: 18px;

    color: #00e676;

    font-size: 1.35rem;
    font-weight: 900;
}


/* Card title */

.calculator-info.related-tools .related-tool-card strong {
    display: block;

    margin: 0 0 9px;

    color: #00e676;

    font-size: 1.08rem;
    font-weight: 800;
}


/* Card description */

.calculator-info.related-tools .related-tool-card span {
    display: block;

    color: #aeb7b1;

    font-size: 0.92rem;
    line-height: 1.55;
}


/* Hover */

.calculator-info.related-tools .related-tool-card:hover {
    transform: translateY(-3px);

    background:
        linear-gradient(
            145deg,
            rgba(0, 230, 118, 0.08),
            #080b09
        );

    border-color: #00e676;

    box-shadow:
        0 14px 32px rgba(0, 0, 0, 0.34),
        0 0 24px rgba(0, 230, 118, 0.08);
}


/* =========================================================
   RELATED TOOLS MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .calculator-info.related-tools {
        margin-top: 42px;
        padding: 30px 20px;
    }

    .calculator-info.related-tools .related-tool-links {
        grid-template-columns: 1fr;
    }

    .calculator-info.related-tools .related-tool-card {
        min-height: 0;

        padding: 20px 42px 20px 20px;
    }

}