/* ===== MIND JOURNAL PAGE — SPECIFIC STYLES =====
   Builds on top of style.css (already linked in HTML).
   All CSS variables (--accent, --cta, --border, etc.) are inherited.
   ===================================================== */


/* ===== MJ HERO ===== */
.mj-hero {
    padding: 100px 0 80px;
    background: radial-gradient(ellipse at 60% 0%, rgba(52, 152, 219, 0.12) 0%, transparent 65%),
        radial-gradient(ellipse at 10% 100%, rgba(230, 126, 34, 0.06) 0%, transparent 60%),
        #000;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.mj-hero__inner {
    max-width: 780px;
    margin: 0 auto;
}

.mj-hero__tag {
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.mj-hero h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 22px;
    color: #fff;
}

.mj-hero__sub {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: #ccc;
    margin-bottom: 36px;
    line-height: 1.7;
}

.mj-hero__sub strong {
    color: #fff;
}

.mj-hero__cta {
    display: inline-flex;
    animation: mj-pulse 2.8s ease-in-out infinite;
}

@keyframes mj-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(230, 126, 34, 0);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(230, 126, 34, 0.18);
    }
}


/* ===== SALES COPY SECTION ===== */
.mj-copy {
    background: #000;
}

.mj-copy__hook {
    max-width: 760px;
    margin: 0 auto 60px;
    text-align: center;
}

.mj-copy__hook h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    margin-bottom: 20px;
}

.mj-copy__hook p {
    color: #ccc;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 14px;
}

.mj-copy__hook p:last-child {
    margin-bottom: 0;
}

.mj-copy__hook strong {
    color: #fff;
}

.mj-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--cta));
    border-radius: 2px;
    margin: 0 auto 60px;
}

/* Insight block */
.mj-copy__insight {
    max-width: 760px;
    margin: 0 auto 80px;
    text-align: center;
}

.mj-copy__lead {
    color: #aaa;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 600;
}

.mj-quote {
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    font-weight: 700;
    color: #fff;
    border-left: 3px solid var(--accent);
    padding: 20px 28px;
    background: rgba(52, 152, 219, 0.05);
    border-radius: 0 10px 10px 0;
    text-align: left;
    margin-bottom: 28px;
    line-height: 1.5;
}

.mj-quote em {
    color: var(--cta);
    font-style: normal;
}

.mj-copy__insight>p {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.8;
}


/* ===== WHAT IT IS — STACKED LAYOUT ===== */
.mj-what-intro {
    max-width: 820px;
    margin: 0 auto 48px;
}

.mj-what-intro.mj-what__text,
.mj-what-intro .mj-what__text {
    text-align: left;
}

.mj-what__text h2 {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.mj-what__text p {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.mj-checklist {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mj-checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #ddd;
    font-weight: 500;
}

.mj-check {
    color: #2ecc71;
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Full-width screenshot block */
.mj-screenshot-full {
    width: 100%;
    margin-bottom: 80px;
}

/* Screenshot Frame — browser-like mock */
.mj-screenshot-frame {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.04);
    background: #111;
}

.mj-screenshot-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: #1a1a1a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mj-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.mj-dot--red {
    background: #ff5f57;
}

.mj-dot--yellow {
    background: #ffbd2e;
}

.mj-dot--green {
    background: #28c840;
}

.mj-screenshot-title {
    font-size: 0.7rem;
    color: #555;
    margin-left: 8px;
    letter-spacing: 0.5px;
}

.mj-screenshot-frame img {
    width: 100%;
    display: block;
}


/* ===== HOW IT WORKS — 4 STEPS ===== */
.mj-how {
    margin-bottom: 0;
}

.mj-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.mj-step {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.mj-step:hover {
    border-color: rgba(52, 152, 219, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.mj-step__num {
    font-size: 2.8rem;
    font-weight: 800;
    color: rgba(52, 152, 219, 0.18);
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.mj-step h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.mj-step p {
    color: #888;
    font-size: 0.88rem;
    line-height: 1.6;
}


/* ===== DOWNLOAD / FORM SECTION ===== */
.mj-download {
    background: radial-gradient(ellipse at 50% 50%, rgba(230, 126, 34, 0.07) 0%, transparent 65%), #000;
    border-top: 1px solid var(--border);
}

.mj-form-wrap {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

.mj-form__tag {
    color: var(--cta);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.mj-form-wrap h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #fff;
}

.mj-form__sub {
    color: #aaa;
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 36px;
}

/* Form elements */
.mj-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mj-form__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.mj-form__label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #bbb;
    letter-spacing: 0.3px;
}

.mj-form__input {
    width: 100%;
    padding: 16px 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    -webkit-tap-highlight-color: transparent;
}

.mj-form__input::placeholder {
    color: #444;
}

.mj-form__input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15);
}

.mj-form__input.input--error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.12);
}

.mj-form__error {
    font-size: 0.82rem;
    color: #e74c3c;
    font-weight: 500;
    min-height: 18px;
    display: block;
}

.mj-form__submit {
    margin-top: 4px;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.mj-form__submit::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0);
    transition: background 0.2s;
}

.mj-form__submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.mj-form__privacy {
    color: #555;
    font-size: 0.78rem;
    margin-top: 4px;
    text-align: center;
}

/* Success state */
.mj-success {
    text-align: center;
    padding: 40px 24px;
    background: rgba(46, 204, 113, 0.06);
    border: 1px solid rgba(46, 204, 113, 0.2);
    border-radius: 14px;
    animation: mj-fade-up 0.5s ease;
}

@keyframes mj-fade-up {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mj-success__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(46, 204, 113, 0.15);
    border: 2px solid #2ecc71;
    color: #2ecc71;
    font-size: 1.6rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.mj-success h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.mj-success p {
    color: #aaa;
    font-size: 0.92rem;
    line-height: 1.6;
}


/* ===== RESPONSIVE — TABLET (≤900px) ===== */
@media (max-width: 900px) {
    .mj-hero {
        padding: 70px 0 60px;
    }

    .mj-steps {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .mj-copy__insight {
        margin-bottom: 60px;
    }

    .mj-quote {
        font-size: 1.2rem;
    }

    .mj-what-intro {
        max-width: 100%;
    }

    .mj-screenshot-full {
        margin-bottom: 60px;
    }
}

/* ===== RESPONSIVE — PHONE (≤600px) ===== */
@media (max-width: 600px) {

    /* Hero */
    .mj-hero {
        padding: 44px 0 36px;
    }

    .mj-hero h1 {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .mj-hero__tag {
        font-size: 0.7rem;
        letter-spacing: 1px;
        margin-bottom: 14px;
    }

    .mj-hero__sub {
        font-size: 0.95rem;
        margin-bottom: 28px;
    }

    .mj-hero__cta {
        width: 100%;
        justify-content: center;
    }

    /* Sections */
    .section {
        padding: 50px 0;
    }

    /* Insight / quote */
    .mj-copy__insight {
        margin-bottom: 40px;
    }

    .mj-copy__lead {
        font-size: 0.82rem;
    }

    .mj-quote {
        font-size: 1rem;
        padding: 14px 16px;
        line-height: 1.5;
    }

    .mj-copy__insight>p {
        font-size: 0.92rem;
    }

    /* What intro text */
    .mj-what__text h2 {
        font-size: 1.4rem;
    }

    .mj-what__text p {
        font-size: 0.93rem;
    }

    .mj-checklist {
        gap: 10px;
    }

    .mj-checklist li {
        font-size: 0.88rem;
    }

    /* Screenshot */
    .mj-screenshot-full {
        margin-bottom: 40px;
    }

    .mj-dot {
        width: 8px;
        height: 8px;
    }

    .mj-screenshot-bar {
        padding: 8px 12px;
    }

    .mj-screenshot-title {
        font-size: 0.62rem;
    }

    /* How it works steps — single column */
    .mj-steps {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .mj-step {
        padding: 24px 18px;
        -webkit-tap-highlight-color: transparent;
    }

    .mj-step__num {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .mj-step h3 {
        font-size: 0.95rem;
    }

    .mj-step p {
        font-size: 0.84rem;
    }

    /* Download form section */
    .mj-form-wrap h2 {
        font-size: 1.5rem;
    }

    .mj-form__sub {
        font-size: 0.9rem;
        margin-bottom: 28px;
    }

    /* font-size 1rem prevents iOS Safari auto-zoom on input focus */
    .mj-form__input {
        font-size: 1rem;
        padding: 14px 16px;
    }

    .mj-form__submit {
        font-size: 0.92rem;
        padding: 16px 20px;
    }

    .mj-form__privacy {
        font-size: 0.75rem;
    }

    .mj-success {
        padding: 32px 18px;
    }

    .mj-success h3 {
        font-size: 1.2rem;
    }
}