/* =========================================
   SellApp Solution Page — CSS
   ic-factory.com/sellapp-solution.html
   ========================================= */

:root {
  --navy: #1B2444;
  --primary: #F57C20;
  --primary-light: #fff3e8;
  --dark: #0f172a;
  --gray-600: #64748b;
  --radius-lg: 16px;
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
}

/* ─── HERO ──────────────────────────────── */
.sol-hero {
  background: linear-gradient(145deg, var(--navy) 0%, #243066 100%);
  padding: 140px 0 80px;
  color: white;
  overflow: hidden;
}
.sol-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.sol-hero .hero-tag {
  display: inline-block;
  background: rgba(245,124,32,.2);
  color: var(--primary);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.sol-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
.brand-sell { color: white; }
.brand-app  { color: var(--primary); }
.hero-accent { color: var(--primary); }

.sol-hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.78);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 520px;
}
.sol-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.stag {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: .78rem;
  color: rgba(255,255,255,.85);
}

/* ─── MOCK SCREEN ────────────────────────── */
.sol-screen {
  background: #1a2035;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0,0,0,.4);
  max-width: 400px;
  margin-left: auto;
}
.sol-screen-bar {
  background: #0f1628;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ssb-dot { width: 10px; height: 10px; border-radius: 50%; }
.ssb-dot.red   { background: #ff5f57; }
.ssb-dot.amber { background: #febc2e; }
.ssb-dot.green { background: #28c840; }
.ssb-url {
  margin-left: 10px;
  font-size: .72rem;
  color: rgba(255,255,255,.4);
  font-family: monospace;
}
.sol-screen-body { padding: 20px; }

.sol-kpi-row { display: flex; gap: 12px; margin-bottom: 20px; }
.sol-kpi {
  flex: 1;
  background: rgba(255,255,255,.05);
  border-radius: 10px;
  padding: 12px 10px;
  text-align: center;
}
.sol-kpi-val { font-size: .9rem; font-weight: 700; color: white; margin-bottom: 4px; }
.sol-kpi-val.green  { color: #4ade80; }
.sol-kpi-val.orange { color: var(--primary); }
.sol-kpi-val.blue   { color: #60a5fa; }
.sol-kpi-lbl { font-size: .65rem; color: rgba(255,255,255,.45); }

.sol-dialer { background: rgba(255,255,255,.04); border-radius: 10px; padding: 16px; }
.sol-dialer-label { font-size: .7rem; color: rgba(255,255,255,.4); text-align: center; margin-bottom: 12px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }
.sol-dial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}
.sol-dial-grid span {
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  text-align: center;
  padding: 8px;
  font-size: .9rem;
  color: rgba(255,255,255,.7);
  font-weight: 600;
}
.sol-call-btn {
  width: 100%;
  background: #16a34a;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 9px;
  font-size: .85rem;
  font-weight: 600;
  cursor: default;
}

/* ─── STATS BAR ─────────────────────────── */
.sol-stats-bar {
  background: var(--primary);
  padding: 24px 0;
}
.ssb-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.ssb-item { text-align: center; }
.ssb-item strong { display: block; font-size: 1.5rem; font-weight: 800; color: white; }
.ssb-item span   { font-size: .8rem; color: rgba(255,255,255,.8); }
.ssb-sep { width: 1px; height: 40px; background: rgba(255,255,255,.25); flex-shrink: 0; }

/* ─── FEATURES ──────────────────────────── */
.sol-features { padding: 96px 0; background: #f8faff; }
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.feat-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.05);
  transition: transform .2s, box-shadow .2s;
}
.feat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.feat-card.feat-main {
  grid-column: span 1;
  border-left: 4px solid var(--primary);
}
.feat-icon { font-size: 2rem; margin-bottom: 12px; }
.feat-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.feat-card p  { font-size: .875rem; color: var(--gray-600); line-height: 1.6; margin-bottom: 16px; }
.feat-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.feat-list li { font-size: .82rem; color: var(--gray-600); display: flex; align-items: flex-start; gap: 8px; }
.feat-list li::before { content: "✓"; color: var(--primary); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ─── TARGET ────────────────────────────── */
.sol-target { padding: 96px 0; background: white; }
.target-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.target-card {
  background: #f8faff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  border: 2px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.target-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); }
.target-card.featured {
  border-color: var(--primary);
  background: white;
  box-shadow: var(--shadow-lg);
}
.target-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.target-emoji { font-size: 2.2rem; margin-bottom: 14px; }
.target-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.target-card p  { font-size: .875rem; color: var(--gray-600); line-height: 1.65; margin-bottom: 18px; }
.target-points { display: flex; flex-direction: column; gap: 6px; }
.target-points span { font-size: .82rem; color: var(--gray-600); }

/* ─── TECH ──────────────────────────────── */
.sol-tech {
  padding: 96px 0;
  background: var(--navy);
  color: white;
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.tech-item {
  background: rgba(255,255,255,.06);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  border: 1px solid rgba(255,255,255,.08);
  transition: background .2s;
}
.tech-item:hover { background: rgba(255,255,255,.1); }
.tech-logo { font-size: 2rem; margin-bottom: 10px; }
.tech-item h4 { font-size: .9rem; font-weight: 700; margin-bottom: 8px; }
.tech-item p  { font-size: .78rem; color: rgba(255,255,255,.55); line-height: 1.55; }

/* ─── WORKFLOW ───────────────────────────── */
.sol-workflow { padding: 96px 0; background: #f8faff; }
.workflow-steps {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 56px;
}
.ws-step {
  flex: 1;
  min-width: 160px;
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ws-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--primary); color: white;
  font-size: .95rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ws-content h4 { font-size: .9rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.ws-content p  { font-size: .8rem; color: var(--gray-600); line-height: 1.55; }
.ws-url { font-family: monospace; font-size: .78rem; background: #f0f4ff; padding: 1px 6px; border-radius: 4px; color: var(--navy); }
.ws-arrow { font-size: 1.4rem; color: var(--primary); font-weight: 700; align-self: center; flex-shrink: 0; }

/* ─── COMPARISON TABLE ───────────────────── */
.sol-compare { padding: 96px 0; background: white; }
.compare-table-wrap { overflow-x: auto; margin-top: 48px; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.compare-table th {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 14px 18px;
  text-align: center;
  font-size: .8rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,.1);
}
.compare-table th:first-child { text-align: left; }
.compare-table .th-sellapp {
  background: var(--primary);
  color: white;
  font-weight: 700;
  font-size: .85rem;
}
.compare-table td {
  padding: 12px 18px;
  border: 1px solid #e8edf8;
  text-align: center;
  font-size: .85rem;
}
.compare-table td:first-child { text-align: left; font-weight: 500; color: var(--navy); }
.compare-table tr:nth-child(even) td { background: #f8faff; }
.td-yes     { color: #16a34a; font-weight: 600; }
.td-partial { color: #d97706; font-weight: 500; }
.td-no      { color: #dc2626; font-weight: 500; }

/* ─── CTA ───────────────────────────────── */
.sol-cta { padding: 80px 0; background: linear-gradient(135deg, #f8faff 0%, #fff3e8 100%); }
.cta-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
  background: white;
  border-radius: 24px;
  padding: 52px 56px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(245,124,32,.15);
}
.cta-box h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--navy); margin-bottom: 14px; line-height: 1.25; }
.cta-box p  { font-size: 1rem; color: var(--gray-600); line-height: 1.65; margin-bottom: 20px; }
.cta-points { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.cta-points li { font-size: .875rem; color: var(--gray-600); }
.cta-actions { display: flex; flex-direction: column; gap: 14px; align-items: center; min-width: 240px; }
.btn-lg { padding: 16px 32px; font-size: 1rem; white-space: nowrap; }
.cta-note { font-size: .75rem; color: var(--gray-600); text-align: center; }

/* btn-primary / btn-outline referenced from style.css */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: white;
  padding: 13px 28px; border-radius: 10px;
  font-weight: 700; font-size: .9rem;
  text-decoration: none; transition: all .2s;
  border: 2px solid transparent;
}
.btn-primary:hover { background: #d4630d; transform: translateY(-1px); }
.btn-outline {
  display: inline-flex; align-items: center;
  background: transparent; color: var(--navy);
  padding: 11px 24px; border-radius: 10px;
  font-weight: 600; font-size: .9rem;
  text-decoration: none; border: 2px solid currentColor;
  transition: all .2s;
}
.btn-outline:hover { background: var(--navy); color: white; }

/* ─── FAQ ───────────────────────────────── */
.sol-faq { padding: 80px 0; background: #f8faff; }
.faq-list { max-width: 780px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  border: 1px solid #e8edf8;
}
.faq-q {
  width: 100%;
  text-align: left;
  border: none;
  background: none;
  padding: 18px 22px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  transition: background .15s;
}
.faq-q:hover { background: #f8faff; }
.faq-q[aria-expanded="true"] { color: var(--primary); border-bottom: 1px solid #f0f4ff; }
.faq-arrow { font-size: .7rem; color: var(--primary); flex-shrink: 0; transition: transform .2s; }
.faq-a {
  padding: 16px 22px 20px;
  font-size: .875rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ─── NAV ACTIVE ─────────────────────────── */
.nav-links a.active { color: var(--primary) !important; }

/* ─── RESPONSIVE ─────────────────────────── */
@media (max-width: 1024px) {
  .feat-grid   { grid-template-columns: repeat(2, 1fr); }
  .tech-grid   { grid-template-columns: repeat(2, 1fr); }
  .target-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .sol-hero-inner   { grid-template-columns: 1fr; }
  .sol-hero-right   { display: none; }
  .ssb-grid         { justify-content: center; }
  .ssb-sep          { display: none; }
  .feat-grid        { grid-template-columns: 1fr; }
  .tech-grid        { grid-template-columns: repeat(2, 1fr); }
  .cta-box          { grid-template-columns: 1fr; padding: 36px 28px; }
  .workflow-steps   { flex-direction: column; }
  .ws-arrow         { transform: rotate(90deg); align-self: center; }
}
@media (max-width: 480px) {
  .tech-grid { grid-template-columns: 1fr; }
}
