/* หน้าขายสำหรับตัวแทน (ใช้ธีมกระจกจาก styles.css) */
.sales-page { scroll-behavior: smooth; }

.nav-tag {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-primary);
    background: rgba(37, 99, 235, 0.08);
    border-radius: 50px;
    padding: 3px 10px;
    margin-left: 4px;
}

.nav-cta { padding: 10px 20px; font-size: 14px; }

.sp-hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    padding: 30px 0 50px;
}

.sp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 4px;
}

.sp-hero-visual {
    position: relative;
    height: 560px;
}

.phone {
    width: 250px;
    border-radius: 34px;
    padding: 9px;
    background: #0f172a;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.25);
}

.phone img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 26px;
}

.sp-hero-visual .phone {
    position: absolute;
    top: 0;
    right: 120px;
    z-index: 2;
}

.sp-hero-visual .phone-back {
    top: 60px;
    right: 0;
    z-index: 1;
    transform: rotate(6deg);
    opacity: 0.95;
}

.sp-section { padding: 40px 0; }

.sp-h2 {
    font-size: 28px;
    text-align: center;
    color: var(--text-main);
    margin-bottom: 24px;
}

.sp-h2.left, .sp-sub.left { text-align: left; }

.sp-sub {
    text-align: center;
    color: var(--text-muted);
    font-size: 15px;
    margin: -12px auto 24px;
    max-width: 640px;
}

.sp-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.sp-card h3, .sp-step h3 {
    font-size: 17px;
    margin: 10px 0 6px;
    color: var(--text-main);
}

.sp-card p, .sp-step p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.sp-emoji { font-size: 30px; }

.sp-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.sp-line-head {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.sp-bubble {
    background: #06c755;
    color: #ffffff;
    font-size: 13.5px;
    line-height: 1.6;
    padding: 16px 18px;
    border-radius: 18px 18px 4px 18px;
    box-shadow: 0 10px 24px rgba(6, 199, 85, 0.25);
}

.sp-line-note {
    font-size: 12.5px;
    color: var(--text-light);
    margin-top: 10px;
}

.sp-feature-list {
    list-style: none;
    display: grid;
    gap: 14px;
}

.sp-feature-list li {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    padding-left: 30px;
    position: relative;
}

.sp-feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-feature-list strong { color: var(--text-main); display: block; }

.sp-shots {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

.sp-shots figure { text-align: center; }

.sp-shots .phone { width: 230px; margin: 0 auto; }

.sp-shots figcaption {
    margin-top: 12px;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.sp-founder {
    display: flex;
    gap: 20px;
    align-items: center;
    max-width: 760px;
    margin: 0 auto;
}

.sp-founder .advisor-avatar { width: 88px; height: 88px; font-size: 44px; }

.sp-founder .advisor-quote { margin-top: 10px; }

.sp-pricing {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 300px));
    justify-content: center;
    gap: 20px;
}

.sp-price { text-align: center; position: relative; }

.sp-price.featured { border: 2px solid var(--color-success); }

.sp-ribbon {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-success);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 14px;
    border-radius: 50px;
}

.sp-plan { font-weight: 600; color: var(--text-main); font-size: 17px; }

.sp-old {
    font-size: 14px;
    color: var(--text-light);
    text-decoration: line-through;
    margin-top: 6px;
}

.sp-amount {
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.2;
}

.sp-amount span { font-size: 15px; font-weight: 500; color: var(--text-muted); }

.sp-note { font-size: 13px; color: #059669; font-weight: 500; }

.sp-price .btn { margin-top: 18px; }

.sp-form-card { max-width: 620px; margin: 0 auto; }

.sp-plan-pick {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sp-plan-pick label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 9px 14px;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    color: var(--text-main);
    cursor: pointer;
}

.form-group .sp-plan-pick input { width: auto; min-height: 0; accent-color: var(--color-success); }

.sp-form-card .consent-box { margin: 6px 0 14px; }

.sp-done { text-align: center; }

.sp-faq details { margin-bottom: 12px; padding: 18px 22px; }

.sp-faq summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--text-main);
    font-size: 15.5px;
}

.sp-faq details p {
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.65;
}

.sp-footer {
    text-align: center;
    font-size: 13px;
    color: var(--text-light);
    padding: 30px 0 50px;
    line-height: 1.8;
}

@media (max-width: 900px) {
    .sp-hero { grid-template-columns: 1fr; gap: 24px; padding-top: 10px; }
    .sp-hero-visual { height: 470px; max-width: 380px; width: 100%; margin: 0 auto; }
    .sp-hero-visual .phone { width: 210px; right: auto; left: 0; }
    .sp-hero-visual .phone-back { left: auto; right: 22px; }
    .sp-grid-3, .sp-split { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .nav-tag { display: none; }
    .sp-hero-actions .btn { width: 100%; justify-content: center; }
    .sp-h2 { font-size: 23px; }
    .sp-section { padding: 26px 0; }
    .sp-hero-visual { height: 400px; }
    .sp-hero-visual .phone { width: 180px; }
    .sp-pricing { grid-template-columns: 1fr; }
    .sp-founder { flex-direction: column; text-align: center; }
    .sp-founder .advisor-quote { text-align: left; }
    .sp-shots .phone { width: 210px; }
}

/* สิทธิ์ผู้ใช้รุ่นแรก */
.sp-seats {
    text-align: center;
    margin: -12px auto 18px;
    font-size: 15px;
    font-weight: 600;
    color: #c2410c;
}

.sp-seats strong { font-family: var(--font-heading); font-size: 20px; }

.sp-founding-badge {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #047857;
    font-weight: 600;
    font-size: 14.5px;
    line-height: 1.55;
    border-radius: 12px;
    padding: 12px 14px;
    margin: 4px 0 14px;
}

/* ตัวเลขราคาต้องใหญ่ตามบรรทัดราคา (ไม่ใช้ขนาดของหน่วย "บาท/เดือน") */
.sp-amount .sp-num { font-size: inherit; font-weight: inherit; color: inherit; }
