/* Sahab PM - Custom Brand Styles */
/* Brand Color: #d0a764 (Golden/Amber) */

:root {
    --pm-primary: #d0a764;
    --pm-primary-dark: #b8914f;
    --pm-primary-light: #e4c48e;
    --pm-secondary: #2d3748;
    --pm-accent: #1a202c;
    --pm-text: #2d3748;
    --pm-text-light: #718096;
    --pm-bg-light: #faf8f5;
    --pm-bg-dark: #1a202c;
    --pm-white: #ffffff;
    --pm-gradient: linear-gradient(135deg, #d0a764 0%, #b8914f 100%);
    --pm-gradient-dark: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
}

/* Page Base */
.sahab-pm-page {
    background-color: var(--pm-white);
}

/* Custom Navigation */
.sahab-pm-nav {
    background: var(--pm-white);
    border-bottom: 1px solid rgba(208, 167, 100, 0.2);
}

.sahab-pm-nav .nav-link {
    color: var(--pm-text);
}

.sahab-pm-nav .nav-link:hover,
.sahab-pm-nav .nav-link.active {
    color: var(--pm-primary);
}

.sahab-pm-nav .nav-cta {
    background: var(--pm-gradient);
    color: var(--pm-white) !important;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sahab-pm-nav .nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(208, 167, 100, 0.4);
}

.sahab-pm-logo h2 {
    color: var(--pm-accent);
}

.pm-logo-icon {
    width: 40px;
    height: 40px;
    background: var(--pm-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pm-white);
    font-size: 1.25rem;
}

/* Buttons */
.btn-pm-primary {
    background: var(--pm-gradient);
    color: var(--pm-white);
    padding: 0.875rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-pm-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(208, 167, 100, 0.4);
}

.btn-pm-secondary {
    background: transparent;
    color: var(--pm-primary);
    padding: 0.875rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    border: 2px solid var(--pm-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-pm-secondary:hover {
    background: var(--pm-primary);
    color: var(--pm-white);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Hero Section */
.pm-hero {
    position: relative;
    padding: 8rem 0 6rem;
    overflow: hidden;
    background: linear-gradient(135deg, #faf8f5 0%, #fff9f0 100%);
}

.pm-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(208, 167, 100, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(208, 167, 100, 0.15) 0%, transparent 50%);
    z-index: 0;
}

.pm-hero .container {
    position: relative;
    z-index: 1;
}

.pm-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.pm-hero-badge {
    display: inline-block;
    background: var(--pm-gradient);
    color: var(--pm-white);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.pm-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--pm-accent);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.pm-hero-subtitle {
    font-size: 1.25rem;
    color: var(--pm-text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.pm-hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.pm-hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.pm-stat {
    text-align: center;
}

.pm-stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--pm-primary);
}

.pm-stat-label {
    font-size: 0.875rem;
    color: var(--pm-text-light);
}

/* Section Headers */
.pm-section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.pm-section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--pm-accent);
    margin-bottom: 1rem;
}

.pm-section-header p {
    font-size: 1.125rem;
    color: var(--pm-text-light);
}

/* Features Section */
.pm-features {
    padding: 6rem 0;
    background: var(--pm-white);
}

.pm-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pm-feature-card {
    background: var(--pm-white);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(208, 167, 100, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pm-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(208, 167, 100, 0.15);
}

.pm-feature-icon {
    width: 60px;
    height: 60px;
    background: var(--pm-gradient);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.pm-feature-icon i {
    font-size: 1.5rem;
    color: var(--pm-white);
}

.pm-feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--pm-accent);
    margin-bottom: 0.75rem;
}

.pm-feature-card p {
    color: var(--pm-text-light);
    line-height: 1.6;
}

/* Portal Sections (Tenant & Manager) */
.pm-tenant-portal,
.pm-manager-dashboard {
    padding: 6rem 0;
}

.pm-tenant-portal {
    background: var(--pm-bg-light);
}

.pm-manager-dashboard {
    background: var(--pm-white);
}

.pm-portal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.pm-portal-content.reverse {
    direction: rtl;
}

.pm-portal-content.reverse > * {
    direction: ltr;
}

.pm-portal-badge {
    display: inline-block;
    background: var(--pm-gradient);
    color: var(--pm-white);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.pm-portal-badge.manager-badge {
    background: var(--pm-gradient-dark);
}

.pm-portal-info h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--pm-accent);
    margin-bottom: 1rem;
}

.pm-portal-description {
    font-size: 1.1rem;
    color: var(--pm-text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.pm-portal-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pm-portal-features li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.pm-portal-features li i {
    color: var(--pm-primary);
    font-size: 1.25rem;
    margin-top: 0.2rem;
}

.pm-portal-features li strong {
    display: block;
    color: var(--pm-accent);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.pm-portal-features li span {
    display: block;
    color: var(--pm-text-light);
    font-size: 0.9rem;
}

/* Mockup Styles */
.pm-mockup {
    background: var(--pm-white);
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.pm-mockup-header {
    background: #e2e8f0;
    padding: 0.75rem 1rem;
    display: flex;
    gap: 0.5rem;
}

.pm-mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e0;
}

.pm-mockup-dot:first-child {
    background: #fc8181;
}

.pm-mockup-dot:nth-child(2) {
    background: #f6e05e;
}

.pm-mockup-dot:nth-child(3) {
    background: #68d391;
}

.pm-mockup-content {
    padding: 0;
}

.pm-mockup-nav {
    display: flex;
    background: #f7fafc;
    border-bottom: 1px solid #e2e8f0;
}

.pm-mockup-nav-item {
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
    color: var(--pm-text-light);
    border-bottom: 2px solid transparent;
}

.pm-mockup-nav-item.active {
    color: var(--pm-primary);
    border-bottom-color: var(--pm-primary);
    font-weight: 600;
}

.pm-mockup-body {
    padding: 1.5rem;
}

.pm-mockup-welcome {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--pm-accent);
    margin-bottom: 1.25rem;
}

.pm-mockup-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.pm-mockup-card {
    background: var(--pm-bg-light);
    padding: 1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--pm-text);
}

.pm-mockup-card i {
    color: var(--pm-primary);
    font-size: 1.25rem;
}

.pm-mockup-btn {
    background: var(--pm-gradient);
    color: var(--pm-white);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Manager Mockup Stats */
.pm-mockup-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.pm-mockup-stat {
    background: var(--pm-bg-light);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
}

.pm-mockup-stat .stat-num {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pm-primary);
}

.pm-mockup-stat .stat-label {
    font-size: 0.75rem;
    color: var(--pm-text-light);
}

.pm-mockup-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pm-mockup-list-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--pm-text);
}

.pm-mockup-list-item .list-icon {
    font-size: 1rem;
}

.pm-mockup-list-item .list-icon .fa-exclamation-circle {
    color: #ed8936;
}

.pm-mockup-list-item .list-icon .fa-check-circle {
    color: #48bb78;
}

/* How It Works Section */
.pm-how-it-works {
    padding: 6rem 0;
    background: var(--pm-bg-light);
}

.pm-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.pm-step {
    text-align: center;
    max-width: 220px;
}

.pm-step-number {
    width: 60px;
    height: 60px;
    background: var(--pm-gradient);
    color: var(--pm-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.25rem;
}

.pm-step-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--pm-accent);
    margin-bottom: 0.5rem;
}

.pm-step-content p {
    font-size: 0.9rem;
    color: var(--pm-text-light);
    line-height: 1.5;
}

.pm-step-connector {
    width: 60px;
    height: 2px;
    background: var(--pm-primary-light);
    margin-top: 30px;
}

/* Pricing Section */
.pm-pricing {
    padding: 6rem 0;
    background: var(--pm-white);
}

.pm-pricing-content {
    display: flex;
    justify-content: center;
}

.pm-pricing-card {
    background: var(--pm-white);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(208, 167, 100, 0.15);
    overflow: hidden;
    max-width: 500px;
    width: 100%;
    border: 2px solid var(--pm-primary-light);
}

.pm-pricing-header {
    background: var(--pm-gradient);
    padding: 2rem;
    text-align: center;
}

.pm-pricing-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--pm-white);
    margin-bottom: 0.5rem;
}

.pm-pricing-tagline {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.pm-pricing-body {
    padding: 2rem;
}

.pm-pricing-description {
    color: var(--pm-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.pm-pricing-factors {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.pm-pricing-factors li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--pm-text);
}

.pm-pricing-factors li i {
    color: var(--pm-primary);
    font-size: 1.1rem;
}

.pm-pricing-includes h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--pm-accent);
    margin-bottom: 1rem;
}

.pm-pricing-includes ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pm-pricing-includes li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--pm-text);
}

.pm-pricing-includes li i {
    color: var(--pm-primary);
}

.pm-pricing-footer {
    padding: 0 2rem 2rem;
    text-align: center;
}

.pm-pricing-footer .btn-pm-primary {
    width: 100%;
}

/* CTA Section */
.pm-cta {
    padding: 6rem 0;
    background: var(--pm-gradient-dark);
}

.pm-cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.pm-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--pm-white);
    margin-bottom: 1rem;
}

.pm-cta p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.pm-cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.pm-cta .btn-pm-secondary {
    border-color: var(--pm-white);
    color: var(--pm-white);
}

.pm-cta .btn-pm-secondary:hover {
    background: var(--pm-white);
    color: var(--pm-accent);
}

/* Footer */
.pm-footer {
    background: var(--pm-bg-dark);
    padding: 4rem 0 2rem;
}

.pm-footer-content {
    display: grid;
    grid-template-columns: 1.5fr 3fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.pm-footer-brand {
    color: rgba(255, 255, 255, 0.8);
}

.pm-footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.pm-footer-logo h3 {
    color: var(--pm-white);
    font-size: 1.25rem;
    font-weight: 700;
}

.pm-footer-brand p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.pm-footer-powered a {
    color: var(--pm-primary);
    text-decoration: none;
}

.pm-footer-powered a:hover {
    text-decoration: underline;
}

.pm-footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.pm-footer-col h4 {
    color: var(--pm-white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.pm-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pm-footer-col li {
    margin-bottom: 0.75rem;
}

.pm-footer-col a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.pm-footer-col a:hover {
    color: var(--pm-primary);
}

.pm-footer-col p {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.pm-footer-col p i {
    color: var(--pm-primary);
}

.pm-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.pm-footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .pm-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pm-portal-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .pm-portal-content.reverse {
        direction: ltr;
    }

    .pm-portal-visual {
        order: -1;
    }

    .pm-footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .pm-footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pm-hero {
        padding: 6rem 0 4rem;
    }

    .pm-hero h1 {
        font-size: 2.5rem;
    }

    .pm-hero-subtitle {
        font-size: 1.1rem;
    }

    .pm-hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .pm-hero-stats {
        gap: 2rem;
    }

    .pm-section-header h2 {
        font-size: 2rem;
    }

    .pm-features-grid {
        grid-template-columns: 1fr;
    }

    .pm-steps {
        flex-direction: column;
        gap: 2rem;
    }

    .pm-step {
        max-width: 100%;
    }

    .pm-step-connector {
        width: 2px;
        height: 40px;
        margin: 0 auto;
    }

    .pm-pricing-factors {
        grid-template-columns: 1fr;
    }

    .pm-cta h2 {
        font-size: 2rem;
    }

    .pm-cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .pm-footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .pm-mockup-stats {
        grid-template-columns: 1fr;
    }

    .pm-mockup-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .pm-hero h1 {
        font-size: 2rem;
    }

    .pm-hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .pm-section-header h2 {
        font-size: 1.75rem;
    }

    .pm-portal-info h2 {
        font-size: 1.75rem;
    }

    .pm-footer-links {
        grid-template-columns: 1fr;
    }

    .pm-cta h2 {
        font-size: 1.75rem;
    }

    .btn-large {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Animation Classes */
.pm-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.pm-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
