/* ════════════════════════════════
   JR TECHNOLOGIES — UI/UX DESIGN PAGE CSS
   Page-specific styles only.
   Depends on: reset.css, common.css
════════════════════════════════ */

/* ─────────────────────────────────
   PAGE HERO — ORB POSITIONS
───────────────────────────────── */
.ph-orb1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235,0.5) 0%, transparent 70%);
    top: -120px; right: -100px;
    animation: orbFloat1 14s ease-in-out infinite;
}
.ph-orb2 {
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(30, 64, 175,0.35) 0%, transparent 70%);
    bottom: 40px; left: -60px;
    animation: orbFloat2 18s ease-in-out infinite;
}

/* ─────────────────────────────────
   PAGE HERO — RIGHT PANEL (stats card)
───────────────────────────────── */
.ph-uiux-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ph-uiux-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.ph-uiux-card-label {
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--blue-light);
    font-weight: 500;
}
.ph-uiux-stat {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    transition: border-color 0.3s;
}
.ph-uiux-stat:hover {
    border-color: rgba(37, 99, 235,0.4);
}
.ph-uiux-stat-num {
    font-family: var(--serif);
    font-size: 34px;
    font-weight: 600;
    color: var(--blue-light);
    line-height: 1;
    flex-shrink: 0;
    min-width: 60px;
}
.ph-uiux-stat-num sup {
    font-size: 0.5em;
    vertical-align: super;
}
.ph-uiux-stat-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 2px;
}
.ph-uiux-stat-sub {
    font-size: 11px;
    color: var(--gray-400);
    line-height: 1.45;
}

/* Float badges */
.ph-uiux-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42,0.9);
    border: 1px solid rgba(37, 99, 235,0.35);
    border-radius: 30px;
    padding: 7px 14px;
    font-size: 12px;
    color: var(--gray-300);
    font-weight: 400;
    backdrop-filter: blur(8px);
    width: fit-content;
}
.ph-uiux-badge svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    fill: none;
    stroke: var(--blue-light);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.ph-uiux-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* ─────────────────────────────────
   SECTION HELPERS
───────────────────────────────── */
.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.eyebrow-line {
    width: 30px;
    height: 1px;
    background: var(--blue);
}
.eyebrow-text {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--blue);
    font-weight: 500;
}
.eyebrow-line-lt { background: var(--blue-light); }
.eyebrow-text-lt { color: var(--blue-light); }

.sec-title {
    font-family: var(--serif);
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.5px;
    color: var(--black);
    margin-bottom: 16px;
}
.sec-title em { font-style: italic; color: var(--blue); }
.sec-title.lt { color: var(--white); }
.sec-title.lt em { color: var(--blue-light); }
.sec-body {
    font-size: 16px;
    line-height: 1.85;
    color: var(--gray-700);
    max-width: 580px;
    font-weight: 300;
}

/* Reveal utility for this page */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }
.d4 { transition-delay: .32s; }
.d5 { transition-delay: .40s; }
.d6 { transition-delay: .48s; }

/* ─────────────────────────────────
   OVERVIEW BAND
───────────────────────────────── */
.overview-band {
    background: var(--white);
    padding: 88px 5vw 0;
}
.overview-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding-bottom: 88px;
    border-bottom: 1px solid var(--gray-100);
}
.ov-lead {
    font-family: var(--serif);
    font-size: clamp(20px, 2.4vw, 32px);
    font-weight: 300;
    font-style: italic;
    line-height: 1.5;
    color: var(--black);
    border-left: 3px solid var(--blue);
    padding-left: 24px;
    margin: 22px 0 26px;
}
.ov-body {
    font-size: 16px;
    line-height: 1.9;
    color: var(--gray-700);
    font-weight: 300;
    margin-bottom: 18px;
}
.ov-right { display: flex; flex-direction: column; gap: 14px; }
.ov-stat {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: var(--off-white);
    border-radius: 10px;
    border: 1px solid var(--gray-100);
    transition: border-color 0.3s, transform 0.3s var(--ease);
}
.ov-stat:hover { border-color: var(--blue-pale); transform: translateX(6px); }
.ov-stat-num {
    font-family: var(--serif);
    font-size: 36px;
    font-weight: 600;
    color: var(--blue);
    line-height: 1;
    flex-shrink: 0;
    min-width: 64px;
}
.ov-stat-num sup { font-size: 0.5em; vertical-align: super; }
.ov-stat-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray-500);
    font-weight: 300;
}
.ov-stat-text strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 2px;
}

/* ─────────────────────────────────
   DELIVERABLES GRID
───────────────────────────────── */
.deliverables { background: var(--off-white); padding: 100px 5vw; }
.deliverables-inner { max-width: 1200px; margin: 0 auto; }
.deliverables-head { text-align: center; max-width: 600px; margin: 0 auto 60px; }
.del-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.del-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 12px;
    padding: 36px 30px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.del-card:hover {
    transform: translateY(-6px);
    border-color: var(--blue-pale);
    box-shadow: 0 16px 48px rgba(37, 99, 235,0.08);
}
.del-card-accent {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
}
.del-card:hover .del-card-accent { transform: scaleX(1); }
.del-num {
    font-family: var(--serif);
    font-size: 52px;
    font-weight: 300;
    color: rgba(37, 99, 235,0.07);
    line-height: 1;
    margin-bottom: 16px;
    transition: color 0.3s;
}
.del-card:hover .del-num { color: rgba(37, 99, 235,0.13); }
.del-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--blue-pale);
    border: 1px solid rgba(37, 99, 235,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.del-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--blue);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.del-title { font-size: 17px; font-weight: 600; color: var(--black); margin-bottom: 10px; letter-spacing: -0.2px; }
.del-desc { font-size: 14px; line-height: 1.8; color: var(--gray-500); font-weight: 300; }

/* ─────────────────────────────────
   PROCESS (dark)
───────────────────────────────── */
.process { background: var(--black); padding: 100px 5vw; }
.process-inner { max-width: 1200px; margin: 0 auto; }
.process-head { text-align: center; margin-bottom: 64px; }
.process-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; }
.ps {
    background: var(--charcoal);
    padding: 40px 28px;
    position: relative;
    overflow: hidden;
    transition: background 0.3s;
}
.ps::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235,0.12) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}
.ps:hover { background: #1e293b; }
.ps:hover::after { opacity: 1; }
.ps-num {
    font-family: var(--serif);
    font-size: clamp(44px, 4.5vw, 66px);
    font-weight: 300;
    color: rgba(255,255,255,0.04);
    line-height: 1;
    position: absolute;
    top: 16px; right: 20px;
    pointer-events: none;
    transition: color 0.3s;
}
.ps:hover .ps-num { color: rgba(37, 99, 235,0.14); }
.ps-phase {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--blue-light);
    font-weight: 500;
    margin-bottom: 16px;
    display: block;
}
.ps-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(37, 99, 235,0.15);
    border: 1px solid rgba(37, 99, 235,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: background 0.3s, border-color 0.3s;
}
.ps:hover .ps-icon { background: rgba(37, 99, 235,0.28); border-color: rgba(37, 99, 235,0.6); }
.ps-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--blue-light);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.ps-title { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--white); margin-bottom: 10px; }
.ps-desc { font-size: 13px; line-height: 1.8; color: var(--gray-400); font-weight: 300; }

/* ─────────────────────────────────
   TOOLS / PHILOSOPHY (split)
───────────────────────────────── */
.tools-philo { display: grid; grid-template-columns: 1fr 1fr; }
.tools-half { padding: 100px 5vw; }
.tools-half.dark { background: var(--charcoal); }
.tools-half.light { background: var(--white); }
.tools-half-inner { max-width: 520px; }
.tools-half.light .tools-half-inner { margin-left: auto; }
.tools-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.tool-chip {
    padding: 16px 18px;
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    transition: border-color 0.3s, background 0.3s;
}
.tool-chip:hover { border-color: rgba(37, 99, 235,0.45); background: rgba(37, 99, 235,0.08); }
.tool-chip-name { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.tool-chip-desc { font-size: 12px; color: var(--gray-400); font-weight: 300; }
.philo-list { display: flex; flex-direction: column; gap: 20px; margin-top: 40px; }
.philo-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    border-radius: 10px;
    background: var(--off-white);
    border: 1px solid var(--gray-100);
    transition: border-color 0.3s, transform 0.3s var(--ease);
}
.philo-item:hover { border-color: var(--blue-pale); transform: translateX(6px); }
.philo-dot {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    flex-shrink: 0;
    background: var(--blue-pale);
    border: 1px solid rgba(37, 99, 235,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}
.philo-dot svg {
    width: 15px;
    height: 15px;
    stroke: var(--blue);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.philo-title { font-size: 15px; font-weight: 600; color: var(--black); margin-bottom: 5px; }
.philo-desc { font-size: 13px; line-height: 1.75; color: var(--gray-500); font-weight: 300; }

/* ─────────────────────────────────
   PACKAGES
───────────────────────────────── */
.packages { background: var(--blue-pale); padding: 100px 5vw; }
.packages-inner { max-width: 1200px; margin: 0 auto; }
.packages-head { max-width: 600px; margin: 0 auto 56px; text-align: center; }
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pkg-card {
    background: var(--white);
    border-radius: 14px;
    border: 1px solid rgba(37, 99, 235,0.1);
    padding: 44px 36px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.pkg-card:hover { transform: translateY(-8px); box-shadow: 0 24px 64px rgba(37, 99, 235,0.12); border-color: var(--blue); }
.pkg-card.featured { background: var(--blue); border-color: var(--blue); }
.pkg-card.featured:hover { box-shadow: 0 24px 64px rgba(37, 99, 235,0.4); }
.pkg-ribbon {
    position: absolute;
    top: 20px; right: 20px;
    background: rgba(255,255,255,0.15);
    color: var(--white);
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 500;
}
.pkg-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--blue-pale);
    border: 1px solid rgba(37, 99, 235,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.pkg-card.featured .pkg-icon { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.2); }
.pkg-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--blue);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.pkg-card.featured .pkg-icon svg { stroke: #fff; }
.pkg-tier { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); font-weight: 600; margin-bottom: 10px; }
.pkg-card.featured .pkg-tier { color: rgba(255,255,255,0.65); }
.pkg-name { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; color: var(--black); margin-bottom: 14px; letter-spacing: -0.3px; }
.pkg-card.featured .pkg-name { color: var(--white); }
.pkg-desc { font-size: 14px; line-height: 1.8; color: var(--gray-700); font-weight: 300; margin-bottom: 26px; }
.pkg-card.featured .pkg-desc { color: rgba(255, 255, 255, 0.85); }
.pkg-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.pkg-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--gray-700);
    font-weight: 300;
    line-height: 1.5;
}
.pkg-card.featured .pkg-list li { color: rgba(255,255,255,0.7); }
.pkg-list li::before {
    content: '';
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--blue-pale);
    border: 1px solid rgba(37, 99, 235,0.25);
    margin-top: 2px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='3 8 6.5 11.5 13 4.5' stroke='%236B1A2A' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
}
.pkg-card.featured .pkg-list li::before {
    background-color: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.2);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='3 8 6.5 11.5 13 4.5' stroke='white' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.pkg-btn {
    display: block;
    text-align: center;
    background: var(--blue);
    color: var(--white);
    padding: 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}
.pkg-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.07);
    transform: translateX(-100%);
    transition: transform 0.3s var(--ease);
}
.pkg-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37, 99, 235,0.45); }
.pkg-btn:hover::before { transform: translateX(0); }
.pkg-card.featured .pkg-btn { background: var(--white); color: var(--blue); }
.pkg-card.featured .pkg-btn:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.2); }

/* ─────────────────────────────────
   FAQ
───────────────────────────────── */
.faq-section { background: var(--off-white); padding: 100px 5vw; }
.faq-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: start; }
.faq-items { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--gray-100); }
.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 0;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: var(--black);
    line-height: 1.45;
    transition: color 0.2s;
}
.faq-q:hover { color: var(--blue); }
.faq-icon { width: 22px; height: 22px; flex-shrink: 0; }
.faq-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
}
.faq-a {
    font-size: 15px;
    line-height: 1.85;
    color: var(--gray-700);
    font-weight: 300;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease), padding 0.3s;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 24px; }
.faq-item.open .faq-q { color: var(--blue); }

/* ─────────────────────────────────
   CTA STRIP
───────────────────────────────── */
.cta-strip {
    background: var(--black);
    padding: 100px 5vw;
    position: relative;
    overflow: hidden;
}
.cta-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 20% 50%, rgba(37, 99, 235,0.35) 0%, transparent 70%);
    pointer-events: none;
}
.cta-strip-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.cta-title {
    font-family: var(--serif);
    font-size: clamp(36px, 4.5vw, 62px);
    font-weight: 300;
    line-height: 1.05;
    color: var(--white);
    letter-spacing: -1px;
    margin-bottom: 20px;
}
.cta-title em { font-style: italic; color: var(--blue-light); }
.cta-sub { font-size: 16px; line-height: 1.85; color: rgba(255,255,255,0.45); font-weight: 300; }
.cta-actions { display: flex; flex-direction: column; gap: 16px; }
.btn-blue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--blue);
    color: var(--white);
    padding: 18px 40px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s var(--ease);
}
.btn-blue:hover { background: var(--blue-bright); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(37, 99, 235,0.5); }
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: transparent;
    color: rgba(255,255,255,0.6);
    padding: 18px 40px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255,255,255,0.12);
    transition: all 0.3s var(--ease);
}
.btn-outline:hover { color: var(--white); border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.04); }
.cta-note { font-size: 13px; color: rgba(255, 255, 255, 0.6); }
.cta-note a { color: var(--blue-light); }

/* ─────────────────────────────────
   RESPONSIVE
───────────────────────────────── */
@media (max-width: 900px) {
    .overview-inner,
    .faq-inner,
    .cta-strip-inner { grid-template-columns: 1fr; gap: 48px; }
    .del-grid { grid-template-columns: 1fr 1fr; }
    .process-steps { grid-template-columns: 1fr 1fr; }
    .ps:last-child { grid-column: 1 / -1; }
    .tools-philo { grid-template-columns: 1fr; }
    .tools-half.light .tools-half-inner { margin-left: 0; }
    .pkg-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}

@media (max-width: 600px) {
    .del-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; }
    .ps:last-child { grid-column: auto; }
    .tools-grid { grid-template-columns: 1fr; }
}
