/* ===== Modern Payment Page Sections ===== */

.payment-content-modern-section {
    background: var(--hp-gray-50);
    padding: 50px 0 40px 0;
}
.payment-order-modern-summary {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(44, 62, 80, 0.07);
    padding: 32px 24px;
    margin-bottom: 32px;
}
.payment-order-modern-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}
.payment-order-modern-icon {
    font-size: 1.7rem;
    color: var(--hp-success);
}
.payment-order-modern-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--hp-primary);
    margin-bottom: 0;
}
.payment-order-modern-details {
    margin-bottom: 18px;
}
.payment-plan-modern-card {
    background: var(--hp-gray-100);
    border-radius: 12px;
    padding: 18px 16px;
    margin-bottom: 18px;
}
.payment-plan-modern-header h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--hp-primary);
    margin-bottom: 4px;
}
.payment-plan-modern-header p {
    color: var(--hp-dark);
    font-size: 0.98rem;
    margin-bottom: 0;
}
.payment-plan-modern-duration {
    color: var(--hp-success);
    font-size: 0.98rem;
    margin-top: 8px;
}
.payment-price-modern-breakdown {
    background: var(--hp-gray-50);
    border-radius: 10px;
    padding: 14px 12px;
    margin-bottom: 10px;
}
.payment-price-modern-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    margin-bottom: 8px;
}
.payment-price-modern-item:last-child {
    margin-bottom: 0;
}
.payment-price-modern-value {
    font-weight: 700;
    color: var(--hp-primary);
}
.payment-modern-discount {
    color: var(--hp-accent);
}
.payment-modern-total .payment-price-modern-value {
    color: var(--hp-success);
    font-size: 1.1rem;
}

.payment-promo-modern-section {
    background: var(--hp-gray-100);
    border-radius: 10px;
    padding: 16px 12px;
    margin-top: 18px;
}
.payment-promo-modern-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--hp-primary);
    font-weight: 600;
}
.payment-promo-modern-form .input-group {
    gap: 0;
}
.payment-promo-modern-input {
    border-radius: 8px 0 0 8px;
    border-right: none;
}
.payment-promo-modern-btn {
    border-radius: 0 8px 8px 0;
}
.payment-promo-modern-response {
    margin-top: 8px;
    font-size: 0.98rem;
}

.payment-promo-message.payment-promo-danger {
    color: var(--hp-accent);
}

.payment-billing-modern-form {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(44, 62, 80, 0.07);
    padding: 32px 24px;
}
.payment-form-modern-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}
.payment-form-modern-icon {
    font-size: 1.7rem;
    color: var(--hp-primary);
}
.payment-form-modern-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--hp-primary);
    margin-bottom: 0;
}
.payment-invoice-modern-info {
    margin-bottom: 18px;
}
.payment-invoice-modern-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--hp-gray-50);
    color: var(--hp-primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
}
.payment-modern-error-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fff0f0;
    border: 1px solid var(--hp-accent);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 18px;
}
.payment-modern-error-icon {
    color: var(--hp-accent);
    font-size: 1.3rem;
    margin-top: 2px;
}
.payment-modern-error-content h5 {
    color: var(--hp-accent);
    font-size: 1.1rem;
    margin-bottom: 6px;
}
.payment-form-modern-group {
    margin-bottom: 18px;
}
.payment-modern-input {
    border-radius: 8px;
    padding: 12px 16px;
    border: 1.5px solid var(--hp-gray-200);
    font-size: 1rem;
}
.payment-form-modern-actions {
    margin-top: 24px;
}
.payment-modern-submit-btn {
    min-width: 200px;
    font-size: 1.08rem;
    font-weight: 600;
}

@media (max-width: 991px) {
    .payment-order-modern-summary,
    .payment-billing-modern-form {
        padding: 18px 8px;
    }
}
@media (max-width: 767px) {
    .payment-content-modern-section {
        padding: 32px 0 18px 0;
    }
    .payment-order-modern-summary,
    .payment-billing-modern-form {
        padding: 8px 2px;
    }
    
}
/* ===== Modern About Page Sections ===== */

.about-cta-modern-box {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(44, 62, 80, 0.1);
    padding: 48px 32px;
    text-align: center;
}

.cta-modern-btns .btn {
    margin: 0 8px;
    min-width: 150px;
    font-size: 1.08rem;
}

@media (max-width: 767px) {
    
    .about-cta-modern-box {
        padding: 18px 8px;
    }
    
}
/* =============================================
   DESIGN SYSTEM — ERP2ALL Frontend
   Primary:  #2c3e50  (dark navy)
   Accent:   #bf3b2b  (danger/red)
   Success:  #2aae60  (green)
   ============================================= */
:root {
    /* New Hero Design System */
    --saas-primary: #126781;
    --saas-secondary: #f3f7fa;
    --saas-accent: #1aa3c8;
    --saas-success: #10b981;
    --saas-text-main: #1f2933;
    --saas-text-muted: #6b7280;
    --saas-bg-light: #f8fafc;

    /* Brand */
    --hp-primary: #126781;
    --hp-primary-700: rgb(24, 34, 43);
    --hp-accent: #bf3b2b;
    --hp-accent-700: #1aa3c8;
    --hp-success: #2aae60;
    --hp-success-700: #1e9e55;

    /* Neutrals */
    --hp-white: #ffffff;
    --hp-gray-50: #f8f9fa;
    --hp-gray-100: #f1f3f5;
    --hp-gray-200: #e9ecef;
    --hp-gray-400: #adb5bd;
    --hp-gray-600: #6b7b86;
    --hp-gray-800: #343a40;
    --hp-dark: #1f2b44;

    /* Typography */
    --hp-font-base: "Inter", "Segoe UI", sans-serif;
    --hp-font-heading: "Inter", "Segoe UI", sans-serif;

    /* Radius */
    --hp-radius-sm: 6px;
    --hp-radius: 12px;
    --hp-radius-lg: 20px;
    --hp-radius-xl: 28px;

    /* Shadows */
    --hp-shadow-sm: 0 2px 8px rgba(44, 62, 80, 0.08);
    --hp-shadow: 0 8px 24px rgba(44, 62, 80, 0.12);
    --hp-shadow-lg: 0 20px 50px rgba(44, 62, 80, 0.14);

    /* Transitions */
    --hp-transition: all 0.3s ease;

    /* Legacy aliases (keep components working) */
    --primary: #2c3e50;
    --secondary: #2aae60;
    --light: #f8f9fa;
    --dark: #1f2b44;
}

/* ---- Base ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: var(--hp-font-base);
    color: var(--hp-dark);
    background: var(--hp-white);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--hp-font-heading);
    font-weight: 700;
    color: var(--hp-primary);
    line-height: 1.25;
}

a {
    color: var(--hp-primary);
    transition: var(--hp-transition);
}
a:hover {
    color: var(--hp-accent);
}

/* ---- Bootstrap Overrides ---- */
.btn-primary {
    background-color: var(--hp-primary) !important;
    border-color: var(--hp-primary) !important;
    color: #fff !important;
    font-weight: 600;
    border-radius: var(--hp-radius);
    transition: var(--hp-transition);
}
.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--hp-primary-700) !important;
    border-color: var(--hp-primary-700) !important;
    box-shadow: 0 6px 18px rgba(44, 62, 80, 0.3) !important;
    transform: translateY(-1px);
}
.btn-outline-primary {
    color: var(--hp-primary) !important;
    border: 2px solid var(--hp-primary) !important;
    background: transparent !important;
    font-weight: 600;
    border-radius: var(--hp-radius);
    transition: var(--hp-transition);
}
.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background: var(--hp-primary) !important;
    color: #fff !important;
    box-shadow: 0 6px 18px rgba(44, 62, 80, 0.25) !important;
    transform: translateY(-1px);
}
.btn-success {
    background-color: var(--hp-success) !important;
    border-color: var(--hp-success) !important;
    color: #fff !important;
    font-weight: 600;
    border-radius: var(--hp-radius);
}
.btn-success:hover {
    background-color: var(--hp-success-700) !important;
    border-color: var(--hp-success-700) !important;
}
.btn-danger {
    background-color: var(--hp-accent) !important;
    border-color: var(--hp-accent) !important;
    color: #fff !important;
    font-weight: 600;
    border-radius: var(--hp-radius);
}

.text-primary {
    color: var(--hp-primary) !important;
}
.text-success {
    color: var(--hp-success) !important;
}
.text-danger {
    color: var(--hp-accent) !important;
}
.bg-primary {
    background-color: var(--hp-primary) !important;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--hp-primary) !important;
    box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.15) !important;
}

.badge.bg-primary {
    background-color: var(--hp-primary) !important;
}

/* Card base */
.card {
    border-radius: var(--hp-radius-lg);
    border: 1px solid var(--hp-gray-200);
    box-shadow: var(--hp-shadow-sm);
    transition: var(--hp-transition);
}
.card:hover {
    box-shadow: var(--hp-shadow);
}

/* Section spacing */
section,
.section {
    padding: 80px 0;
}

/* Admin Form Styling */

.form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.form-label i {
    color: var(--hp-primary);
}

.input-group-text {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-left: none;
    color: white;
    background: #8b5cf6;
    font-weight: 600;
}

.btn-outline-primary {
    border: 2px solid #8b5cf6;
    color: white;
    background: #8b5cf6;
    border-radius: 8px;
    padding: 12px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: #7c3aed;
    border-color: #7c3aed;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.btn-success {
    background: #2aae60;
    border-color: #2aae60;
    color: white;
}

.btn-success:hover {
    background: #1e9e55;
    border-color: #178048;
}

/* Subscription Management Styles */

.amount-info {
    display: flex;
    flex-direction: column;
}

.amount-value {
    font-weight: 600;
    color: #374151;
}

.action-buttons {
    display: flex;
    gap: 8px;
}

.action-buttons .btn {
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.action-buttons .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}

.empty-state i {
    color: #d1d5db;
    margin-bottom: 16px;
}

.empty-state h5 {
    color: #374151;
    margin-bottom: 8px;
}

.empty-state p {
    color: #6b7280;
    margin-bottom: 0;
}

/* Invoice Management Styles */
.sl-number {
    font-weight: 600;
    color: #6b7280;
    background: #f3f4f6;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    min-width: 30px;
    text-align: center;
}

.invoice-code {
    display: flex;
    flex-direction: column;
}

.code-value {
    font-family: "Courier New", monospace;
    font-weight: 600;
    color: #374151;
    background: #f3f4f6;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.invoice-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e2e8f0;
}

.invoice-title {
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 8px;
}

.section-title {
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

.section-title i {
    color: var(--hp-primary);
}

.payment-section {
    margin-top: 24px;
}

.payment-title {
    color: #92400e;
    font-weight: 700;
    margin-bottom: 8px;
}

.payment-actions .btn {
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.payment-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Invoice Header */
.invoice-header-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.company-name {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.company-tagline {
    color: #7f8c8d;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.company-details p {
    color: #34495e;
    margin-bottom: 5px;
    font-size: 14px;
}

.company-details i {
    color: #ff6b6b;
    width: 16px;
}

.invoice-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #2c3e50;
    text-align: right;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.invoice-details {
    text-align: right;
}

.invoice-detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding: 8px 0;
    border-bottom: 1px solid #f8f9fa;
}

.invoice-detail-item .label {
    font-weight: 600;
    color: #7f8c8d;
    font-size: 14px;
}

.invoice-detail-item .value {
    font-weight: 700;
    color: #2c3e50;
    font-size: 14px;
}

.status-paid {
    background: linear-gradient(135deg, #00d4aa, #00a8cc);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-unpaid {
    background: linear-gradient(135deg, #ff6b6b, #ff9a56);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Bill To Section */
.bill-to-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.customer-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.customer-email {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 0;
}

.payment-terms p {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 5px;
}

/* Invoice Items Table */
.invoice-items-section {
    margin-bottom: 40px;
}

.invoice-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.invoice-table thead {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.invoice-table th {
    padding: 15px 20px;
    text-align: left;
    font-weight: 700;
    color: #2c3e50;
    border-bottom: 2px solid #dee2e6;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.invoice-table td {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: top;
}

.service-name {
    font-weight: 700;
    color: #2c3e50;
    font-size: 16px;
    margin-bottom: 5px;
}

.service-description {
    color: #7f8c8d;
    font-size: 14px;
}

.item-amount {
    font-weight: 700;
    color: #2c3e50;
    font-size: 16px;
    text-align: right;
}

/* Invoice Total */
.invoice-total-section {
    margin-bottom: 40px;
}

.total-breakdown {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.total-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 8px 0;
}

.total-line:not(:last-child) {
    border-bottom: 1px solid #e9ecef;
}

.total-label {
    font-weight: 600;
    color: #7f8c8d;
    font-size: 14px;
}

.total-value {
    font-weight: 700;
    color: #2c3e50;
    font-size: 14px;
}

.total-final {
    font-size: 18px;
    font-weight: 900;
    color: #2c3e50;
    padding-top: 15px;
    margin-top: 10px;
    border-top: 2px solid #dee2e6 !important;
}

/* Payment Section */
.payment-section {
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #fff5f5, #f0f9ff);
    border-radius: 12px;
    border: 2px solid #ff6b6b;
    text-align: center;
}

.payment-title {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.payment-title i {
    color: #ff6b6b;
}

.payment-message {
    color: #7f8c8d;
    margin-bottom: 25px;
    font-size: 16px;
}

.btn-pay-now {
    display: inline-block;
    background: linear-gradient(
        135deg,
        #ff6b6b 0%,
        #4ecdc4 25%,
        #45b7d1 50%,
        #96ceb4 75%,
        #feca57 100%
    );
    background-size: 300% 300%;
    animation: gradientShift 3s ease infinite;
    color: white;
    text-decoration: none;
    padding: 0;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    transition: all 0.3s ease;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    overflow: hidden;
    position: relative;
}

.btn-pay-now:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.6);
    color: white;
    text-decoration: none;
}

.btn-pay-now::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
}

.btn-pay-now:hover::before {
    left: 100%;
}

.btn-pay-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 35px;
    position: relative;
    z-index: 2;
}

.btn-pay-content i {
    font-size: 1.2rem;
}

.btn-pay-content span {
    font-size: 1.1rem;
    font-weight: 700;
}

/* Payment Success Section */
.payment-success-section {
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #f0fff4, #e6fffa);
    border-radius: 12px;
    border: 2px solid #00d4aa;
    text-align: center;
}

.success-notice i {
    font-size: 3rem;
    color: #00d4aa;
    margin-bottom: 15px;
}

.success-notice h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.success-notice p {
    color: #7f8c8d;
    font-size: 16px;
    margin-bottom: 0;
}

/* Invoice Footer */
.invoice-footer {
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
    color: #7f8c8d;
}

.footer-info h4 {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-info p {
    font-size: 14px;
    margin-bottom: 0;
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 5px;
}

.footer-contact strong {
    color: #2c3e50;
}

/* Responsive Design */
@media (max-width: 768px) {

    .company-name {
        font-size: 2rem;
    }

    .invoice-title {
        font-size: 2rem;
        text-align: left;
        margin-top: 20px;
    }

    .invoice-details {
        text-align: left;
    }

    .btn-pay-content {
        flex-direction: column;
        gap: 8px;
        padding: 15px 25px;
    }
}

/* WhatsApp Floating Button */

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow:
            0 4px 20px rgba(37, 211, 102, 0.4),
            0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Modern Back-to-Top Button */
.back-to-top {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    width: 50px !important;
    height: 50px !important;
    background: var(--saas-primary) !important;
    border-radius: 12px !important;
    color: #fff !important;
    font-size: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    box-shadow: 0 8px 25px rgba(67, 56, 202, 0.4) !important;
    transition: all 0.3s ease !important;
    z-index: 1000 !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    outline: none !important;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 35px rgba(67, 56, 202, 0.5) !important;
    color: #fff !important;
    text-decoration: none !important;
}

.back-to-top:focus {
    outline: none !important;
    box-shadow: 0 8px 25px rgba(67, 56, 202, 0.4) !important;
}

.back-to-top:active {
    transform: translateY(-2px) scale(0.98) !important;
}

.back-to-top i {
    position: relative;
    z-index: 1;
}

@media (max-width: 767px) {
    .back-to-top {
        bottom: 20px !important;
        right: 20px !important;
        width: 44px !important;
        height: 44px !important;
        font-size: 18px !important;
    }
}

.back-to-top i {
    position: relative;
    z-index: 2;
    font-size: 24px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@keyframes backToTopPulse {
    0%,
    100% {
        box-shadow:
            0 10px 30px rgba(44, 62, 80, 0.4),
            0 0 0 0 rgba(44, 62, 80, 0.7);
    }
    50% {
        box-shadow:
            0 10px 30px rgba(44, 62, 80, 0.4),
            0 0 0 10px rgba(44, 62, 80, 0.1);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* ===== CTA Section Decorations ===== */

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.amount-value {
    font-size: 2.5rem;
    font-weight: 800;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

@keyframes pulseSuccess {
    0%,
    100% {
        transform: scale(1);
        box-shadow:
            0 10px 30px rgba(0, 212, 170, 0.4),
            0 0 0 4px rgba(0, 212, 170, 0.1);
    }
    50% {
        transform: scale(1.05);
        box-shadow:
            0 15px 40px rgba(0, 212, 170, 0.6),
            0 0 0 8px rgba(0, 212, 170, 0.2);
    }
}

@keyframes pulsePending {
    0%,
    100% {
        transform: scale(1);
        box-shadow:
            0 10px 30px rgba(255, 107, 107, 0.4),
            0 0 0 4px rgba(255, 107, 107, 0.1);
    }
    50% {
        transform: scale(1.05);
        box-shadow:
            0 15px 40px rgba(255, 107, 107, 0.6),
            0 0 0 8px rgba(255, 107, 107, 0.2);
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes rainbowGlow {
    0%,
    100% {
        background: linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1);
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    }
    33% {
        background: linear-gradient(135deg, #4ecdc4, #45b7d1, #96ceb4);
        box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
    }
    66% {
        background: linear-gradient(135deg, #45b7d1, #96ceb4, #feca57);
        box-shadow: 0 4px 15px rgba(69, 183, 209, 0.3);
    }
}

@keyframes iconPulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
    }
}

/* Responsive Design */
@media (max-width: 768px) {

    .amount-value {
        font-size: 2rem;
    }

}

/* Dropdown */
.dropdown-menu {
    border-radius: var(--hp-radius) !important;
    border: 1px solid var(--hp-gray-200) !important;
    box-shadow: var(--hp-shadow) !important;
    padding: 8px;
    z-index: 2000;
    overflow: hidden;
}

/* Prevent dropdown from closing when moving mouse to menu */

.dropdown-item {
    border-radius: var(--hp-radius-sm);
    padding: 8px 14px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--hp-dark);
    transition: var(--hp-transition);
    margin: 2px 0;
}
.dropdown-item:hover {
    background: rgba(44, 62, 80, 0.06);
    color: var(--hp-primary);
}

/* Auth/Login page base */
.form-control:focus {
    border-color: var(--hp-primary) !important;
    box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.15) !important;
}

/* Centered login canvas with floating shapes */
.login-canvas {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    overflow: hidden;
}
.login-card-centered {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 720px;
}
.shape {
    position: absolute;
    z-index: 1;
    opacity: 0.25;
    filter: blur(0px);
    animation-timing-function: ease-in-out;
}
.shape.round {
    border-radius: 50%;
}
.shape.squircle {
    border-radius: 26px;
}
.shape-1 {
    width: 140px;
    height: 140px;
    background: rgba(179, 205, 255, 0.6);
    top: 5%;
    left: 8%;
    animation: floatA 9s infinite alternate;
}
.shape-2 {
    width: 110px;
    height: 110px;
    background: rgba(44, 62, 80, 0.18);
    top: 18%;
    right: 10%;
    animation: floatB 12s infinite alternate;
}
.shape-3 {
    width: 90px;
    height: 90px;
    background: rgba(255, 230, 200, 0.5);
    bottom: 12%;
    left: 15%;
    animation: floatC 11s infinite alternate;
}

@keyframes floatA {
    from {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    to {
        transform: translateY(-18px) translateX(8px) rotate(8deg);
    }
}
@keyframes floatB {
    from {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    to {
        transform: translateY(16px) translateX(-10px) rotate(-6deg);
    }
}
@keyframes floatC {
    from {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    to {
        transform: translateY(-12px) translateX(12px) rotate(10deg);
    }
}

/* Beautiful login card */
.auth-card {
    border: 1px solid rgba(44, 62, 80, 0.12);
    border-radius: 16px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.12);
    background: #ffffff;
}
.login-header {
    text-align: center;
    margin-bottom: 8px;
}
.login-badge {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(44, 62, 80, 0.12);
    color: var(--hp-primary);
    box-shadow: 0 8px 22px rgba(44, 62, 80, 0.25);
}
.login-title {
    font-weight: 800;
    color: #1f2b44;
    margin-top: 10px;
}
.login-subtitle {
    color: #6b7b86;
    margin-bottom: 6px;
}

.input-group-text {
    background: #f6f7f9;
    border-color: #e6e8eb;
    color: #6b7b86;
    transition:
        color 0.2s ease,
        border-color 0.2s ease;
}
.form-control {
    border-radius: 12px;
    height: 46px;
    border-color: #e6e8eb;
    background: #fff;
    transition:
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}
.form-control::placeholder {
    color: #9aa6b2;
}

.is-invalid.form-control,
.form-control.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15) !important;
}
/* Ensure server-side validation messages are visible */
.auth-card .invalid-feedback {
    display: block;
}

/* Consistent alerts in auth cards */
.auth-card .alert {
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Primary color overrides */

.btn-primary {
    color: #ffffff;
    background-color: var(--hp-primary);
    border-color: var(--hp-primary);
}
.btn-primary:hover {
    background-color: var(--hp-primary-700);
    border-color: var(--hp-primary-700);
}
.btn-primary:focus {
    box-shadow: 0 0 0 0.25rem rgba(44, 62, 80, 0.25);
}
.text-primary {
    color: var(--hp-primary) !important;
}

.bg-primary {
    background-color: var(--hp-primary) !important;
}

/* Responsive helpers */
@media (max-width: 575.98px) {
    .login-card-centered {
        max-width: 100%;
    }
}

/* Effects */
@keyframes blink-shadow {
    0% {
        box-shadow: 0px 0px 15px rgba(44, 62, 80, 0.8);
    }
    50% {
        box-shadow: 0px 0px 25px rgba(44, 62, 80, 1);
    }
    100% {
        box-shadow: 0px 0px 15px rgba(44, 62, 80, 0.8);
    }
}

/* Modern Navbar Styles */

.navbar-brand {
    padding: 0;
}

.navbar-nav {
    gap: 4px;
    flex-wrap: wrap;
}

.navbar-nav .nav-item {
    position: relative;
}

.navbar-nav .nav-link {
    color: #1f2b44;
    font-weight: 600;
    padding: 10px 12px;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    white-space: nowrap;
}

.navbar-nav .nav-link i {
    font-size: 0.85rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--hp-primary);
    background: rgba(44, 62, 80, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.2);
}

.navbar-nav .nav-link:hover i {
    opacity: 1;
    transform: scale(1.1);
}

.navbar-nav .nav-link.active {
    color: var(--hp-primary);
    background: rgba(44, 62, 80, 0.15);
    font-weight: 700;
}

.navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: var(--hp-primary);
    border-radius: 2px;
}

/* Navbar Responsive */
@media (max-width: 1200px) {
    .navbar-nav .nav-link {
        font-size: 0.85rem;
        padding: 8px 10px;
    }

    .navbar-nav {
        gap: 2px;
    }
}

@media (max-width: 991.98px) {

    .navbar-nav {
        margin-top: 20px;
        gap: 5px;
        flex-direction: column;
        align-items: stretch;
    }

    .navbar-nav .nav-link {
        padding: 10px 15px;
        margin: 2px 0;
        justify-content: flex-start;
    }

}

@media (max-width: 767.98px) {

    .navbar-nav .nav-link {
        font-size: 0.9rem;
        padding: 8px 12px;
    }

}

@media (max-width: 575.98px) {

    .navbar-nav .nav-link {
        font-size: 0.85rem;
        padding: 6px 10px;
    }

}

/* Promo Code Section */

.payment-promo-message {
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

.payment-promo-danger {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

/* Remove any default margins/padding that might cause gaps */
body {
    margin: 0;
    padding: 0;
}

/* Slider Animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Frontend design system refresh */
:root {
    --hp-primary: #2c3e50;
    --hp-primary-700: #233140;
    --hp-danger: #bf3b2b;
    --hp-success: #2aae60;
    --hp-text: #1f2937;
    --hp-muted: #6b7280;
    --hp-surface: #f8fafc;
}

body {
    color: var(--hp-text);
    background-color: #f5f7fa;
    font-family: "Poppins", "Segoe UI", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #11202f;
    letter-spacing: 0.01em;
}

.bg-primary {
    background-color: var(--hp-primary) !important;
}

.text-primary {
    color: var(--hp-primary) !important;
}

.text-danger {
    color: var(--hp-danger) !important;
}

.btn {
    border-radius: 0.65rem;
    font-weight: 600;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: #ffffff;
    background-color: var(--hp-primary);
    border-color: var(--hp-primary);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    color: #ffffff;
    background-color: var(--hp-primary-700);
    border-color: var(--hp-primary-700);
}

.btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.25);
}

.btn-success {
    color: #ffffff;
    background-color: var(--hp-success);
    border-color: var(--hp-success);
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active {
    color: #ffffff;
    background-color: #229150;
    border-color: #229150;
}

.btn-danger {
    color: #ffffff;
    background-color: var(--hp-danger);
    border-color: var(--hp-danger);
}

.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active {
    color: #ffffff;
    background-color: #a93325;
    border-color: #a93325;
}

.btn-outline-primary {
    color: var(--hp-primary);
    border-color: var(--hp-primary);
    background: transparent;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    color: #ffffff;
    border-color: var(--hp-primary);
    background-color: var(--hp-primary);
    box-shadow: none;
}

.card {
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
}

.form-control,
.form-select {
    border-radius: 0.65rem;
    border-color: #d1d5db;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--hp-primary) !important;
    box-shadow: 0 0 0 0.18rem rgba(44, 62, 80, 0.2) !important;
}

.page-hero-spacing {
    margin-bottom: 90px;
}

.auth-input {
    height: 48px;
    border-radius: 0.6rem;
}

.auth-submit-btn {
    border-radius: 0.6rem;
}

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

.auth-card,
manual-video-card {
    animation: uiFadeInUp 0.45s ease both;
}

/* =============================================
   HERO SECTION STYLES (Shared across pages)
   ============================================= */

.btn-saas-primary {
    background-color: var(--saas-primary);
    color: white !important;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 9999px;
    border: none;
    box-shadow: 0 4px 14px 0 rgba(67, 56, 202, 0.39);
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-saas-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(67, 56, 202, 0.23);
    /* background-color: #3730a3; */
    color: white;
    text-decoration: none;
}

.btn-saas-outline {
    background-color: white;
    color: var(--saas-text-main) !important;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-saas-outline:hover {
    border-color: #cbd5e1;
    background-color: #f8fafc;
    color: var(--saas-text-main);
    text-decoration: none;
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--saas-text-main);
    margin-bottom: 2rem;
}

.pill-badge .dot {
    width: 8px;
    height: 8px;
    background-color: var(--saas-primary);
    border-radius: 50%;
    margin-right: 8px;
}

.feature-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #eef2ff;
    color: var(--saas-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--saas-text-main);
    letter-spacing: -0.02em;
}

.section-title.text-white {
    color: white !important;
}

.bg-grid-pattern {
    background-size: 40px 40px;
    background-image:
        linear-gradient(to right, rgba(0, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Contact Main Section */

.form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--saas-primary);
    box-shadow: 0 0 0 4px rgba(19, 85, 104, 0.1);
    background: #fff;
}

.form-group textarea {
    resize: none;
}

/* =============================================
   HERO SIMPLE
   ============================================= */
.hero-simple {
    padding: 40px 0 30px;
    background: linear-gradient(135deg, var(--primary), #0d4f64);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-simple::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(255, 255, 255, 0.05) 0%,
        transparent 70%
    );
}
.hero-icon-wrap {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}
.hero-icon-wrap i {
    font-size: 1.5rem;
    color: #fff;
}
.hero-title-simple {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
}
.hero-subtitle-simple {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}
.hero-simple .hero-icon-wrap {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@media (max-width: 767px) {
    .hero-simple {
        padding: 30px 0 25px;
    }
    .hero-title-simple {
        font-size: 1.4rem;
    }
    .hero-icon-wrap {
        width: 52px;
        height: 52px;
    }
    .hero-icon-wrap i {
        font-size: 1.25rem;
    }
}

/* =============================================
   SAAS PRICING CARDS
   ============================================= */

td {
    background-color: white !important;
}

/* --- Section header --- */

@keyframes cref-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.35; transform: scale(0.7); }
}

/* --- Marquee track --- */

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* =============================================
   FEATURED NEWS SECTION
   ============================================= */

.news-section {
    position: relative;
    padding: 90px 0 80px;
    background: #ffffff;
    overflow: hidden;
}

/* Subtle dot-grid bg */
.news-section-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, #c7d2dc 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.4;
    pointer-events: none;
}

/* Animated read link */

@media (max-width: 767px) {
    .news-section { padding: 60px 0 50px; }

}
