/* ==========================================
   MODERN PRODUCT PAGE
   AI Workflow Command Center landing page
   ========================================== */

.gp-product-modern {
    --product-max: 1120px;
    color: var(--gp-text);
    box-sizing: border-box;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: none !important;
    overflow: hidden;
    width: 100vw;
}

.gp-product-modern-hero,
.gp-product-modern-section,
.gp-product-modern-fit,
.gp-product-modern-pricing,
.gp-product-modern-final {
    box-sizing: border-box;
    padding-left: max(1.25rem, calc((100vw - var(--product-max)) / 2));
    padding-right: max(1.25rem, calc((100vw - var(--product-max)) / 2));
}

.gp-product-modern-hero {
    align-items: center;
    background:
        linear-gradient(135deg, rgba(245, 242, 255, 0.96) 0%, rgba(255, 255, 255, 0.98) 50%, rgba(236, 249, 255, 0.78) 100%);
    border-bottom: 1px solid rgba(45, 43, 95, 0.12);
    display: grid;
    gap: clamp(2rem, 5vw, 4rem);
    grid-template-columns: minmax(0, 0.95fr) minmax(310px, 0.55fr);
    padding-top: clamp(3rem, 7vw, 5.5rem);
    padding-bottom: clamp(3rem, 7vw, 5.5rem);
}

.gp-product-modern-hero h1 {
    color: var(--gp-primary) !important;
    font-size: clamp(2.75rem, 5.3vw, 5.15rem) !important;
    font-weight: 850 !important;
    letter-spacing: 0 !important;
    line-height: 0.98 !important;
    margin: 0 0 1rem !important;
    max-width: 790px;
    text-wrap: balance;
}

.gp-product-modern-lead {
    color: var(--gp-text-muted) !important;
    font-size: clamp(1.12rem, 1vw + 0.95rem, 1.34rem) !important;
    line-height: 1.68 !important;
    margin: 0 !important;
    max-width: 680px;
}

.gp-product-modern-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.6rem;
}

.gp-product-modern-note {
    color: var(--gp-text-muted) !important;
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
    margin: 1rem 0 0 !important;
}

.gp-product-modern-window {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 247, 255, 0.96) 100%);
    border: 1px solid rgba(45, 43, 95, 0.14);
    border-radius: 8px;
    box-shadow: 0 30px 80px rgba(30, 30, 63, 0.16);
    overflow: hidden;
}

.gp-product-modern-window__bar {
    align-items: center;
    background: #17142f;
    display: flex;
    gap: 0.35rem;
    min-height: 34px;
    padding: 0 0.9rem;
}

.gp-product-modern-window__bar span {
    border-radius: 999px;
    display: block;
    height: 0.52rem;
    width: 0.52rem;
}

.gp-product-modern-window__bar span:nth-child(1) { background: #8a70d6; }
.gp-product-modern-window__bar span:nth-child(2) { background: #42d9ff; }
.gp-product-modern-window__bar span:nth-child(3) { background: #c4b5f0; }

.gp-product-modern-window__body {
    padding: 1.25rem;
}

.gp-product-modern-window__body p {
    color: var(--gp-text-muted) !important;
    font-size: 0.82rem !important;
    font-weight: 850;
    letter-spacing: 0.08em;
    line-height: 1.2 !important;
    margin: 0 0 0.45rem !important;
    text-transform: uppercase;
}

.gp-product-modern-window__body strong {
    color: var(--gp-primary);
    display: block;
    font-size: 1.35rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.gp-product-modern-kanban {
    display: grid;
    gap: 0.65rem;
}

.gp-product-modern-kanban span {
    background: var(--gp-white);
    border: 1px solid rgba(107, 79, 187, 0.14);
    border-radius: 8px;
    color: var(--gp-primary);
    display: block;
    font-weight: 800;
    padding: 0.8rem 0.9rem;
}

.gp-product-modern-section,
.gp-product-modern-fit,
.gp-product-modern-pricing,
.gp-product-modern-final {
    border-top: 1px solid rgba(45, 43, 95, 0.1);
    padding-top: clamp(3rem, 6vw, 5rem);
    padding-bottom: clamp(3rem, 6vw, 5rem);
}

.gp-product-modern-section--intro,
.gp-product-modern-pricing {
    align-items: start;
    display: grid;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
}

.gp-product-modern-copy h2,
.gp-product-modern-heading h2,
.gp-product-modern-pricing h2,
.gp-product-modern-final h2 {
    color: var(--gp-primary) !important;
    font-size: clamp(2rem, 4vw, 3.45rem) !important;
    font-weight: 850 !important;
    letter-spacing: 0 !important;
    line-height: 1.04 !important;
    margin: 0 !important;
    text-wrap: balance;
}

.gp-product-modern-heading {
    max-width: 780px;
    margin-bottom: 1.5rem;
}

.gp-product-modern-heading > p:not(.gp-home-eyebrow),
.gp-product-modern-copy p,
.gp-product-modern-pricing p,
.gp-product-modern-final p {
    color: var(--gp-text-muted) !important;
    font-size: 1.06rem !important;
    line-height: 1.72 !important;
    margin: 0 !important;
}

.gp-product-modern-copy--body {
    display: grid;
    gap: 1rem;
}

.gp-product-modern-grid {
    display: grid;
    gap: 1rem;
}

.gp-product-modern-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gp-product-modern-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gp-product-modern-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.gp-product-modern-card,
.gp-product-modern-list,
.gp-product-modern-screen,
.gp-product-modern-faq details,
.gp-product-modern-price-card {
    background: var(--gp-white);
    border: 1px solid rgba(45, 43, 95, 0.12);
    border-radius: 8px;
    box-shadow: var(--gp-shadow);
    min-width: 0;
}

.gp-product-modern-card,
.gp-product-modern-list {
    padding: 1.2rem;
}

.gp-product-modern-card span {
    color: var(--gp-secondary);
    display: block;
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    margin-bottom: 0.9rem;
}

.gp-product-modern-card h3,
.gp-product-modern-list h3,
.gp-product-modern-screen h3 {
    color: var(--gp-primary) !important;
    font-size: 1.1rem !important;
    font-weight: 850 !important;
    line-height: 1.22 !important;
    margin: 0 0 0.55rem !important;
}

.gp-product-modern-card p,
.gp-product-modern-list li,
.gp-product-modern-screen p,
.gp-product-modern-faq p,
.gp-product-modern-price-card p {
    color: var(--gp-text-muted) !important;
    font-size: 0.98rem !important;
    line-height: 1.62 !important;
    margin: 0 !important;
}

.gp-product-modern-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gp-product-modern-list li {
    padding-left: 1.05rem;
    position: relative;
}

.gp-product-modern-list li + li {
    margin-top: 0.75rem;
}

.gp-product-modern-list li::before {
    background: var(--gp-accent);
    border-radius: 999px;
    content: "";
    height: 0.42rem;
    left: 0;
    position: absolute;
    top: 0.72rem;
    transform: translateY(-50%);
    width: 0.42rem;
}

.gp-product-modern-screens {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gp-product-modern-screen {
    overflow: hidden;
    padding: 1rem;
}

.gp-product-modern-screen figure {
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    margin: 0 0 1rem;
    overflow: hidden;
}

.gp-product-modern-screen img {
    display: block;
    height: auto;
    width: 100%;
}

.gp-product-modern-fit,
.gp-product-modern-pricing {
    background: linear-gradient(180deg, #ffffff 0%, #faf9ff 100%);
}

.gp-product-modern-steps {
    display: grid;
    gap: 0.85rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.gp-product-modern-steps li {
    align-items: start;
    background: var(--gp-white);
    border: 1px solid rgba(107, 79, 187, 0.14);
    border-radius: 8px;
    display: grid;
    gap: 0.35rem 0.8rem;
    grid-template-columns: auto minmax(0, 1fr);
    padding: 1rem;
}

.gp-product-modern-steps span {
    color: var(--gp-secondary);
    font-size: 0.82rem;
    font-weight: 850;
    grid-row: span 2;
    letter-spacing: 0.08em;
}

.gp-product-modern-steps strong {
    color: var(--gp-primary);
    line-height: 1.25;
}

.gp-product-modern-steps p {
    color: var(--gp-text-muted) !important;
    font-size: 0.98rem !important;
    line-height: 1.58 !important;
    margin: 0 !important;
}

.gp-product-modern-price-card {
    justify-self: end;
    max-width: 360px;
    padding: 1.4rem;
    width: 100%;
}

.gp-product-modern-price {
    color: var(--gp-primary) !important;
    font-size: clamp(3rem, 6vw, 4.5rem) !important;
    font-weight: 850;
    line-height: 1 !important;
    margin: 0 0 1rem !important;
}

.gp-product-modern-price span {
    color: var(--gp-text-muted);
    font-size: 1rem;
    font-weight: 750;
}

.gp-product-modern-price-card .gp-home-btn {
    width: 100%;
    margin-bottom: 1rem;
}

.gp-product-modern-faq {
    display: grid;
    gap: 0.75rem;
    max-width: 900px;
}

.gp-product-modern-faq details {
    overflow: hidden;
}

.gp-product-modern-faq summary {
    color: var(--gp-primary);
    cursor: pointer;
    font-weight: 850;
    list-style: none;
    padding: 1rem 1.2rem;
}

.gp-product-modern-faq summary::-webkit-details-marker {
    display: none;
}

.gp-product-modern-faq p {
    padding: 0 1.2rem 1rem;
}

.gp-product-modern-final {
    align-items: center;
    background: #17142f;
    color: var(--gp-white);
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
}

.gp-product-modern-final .gp-home-eyebrow,
.gp-product-modern-final h2,
.gp-product-modern-final p {
    color: var(--gp-white) !important;
}

.gp-product-modern-final p {
    color: rgba(244, 246, 255, 0.82) !important;
    max-width: 44rem;
}

.gp-product-modern-final .gp-home-btn {
    flex: 0 0 auto;
}

@media (max-width: 980px) {
    .gp-product-modern-hero,
    .gp-product-modern-section--intro,
    .gp-product-modern-pricing {
        grid-template-columns: 1fr;
    }

    .gp-product-modern-grid--4,
    .gp-product-modern-grid--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gp-product-modern-price-card {
        justify-self: start;
    }
}

@media (max-width: 700px) {
    .gp-product-modern-hero,
    .gp-product-modern-section,
    .gp-product-modern-fit,
    .gp-product-modern-pricing,
    .gp-product-modern-final {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .gp-product-modern-hero {
        padding-top: 2.2rem;
        padding-bottom: 2.5rem;
    }

    .gp-product-modern-hero h1 {
        font-size: clamp(2.1rem, 10vw, 3rem) !important;
    }

    .gp-product-modern-lead {
        font-size: 1.02rem !important;
        line-height: 1.58 !important;
    }

    .gp-product-modern-actions,
    .gp-product-modern-final {
        align-items: stretch;
        flex-direction: column;
    }

    .gp-product-modern-actions .gp-home-btn,
    .gp-product-modern-final .gp-home-btn {
        width: 100%;
    }

    .gp-product-modern-preview {
        display: none;
    }

    .gp-product-modern-grid--4,
    .gp-product-modern-grid--3,
    .gp-product-modern-grid--2,
    .gp-product-modern-screens {
        grid-template-columns: 1fr;
    }
}
