/* ═══════════════════════════════════════════════════════════════════════
   Journal + Planner + Notes — long-form sales page
   Airy, minimal, light — matches the home page's visual language.
   All page-specific classes prefixed .jpn- to avoid collisions.
   ═══════════════════════════════════════════════════════════════════════ */

.jpn-page {
    background: #ffffff;
    color: #1f2937;
    overflow-x: hidden;
}

.jpn-section {
    max-width: 760px;
    margin: 0 auto;
    padding: 6rem 1.5rem;
}

.jpn-section--wide {
    max-width: 1100px;
}

.jpn-eyebrow {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #248fa3;
    margin-bottom: 1rem;
    text-align: center;
}

.jpn-h1,
.jpn-h2 {
    font-family: "Bricolage Grotesque", sans-serif;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.01em;
    text-align: center;
}

.jpn-h1 {
    font-size: clamp(2.1rem, 5vw, 3.2rem);
    line-height: 1.15;
    margin: 0 0 1.75rem;
}

.jpn-h2 {
    font-size: clamp(1.6rem, 3.6vw, 2.3rem);
    line-height: 1.25;
    margin: 0 0 1.75rem;
}

.jpn-lead {
    font-size: 1.15rem;
    line-height: 1.75;
    color: #374151;
    text-align: center;
    max-width: 620px;
    margin: 0 auto;
}

.jpn-lead p {
    margin: 0 0 1.2rem;
}

.jpn-lead p:last-child {
    margin-bottom: 0;
}

/* ── Hero ─────────────────────────────────────────────────────────── */

.jpn-hero {
    padding-top: 4.5rem;
}

.jpn-hero-tag {
    display: block;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.jpn-hero-subtitle {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: #248fa3;
    margin: 0 0 2rem;
}

.jpn-hero-visual {
    margin-top: 3.5rem;
    width: calc(100vw - 3rem);
    max-width: 960px;
    margin-left: 50%;
    transform: translateX(-50%);
}

/* ── CTA ──────────────────────────────────────────────────────────── */

.jpn-cta-wrap {
    text-align: center;
    margin-top: 2.5rem;
}

.jpn-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(90deg, #0cafc7 0%, #248fa3 100%);
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 1rem 2.25rem;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(36, 143, 163, 0.28);
    transition: box-shadow 0.15s ease;
}

.jpn-cta-btn:hover {
    box-shadow: 0 10px 28px rgba(36, 143, 163, 0.36);
}

.jpn-cta-arrow {
    display: inline-flex;
    transition: transform 0.3s ease;
    will-change: transform;
}

.jpn-cta-btn:hover .jpn-cta-arrow {
    transform: translateX(4px);
}

.jpn-cta-micro {
    display: block;
    margin-top: 0.9rem;
    font-size: 0.85rem;
    color: #6b7280;
}

.jpn-cta-secondary {
    display: block;
    margin-top: 1.25rem;
    font-size: 0.9rem;
    color: #248fa3;
    text-decoration: none;
    font-weight: 600;
}

.jpn-cta-secondary:hover {
    text-decoration: underline;
}

/* ── Visual placeholders (swap for real product screenshots) ────────── */

.jpn-shot {
    background: #f3f6f7;
    border: 1px solid #e5e9ea;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 0.85rem;
    overflow: hidden;
}

.jpn-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.jpn-shot--hero {
    max-width: 960px;
    margin: 0 auto;
    box-shadow:
        inset 0 4px 12px rgba(0,0,0,0.07),
        0 4px 6px -1px rgba(0,0,0,0.04),
        0 20px 50px -8px rgba(0,0,0,0.1);
}

.jpn-shot--hero img {
    height: auto;
    object-fit: initial;
}

.jpn-shot--column {
    aspect-ratio: 3 / 4;
}

.jpn-three-shots {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
    width: calc(100vw - 3rem);
    max-width: 960px;
    margin-left: 50%;
    transform: translateX(-50%);
}

@media (max-width: 640px) {
    .jpn-three-shots {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 335px;
        margin-left: auto;
        transform: none;
    }
}

/* ── Highlighted block (quote-style callouts) ────────────────────────── */

.jpn-highlight {
    background: linear-gradient(135deg, #f8fbff 0%, #e8f4f8 100%);
    border: 1px solid rgba(36, 143, 163, 0.12);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    padding: 2.75rem 2.5rem;
    margin-top: 2.5rem;
    font-size: 1.15rem;
    line-height: 1.6;
    color: #1f2937;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.jpn-highlight::before {
    content: '"';
    font-size: 6rem;
    color: #0cafc7;
    opacity: 0.2;
    position: absolute;
    top: 0.4rem;
    left: 1.5rem;
    font-family: serif;
    line-height: 1;
    z-index: 1;
}

.jpn-highlight p {
    position: relative;
    z-index: 2;
    margin: 0 0 0.5rem;
}

.jpn-highlight p:last-child {
    margin-bottom: 0;
}

/* ── Three spaces (Journal / Planner / Notes) ───────────────────────── */

.jpn-space {
    padding: 5rem 1.5rem;
}

.jpn-space-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.jpn-space:nth-child(even) .jpn-space-inner {
    direction: rtl;
}

.jpn-space:nth-child(even) .jpn-space-inner > * {
    direction: ltr;
}

.jpn-space-text .jpn-eyebrow,
.jpn-space-text .jpn-h2 {
    text-align: left;
}

.jpn-space-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #374151;
    margin: 0 0 1.1rem;
}

.jpn-space-support {
    font-weight: 600;
    color: #111827;
    margin-top: 1.5rem !important;
}

.jpn-space-visual .jpn-shot img {
    height: auto;
    object-fit: initial;
}

/* ── Method (Think / See / Decide / Do) ──────────────────────────────── */

.jpn-method-intro {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.8;
    max-width: 480px;
    margin: 0 auto 3.5rem;
}

.jpn-method-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
}

.jpn-method-step {
    text-align: center;
    position: relative;
    /* Establishes its own stacking context so the connecting line's
       z-index: -1 (below) is scoped to just this step, instead of
       bubbling up with no positioned ancestor in between to give it a
       predictable place — z-index alone on a position:relative element
       doesn't create a stacking context unless paired with a value here. */
    z-index: 0;
}

/* Same component as the home page's .step-icon-container /
   .connecting-line (see home/home.css) — an icon circle, a small
   overlapping step-number badge, and a fading gradient line linking it
   to the next step. Uses the exact same colours as home for consistency
   (not this page's own teal), everything else identical. */
.jpn-method-icon-container {
    position: relative;
    width: 72px;
    height: 72px;
    margin: 0 auto 1.1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #4a90a4 0%, #357a8a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(74, 144, 164, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.jpn-method-step:hover .jpn-method-icon-container {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(74, 144, 164, 0.4);
}

.jpn-method-icon {
    width: 34px;
    height: 34px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.jpn-method-icon.think {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M14.06 9.02l.92.92L5.92 19H5v-.92l9.06-9.06M17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29zm-3.6 3.19L3 17.25V21h3.75L17.81 9.94l-3.75-3.75z'/%3E%3C/svg%3E");
}

.jpn-method-icon.see {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zm0 12.5c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8a3 3 0 100 6 3 3 0 000-6z'/%3E%3C/svg%3E");
}

.jpn-method-icon.decide {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M19 3h-1V1h-2v2H8V1H6v2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zm-8.03-1L7.5 14.5l1.4-1.41 2.07 2.08L15.6 10.5 17 12l-6.03 6z'/%3E%3C/svg%3E");
}

.jpn-method-icon.do {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
}

.jpn-method-number {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.jpn-method-connecting-line {
    position: absolute;
    top: 36px;
    left: calc(50% + 36px);
    width: calc(100% - 72px);
    height: 2px;
    background: linear-gradient(90deg, #4a90a4 0%, transparent 100%);
    z-index: -1;
}

.jpn-method-step-title {
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    color: #111827;
    margin-bottom: 0.6rem;
}

.jpn-method-step p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #4b5563;
}

.jpn-method-transition {
    text-align: center;
    font-size: 1.15rem;
    font-weight: 600;
    color: #1f2937;
    margin-top: 3rem;
    line-height: 1.7;
}

.jpn-method-link-wrap {
    text-align: center;
    margin-top: 1.5rem;
}

.jpn-method-link {
    color: #248fa3;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
}

.jpn-method-link:hover {
    text-decoration: underline;
}

/* ── Objections ───────────────────────────────────────────────────────── */

.jpn-objections {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
    margin-top: 2.5rem;
}

.jpn-objection-q {
    font-weight: 700;
    font-size: 1.05rem;
    color: #111827;
    margin: 0 0 0.6rem;
}

.jpn-objection-a {
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
    margin: 0;
}

/* ── Section background variants ─────────────────────────────────────── */

.jpn-bg-tint {
    background: #f7fafb;
}

/* ── Minimal navbar / footer ──────────────────────────────────────────── */

.navbar-minimal .nav-right {
    gap: 1.25rem;
    display: flex;
    align-items: center;
}

/* core/navbar.css's base .sign-up has a fixed width (110px, 115px for
   Spanish) sized for the short "Sign Up"/"Regístrate" — too narrow for
   "Empieza gratis →" or "Comece grátis →", which overflowed the button.
   Overridden here to size to its own content instead. Colour uses the
   same green as .sign-up on every other public page's navbar (see
   navbar.css) rather than a teal matching this page's own CTAs — a teal
   button barely showed up against the navbar's own teal gradient
   background, and green is already this site's established header-CTA
   colour, not a one-off. */
.navbar-minimal .sign-up {
    width: auto;
    white-space: nowrap;
    background: transparent;
    color: #ffffff;
    border: 2px solid #4caf50;
    padding: 0.5rem 1.2rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.navbar-minimal .sign-up:hover {
    background: #4caf50;
    border-color: #4caf50;
    box-shadow: 0 2px 10px rgba(76, 175, 80, 0.35);
}

/* The base navbar collapses to an icon-only button under 425px (see
   navbar.css's .su-icon/.su-text swap) — we don't have an icon variant
   here, so keep the text visible at every width instead of disappearing. */
@media (max-width: 425px) {
    .navbar-minimal .sign-up {
        width: auto;
        height: auto;
        padding: 0.5rem 1rem;
    }
    .navbar-minimal .su-text {
        display: inline !important;
    }
}

.footer-minimal {
    padding: 2rem 20px;
}

.footer-minimal .footer-bottom {
    padding: 0;
}

/* ── Responsive ───────────────────────────────────────────────────────── */

@media (max-width: 860px) {
    .jpn-space-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .jpn-space:nth-child(even) .jpn-space-inner {
        direction: ltr;
    }

    .jpn-space-visual {
        order: -1;
    }

    .jpn-method-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem 1.25rem;
    }

    /* Same rule as home/home.css at its own 2-column breakpoint: a
       horizontal line stops making sense once steps wrap to more than
       one per row — it would visually connect the wrong steps. */
    .jpn-method-connecting-line {
        display: none;
    }
}

@media (max-width: 560px) {
    .jpn-section {
        padding: 4rem 1.25rem;
    }

    .jpn-method-grid {
        grid-template-columns: 1fr;
    }

    .jpn-space-text .jpn-eyebrow,
    .jpn-space-text .jpn-h2 {
        text-align: center;
    }

    .jpn-space-text p {
        text-align: center;
    }
}
