/* ============================================
   Paya Sanad — Full Stylesheet
   ============================================ */
   :root {
    --ps-dark: #003049;
    --ps-dark-2: #00253a;
    --ps-dark-3: #001d2e;
    --ps-light: #94A8C0;
    --ps-light-2: #b3c3d6;
    --ps-light-3: #d6dfe8;
    --ps-light-bg: rgba(148, 168, 192, 0.1);
    --ps-bg: #f8fafc;
    --ps-bg-alt: #f1f5f9;
    --ps-card: #ffffff;
    --ps-text: #1e293b;
    --ps-muted: #64748b;
    --ps-border: #e2e8f0;
    --ps-success: #2a9d8f;
    --ps-danger: #e63946;
    --ps-warning: #f4a261;
    --ps-radius: 12px;
    --ps-radius-sm: 8px;
    --ps-radius-lg: 20px;
    --ps-shadow-sm: 0 1px 3px rgba(0, 48, 73, 0.06);
    --ps-shadow: 0 4px 16px rgba(0, 48, 73, 0.08);
    --ps-shadow-lg: 0 12px 40px rgba(0, 48, 73, 0.12);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
    margin: 0; padding: 0;
    overflow-x: hidden;
    max-width: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
    background: var(--ps-bg);
    color: var(--ps-text);
    direction: rtl;
    font-size: 15px;
    line-height: 1.75;
    overflow-x: clip;
}

a { text-decoration: none; color: var(--ps-dark); transition: color .2s; }
a:hover { color: var(--ps-light); }
img, video, svg { max-width: 100%; height: auto; display: block; }
ul { list-style: none; padding: 0; margin: 0; }
input, select, textarea, button { font-family: inherit; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ps-bg); }
::-webkit-scrollbar-thumb { background: var(--ps-light); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--ps-dark); }

.ps-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* ============ TOPBAR ============ */
.ps-topbar {
    background: var(--ps-dark-3);
    color: rgba(255, 255, 255, 0.7);
    font-size: 12.5px;
    padding: 8px 0;
}

.ps-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.ps-topbar-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.ps-topbar-info a,
.ps-topbar-info span {
    color: rgba(255, 255, 255, 0.75);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
}

.ps-topbar-info i { color: var(--ps-light); font-size: 12px; }
.ps-topbar-info a:hover { color: #fff; }

.ps-topbar-social {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ps-topbar-social a {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.75);
    font-size: 12px;
    transition: all .2s;
}

.ps-topbar-social a:hover {
    background: var(--ps-light);
    color: var(--ps-dark);
}

/* ============ HEADER ============ */
.ps-header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
    transition: all .35s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid transparent;
}

.ps-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 30px;
    transition: padding .35s cubic-bezier(0.4, 0, 0.2, 1);
}

.ps-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    transition: all .35s cubic-bezier(0.4, 0, 0.2, 1);
}

.ps-brand img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    transition: all .35s cubic-bezier(0.4, 0, 0.2, 1);
}

.ps-brand-text h1 {
    font-size: 20px;
    font-weight: 800;
    color: var(--ps-dark);
    margin: 0;
    line-height: 1.2;
    transition: font-size .35s cubic-bezier(0.4, 0, 0.2, 1);
}

.ps-brand-text span {
    font-size: 10px;
    color: var(--ps-muted);
    letter-spacing: 2px;
    font-weight: 500;
    transition: opacity .3s;
    display: block;
}

/* Nav */
.ps-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
}

.ps-nav > li > a {
    display: block;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ps-text);
    border-radius: var(--ps-radius-sm);
    transition: all .25s ease;
    position: relative;
}

.ps-nav > li > a:hover,
.ps-nav > li.active > a {
    color: var(--ps-dark);
    background: var(--ps-light-bg);
}

.ps-nav > li > a i { font-size: 11px; margin-right: 4px; opacity: .6; }

/* Dropdown */
.ps-dropdown { position: relative; }

.ps-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border-radius: var(--ps-radius);
    box-shadow: var(--ps-shadow-lg);
    padding: 10px;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all .25s;
    border: 1px solid var(--ps-border);
    z-index: 100;
}

.ps-dropdown:hover .ps-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ps-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--ps-radius-sm);
    font-size: 13.5px;
    color: var(--ps-text);
    transition: all .2s;
}

.ps-dropdown-menu a i {
    width: 20px;
    text-align: center;
    color: var(--ps-light);
    font-size: 14px;
}

.ps-dropdown-menu a:hover {
    background: var(--ps-light-bg);
    color: var(--ps-dark);
}

.ps-dropdown-menu a:hover i { color: var(--ps-dark); }

/* Header actions */
.ps-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.ps-btn-login {
    padding: 9px 18px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ps-dark);
    border-radius: var(--ps-radius-sm);
    transition: all .2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ps-btn-login:hover { background: var(--ps-light-bg); color: var(--ps-dark); }

/* ============ HEADER SCROLLED STATE ============ */
.ps-header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 24px rgba(0, 48, 73, 0.08);
    border-bottom-color: rgba(226, 232, 240, 0.6);
}

.ps-header.scrolled .ps-header-inner { padding: 8px 0; }
.ps-header.scrolled .ps-brand img { width: 36px; height: 36px; }
.ps-header.scrolled .ps-brand-text h1 { font-size: 17px; }
.ps-header.scrolled .ps-brand-text span { opacity: 0; height: 0; overflow: hidden; }
.ps-header.scrolled .ps-nav > li > a { padding: 8px 14px; font-size: 13.5px; }
.ps-header.scrolled .ps-btn-login { padding: 7px 16px; font-size: 13px; }
.ps-header.scrolled .ps-btn.ps-btn-sm { padding: 7px 14px; font-size: 12px; }

/* Progress bar */
.ps-scroll-progress {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, var(--ps-dark) 0%, var(--ps-light) 100%);
    transition: width .1s linear;
    z-index: 1;
}

/* Mobile toggle */
.ps-mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 22px;
    color: var(--ps-dark);
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 8px;
    transition: background .2s;
    line-height: 1;
}

.ps-mobile-toggle:hover { background: var(--ps-bg); }

/* Mobile drawer */
.ps-mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: #fff;
    z-index: 1050;
    transition: transform .3s ease;
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.ps-mobile-drawer.open { transform: translateX(0); }

.ps-mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--ps-border);
}

.ps-mobile-drawer-close {
    background: transparent;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    color: var(--ps-dark);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ps-mobile-drawer-close:hover { background: var(--ps-bg); }

.ps-mobile-drawer nav ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ps-mobile-drawer nav ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: var(--ps-radius-sm);
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ps-text);
    transition: all .2s;
}

.ps-mobile-drawer nav ul li a i { color: var(--ps-light); width: 20px; text-align: center; }

.ps-mobile-drawer nav ul li a:hover,
.ps-mobile-drawer nav ul li a.active {
    background: var(--ps-light-bg);
    color: var(--ps-dark);
}

.ps-mobile-drawer-actions {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--ps-border);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ps-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 48, 73, 0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
}

.ps-mobile-overlay.open { opacity: 1; visibility: visible; }

/* ============ BUTTONS ============ */
.ps-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: var(--ps-radius-sm);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all .25s;
    border: 2px solid transparent;
    line-height: 1.4;
    text-align: center;
}

.ps-btn-primary { background: var(--ps-dark); color: #fff; }
.ps-btn-primary:hover {
    background: var(--ps-dark-2);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 48, 73, 0.25);
}

.ps-btn-secondary { background: var(--ps-light); color: var(--ps-dark); }
.ps-btn-secondary:hover { background: var(--ps-light-2); color: var(--ps-dark); transform: translateY(-2px); }

.ps-btn-outline { background: transparent; color: var(--ps-dark); border-color: var(--ps-border); }
.ps-btn-outline:hover { border-color: var(--ps-dark); background: var(--ps-dark); color: #fff; }

.ps-btn-lg { padding: 15px 34px; font-size: 15px; }
.ps-btn-sm { padding: 8px 16px; font-size: 12.5px; }

/* ============ SECTIONS ============ */
.ps-section { padding: 90px 0; }
.ps-section-sm { padding: 60px 0; }
.ps-section-alt { background: #fff; }

.ps-section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.ps-section-label {
    display: inline-block;
    padding: 6px 16px;
    background: var(--ps-light-bg);
    color: var(--ps-dark);
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: .5px;
}

.ps-section-title {
    font-size: 34px;
    font-weight: 800;
    color: var(--ps-dark);
    margin: 0 0 14px;
    line-height: 1.3;
}

.ps-section-title span { color: var(--ps-light); }

.ps-section-desc {
    font-size: 15.5px;
    color: var(--ps-muted);
    margin: 0;
    line-height: 1.8;
}

/* ============ HERO ============ */
.ps-hero {
    position: relative;
    padding: 80px 0 100px;
    background: linear-gradient(135deg, #003049 0%, #00253a 100%);
    color: #fff;
    overflow: hidden;
}

.ps-hero::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(148, 168, 192, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.ps-hero::after {
    content: '';
    position: absolute;
    bottom: -300px; left: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(148, 168, 192, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.ps-hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.ps-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(148, 168, 192, 0.15);
    border: 1px solid rgba(148, 168, 192, 0.3);
    border-radius: 30px;
    font-size: 12.5px;
    color: var(--ps-light-2);
    margin-bottom: 20px;
}

.ps-hero-badge i { color: var(--ps-light); }

.ps-hero h1 {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 20px;
}

.ps-hero h1 span { color: var(--ps-light); }

.ps-hero p {
    font-size: 16.5px;
    line-height: 1.85;
    opacity: .85;
    margin: 0 0 32px;
    max-width: 520px;
}

.ps-hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.ps-hero-buttons .ps-btn-primary { background: var(--ps-light); color: var(--ps-dark); }
.ps-hero-buttons .ps-btn-primary:hover { background: #fff; box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15); }

.ps-hero-buttons .ps-btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.25); }
.ps-hero-buttons .ps-btn-outline:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; color: #fff; }

.ps-hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ps-hero-stats .stat strong {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.ps-hero-stats .stat span { font-size: 12.5px; color: var(--ps-light-2); }

.ps-hero-visual { position: relative; display: flex; justify-content: center; }

.ps-hero-mockup {
    width: 100%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--ps-radius-lg);
    padding: 18px;
    backdrop-filter: blur(10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.ps-hero-mockup-bar {
    display: flex;
    gap: 6px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ps-hero-mockup-bar span { width: 10px; height: 10px; border-radius: 50%; }
.ps-hero-mockup-bar span:nth-child(1) { background: #ff5f57; }
.ps-hero-mockup-bar span:nth-child(2) { background: #febc2e; }
.ps-hero-mockup-bar span:nth-child(3) { background: #28c840; }

.ps-hero-mockup-dash {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}

.ps-hero-mockup-dash > div {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 14px 12px;
    text-align: center;
}

.ps-hero-mockup-dash strong {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: var(--ps-light);
    margin-bottom: 2px;
}

.ps-hero-mockup-dash small { font-size: 10.5px; opacity: .6; }

.ps-hero-mockup-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 90px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    margin-bottom: 12px;
}

.ps-hero-mockup-chart div {
    flex: 1;
    background: linear-gradient(180deg, var(--ps-light) 0%, rgba(148, 168, 192, 0.3) 100%);
    border-radius: 4px 4px 0 0;
}

.ps-hero-mockup-chart div:nth-child(1) { height: 40%; }
.ps-hero-mockup-chart div:nth-child(2) { height: 65%; }
.ps-hero-mockup-chart div:nth-child(3) { height: 45%; }
.ps-hero-mockup-chart div:nth-child(4) { height: 80%; }
.ps-hero-mockup-chart div:nth-child(5) { height: 60%; }
.ps-hero-mockup-chart div:nth-child(6) { height: 90%; }
.ps-hero-mockup-chart div:nth-child(7) { height: 55%; }

.ps-hero-mockup-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    margin-bottom: 6px;
}

.ps-hero-mockup-row .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ps-light); }
.ps-hero-mockup-row .line { flex: 1; height: 8px; background: rgba(255, 255, 255, 0.1); border-radius: 4px; }

/* ============ TRUST ============ */
.ps-trust {
    background: #fff;
    padding: 30px 0;
    border-bottom: 1px solid var(--ps-border);
}

.ps-trust-inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 30px;
    flex-wrap: wrap;
}

.ps-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ps-muted);
    font-size: 13.5px;
}

.ps-trust-item i { font-size: 22px; color: var(--ps-light); }
.ps-trust-item strong {
    color: var(--ps-dark);
    font-size: 18px;
    font-weight: 800;
    display: block;
    line-height: 1.2;
}

/* ============ ABOUT ============ */
.ps-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.ps-about-visual { position: relative; padding: 40px; }
.ps-about-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--ps-light-bg);
    border-radius: var(--ps-radius-lg);
    transform: rotate(-3deg);
}

.ps-about-visual-inner {
    position: relative;
    background: #fff;
    border-radius: var(--ps-radius-lg);
    padding: 30px;
    box-shadow: var(--ps-shadow-lg);
    border: 1px solid var(--ps-border);
}

.ps-about-visual-inner h4 {
    color: var(--ps-dark);
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ps-about-visual-inner h4 i { color: var(--ps-light); }

.ps-check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 13.5px;
    border-bottom: 1px solid var(--ps-border);
}

.ps-check-list li:last-child { border-bottom: none; }

.ps-check-list li i {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--ps-light-bg);
    color: var(--ps-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
}

.ps-about-text h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--ps-dark);
    margin: 0 0 18px;
    line-height: 1.3;
}

.ps-about-text p {
    font-size: 15px;
    color: var(--ps-muted);
    line-height: 1.9;
    margin-bottom: 18px;
}

.ps-about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 26px;
}

.ps-about-features > div {
    padding: 16px;
    background: var(--ps-bg);
    border-radius: var(--ps-radius-sm);
    border: 1px solid var(--ps-border);
}

.ps-about-features > div i { color: var(--ps-light); font-size: 20px; margin-bottom: 8px; display: block; }
.ps-about-features > div strong { color: var(--ps-dark); font-size: 13.5px; display: block; margin-bottom: 4px; }
.ps-about-features > div p { font-size: 12px; color: var(--ps-muted); margin: 0; line-height: 1.6; }

/* ============ FEATURES ============ */
.ps-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ps-feature-card {
    background: #fff;
    border-radius: var(--ps-radius);
    padding: 32px 28px;
    border: 1px solid var(--ps-border);
    box-shadow: var(--ps-shadow-sm);
    transition: all .3s;
    position: relative;
    overflow: hidden;
}

.ps-feature-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 0; height: 3px;
    background: var(--ps-light);
    transition: width .3s;
}

.ps-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--ps-shadow-lg);
    border-color: transparent;
}

.ps-feature-card:hover::before { width: 100%; }

.ps-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--ps-radius-sm);
    background: var(--ps-light-bg);
    color: var(--ps-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
    transition: all .3s;
}

.ps-feature-card:hover .ps-feature-icon {
    background: var(--ps-dark);
    color: var(--ps-light);
    transform: rotate(-6deg) scale(1.05);
}

.ps-feature-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--ps-dark);
    margin: 0 0 10px;
}

.ps-feature-card p {
    font-size: 13.5px;
    color: var(--ps-muted);
    line-height: 1.8;
    margin: 0;
}

/* ============ STEPS ============ */
.ps-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.ps-step { text-align: center; padding: 20px; }

.ps-step-num {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #fff;
    border: 2px dashed var(--ps-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--ps-dark);
}

.ps-step h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--ps-dark);
    margin: 0 0 10px;
}

.ps-step p { font-size: 13.5px; color: var(--ps-muted); line-height: 1.8; margin: 0; }

/* ============ INDUSTRIES ============ */
.ps-industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ps-industry-card {
    background: #fff;
    border-radius: var(--ps-radius);
    padding: 28px 20px;
    text-align: center;
    border: 1px solid var(--ps-border);
    transition: all .3s;
    cursor: pointer;
}

.ps-industry-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--ps-shadow);
    border-color: var(--ps-light);
}

.ps-industry-card i {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: var(--ps-light-bg);
    color: var(--ps-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 16px;
    transition: all .3s;
}

.ps-industry-card:hover i { background: var(--ps-dark); color: var(--ps-light); }

.ps-industry-card h5 { font-size: 15px; font-weight: 700; color: var(--ps-dark); margin: 0 0 6px; }
.ps-industry-card p { font-size: 12px; color: var(--ps-muted); margin: 0; }

/* ============ PRICING ============ */
.ps-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.ps-price-card {
    background: #fff;
    border-radius: var(--ps-radius-lg);
    padding: 36px 30px;
    border: 2px solid var(--ps-border);
    transition: all .3s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.ps-price-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--ps-shadow-lg);
}

.ps-price-card.featured {
    border-color: var(--ps-dark);
    box-shadow: 0 20px 60px rgba(0, 48, 73, 0.15);
    transform: scale(1.03);
}

.ps-price-card.featured:hover { transform: scale(1.03) translateY(-5px); }

.ps-price-badge {
    position: absolute;
    top: -15px;
    right: 50%;
    transform: translateX(50%);
    background: var(--ps-dark);
    color: var(--ps-light);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
}

.ps-price-header {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--ps-border);
    margin-bottom: 24px;
}

.ps-price-header h4 { font-size: 22px; font-weight: 800; color: var(--ps-dark); margin: 0 0 6px; }
.ps-price-header p { font-size: 12.5px; color: var(--ps-muted); margin: 0 0 20px; }

.ps-price-amount { display: flex; align-items: baseline; justify-content: center; gap: 6px; }
.ps-price-amount strong { font-size: 38px; font-weight: 800; color: var(--ps-dark); line-height: 1; }
.ps-price-amount span { font-size: 13px; color: var(--ps-muted); }

.ps-price-features { flex: 1; margin-bottom: 24px; }

.ps-price-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    font-size: 13.5px;
    border-bottom: 1px solid #f1f5f9;
}

.ps-price-features li:last-child { border-bottom: none; }
.ps-price-features li i { width: 18px; text-align: center; font-size: 12px; flex-shrink: 0; }
.ps-price-features li i.fa-check { color: var(--ps-success); }
.ps-price-features li i.fa-times { color: #cbd5e1; }
.ps-price-features li.off { color: #94a3b8; }
.ps-price-card .ps-btn { width: 100%; }

/* ============ TESTIMONIALS ============ */
.ps-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ps-testimonial {
    background: #fff;
    border-radius: var(--ps-radius);
    padding: 30px;
    border: 1px solid var(--ps-border);
    box-shadow: var(--ps-shadow-sm);
    transition: all .3s;
}

.ps-testimonial:hover { box-shadow: var(--ps-shadow); transform: translateY(-3px); }

.ps-testimonial-stars {
    color: #f4a261;
    font-size: 14px;
    margin-bottom: 16px;
    display: flex;
    gap: 3px;
}

.ps-testimonial p { font-size: 14px; line-height: 1.9; color: var(--ps-text); margin: 0 0 20px; }

.ps-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--ps-border);
}

.ps-testimonial-author .avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--ps-light);
    color: var(--ps-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    flex-shrink: 0;
}

.ps-testimonial-author strong { display: block; font-size: 14px; color: var(--ps-dark); }
.ps-testimonial-author span { font-size: 12px; color: var(--ps-muted); }

/* ============ FAQ ============ */
.ps-faq { max-width: 800px; margin: 0 auto; }

.ps-faq-item {
    background: #fff;
    border-radius: var(--ps-radius);
    border: 1px solid var(--ps-border);
    margin-bottom: 12px;
    overflow: hidden;
    transition: all .3s;
}

.ps-faq-item.open { border-color: var(--ps-light); box-shadow: var(--ps-shadow-sm); }

.ps-faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    color: var(--ps-dark);
    gap: 16px;
}

.ps-faq-q i { color: var(--ps-light); transition: transform .3s; font-size: 14px; }
.ps-faq-item.open .ps-faq-q i { transform: rotate(180deg); color: var(--ps-dark); }

.ps-faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.ps-faq-item.open .ps-faq-a { max-height: 400px; }
.ps-faq-a-inner { padding: 0 24px 22px; font-size: 14px; color: var(--ps-muted); line-height: 1.9; }

/* ============ CTA ============ */
.ps-cta {
    background: linear-gradient(135deg, var(--ps-dark) 0%, var(--ps-dark-2) 100%);
    border-radius: var(--ps-radius-lg);
    padding: 60px 40px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.ps-cta::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(148, 168, 192, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.ps-cta h2 { font-size: 32px; font-weight: 800; margin: 0 0 16px; position: relative; z-index: 2; }
.ps-cta p { font-size: 16px; opacity: .85; max-width: 600px; margin: 0 auto 32px; position: relative; z-index: 2; }

.ps-cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.ps-cta-buttons .ps-btn-primary { background: var(--ps-light); color: var(--ps-dark); }
.ps-cta-buttons .ps-btn-primary:hover { background: #fff; }
.ps-cta-buttons .ps-btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.ps-cta-buttons .ps-btn-outline:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; color: #fff; }

/* ============ FOOTER ============ */
.ps-footer {
    background: var(--ps-dark-3);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.ps-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ps-footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.ps-footer-brand img { width: 44px; height: 44px; }
.ps-footer-brand h5 { color: #fff; font-size: 18px; font-weight: 800; margin: 0; line-height: 1.2; }
.ps-footer-brand span { font-size: 10px; color: var(--ps-light); letter-spacing: 2px; }

.ps-footer-about { font-size: 13px; line-height: 1.9; margin: 0 0 20px; }

.ps-footer-social { display: flex; gap: 8px; }

.ps-footer-social a {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all .25s;
}

.ps-footer-social a:hover { background: var(--ps-light); color: var(--ps-dark); transform: translateY(-3px); }

.ps-footer h6 { color: #fff; font-size: 14.5px; font-weight: 700; margin: 0 0 20px; }

.ps-footer-links li { margin-bottom: 12px; }
.ps-footer-links li a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    transition: all .2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.ps-footer-links li a:hover { color: var(--ps-light); }
.ps-footer-links li a i { font-size: 10px; opacity: .6; }

.ps-footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 13px;
    line-height: 1.7;
}

.ps-footer-contact li i { color: var(--ps-light); margin-top: 4px; flex-shrink: 0; }

.ps-footer-bottom {
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.45);
}

.ps-footer-bottom a { color: rgba(255, 255, 255, 0.45); }
.ps-footer-bottom a:hover { color: var(--ps-light); }

/* ============================================
   PAGE HERO (صفحات داخلی)
   ============================================ */
   .ps-page-hero {
    background: linear-gradient(135deg, var(--ps-dark) 0%, var(--ps-dark-2) 100%);
    color: #fff;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.ps-page-hero::before {
    content: '';
    position: absolute;
    top: -150px; right: -150px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(148, 168, 192, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.ps-page-hero h1 {
    font-size: 38px;
    font-weight: 800;
    margin: 0 0 12px;
    position: relative;
    z-index: 2;
}

.ps-page-hero p {
    font-size: 16px;
    opacity: .85;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.ps-breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

.ps-breadcrumb a { color: rgba(255, 255, 255, 0.7); }
.ps-breadcrumb a:hover { color: var(--ps-light); }
.ps-breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.ps-breadcrumb li::after { content: '/'; color: rgba(255,255,255,0.3); }
.ps-breadcrumb li:last-child::after { display: none; }

/* ============================================
   FEATURE DETAIL ROWS
   ============================================ */
.ps-feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
}

.ps-feature-row.reverse { direction: ltr; }
.ps-feature-row.reverse > * { direction: rtl; }

.ps-feature-row-text h3 {
    font-size: 26px;
    font-weight: 800;
    color: var(--ps-dark);
    margin: 0 0 16px;
    line-height: 1.35;
}

.ps-feature-row-text h3 i {
    color: var(--ps-light);
    margin-left: 10px;
}

.ps-feature-row-text p {
    font-size: 15px;
    color: var(--ps-muted);
    line-height: 1.9;
    margin: 0 0 20px;
}

.ps-feature-row-text ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ps-feature-row-text ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--ps-text);
}

.ps-feature-row-text ul li i {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--ps-light-bg);
    color: var(--ps-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
    margin-top: 3px;
}

.ps-feature-row-visual {
    background: #fff;
    border-radius: var(--ps-radius-lg);
    padding: 30px;
    box-shadow: var(--ps-shadow-lg);
    border: 1px solid var(--ps-border);
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.ps-feature-row-visual::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--ps-dark), var(--ps-light));
}

.ps-feature-row-visual-inner {
    width: 100%;
    text-align: center;
}

.ps-feature-row-visual-inner i {
    font-size: 80px;
    color: var(--ps-light);
    margin-bottom: 20px;
    display: block;
}

.ps-feature-row-visual-inner h4 {
    color: var(--ps-dark);
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px;
}

.ps-feature-row-visual-inner p {
    color: var(--ps-muted);
    font-size: 14px;
    margin: 0;
}

/* ============================================
   PRICING COMPARISON TABLE
   ============================================ */
.ps-compare-wrap {
    overflow-x: auto;
    border-radius: var(--ps-radius);
    box-shadow: var(--ps-shadow);
    border: 1px solid var(--ps-border);
    background: #fff;
}

.ps-compare {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.ps-compare thead th {
    background: var(--ps-dark);
    color: #fff;
    padding: 20px 16px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    border: none;
    vertical-align: middle;
}

.ps-compare thead th:first-child {
    text-align: right;
    background: var(--ps-dark-2);
    min-width: 200px;
}

.ps-compare thead th.popular {
    background: linear-gradient(180deg, var(--ps-dark) 0%, var(--ps-dark-2) 100%);
    position: relative;
}

.ps-compare thead th.popular::before {
    content: '⭐ پرطرفدار';
    position: absolute;
    top: -12px;
    right: 50%;
    transform: translateX(50%);
    background: var(--ps-light);
    color: var(--ps-dark);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.ps-compare thead th .plan-name {
    font-size: 18px;
    font-weight: 800;
    display: block;
    margin-bottom: 4px;
}

.ps-compare thead th .plan-price {
    font-size: 12px;
    opacity: .8;
    font-weight: 500;
}

.ps-compare tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--ps-border);
    font-size: 13.5px;
    text-align: center;
    color: var(--ps-text);
}

.ps-compare tbody td:first-child {
    text-align: right;
    font-weight: 600;
    color: var(--ps-dark);
    background: #fafbfc;
}

.ps-compare tbody tr:hover td { background: #f8fafc; }
.ps-compare tbody tr:hover td:first-child { background: #f1f5f9; }
.ps-compare tbody tr:last-child td { border-bottom: none; }

.ps-compare tbody tr.section-title td {
    background: var(--ps-light-bg) !important;
    font-weight: 800;
    color: var(--ps-dark);
    text-align: right;
    font-size: 13px;
    padding: 12px 16px;
}

.ps-compare .check { color: var(--ps-success); font-size: 16px; }
.ps-compare .times { color: #cbd5e1; font-size: 16px; }
.ps-compare .text-val {
    color: var(--ps-dark);
    font-weight: 600;
    font-size: 13px;
}

/* ============================================
   AUTH PAGES (login/register)
   ============================================ */
.ps-auth-wrap {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--ps-dark) 0%, var(--ps-dark-2) 100%);
    position: relative;
    overflow: hidden;
}

.ps-auth-wrap::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(148, 168, 192, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.ps-auth-wrap::after {
    content: '';
    position: absolute;
    bottom: -200px; left: -200px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(148, 168, 192, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.ps-auth-card {
    background: #fff;
    border-radius: var(--ps-radius-lg);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
    padding: 45px 40px;
    width: 100%;
    max-width: 460px;
    position: relative;
    z-index: 2;
}

.ps-auth-logo {
    text-align: center;
    margin-bottom: 30px;
}

.ps-auth-logo img {
    width: 70px;
    height: 70px;
    margin: 0 auto 14px;
}

.ps-auth-logo h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--ps-dark);
    margin: 0 0 6px;
}

.ps-auth-logo p {
    font-size: 13px;
    color: var(--ps-muted);
    margin: 0;
}

.ps-auth-form .ps-form-group { margin-bottom: 18px; }

.ps-form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ps-dark);
    margin-bottom: 8px;
}

.ps-form-label .req { color: var(--ps-danger); }

.ps-form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--ps-border);
    border-radius: var(--ps-radius-sm);
    background: #f8fafc;
    font-size: 14px;
    font-family: inherit;
    color: var(--ps-text);
    transition: all .2s;
    direction: rtl;
}

.ps-form-control:focus {
    outline: none;
    border-color: var(--ps-light);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(148, 168, 192, 0.15);
}

.ps-form-control::placeholder { color: #94a3b8; }

.ps-input-icon {
    position: relative;
}

.ps-input-icon i {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ps-light);
    font-size: 14px;
    pointer-events: none;
}

.ps-input-icon .ps-form-control {
    padding-right: 42px;
}

.ps-auth-form .ps-btn {
    width: 100%;
    margin-top: 8px;
}

.ps-auth-extra {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 13px;
}

.ps-auth-extra label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--ps-muted);
    cursor: pointer;
}

.ps-auth-extra a { color: var(--ps-light); }
.ps-auth-extra a:hover { color: var(--ps-dark); }

.ps-auth-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--ps-border);
    font-size: 13.5px;
    color: var(--ps-muted);
}

.ps-auth-footer a {
    color: var(--ps-dark);
    font-weight: 700;
}

.ps-auth-footer a:hover { color: var(--ps-light); }

.ps-auth-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.ps-auth-social a {
    flex: 1;
    padding: 10px;
    border: 1.5px solid var(--ps-border);
    border-radius: var(--ps-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    color: var(--ps-text);
    transition: all .2s;
    font-weight: 600;
}

.ps-auth-social a:hover {
    border-color: var(--ps-light);
    background: var(--ps-light-bg);
}

.ps-auth-social a i {
    font-size: 16px;
}

/* ============================================
   CHECKOUT
   ============================================ */
.ps-checkout-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 30px;
    align-items: start;
}

.ps-checkout-steps {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.ps-checkout-step {
    flex: 1;
    min-width: 120px;
    padding: 12px 16px;
    background: #fff;
    border: 1.5px solid var(--ps-border);
    border-radius: var(--ps-radius-sm);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--ps-muted);
    position: relative;
}

.ps-checkout-step.active {
    border-color: var(--ps-dark);
    background: var(--ps-dark);
    color: #fff;
    font-weight: 700;
}

.ps-checkout-step.done {
    border-color: var(--ps-success);
    background: rgba(42, 157, 143, 0.1);
    color: var(--ps-success);
}

.ps-checkout-step .num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--ps-light-bg);
    color: var(--ps-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 12px;
    flex-shrink: 0;
}

.ps-checkout-step.active .num {
    background: var(--ps-light);
    color: var(--ps-dark);
}

.ps-checkout-step.done .num {
    background: var(--ps-success);
    color: #fff;
}

.ps-summary-box {
    background: #fff;
    border: 1.5px solid var(--ps-border);
    border-radius: var(--ps-radius);
    padding: 24px;
    position: sticky;
    top: 100px;
}

.ps-summary-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--ps-dark);
    margin: 0 0 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--ps-border);
}

.ps-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 14px;
    color: var(--ps-muted);
}

.ps-summary-row strong {
    color: var(--ps-dark);
    font-weight: 700;
}

.ps-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0 6px;
    border-top: 2px dashed var(--ps-border);
    margin-top: 12px;
    font-size: 16px;
    font-weight: 800;
    color: var(--ps-dark);
}

.ps-summary-total .amount {
    font-size: 22px;
    color: var(--ps-dark);
}

.ps-payment-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.ps-payment-method {
    padding: 16px;
    border: 1.5px solid var(--ps-border);
    border-radius: var(--ps-radius-sm);
    cursor: pointer;
    transition: all .2s;
    text-align: center;
    background: #fff;
}

.ps-payment-method:hover { border-color: var(--ps-light); }

.ps-payment-method.selected {
    border-color: var(--ps-dark);
    background: var(--ps-light-bg);
}

.ps-payment-method i {
    font-size: 24px;
    color: var(--ps-dark);
    display: block;
    margin-bottom: 8px;
}

.ps-payment-method span {
    font-size: 13px;
    font-weight: 600;
    color: var(--ps-dark);
}

.ps-checkout-section {
    background: #fff;
    border: 1.5px solid var(--ps-border);
    border-radius: var(--ps-radius);
    padding: 24px;
    margin-bottom: 20px;
}

.ps-checkout-section h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--ps-dark);
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--ps-border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.ps-checkout-section h3 i { color: var(--ps-light); }

/* ============================================
   PANEL (داشبورد کاربری)
   ============================================ */
.ps-panel-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
    background: var(--ps-bg);
}

.ps-panel-sidebar {
    background: var(--ps-dark);
    color: #fff;
    padding: 24px 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.ps-panel-brand {
    padding: 0 22px 22px;
    border-bottom: 1px solid var(--ps-dark-2);
    display: flex;
    align-items: center;
    gap: 12px;
}

.ps-panel-brand img { width: 40px; height: 40px; }

.ps-panel-brand h5 {
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}

.ps-panel-brand span {
    font-size: 10px;
    color: var(--ps-light);
    letter-spacing: 1.5px;
}

.ps-panel-user {
    padding: 18px 22px;
    border-bottom: 1px solid var(--ps-dark-2);
    display: flex;
    align-items: center;
    gap: 12px;
}

.ps-panel-user .avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--ps-light);
    color: var(--ps-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    flex-shrink: 0;
}

.ps-panel-user strong { color: #fff; font-size: 13.5px; display: block; }
.ps-panel-user span { color: var(--ps-light); font-size: 11px; }

.ps-panel-menu {
    padding: 12px 0;
}

.ps-panel-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 22px;
    color: var(--ps-light-2);
    font-size: 13.5px;
    border-right: 3px solid transparent;
    transition: all .2s;
    cursor: pointer;
}

.ps-panel-menu-item i {
    width: 20px;
    text-align: center;
    color: var(--ps-light);
    font-size: 15px;
}

.ps-panel-menu-item:hover {
    background: var(--ps-dark-2);
    color: #fff;
    border-right-color: var(--ps-light);
}

.ps-panel-menu-item:hover i { color: #fff; }

.ps-panel-menu-item.active {
    background: var(--ps-dark-2);
    color: #fff;
    border-right-color: var(--ps-light);
    font-weight: 700;
}

.ps-panel-menu-item.active i { color: var(--ps-light); }

.ps-panel-menu-sep {
    color: var(--ps-light);
    font-size: 10px;
    padding: 14px 22px 6px;
    letter-spacing: 1.2px;
    font-weight: 700;
    text-transform: uppercase;
    opacity: .6;
}

.ps-panel-main { padding: 24px 30px; }

.ps-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 26px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--ps-border);
}

.ps-panel-header h1 {
    font-size: 24px;
    font-weight: 800;
    color: var(--ps-dark);
    margin: 0;
}

.ps-panel-header p {
    font-size: 13.5px;
    color: var(--ps-muted);
    margin: 4px 0 0;
}

.ps-panel-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}

.ps-panel-card {
    background: #fff;
    border-radius: var(--ps-radius);
    padding: 22px;
    border: 1px solid var(--ps-border);
    box-shadow: var(--ps-shadow-sm);
    position: relative;
    overflow: hidden;
    transition: all .2s;
}

.ps-panel-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 4px; height: 100%;
    background: var(--ps-light);
}

.ps-panel-card.success::before { background: var(--ps-success); }
.ps-panel-card.warning::before { background: var(--ps-warning); }
.ps-panel-card.danger::before { background: var(--ps-danger); }

.ps-panel-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--ps-shadow);
}

.ps-panel-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--ps-light-bg);
    color: var(--ps-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 14px;
}

.ps-panel-card.success .ps-panel-card-icon { background: rgba(42, 157, 143, 0.12); color: var(--ps-success); }
.ps-panel-card.warning .ps-panel-card-icon { background: rgba(244, 162, 97, 0.15); color: var(--ps-warning); }
.ps-panel-card.danger .ps-panel-card-icon { background: rgba(230, 57, 70, 0.12); color: var(--ps-danger); }

.ps-panel-card-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--ps-dark);
    line-height: 1.2;
    margin-bottom: 4px;
}

.ps-panel-card-label {
    font-size: 12.5px;
    color: var(--ps-muted);
}

.ps-panel-box {
    background: #fff;
    border-radius: var(--ps-radius);
    border: 1px solid var(--ps-border);
    box-shadow: var(--ps-shadow-sm);
    margin-bottom: 20px;
    overflow: hidden;
}

.ps-panel-box-header {
    padding: 18px 22px;
    border-bottom: 1px solid var(--ps-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.ps-panel-box-header h3 {
    font-size: 15px;
    font-weight: 800;
    color: var(--ps-dark);
    margin: 0;
}

.ps-panel-box-body { padding: 22px; }

/* Subscription info */
.ps-sub-info {
    background: linear-gradient(135deg, var(--ps-dark) 0%, var(--ps-dark-2) 100%);
    border-radius: var(--ps-radius);
    padding: 30px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.ps-sub-info::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(148, 168, 192, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.ps-sub-info-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.ps-sub-info h3 {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 8px;
}

.ps-sub-info p {
    font-size: 14px;
    opacity: .8;
    margin: 0 0 20px;
}

.ps-sub-info-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ps-sub-info-badge {
    background: rgba(148, 168, 192, 0.15);
    border: 1px solid rgba(148, 168, 192, 0.3);
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 12.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ps-sub-info-badge i { color: var(--ps-light); }

.ps-sub-info-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ps-sub-info-actions .ps-btn {
    width: 100%;
    justify-content: center;
}

.ps-sub-info-actions .ps-btn-primary {
    background: var(--ps-light);
    color: var(--ps-dark);
}

.ps-sub-info-actions .ps-btn-primary:hover { background: #fff; }

/* Download card */
.ps-download-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px;
    background: var(--ps-bg);
    border-radius: var(--ps-radius);
    border: 1px solid var(--ps-border);
    flex-wrap: wrap;
}

.ps-download-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: var(--ps-light-bg);
    color: var(--ps-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}

.ps-download-card-info { flex: 1; min-width: 200px; }
.ps-download-card-info h4 {
    color: var(--ps-dark);
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 4px;
}
.ps-download-card-info p {
    color: var(--ps-muted);
    font-size: 12.5px;
    margin: 0;
}

/* Panel responsive */
@media (max-width: 992px) {
    .ps-panel-layout { grid-template-columns: 1fr; }
    .ps-panel-sidebar {
        position: fixed;
        top: 0; right: 0;
        width: 280px;
        transform: translateX(100%);
        transition: transform .3s;
        z-index: 1100;
    }
    .ps-panel-sidebar.open { transform: translateX(0); }
    .ps-panel-main { padding: 20px 16px; }
    .ps-panel-cards { grid-template-columns: repeat(2, 1fr); }
    .ps-sub-info-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .ps-feature-row { grid-template-columns: 1fr; gap: 30px; }
    .ps-feature-row.reverse { direction: rtl; }
    .ps-checkout-grid { grid-template-columns: 1fr; }
    .ps-summary-box { position: static; }
    .ps-payment-methods { grid-template-columns: 1fr; }
    .ps-auth-card { padding: 32px 24px; }
    .ps-page-hero h1 { font-size: 26px; }
    .ps-feature-row-text h3 { font-size: 22px; }
}

@media (max-width: 480px) {
    .ps-panel-cards { grid-template-columns: 1fr; }
    .ps-checkout-steps { flex-direction: column; }
    .ps-page-hero { padding: 40px 0; }
}
/* ============================================
   AUTH — Split Screen Design
   ============================================ */
   .ps-auth2 {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
}

/* --- Left Panel: Branding --- */
.ps-auth2-brand {
    background: linear-gradient(135deg, #003049 0%, #001d2e 100%);
    color: #fff;
    padding: 50px 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.ps-auth2-brand::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(148, 168, 192, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatSlow 8s ease-in-out infinite;
}

.ps-auth2-brand::after {
    content: '';
    position: absolute;
    bottom: -250px;
    right: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(148, 168, 192, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatSlow 10s ease-in-out infinite reverse;
}

@keyframes floatSlow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.05); }
}

.ps-auth2-brand-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
}

.ps-auth2-brand-top img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.ps-auth2-brand-top h2 {
    font-size: 22px;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}

.ps-auth2-brand-top span {
    font-size: 11px;
    color: var(--ps-light);
    letter-spacing: 2px;
    display: block;
}

.ps-auth2-brand-mid {
    position: relative;
    z-index: 2;
    margin: 60px 0;
}

.ps-auth2-brand-mid h3 {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 20px;
}

.ps-auth2-brand-mid h3 span { color: var(--ps-light); }

.ps-auth2-brand-mid p {
    font-size: 15px;
    line-height: 1.9;
    opacity: .8;
    margin: 0 0 32px;
    max-width: 420px;
}

.ps-auth2-brand-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ps-auth2-brand-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.85);
}

.ps-auth2-brand-list li .icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(148, 168, 192, 0.15);
    border: 1px solid rgba(148, 168, 192, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ps-light);
    font-size: 14px;
    flex-shrink: 0;
}

.ps-auth2-brand-bottom {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.55);
}

.ps-auth2-brand-bottom .avatars {
    display: flex;
    direction: ltr;
}

.ps-auth2-brand-bottom .avatars span {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--ps-light);
    color: var(--ps-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    border: 2px solid var(--ps-dark);
    margin-left: -8px;
}

.ps-auth2-brand-bottom .avatars span:nth-child(1) { background: #b3c3d6; }
.ps-auth2-brand-bottom .avatars span:nth-child(2) { background: #94A8C0; }
.ps-auth2-brand-bottom .avatars span:nth-child(3) { background: #7d95b3; color: #fff; }

/* --- Right Panel: Form --- */
.ps-auth2-form {
    padding: 50px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
    position: relative;
    overflow-y: auto;
}

.ps-auth2-form-inner {
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
    animation: fadeUp 0.6s ease;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.ps-auth2-header {
    margin-bottom: 32px;
}

.ps-auth2-header .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: var(--ps-light-bg);
    color: var(--ps-dark);
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
    margin-bottom: 14px;
}

.ps-auth2-header h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--ps-dark);
    margin: 0 0 10px;
    line-height: 1.3;
}

.ps-auth2-header p {
    font-size: 14px;
    color: var(--ps-muted);
    margin: 0;
    line-height: 1.7;
}

/* --- Tabs --- */
.ps-auth2-tabs {
    display: flex;
    gap: 4px;
    padding: 4px;
    background: var(--ps-bg);
    border-radius: 12px;
    margin-bottom: 28px;
}

.ps-auth2-tab {
    flex: 1;
    padding: 10px 16px;
    text-align: center;
    border-radius: 9px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ps-muted);
    transition: all .25s;
    cursor: pointer;
    border: none;
    background: transparent;
}

.ps-auth2-tab.active {
    background: #fff;
    color: var(--ps-dark);
    box-shadow: 0 2px 8px rgba(0, 48, 73, 0.08);
}

.ps-auth2-tab:hover:not(.active) {
    color: var(--ps-dark);
}

/* --- Form Fields --- */
.ps-auth2-form .ps-form-group {
    margin-bottom: 18px;
}

.ps-auth2-form .ps-form-label {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ps-dark);
    margin-bottom: 8px;
    display: block;
}

.ps-auth2-form .ps-form-label .req { color: var(--ps-danger); }

.ps-auth2-input {
    position: relative;
}

.ps-auth2-input > i {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ps-light);
    font-size: 15px;
    pointer-events: none;
    transition: color .2s;
}

.ps-auth2-input input,
.ps-auth2-input select {
    width: 100%;
    padding: 14px 46px 14px 16px;
    border: 1.5px solid var(--ps-border);
    border-radius: 10px;
    background: var(--ps-bg);
    font-size: 14px;
    font-family: inherit;
    color: var(--ps-text);
    transition: all .2s;
    direction: rtl;
}

.ps-auth2-input input:focus {
    outline: none;
    border-color: var(--ps-dark);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(148, 168, 192, 0.15);
}

.ps-auth2-input input:focus ~ i {
    color: var(--ps-dark);
}

.ps-auth2-input input::placeholder {
    color: #94a3b8;
}

/* Password toggle */
.ps-auth2-input .toggle-pass {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--ps-light);
    font-size: 14px;
    cursor: pointer;
    padding: 4px;
}

.ps-auth2-input .toggle-pass:hover { color: var(--ps-dark); }

/* Checkbox custom */
.ps-auth2-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--ps-muted);
    cursor: pointer;
    line-height: 1.6;
    user-select: none;
}

.ps-auth2-check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ps-auth2-check .box {
    width: 20px;
    height: 20px;
    border: 1.5px solid var(--ps-border);
    border-radius: 6px;
    background: #fff;
    flex-shrink: 0;
    position: relative;
    transition: all .2s;
    margin-top: 1px;
}

.ps-auth2-check input:checked ~ .box {
    background: var(--ps-dark);
    border-color: var(--ps-dark);
}

.ps-auth2-check input:checked ~ .box::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: 2px solid #fff;
    border-top: 0;
    border-left: 0;
    transform: rotate(45deg);
}

.ps-auth2-check a { color: var(--ps-dark); font-weight: 700; }
.ps-auth2-check a:hover { color: var(--ps-light); }

/* Forgot password row */
.ps-auth2-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.ps-auth2-forgot {
    font-size: 12.5px;
    color: var(--ps-light);
    font-weight: 600;
}

.ps-auth2-forgot:hover { color: var(--ps-dark); }

/* Submit button */
.ps-auth2-submit {
    width: 100%;
    padding: 15px 24px;
    background: var(--ps-dark);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all .25s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.ps-auth2-submit::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(148, 168, 192, 0.3), transparent);
    transition: right .6s;
}

.ps-auth2-submit:hover {
    background: var(--ps-dark-2);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 48, 73, 0.25);
}

.ps-auth2-submit:hover::before {
    right: 100%;
}

.ps-auth2-submit:active {
    transform: translateY(0);
}

/* Social auth */
.ps-auth2-social {
    margin-top: 24px;
}

.ps-auth2-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 24px 0;
    color: var(--ps-muted);
    font-size: 12px;
}

.ps-auth2-divider::before,
.ps-auth2-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--ps-border);
}

.ps-auth2-socials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.ps-auth2-social-btn {
    padding: 12px;
    border: 1.5px solid var(--ps-border);
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ps-text);
    cursor: pointer;
    transition: all .2s;
    font-family: inherit;
}

.ps-auth2-social-btn:hover {
    border-color: var(--ps-dark);
    background: var(--ps-bg);
}

.ps-auth2-social-btn i {
    font-size: 16px;
}

/* Footer */
.ps-auth2-footer {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--ps-border);
    text-align: center;
    font-size: 13.5px;
    color: var(--ps-muted);
}

.ps-auth2-footer a {
    color: var(--ps-dark);
    font-weight: 800;
}

.ps-auth2-footer a:hover { color: var(--ps-light); }

/* Password strength */
.ps-auth2-strength {
    display: flex;
    gap: 4px;
    margin-top: 8px;
}

.ps-auth2-strength > div {
    flex: 1;
    height: 4px;
    background: var(--ps-border);
    border-radius: 2px;
    transition: background .3s;
}

.ps-auth2-strength.weak > div:nth-child(1) { background: var(--ps-danger); }
.ps-auth2-strength.medium > div:nth-child(1),
.ps-auth2-strength.medium > div:nth-child(2) { background: var(--ps-warning); }
.ps-auth2-strength.strong > div { background: var(--ps-success); }

.ps-auth2-strength-text {
    font-size: 11.5px;
    margin-top: 6px;
    color: var(--ps-muted);
}

/* Form row (2 columns) */
.ps-auth2-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* Back link */
.ps-auth2-back {
    position: absolute;
    top: 24px;
    left: 24px;
    font-size: 13px;
    color: var(--ps-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all .2s;
    z-index: 10;
}

.ps-auth2-back:hover {
    background: var(--ps-bg);
    color: var(--ps-dark);
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .ps-auth2 {
        grid-template-columns: 1fr;
    }
    .ps-auth2-brand {
        display: none;
    }
    .ps-auth2-form {
        padding: 40px 24px;
        min-height: 100vh;
    }
    .ps-auth2-back {
        position: static;
        margin-bottom: 20px;
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .ps-auth2-form { padding: 30px 18px; }
    .ps-auth2-header h1 { font-size: 22px; }
    .ps-auth2-row-2 { grid-template-columns: 1fr; gap: 0; }
    .ps-auth2-form-inner { max-width: 100%; }
}

/* ============================================
   OTP INPUT — 6 BOXES
   ============================================ */
.ps-otp-wrap {
    display: flex;
    gap: 10px;
    direction: ltr;
    justify-content: center;
    margin: 20px 0;
}

.ps-otp-box {
    width: 52px;
    height: 62px;
    border: 2px solid var(--ps-border);
    border-radius: 12px;
    background: var(--ps-bg);
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--ps-dark);
    font-family: inherit;
    transition: all .2s;
    direction: ltr;
    caret-color: var(--ps-dark);
}

.ps-otp-box:focus {
    outline: none;
    border-color: var(--ps-dark);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(148, 168, 192, 0.2);
    transform: translateY(-2px);
}

.ps-otp-box.filled {
    border-color: var(--ps-light);
    background: var(--ps-light-bg);
}

@media (max-width: 480px) {
    .ps-otp-box {
        width: 42px;
        height: 52px;
        font-size: 20px;
    }
    .ps-otp-wrap { gap: 6px; }
}

/* ============================================
   Resend Timer
   ============================================ */
.ps-resend {
    text-align: center;
    font-size: 13px;
    color: var(--ps-muted);
    margin: 20px 0;
}

.ps-resend strong {
    color: var(--ps-dark);
    font-variant-numeric: tabular-nums;
}

.ps-resend a {
    color: var(--ps-dark);
    font-weight: 700;
    margin-right: 6px;
}

.ps-resend a:hover { color: var(--ps-light); }
.ps-resend a.disabled {
    color: var(--ps-muted);
    pointer-events: none;
    opacity: .6;
}

/* ============================================
   Auth Icon Circle
   ============================================ */
.ps-auth2-icon {
    width: 80px;
    height: 80px;
    border-radius: 24px;
    background: var(--ps-light-bg);
    color: var(--ps-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    margin-bottom: 24px;
    position: relative;
}

.ps-auth2-icon.success {
    background: rgba(42, 157, 143, 0.12);
    color: var(--ps-success);
}

.ps-auth2-icon.warning {
    background: rgba(244, 162, 97, 0.15);
    color: var(--ps-warning);
}

.ps-auth2-icon.danger {
    background: rgba(230, 57, 70, 0.12);
    color: var(--ps-danger);
}

.ps-auth2-icon::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 32px;
    border: 2px dashed var(--ps-light-bg);
    animation: spin 20s linear infinite;
}

.ps-auth2-icon.success::after { border-color: rgba(42, 157, 143, 0.2); }

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   Welcome Page
   ============================================ */
.ps-welcome {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #003049 0%, #001d2e 100%);
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.ps-welcome::before,
.ps-welcome::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

.ps-welcome::before {
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: rgba(148, 168, 192, 0.2);
}

.ps-welcome::after {
    bottom: -200px; left: -200px;
    width: 500px; height: 500px;
    background: rgba(148, 168, 192, 0.15);
}

.ps-welcome-inner {
    position: relative;
    z-index: 2;
    max-width: 620px;
    width: 100%;
    animation: fadeUp 0.8s ease;
}

.ps-welcome-confetti {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.ps-welcome-confetti span {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    animation: confettiFall 3s linear infinite;
}

.ps-welcome-confetti span:nth-child(1) { left: 10%; background: #94A8C0; animation-delay: 0s; }
.ps-welcome-confetti span:nth-child(2) { left: 20%; background: #d6dfe8; animation-delay: .5s; }
.ps-welcome-confetti span:nth-child(3) { left: 35%; background: #94A8C0; animation-delay: 1s; }
.ps-welcome-confetti span:nth-child(4) { left: 50%; background: #b3c3d6; animation-delay: 1.5s; }
.ps-welcome-confetti span:nth-child(5) { left: 65%; background: #94A8C0; animation-delay: 2s; }
.ps-welcome-confetti span:nth-child(6) { left: 80%; background: #d6dfe8; animation-delay: 2.5s; }
.ps-welcome-confetti span:nth-child(7) { left: 90%; background: #94A8C0; animation-delay: .7s; }

@keyframes confettiFall {
    0% { transform: translateY(-100px) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

.ps-welcome-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ps-light) 0%, #b3c3d6 100%);
    color: var(--ps-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
    margin: 0 auto 30px;
    box-shadow: 0 20px 60px rgba(148, 168, 192, 0.4);
    animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes bounceIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.ps-welcome h1 {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 16px;
    line-height: 1.25;
}

.ps-welcome h1 span { color: var(--ps-light); }

.ps-welcome p {
    font-size: 16.5px;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 auto 40px;
    max-width: 480px;
}

.ps-welcome-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.ps-welcome .ps-btn-primary {
    background: var(--ps-light);
    color: var(--ps-dark);
}

.ps-welcome .ps-btn-primary:hover { background: #fff; }

.ps-welcome .ps-btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.ps-welcome .ps-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

.ps-welcome-steps {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ps-welcome-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.ps-welcome-step .num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(148, 168, 192, 0.15);
    border: 2px solid rgba(148, 168, 192, 0.3);
    color: var(--ps-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
}

/* ============================================
   Onboarding
   ============================================ */
.ps-onboarding {
    min-height: 100vh;
    background: var(--ps-bg);
    padding: 40px 20px;
}

.ps-onboarding-inner {
    max-width: 900px;
    margin: 0 auto;
}

.ps-onboarding-header {
    text-align: center;
    margin-bottom: 40px;
}

.ps-onboarding-header h1 {
    font-size: 30px;
    font-weight: 800;
    color: var(--ps-dark);
    margin: 0 0 10px;
}

.ps-onboarding-header p {
    font-size: 15px;
    color: var(--ps-muted);
    margin: 0;
}

.ps-progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 30px auto 50px;
    max-width: 500px;
}

.ps-progress-step {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ps-progress-step .dot {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--ps-border);
    color: var(--ps-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
    transition: all .3s;
}

.ps-progress-step.active .dot {
    background: var(--ps-dark);
    border-color: var(--ps-dark);
    color: #fff;
    transform: scale(1.1);
}

.ps-progress-step.done .dot {
    background: var(--ps-success);
    border-color: var(--ps-success);
    color: #fff;
}

.ps-progress-step .line {
    flex: 1;
    height: 2px;
    background: var(--ps-border);
    border-radius: 1px;
}

.ps-progress-step.done .line { background: var(--ps-success); }

.ps-onboard-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--ps-shadow-lg);
    border: 1px solid var(--ps-border);
}

.ps-onboard-card h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--ps-dark);
    margin: 0 0 8px;
}

.ps-onboard-card > p {
    font-size: 14px;
    color: var(--ps-muted);
    margin: 0 0 28px;
}

/* Industry grid */
.ps-onboard-industries {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.ps-onboard-industry {
    padding: 20px 12px;
    border: 2px solid var(--ps-border);
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all .25s;
    background: #fff;
}

.ps-onboard-industry:hover {
    border-color: var(--ps-light);
    transform: translateY(-3px);
    box-shadow: var(--ps-shadow);
}

.ps-onboard-industry.selected {
    border-color: var(--ps-dark);
    background: var(--ps-light-bg);
    box-shadow: 0 0 0 4px rgba(148, 168, 192, 0.15);
}

.ps-onboard-industry i {
    font-size: 28px;
    color: var(--ps-light);
    margin-bottom: 10px;
    display: block;
}

.ps-onboard-industry.selected i { color: var(--ps-dark); }

.ps-onboard-industry span {
    font-size: 13px;
    font-weight: 700;
    color: var(--ps-dark);
}

/* Plan selection */
.ps-onboard-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.ps-onboard-plan {
    border: 2px solid var(--ps-border);
    border-radius: 14px;
    padding: 24px 18px;
    cursor: pointer;
    transition: all .25s;
    background: #fff;
    position: relative;
    text-align: center;
}

.ps-onboard-plan:hover {
    border-color: var(--ps-light);
    transform: translateY(-3px);
    box-shadow: var(--ps-shadow);
}

.ps-onboard-plan.selected {
    border-color: var(--ps-dark);
    background: var(--ps-light-bg);
    box-shadow: 0 0 0 4px rgba(148, 168, 192, 0.15);
}

.ps-onboard-plan .plan-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ps-dark);
    color: var(--ps-light);
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.ps-onboard-plan h4 {
    font-size: 17px;
    font-weight: 800;
    color: var(--ps-dark);
    margin: 0 0 6px;
}

.ps-onboard-plan .plan-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--ps-dark);
    margin: 12px 0 4px;
}

.ps-onboard-plan .plan-price small {
    font-size: 11px;
    color: var(--ps-muted);
    font-weight: 500;
}

.ps-onboard-plan .plan-desc {
    font-size: 12px;
    color: var(--ps-muted);
    margin: 0;
}

/* Info boxes */
.ps-onboard-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: var(--ps-light-bg);
    border-radius: 12px;
    margin-top: 20px;
    font-size: 13px;
    color: var(--ps-dark);
    line-height: 1.7;
}

.ps-onboard-info i {
    color: var(--ps-dark);
    font-size: 20px;
    flex-shrink: 0;
}

/* Onboard footer */
.ps-onboard-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid var(--ps-border);
    gap: 16px;
    flex-wrap: wrap;
}

.ps-onboard-footer .step-info {
    font-size: 13px;
    color: var(--ps-muted);
}

.ps-onboard-footer .step-info strong {
    color: var(--ps-dark);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .ps-otp-input {
        width: 44px;
        height: 54px;
        font-size: 20px;
    }

    .ps-welcome h1 { font-size: 28px; }
    .ps-welcome-icon { width: 90px; height: 90px; font-size: 40px; }
    .ps-welcome-actions { flex-direction: column; }
    .ps-welcome-actions .ps-btn { width: 100%; }

    .ps-onboarding { padding: 24px 16px; }
    .ps-onboarding-header h1 { font-size: 22px; }
    .ps-onboard-card { padding: 24px 20px; }
    .ps-onboard-industries { grid-template-columns: repeat(2, 1fr); }
    .ps-onboard-plans { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .ps-otp-input {
        width: 38px;
        height: 48px;
        font-size: 18px;
    }
    .ps-otp-wrap { gap: 6px; }
}
/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
    .ps-container { padding: 0 20px; }
    .ps-features-grid { grid-template-columns: repeat(2, 1fr); }
    .ps-industries-grid { grid-template-columns: repeat(3, 1fr); }
    .ps-testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .ps-hero-inner { gap: 40px; }
    .ps-hero h1 { font-size: 38px; }
    .ps-footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 992px) {
    .ps-nav { display: none; }
    .ps-mobile-toggle { display: inline-flex; align-items: center; justify-content: center; }

    .ps-header-inner { padding: 12px 0; gap: 15px; }
    .ps-header-actions .ps-btn-login { display: none; }

    .ps-topbar { padding: 6px 0; font-size: 12px; }
    .ps-topbar-info { gap: 14px; }
    .ps-topbar-info .hide-mobile { display: none; }

    .ps-hero { padding: 50px 0 70px; }
    .ps-hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .ps-hero p { margin-left: auto; margin-right: auto; }
    .ps-hero-buttons { justify-content: center; }
    .ps-hero-stats { justify-content: center; gap: 30px; }
    .ps-hero-visual { order: -1; max-width: 520px; margin: 0 auto; }
    .ps-hero h1 { font-size: 34px; }

    .ps-about-grid { grid-template-columns: 1fr; gap: 40px; }
    .ps-about-visual { max-width: 500px; margin: 0 auto; }
    .ps-about-text h2 { font-size: 26px; }

    .ps-features-grid { grid-template-columns: repeat(2, 1fr); }
    .ps-industries-grid { grid-template-columns: repeat(2, 1fr); }

    .ps-pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; gap: 30px; }
    .ps-price-card.featured { transform: none; }
    .ps-price-card.featured:hover { transform: translateY(-5px); }

    .ps-steps { grid-template-columns: 1fr; gap: 20px; max-width: 400px; margin: 0 auto; }
    .ps-testimonials-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }

    .ps-cta { padding: 50px 30px; }
    .ps-cta h2 { font-size: 26px; }

    .ps-section { padding: 70px 0; }
    .ps-section-header { margin-bottom: 45px; }
    .ps-section-title { font-size: 28px; }
}

@media (max-width: 768px) {
    .ps-container { padding: 0 16px; }

    .ps-topbar-info { justify-content: center; width: 100%; }
    .ps-topbar-inner { justify-content: center; }
    .ps-topbar-social { display: none; }

    .ps-header-inner { gap: 10px; }
    .ps-brand img { width: 50px; height: 50px; }
    .ps-brand-text h1 { font-size: 17px; }
    .ps-brand-text span { font-size: 9px; letter-spacing: 1px; }

    .ps-header-actions { gap: 6px; }

    .ps-hero { padding: 40px 0 60px; }
    .ps-hero h1 { font-size: 28px; line-height: 1.35; }
    .ps-hero p { font-size: 14.5px; }
    .ps-hero-badge { font-size: 11.5px; padding: 5px 12px; }
    .ps-hero-buttons { flex-direction: column; align-items: stretch; }
    .ps-hero-buttons .ps-btn { width: 100%; justify-content: center; }
    .ps-hero-stats { gap: 20px; padding-top: 24px; justify-content: space-between; }
    .ps-hero-stats .stat strong { font-size: 20px; }
    .ps-hero-stats .stat span { font-size: 11px; }

    .ps-hero-mockup { padding: 14px; }
    .ps-hero-mockup-dash strong { font-size: 15px; }
    .ps-hero-mockup-chart { height: 70px; }

    .ps-section { padding: 55px 0; }
    .ps-section-header { margin-bottom: 35px; }
    .ps-section-title { font-size: 24px; }
    .ps-section-desc { font-size: 14px; }

    .ps-trust-inner { gap: 20px; justify-content: space-between; }
    .ps-trust-item { flex: 1 1 45%; font-size: 12.5px; }
    .ps-trust-item i { font-size: 18px; }
    .ps-trust-item strong { font-size: 15px; }

    .ps-about-visual { padding: 25px; }
    .ps-about-visual-inner { padding: 22px; }
    .ps-about-text h2 { font-size: 22px; }
    .ps-about-features { grid-template-columns: 1fr; }

    .ps-features-grid { grid-template-columns: 1fr; gap: 16px; }
    .ps-feature-card { padding: 26px 22px; }
    .ps-feature-icon { width: 50px; height: 50px; font-size: 20px; }

    .ps-industries-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .ps-industry-card { padding: 22px 14px; }
    .ps-industry-card i { width: 50px; height: 50px; font-size: 20px; }
    .ps-industry-card h5 { font-size: 13.5px; }
    .ps-industry-card p { font-size: 11px; }

    .ps-step { padding: 12px; }
    .ps-step-num { width: 60px; height: 60px; font-size: 20px; }

    .ps-pricing-grid { max-width: 100%; gap: 24px; }
    .ps-price-card { padding: 30px 22px; }
    .ps-price-header h4 { font-size: 20px; }
    .ps-price-amount strong { font-size: 32px; }

    .ps-testimonial { padding: 24px; }

    .ps-faq-q { padding: 16px 18px; font-size: 14px; }
    .ps-faq-a-inner { padding: 0 18px 18px; font-size: 13.5px; }

    .ps-cta { padding: 40px 22px; border-radius: 16px; }
    .ps-cta h2 { font-size: 22px; }
    .ps-cta p { font-size: 14px; }
    .ps-cta-buttons { flex-direction: column; }
    .ps-cta-buttons .ps-btn { width: 100%; }

    .ps-footer { padding: 45px 0 0; }
    .ps-footer-grid { grid-template-columns: 1fr; gap: 30px; padding-bottom: 30px; }
    .ps-footer-bottom { flex-direction: column; text-align: center; gap: 10px; padding: 20px 0; }
}

@media (max-width: 480px) {
    .ps-container { padding: 0 14px; }
    .ps-brand img { width: 34px; height: 34px; }
    .ps-brand-text h1 { font-size: 15px; }
    .ps-brand-text span { display: none; }

    .ps-hero { padding: 30px 0 50px; }
    .ps-hero h1 { font-size: 22px; }
    .ps-hero p { font-size: 13.5px; }
    .ps-hero-badge { font-size: 10.5px; }
    .ps-hero-stats { flex-direction: column; gap: 12px; align-items: center; }

    .ps-section-title { font-size: 20px; }
    .ps-section-desc { font-size: 13px; }

    .ps-industries-grid { grid-template-columns: 1fr; }

    .ps-price-amount strong { font-size: 28px; }
    .ps-price-card { padding: 26px 18px; }

    .ps-cta h2 { font-size: 19px; }
    .ps-cta { padding: 32px 18px; }

    .ps-btn { padding: 11px 20px; font-size: 13px; }
    .ps-btn-lg { padding: 13px 24px; font-size: 14px; }
}