/* Home Page Styles for InvoiceIssuer.Login */

/* Custom CSS Variables */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --success-color: #10b981;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --border-radius: 8px;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

/* Base Styles */
body {
    font-family: 'Vazir', 'Tahoma', Arial, sans-serif;
    direction: rtl;
    text-align: right;
}

.container {
    max-width: 1200px;
}

/* Header */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
}

.navbar {
    padding: 1rem 0;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Floating Mobile Register Button */
.floating-register-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    animation: float-pulse 2s ease-in-out infinite;
}

.btn-floating {
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
    border: none;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

.btn-floating:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.4);
    text-decoration: none;
}

@keyframes float-pulse {
    0%, 100% {
        transform: translateY(0px);
        box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
    }
    50% {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(37, 99, 235, 0.4);
    }
}

/* Mobile Navigation */
@media (max-width: 576px) {
    .floating-register-btn {
        bottom: 15px;
        right: 15px;
    }
    
    .btn-floating {
        padding: 10px 16px;
        font-size: 13px;
        min-width: 100px;
    }
}

@media (max-width: 991.98px) {
    body {
        padding-bottom: 80px;
    }
    
    .navbar-collapse.show ~ .floating-register-btn,
    .navbar-collapse.collapsing ~ .floating-register-btn {
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    
    .navbar-collapse {
        background: white;
        margin-top: 1rem;
        padding: 1rem;
        border-radius: var(--border-radius);
        box-shadow: var(--shadow-md);
    }
    
    .navbar-nav .nav-link {
        font-size: 1.1rem;
        padding: 1rem;
        text-align: center;
        border-radius: var(--border-radius);
        margin-bottom: 0.25rem;
    }
    
    .navbar-nav .nav-link:hover {
        background-color: #f8fafc;
    }
    
    .navbar-nav .btn {
        margin: 0.5rem 0;
        padding: 0.75rem 1.5rem;
        font-size: 1.1rem;
        border-radius: var(--border-radius);
    }
    
    .navbar-toggler {
        padding: 0.5rem;
        border: 2px solid var(--border-color);
        border-radius: var(--border-radius);
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.25rem;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

/* Feature Items */
.feature-item {
    padding: 2rem 1rem;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.feature-card-icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-card h5 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

/* Testimonials */
.testimonial-card {
    background: #f8fafc;
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.testimonial-content p {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.5rem;
}

.testimonial-author span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Pricing Section */
.pricing {
    background: #f8fafc;
}

.pricing-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #e5e7eb;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

/* Pricing Badge - 45 Degree Angle Top Left (Inside Card) */
.pricing-badge {
    position: absolute;
    top: 10px;
    left: -35px;
    padding: 0.4rem 2.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    color: white;
    transform: rotate(-45deg);
    transform-origin: center center;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
}

.badge-popular {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.badge-special {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
}

.badge-new {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.badge-enterprise {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

/* Popular Card - Red Theme */
.pricing-card-popular {
    background: white;
    border-color: #ef4444;
}

.pricing-card-popular:hover {
    border-color: #dc2626;
}

.pricing-card-popular .pricing-header h3,
.pricing-card-popular .pricing-features li {
    color: var(--text-primary) !important;
}

.pricing-card-popular .price-amount,
.pricing-card-popular .price-label {
    color: #10b981 !important;
}

.pricing-card-popular .pricing-features li i {
    color: #10b981 !important;
}

.pricing-card-popular .btn-primary {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-color: #ef4444;
    color: white;
}

.pricing-card-popular .btn-primary:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    border-color: #dc2626;
    transform: translateY(-2px);
}

/* Featured Card - Teal/Green Theme */
.pricing-card-featured {
    background: white;
    border-color: #14b8a6;
}

.pricing-card-featured:hover {
    border-color: #0d9488;
}

.pricing-card-featured .pricing-header h3,
.pricing-card-featured .pricing-features li {
    color: var(--text-primary) !important;
}

.pricing-card-featured .price-amount,
.pricing-card-featured .price-label {
    color: #10b981 !important;
}

.pricing-card-featured .pricing-features li i {
    color: #10b981 !important;
}

.pricing-card-featured .btn-primary {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    border-color: #14b8a6;
    color: white;
}

.pricing-card-featured .btn-primary:hover {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    border-color: #0d9488;
    transform: translateY(-2px);
}

/* Enterprise Card - Indigo Theme */
.pricing-card-enterprise {
    background: white;
    border-color: #6366f1;
}

.pricing-card-enterprise:hover {
    border-color: #4f46e5;
}

.pricing-card-enterprise .pricing-header h3,
.pricing-card-enterprise .pricing-features li {
    color: var(--text-primary) !important;
}

.pricing-card-enterprise .price-custom {
    color: #10b981 !important;
}

.pricing-card-enterprise .pricing-features li i {
    color: #10b981 !important;
}

.pricing-card-enterprise .btn-dark {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border-color: #6366f1;
    color: white;
}

.pricing-card-enterprise .btn-dark:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    border-color: #4f46e5;
    transform: translateY(-2px);
}

/* Pricing Header */
.pricing-header {
    margin-bottom: 1.5rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

/* Price Display */
.price-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: #10b981;
    line-height: 1;
    letter-spacing: -0.02em;
}

.price-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.price-label {
    font-size: 0.875rem;
    color: #10b981;
    font-weight: 500;
}

.price-custom {
    font-size: 1.5rem;
    font-weight: 700;
    color: #10b981;
}

/* Pricing Features */
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    text-align: right;
}

.pricing-features li {
    padding: 0.625rem 0;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-features li i {
    color: #10b981;
    font-size: 0.875rem;
    flex-shrink: 0;
}

/* Pricing Footer */
.pricing-footer {
    margin-top: auto;
}

.pricing-footer .btn {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.9375rem;
}

.pricing-footer .btn:hover {
    transform: translateY(-2px);
}

/* Default Button Colors for Standard Cards */
.pricing-card .btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%;
    border-color: #6366f1;
    color: white;
}

.pricing-card .btn-primary:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    border-color: #4f46e5;
    transform: translateY(-2px);
}

.pricing-card .btn-outline-secondary {
    border-color: #d1d5db;
    color: #6b7280;
    background: white;
}

.pricing-card .btn-outline-secondary:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

/* Contact Section */
.contact-item {
    padding: 2rem 1rem;
}

.contact-item i {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-item h5 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-item p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Demo Section */
.demo-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.quick-credentials {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.credential-quick .badge {
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
    font-weight: 500;
}

.demo-cta .btn-light {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    transition: all 0.3s ease;
}

.demo-cta .btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: var(--border-radius);
    padding: 10px 20px;
    font-weight: 500;
}

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

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    border-radius: var(--border-radius);
    padding: 10px 20px;
    font-weight: 500;
}

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

/* Footer */
.main-footer {
    background: #1e293b !important;
    padding: 2rem 0;
}

.footer-links a {
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 767.98px) {
    .price-amount {
        font-size: 2.5rem;
    }
    
    .pricing-card {
        padding: 1.5rem;
    }
    
    .pricing-badge {
        top: 8px;
        left: -38px;
        padding: 0.35rem 2.2rem;
        font-size: 0.6875rem;
    }
}

@media (max-width: 575.98px) {
    .price-amount {
        font-size: 2rem;
    }
    
    .pricing-header h3 {
        font-size: 1.25rem;
    }
    
    .pricing-features li {
        font-size: 0.875rem;
    }
}