:root {
    --ps-navy: #0f172a;
    --ps-navy-2: #1e293b;
    --ps-ink: #0b1220;
    --ps-muted: #64748b;
    --ps-muted-light: #94a3b8;
    --ps-blue: #2563eb;
    --ps-blue-hover: #1d4ed8;
    --ps-cyan: #22d3ee;
    --ps-teal: #14b8a6;
    --ps-green: #10b981;
    --ps-bg: #f8fafc;
    --ps-bg-alt: #f1f5f9;
    --ps-white: #ffffff;
    --ps-border: rgba(15, 23, 42, 0.08);
    --ps-radius: 12px;
    --ps-radius-lg: 20px;
    --ps-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    --ps-shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.12);
    --ps-header-h: 72px;
    --ps-font: "Inter", system-ui, -apple-system, sans-serif;
    --ps-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

img, svg { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

.ps-body {
    margin: 0;
    font-family: var(--ps-font);
    color: var(--ps-ink);
    background: var(--ps-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.ps-main { display: block; width: 100%; }

.ps-container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* Header */
.ps-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--ps-header-h);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s var(--ps-ease), box-shadow 0.25s var(--ps-ease);
}

.ps-header.is-scrolled {
    border-bottom-color: var(--ps-border);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.ps-header-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.ps-logo { height: 40px; width: auto; display: block; }

.ps-header-nav {
    display: flex;
    align-items: center;
    gap: 8px 24px;
    flex-wrap: wrap;
}

.ps-header-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--ps-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.ps-header-nav a:hover,
.ps-header-nav a.is-active { color: var(--ps-ink); }

.ps-nav-signin { font-weight: 600 !important; }

.ps-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border: none;
    background: transparent;
    cursor: pointer;
}

.ps-nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ps-ink);
    border-radius: 2px;
}

@media (max-width: 900px) {
    .ps-nav-toggle { display: flex; }
    .ps-header-nav {
        display: none;
        position: absolute;
        top: var(--ps-header-h);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        padding: 16px 24px 24px;
        background: var(--ps-white);
        border-bottom: 1px solid var(--ps-border);
        box-shadow: var(--ps-shadow);
    }
    .ps-header-nav.is-open { display: flex; }
    .ps-header { position: sticky; }
    .ps-header-inner { position: relative; }
}

/* Buttons */
.ps-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.15s var(--ps-ease), box-shadow 0.2s, background 0.2s;
}

.ps-btn:active { transform: scale(0.98); }

.ps-btn-sm { padding: 10px 16px; font-size: 13px; }
.ps-btn-lg { padding: 14px 28px; font-size: 15px; }

.ps-btn-primary {
    background: var(--ps-blue);
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.ps-btn-primary:hover {
    background: var(--ps-blue-hover);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.ps-btn-ghost {
    background: var(--ps-white);
    color: var(--ps-ink);
    border: 1px solid var(--ps-border);
}

.ps-btn-ghost:hover { border-color: rgba(15, 23, 42, 0.15); }

.ps-btn-light {
    background: var(--ps-white);
    color: var(--ps-navy);
    font-weight: 700;
}

.ps-btn-outline-light {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

/* Hero dark */
.ps-hero-dark {
    background: linear-gradient(165deg, #0c1222 0%, var(--ps-navy) 45%, #1a2744 100%);
    color: #fff;
    padding: 56px 0 72px;
    position: relative;
    overflow: hidden;
}

.ps-hero-dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(37, 99, 235, 0.35), transparent 60%),
        radial-gradient(ellipse 40% 30% at 90% 20%, rgba(34, 211, 238, 0.12), transparent);
    pointer-events: none;
}

.ps-hero-dark .ps-container {
    position: relative;
    text-align: center;
    max-width: 820px;
}

.ps-hero-dark h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin: 0 0 16px;
}

.ps-hero-dark h1 em {
    font-style: normal;
    color: var(--ps-cyan);
}

.ps-hero-sub {
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.72);
    margin: 0 auto 28px;
    max-width: 52ch;
}

.ps-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 36px;
}

.ps-trust-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}

.ps-stars { color: #fbbf24; letter-spacing: 2px; }

.ps-hero-visual {
    margin-top: 48px;
    display: flex;
    justify-content: center;
}

.ps-hub-graphic {
    width: min(100%, 520px);
    padding: 28px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--ps-radius-lg);
    backdrop-filter: blur(8px);
}

.ps-hub-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.ps-hub-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.ps-hub-icon.fb { background: #1877f2; }
.ps-hub-icon.wa { background: #25d366; }
.ps-hub-icon.in { background: #6366f1; }
.ps-hub-icon.ho { background: #ea580c; }

.ps-hub-arrow {
    text-align: center;
    color: var(--ps-cyan);
    font-size: 24px;
    line-height: 1;
    margin: 8px 0;
}

.ps-hub-core {
    margin: 0 auto;
    max-width: 280px;
    padding: 16px;
    background: linear-gradient(135deg, var(--ps-blue), #0ea5e9);
    border-radius: var(--ps-radius);
    font-weight: 700;
    font-size: 15px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.4);
}

/* Stats bar */
.ps-stats-bar {
    background: var(--ps-white);
    border-bottom: 1px solid var(--ps-border);
    padding: 32px 0;
}

.ps-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

@media (max-width: 768px) {
    .ps-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

.ps-stat-num {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--ps-navy);
    letter-spacing: -0.02em;
}

.ps-stat-label {
    font-size: 13px;
    color: var(--ps-muted);
    margin-top: 4px;
}

/* Feature rows */
.ps-section {
    padding: 72px 0;
}

.ps-section-alt { background: var(--ps-bg); }

.ps-feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.ps-feature-row.is-reverse .ps-feature-copy { order: 2; }
.ps-feature-row.is-reverse .ps-feature-visual { order: 1; }

@media (max-width: 900px) {
    .ps-feature-row,
    .ps-feature-row.is-reverse {
        grid-template-columns: 1fr;
    }
    .ps-feature-row.is-reverse .ps-feature-copy,
    .ps-feature-row.is-reverse .ps-feature-visual { order: unset; }
}

.ps-feature-copy h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
    color: var(--ps-navy);
}

.ps-feature-copy > p {
    color: var(--ps-muted);
    line-height: 1.7;
    font-size: 15px;
    margin: 0 0 20px;
}

.ps-check-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ps-check-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--ps-ink);
    line-height: 1.5;
}

.ps-check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background: rgba(16, 185, 129, 0.12);
    color: var(--ps-green);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* UI mockups */
.ps-mock {
    background: var(--ps-white);
    border-radius: var(--ps-radius-lg);
    box-shadow: var(--ps-shadow-lg);
    border: 1px solid var(--ps-border);
    overflow: hidden;
}

.ps-mock-bar {
    height: 36px;
    background: var(--ps-bg-alt);
    border-bottom: 1px solid var(--ps-border);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
}

.ps-mock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
}

.ps-mock-body { padding: 20px; }

.ps-mock-phone {
    max-width: 280px;
    margin: 0 auto;
    border-radius: 28px;
    border: 3px solid var(--ps-navy);
    padding: 12px;
    background: var(--ps-navy);
}

.ps-mock-phone-inner {
    background: var(--ps-white);
    border-radius: 18px;
    overflow: hidden;
    min-height: 320px;
}

.ps-wa-header {
    background: #075e54;
    color: #fff;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 600;
}

.ps-wa-bubble {
    margin: 12px;
    padding: 10px 12px;
    background: #dcf8c6;
    border-radius: 8px 8px 8px 2px;
    font-size: 12px;
    line-height: 1.45;
    max-width: 85%;
}

.ps-chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 120px;
    padding-top: 12px;
}

.ps-chart-bars span {
    flex: 1;
    background: linear-gradient(180deg, var(--ps-blue), #93c5fd);
    border-radius: 4px 4px 0 0;
    height: 35%;
    align-self: flex-end;
}

.ps-chart-bars span:nth-child(1) { height: 40%; }
.ps-chart-bars span:nth-child(2) { height: 55%; }
.ps-chart-bars span:nth-child(3) { height: 75%; }
.ps-chart-bars span:nth-child(4) { height: 45%; }
.ps-chart-bars span:nth-child(5) { height: 90%; }
.ps-chart-bars span:nth-child(6) { height: 65%; }

.ps-compare-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ps-compare-box {
    padding: 16px;
    border-radius: var(--ps-radius);
    text-align: center;
}

.ps-compare-box.bad {
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.ps-compare-box.good {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
}

.ps-compare-box strong { display: block; font-size: 22px; margin: 8px 0 4px; }

.ps-table-mini {
    width: 100%;
    font-size: 12px;
    border-collapse: collapse;
}

.ps-table-mini th,
.ps-table-mini td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid var(--ps-border);
}

.ps-table-mini th {
    background: var(--ps-bg);
    font-weight: 600;
    color: var(--ps-muted);
}

/* Logos */
.ps-logos-section {
    padding: 48px 0;
    border-top: 1px solid var(--ps-border);
    border-bottom: 1px solid var(--ps-border);
    background: var(--ps-white);
}

.ps-logos-title {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--ps-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
}

.ps-logos-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px 48px;
    opacity: 0.55;
    font-weight: 700;
    font-size: 15px;
    color: var(--ps-muted);
}

/* Testimonials */
.ps-testimonials h2 {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 0 36px;
    color: var(--ps-navy);
}

.ps-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 900px) {
    .ps-testimonial-grid { grid-template-columns: 1fr; }
}

.ps-testimonial-card {
    background: var(--ps-white);
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius);
    padding: 24px;
    box-shadow: var(--ps-shadow);
}

.ps-testimonial-stars { color: #fbbf24; font-size: 14px; margin-bottom: 12px; }

.ps-testimonial-card p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--ps-muted);
    margin: 0 0 16px;
}

.ps-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ps-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ps-blue), var(--ps-cyan));
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ps-testimonial-author strong { display: block; font-size: 14px; }
.ps-testimonial-author span { font-size: 12px; color: var(--ps-muted); }

/* FAQ */
.ps-faq { max-width: 720px; margin: 0 auto; }

.ps-faq h2 {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 0 28px;
    color: var(--ps-navy);
}

.ps-faq-item {
    border-bottom: 1px solid var(--ps-border);
}

.ps-faq-item button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    border: none;
    background: none;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: var(--ps-ink);
    text-align: left;
    cursor: pointer;
}

.ps-faq-item button::after {
    content: "+";
    font-size: 20px;
    color: var(--ps-muted);
    transition: transform 0.2s;
}

.ps-faq-item.is-open button::after { transform: rotate(45deg); }

.ps-faq-answer {
    display: none;
    padding: 0 0 18px;
    font-size: 14px;
    line-height: 1.65;
    color: var(--ps-muted);
}

.ps-faq-item.is-open .ps-faq-answer { display: block; }

/* CTA band */
.ps-cta-band {
    background: linear-gradient(135deg, var(--ps-navy) 0%, #1e3a5f 100%);
    color: #fff;
    padding: 56px 0;
}

.ps-cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.ps-cta-inner h2 {
    margin: 0 0 8px;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.ps-cta-inner p {
    margin: 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 15px;
    max-width: 48ch;
}

/* Footer */
.ps-site-footer {
    background: #0a0f1a;
    color: rgba(255, 255, 255, 0.55);
    padding: 56px 0 0;
    font-size: 14px;
}

.ps-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 32px;
    padding-bottom: 40px;
}

@media (max-width: 768px) {
    .ps-footer-grid { grid-template-columns: 1fr 1fr; }
}

.ps-footer-logo { height: 36px; margin-bottom: 12px; filter: brightness(1.05); }

.ps-footer-brand p {
    margin: 0;
    line-height: 1.6;
    max-width: 28ch;
}

.ps-site-footer h4 {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 14px;
}

.ps-site-footer a {
    display: block;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.ps-site-footer a:hover { color: #fff; }

.ps-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0 28px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
}

/* Page hero (inner pages) */
.ps-page-hero {
    background: var(--ps-bg);
    padding: 48px 0 40px;
    border-bottom: 1px solid var(--ps-border);
    text-align: center;
}

.ps-page-hero h1 {
    margin: 0 0 10px;
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ps-navy);
}

.ps-page-hero p {
    margin: 0 auto;
    max-width: 52ch;
    color: var(--ps-muted);
    line-height: 1.6;
}

/* Pricing */
.ps-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 48px 0 72px;
}

@media (max-width: 900px) {
    .ps-pricing-grid { grid-template-columns: 1fr; }
}

.ps-pricing-card {
    background: var(--ps-white);
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s, transform 0.25s;
}

.ps-pricing-card:hover {
    box-shadow: var(--ps-shadow-lg);
    transform: translateY(-2px);
}

.ps-pricing-card.is-featured {
    border-color: var(--ps-blue);
    box-shadow: 0 0 0 1px var(--ps-blue), var(--ps-shadow-lg);
}

.ps-pricing-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
}

.ps-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--ps-navy);
    margin: 12px 0;
}

.ps-pricing-card ul {
    list-style: none;
    margin: 16px 0 24px;
    padding: 0;
    flex: 1;
    font-size: 14px;
    color: var(--ps-muted);
}

.ps-pricing-card li {
    padding: 8px 0;
    border-bottom: 1px solid var(--ps-border);
}

/* Forms */
.ps-form-section {
    padding: 48px 0 72px;
}

.ps-form-card {
    max-width: 440px;
    margin: 0 auto;
    background: var(--ps-white);
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius-lg);
    padding: 32px;
    box-shadow: var(--ps-shadow);
}

.ps-form-card h1 {
    margin: 0 0 8px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ps-navy);
}

.ps-form-card label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--ps-ink);
}

.ps-form-card input,
.ps-form-card select,
.ps-form-card textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-family: inherit;
    font-size: 14px;
    margin-bottom: 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.ps-form-card input:focus,
.ps-form-card select:focus {
    outline: none;
    border-color: var(--ps-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.ps-form-card .ps-error {
    color: #dc2626;
    font-size: 13px;
    margin-bottom: 12px;
    padding: 10px 12px;
    background: #fef2f2;
    border-radius: 8px;
}

.ps-form-hint {
    font-size: 13px;
    color: var(--ps-muted);
    margin-top: 16px;
}

.ps-form-hint a { color: var(--ps-blue); font-weight: 600; }

.ps-alert-banner {
    padding: 12px 0;
    text-align: center;
    background: #ecfdf5;
    color: #047857;
    font-weight: 600;
    font-size: 14px;
}

.ps-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-bottom: 48px;
}

@media (max-width: 900px) {
    .ps-feature-grid { grid-template-columns: 1fr; }
}

.ps-icon-card {
    padding: 24px;
    background: var(--ps-white);
    border: 1px solid var(--ps-border);
    border-radius: var(--ps-radius);
    transition: box-shadow 0.2s;
}

.ps-icon-card:hover { box-shadow: var(--ps-shadow); }

.ps-icon-card .ps-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--ps-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 14px;
}

.ps-icon-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
}

.ps-icon-card p {
    margin: 0;
    font-size: 14px;
    color: var(--ps-muted);
    line-height: 1.6;
}

.ps-form-wrap {
    max-width: 440px;
    margin: 0 auto;
    padding: 48px 24px 72px;
}

.ps-form-card code {
    font-size: 13px;
    background: var(--ps-bg-alt);
    padding: 2px 8px;
    border-radius: 6px;
}

.ps-form-card a { color: var(--ps-blue); }

.ps-header-nav .ps-btn-primary {
    white-space: nowrap;
}

@media (max-width: 900px) {
    .ps-header-nav .ps-btn-primary {
        width: 100%;
        margin-top: 8px;
    }
}

.ps-pricing-card .ps-btn { width: 100%; margin-top: auto; }

.ps-main { min-height: 40vh; }
