/* ════════════════════════════════
   JR TECHNOLOGIES — WEB DEVELOPMENT 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 (web stats card)
───────────────────────────────── */
.ph-webdev-card {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.ph-webdev-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.ph-webdev-card-label {
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--blue-light);
    font-weight: 500;
}
.ph-webdev-card-icon {
    width: 36px;
    height: 36px;
    background: var(--blue-glow);
    border: 1px solid rgba(37, 99, 235,0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-light);
}
.ph-webdev-card-icon svg {
    width: 18px; height: 18px;
    fill: none; stroke: currentColor;
    stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.ph-webdev-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ph-webdev-stat {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 8px;
    transition: border-color 0.3s;
}
.ph-webdev-stat:hover {
    border-color: rgba(37, 99, 235,0.35);
}
.ph-webdev-stat-num {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 600;
    color: var(--blue-light);
    line-height: 1;
    flex-shrink: 0;
    min-width: 60px;
}
.ph-webdev-stat-num sup {
    font-size: 0.55em;
    vertical-align: super;
}
.ph-webdev-stat-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 2px;
}
.ph-webdev-stat-sub {
    font-size: 11px;
    color: var(--gray-400);
    line-height: 1.4;
}

/* Floating badges */
.ph-webdev-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
}
.ph-webdev-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    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);
}
.ph-webdev-badge svg {
    width: 13px; height: 13px;
    flex-shrink: 0;
    fill: none; stroke: var(--blue-light);
    stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* ─────────────────────────────────
   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 { 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: 3px; }
.tool-chip-desc { font-size: 12px; color: rgba(255, 255, 255, 0.6); font-weight: 300; }
.philo-list { display: flex; flex-direction: column; gap: 24px; margin-top: 40px; }
.philo-item { display: flex; gap: 16px; }
.philo-dot {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--blue-pale); border: 1px solid rgba(37, 99, 235,0.2);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px;
}
.philo-dot svg { width: 13px; height: 13px; stroke: var(--blue); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.philo-title { font-size: 15px; font-weight: 600; color: var(--black); margin-bottom: 5px; }
.philo-desc { font-size: 14px; line-height: 1.75; color: var(--gray-500); font-weight: 300; }

/* ─────────────────────────────────
   PACKAGES
───────────────────────────────── */
.packages { background: var(--off-white); padding: 100px 5vw; }
.packages-inner { max-width: 1200px; margin: 0 auto; }
.packages-head { text-align: center; margin-bottom: 60px; }
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pkg-card {
    background: var(--white); border: 1px solid var(--gray-100); border-radius: 14px;
    padding: 40px 32px; position: relative; overflow: hidden;
    transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.pkg-card:hover { transform: translateY(-6px); border-color: var(--blue-pale); box-shadow: 0 20px 60px rgba(37, 99, 235,0.09); }
.pkg-card.featured { border-color: var(--blue-pale); background: var(--white); box-shadow: 0 12px 40px rgba(37, 99, 235,0.1); }
.pkg-card.featured:hover { box-shadow: 0 24px 72px rgba(37, 99, 235,0.16); }
.pkg-ribbon {
    position: absolute; top: 20px; right: 20px;
    background: var(--blue); color: var(--white);
    font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
    padding: 4px 12px; border-radius: 20px;
}
.pkg-icon {
    width: 48px; height: 48px; 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-icon svg { width: 22px; height: 22px; stroke: var(--blue); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pkg-tier { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--blue); font-weight: 600; margin-bottom: 8px; }
.pkg-name { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--black); margin-bottom: 14px; }
.pkg-desc { font-size: 14px; line-height: 1.8; color: var(--gray-500); font-weight: 300; margin-bottom: 28px; }
.pkg-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.pkg-list li {
    font-size: 14px; color: var(--gray-700); font-weight: 300; padding-left: 20px;
    position: relative;
}
.pkg-list li::before {
    content: ''; position: absolute; left: 0; top: 8px;
    width: 6px; height: 6px; border-radius: 50%; background: var(--blue);
}
.pkg-btn {
    display: block; text-align: center; padding: 14px 24px;
    border: 1.5px solid var(--blue); color: var(--blue); border-radius: 6px;
    font-size: 14px; font-weight: 500; letter-spacing: 0.3px;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.pkg-btn:hover { background: var(--blue); color: var(--white); transform: translateY(-2px); }
.pkg-card.featured .pkg-btn { background: var(--blue); color: var(--white); }
.pkg-card.featured .pkg-btn:hover { background: var(--blue-bright); }

/* ─────────────────────────────────
   FAQ
───────────────────────────────── */
.faq-section { background: var(--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; gap: 2px; }
.faq-item { border-bottom: 1px solid var(--gray-100); }
.faq-q {
    display: flex; align-items: center; justify-content: space-between;
    padding: 22px 0; font-size: 15px; font-weight: 500; color: var(--black);
    cursor: pointer; gap: 20px; transition: color 0.2s;
}
.faq-q:hover { color: var(--blue); }
.faq-icon {
    width: 28px; height: 28px; border-radius: 50%;
    border: 1px solid var(--gray-100); display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; transition: background 0.2s, border-color 0.2s, transform 0.3s;
}
.faq-icon svg { width: 12px; height: 12px; stroke: var(--gray-500); fill: none; stroke-width: 2; stroke-linecap: round; }
.faq-item.open .faq-icon { background: var(--blue); border-color: var(--blue); transform: rotate(45deg); }
.faq-item.open .faq-icon svg { stroke: var(--white); }
.faq-a {
    font-size: 14px; line-height: 1.85; color: var(--gray-500); font-weight: 300;
    max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease), padding 0.3s;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 22px; }

/* ─────────────────────────────────
   CTA STRIP
───────────────────────────────── */
.cta-strip {
    background: var(--black); padding: 100px 5vw; position: relative; overflow: hidden;
}
.cta-strip::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse 60% 80% at 20% 50%, rgba(37, 99, 235,0.35) 0%, transparent 70%);
}
.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; }
}
