/* InDesign landing page — extends style.css
 * Design goals:
 * - Same paper-white base as the rest of the marketing site.
 * - A subtle "Adobe blue" accent for InDesign-specific chrome
 *   so the page reads as "the InDesign side of Pixometry"
 *   without imitating Adobe branding.
 */

:root {
    --id-accent: #1a73e8;              /* Cool blue — evokes Adobe/InDesign without cloning */
    --id-accent-soft: #eaf1fd;
}

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

.id-hero {
    padding: 3.5rem 0 5rem;
}

.id-hero h1 {
    font-size: 3.15rem;
}

.id-hero .lead strong {
    color: var(--pix-text);
    font-weight: 600;
}

.id-hero-note {
    color: var(--pix-muted);
    font-size: 0.85rem;
    margin: 1.25rem 0 0;
    line-height: 1.5;
    max-width: 55ch;
}

.id-hero-panel {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    background: white;
    padding: 4px;
    max-width: 340px;
    max-height: 460px;
    margin: 0 auto;
}

/* The screenshot is tall (0.53 aspect); we deliberately clip the bottom
 * so the hero shows just the visible-portion of the panel — common
 * "screenshot preview" pattern that keeps the hero row compact.
 */
.id-hero-panel img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* ─── Section spacing tweaks ───────────────────────────────────────── */

.id-h2 { margin-bottom: 0.75rem; }

.id-subhead {
    max-width: 60ch;
    margin: 0 auto 3.5rem;
    color: var(--pix-text-soft);
}

/* Accent icon inside feature headers */
.id-icon-accent {
    color: var(--id-accent);
}

/* Feature block visual side, generic wrapper */
.id-feature-block .id-feature-visual {
    background: var(--pix-panel);
    border: 1px solid var(--pix-border-soft);
    border-radius: 12px;
    padding: 1.5rem;
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.id-feature-visual img {
    max-width: 320px;
    max-height: 480px;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* ─── Feature 1: crop illustration ─────────────────────────────────── */

.id-crop-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
}

.id-crop-source {
    position: relative;
    background: linear-gradient(135deg, #cfd8dc, #90a4ae);
    width: 180px;
    height: 130px;
    border-radius: 6px;
    flex-shrink: 0;
}

.id-crop-source-label {
    position: absolute;
    top: -22px;
    left: 0;
    font-size: 0.75rem;
    color: var(--pix-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.id-crop-frame {
    position: absolute;
    top: 20px;
    left: 25px;
    width: 90px;
    height: 60px;
    border: 2px dashed var(--id-accent);
    background: rgba(26, 115, 232, 0.1);
    border-radius: 3px;
}

.id-crop-frame-label {
    position: absolute;
    top: -20px;
    left: 0;
    font-size: 0.7rem;
    color: var(--id-accent);
    font-weight: 600;
    white-space: nowrap;
}

.id-crop-arrow {
    font-size: 1.75rem;
    color: var(--pix-muted);
    flex-shrink: 0;
}

.id-crop-output {
    position: relative;
    background: linear-gradient(135deg, #ff9800, #f57c00);
    width: 90px;
    height: 60px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(245, 124, 0, 0.35);
    flex-shrink: 0;
}

.id-crop-output-label {
    position: absolute;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    color: var(--pix-text-soft);
    font-weight: 600;
    white-space: nowrap;
    text-align: center;
}

/* ─── Feature 3: capability cards grid ─────────────────────────────── */

.id-caps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
    width: 100%;
    max-width: 340px;
}

.id-cap-card {
    background: white;
    border: 1px solid var(--pix-border-soft);
    border-radius: 8px;
    padding: 1rem 0.75rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.15s, box-shadow 0.15s;
}

.id-cap-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.id-cap-card i {
    font-size: 1.5rem;
    color: var(--id-accent);
}

.id-cap-card span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--pix-text);
    line-height: 1.25;
}

/* ─── Feature 4: toggle mock ───────────────────────────────────────── */

.id-toggle-visual { flex-direction: column; }

.id-toggle-mock {
    text-align: center;
}

.id-toggle-row {
    display: inline-flex;
    background: white;
    border: 1px solid var(--pix-border-soft);
    border-radius: 999px;
    padding: 4px;
    gap: 2px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.id-toggle-pill {
    padding: 0.6rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--pix-text-soft);
    cursor: default;
    transition: all 0.15s;
}

.id-toggle-pill.id-toggle-active {
    background: var(--pix-cta);
    color: white;
    box-shadow: 0 2px 6px rgba(25, 135, 84, 0.35);
}

.id-toggle-note {
    margin: 1.25rem 0 0;
    color: var(--pix-text-soft);
    font-size: 0.95rem;
}

/* ─── Get-started grid ─────────────────────────────────────────────── */

.id-get-started {
    text-align: center;
}

.id-start-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    text-align: left;
}

.id-start-card {
    background: white;
    border: 1px solid var(--pix-border-soft);
    border-radius: 12px;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.id-start-badge {
    display: inline-block;
    align-self: flex-start;
    background: var(--id-accent-soft);
    color: var(--id-accent);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.id-start-card h3 {
    font-size: 1.2rem;
    margin: 0;
}

.id-start-card p {
    color: var(--pix-text-soft);
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0 0 0.5rem;
    flex-grow: 1;
}

.id-start-card .btn-pix-primary,
.id-start-card .pix-arrow-link {
    align-self: flex-start;
    margin-top: auto;
}

/* ─── Enterprise callout ───────────────────────────────────────────── */

.id-enterprise {
    padding-top: 0;
    padding-bottom: var(--section-y);
}

.id-enterprise-card {
    background: var(--pix-text);
    color: white;
    border-radius: 16px;
    padding: 2.5rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.id-enterprise-card h3 {
    color: white;
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
}

.id-enterprise-card p {
    color: rgba(255,255,255,0.85);
    margin: 0;
    max-width: 55ch;
    line-height: 1.6;
}

.id-enterprise-card .btn-pix-outline {
    color: white;
    border-color: white;
    white-space: nowrap;
    flex-shrink: 0;
}

.id-enterprise-card .btn-pix-outline:hover {
    background: white;
    color: var(--pix-text);
}

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

@media (max-width: 991px) {
    .id-hero h1 { font-size: 2.4rem; }
    .id-start-grid { grid-template-columns: 1fr; }
    .id-enterprise-card { flex-direction: column; align-items: flex-start; padding: 2rem; }
    .id-caps-grid { max-width: 100%; }
}

@media (max-width: 575px) {
    .id-hero h1 { font-size: 2rem; }
    .id-crop-illustration { flex-direction: column; gap: 3rem; }
    .id-crop-arrow { transform: rotate(90deg); }
}
