:root {
    --primary-color: #dc3545;
    --primary-dark: #c82333;
    --primary-light: #e85563;
    --warning-color: #ffad3c;
    --warning-dark: #f19300;
    --success-color: #29cc97;
    --success-dark: #23ac7f;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Roboto", sans-serif;
    line-height: 1.6;
    font-size: 1rem;
}

h5 {
    font-size: 1.25rem;
    margin-bottom: .5rem;
}

p {
    line-height: 1.6;
}

.app-brand {
    display: flex;
}

.app-brand a {
    height: auto;
    min-height: auto;
}

.app-brand img {
    height: 60px;
}

.navbar {
    background: var(--primary-color);
    box-shadow: 0 2px 10px rgba(220, 53, 69, 0.3);
    padding: .5rem 1rem;
    min-height: auto;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    color: #fff !important;
}

.nav-link .fas {
    color: #ffd700;
}

.nav-link:hover {
    transform: translateY(-2px);
}

.navbar .navbar-nav {
    padding-right: 0 !important;
}

.navbar .navbar-nav .nav-item {
    padding: 0 !important;
}

.navbar-dark .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.font-size-24 {
    font-size: 1.75rem;
}

.hero-section {
    background: linear-gradient(135deg, #fdfdff 0%, #ffe6e8 100%);
    padding: 80px 0;
}

.hero-content h1 {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 30px;
}

.hero-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

.btn {
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 58, 64, 0.4);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, var(--success-color), var(--success-dark));
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background: linear-gradient(135deg, var(--success-dark), var(--success-color));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(41, 204, 151, 0.4);
}

.btn-warning {
    color: #ffffff;
    background: linear-gradient(135deg, var(--warning-color), var(--warning-dark));
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-warning:hover {
    color: #ffffff;
    background: linear-gradient(135deg, var(--warning-dark), var(--warning-color));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 173, 60, 0.4);
}

.form-errors ul {
    list-style-type: none;
    padding: 0;
}

.login-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-control {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: all 0.3s ease;
    height: 45px;
}

select.form-control {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 8px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.btn-group .btn {
    border-radius: 10px;
}

.btn-group > label {
    border: 1px #007bff solid;
}

.btn-group input[type=radio] {
    visibility: hidden;
}

.features-section {
    padding: 80px 0;
    background: white;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    margin-bottom: 30px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.benefits-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 80px 0;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    min-height: 130px;
}

.benefit-icon {
    color: #ffd700;
    margin-right: 15px;
    margin-top: 6px;
    font-size: 1.5rem;
}

/* Additional jQuery effects */
.navbar-scrolled {
    background: rgba(220, 53, 69, 0.95) !important;
    backdrop-filter: blur(10px);
}

.pulse {
    animation: pulse 0.3s ease-in-out;
}

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

.form-group.focused label {
    color: var(--primary-color);
    font-weight: 600;
}

.card {
    transition: all 0.3s ease;
}

/* Inline style replacements */
.login-title {
    color: var(--primary-color);
}

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

.footer-section {
    background: #343a40;
    color: white;
}

/* Additional inline style replacements */
.trial-section h2 {
    color: var(--primary-color);
}

.message ul, .message ol {
    margin: 0;
    padding: 0;
}

.message li {
    list-style: none;
}

.contacts > a {
    font-size: 1.4rem;
    text-decoration: none;
}

.text-decoration-none,
.text-decoration-none:hover {
    text-decoration: none;
}

.pricing-card ul {
    margin: 1.5em .8em 2em !important;
}

.pricing-card ul li {
    list-style-type: none !important;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
        text-align: center;
    }

    .login-form {
        margin-top: 40px;
        padding: 30px 20px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
}

/* POS specific styles */
.pos-highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.pricing-card-starter {
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.pricing-card-professional {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.2);
}

.pricing-card-enterprise {
    border: 2px solid #6c757d;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.card-header-primary {
    background: var(--primary-color);
    color: white;
    border-bottom: none;
}

.pricing-title {
    color: var(--primary-color);
    font-weight: bold;
}

/* Enhanced benefit items */
.benefit-item {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.benefit-item:last-child {
    border-bottom: none;
}

/* Scroll offset for sections with IDs to account for fixed navbar */
section[id] {
    scroll-margin-top: 80px;
}

/* Mobile responsive improvements */
@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pricing-card-professional {
        transform: none;
        margin-bottom: 20px;
    }

    section[id] {
        scroll-margin-top: 60px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding-top: 40px;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    .benefit-icon {
        font-size: 1.2rem;
    }
}
