/* ============================================
   Restaurant Automation System - Main Styles
   ============================================ */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #B93B35;
    --primary-dark: #8B2D28;
    --primary-light: #D45A52;
    --secondary-color: #2C2C2C;
    --accent-color: #C94A42;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-light: #666;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Bootstrap Override - Primary Color */
.text-primary,
.bg-primary,
.border-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

#preloader.hide {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid var(--light-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Navbar */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 1rem 0;
    transition: var(--transition);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-lg);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color) !important;
    text-decoration: none;
}

.navbar-nav .nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    transition: var(--transition);
    font-weight: 500;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Hero Section */
.hero-section {
    background: var(--primary-color);
    color: var(--white);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Feature Cards */
.feature-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    text-align: left;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    margin-bottom: 2rem;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: inline-block;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-card p {
    color: var(--text-light);
}

.feature-card .lead {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.feature-card ul {
    text-align: left;
}

/* Benefits Section */
.benefits-section {
    background: var(--light-color);
}

.benefit-item {
    display: flex;
    align-items: start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.benefit-content h4 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

/* Screenshot Section */
.screenshot-section {
    background: var(--dark-color);
    color: var(--white);
}

.screenshot-placeholder {
    background: var(--light-color);
    border-radius: 10px;
    padding: 3rem;
    text-align: center;
    color: var(--text-light);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.screenshot-placeholder:hover {
    transform: scale(1.02);
}

/* CTA Section */
.cta-section {
    background: var(--primary-color);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn-light {
    background: var(--white);
    color: var(--primary-color);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Pricing Section */
.pricing-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    display: none;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0;
}

.pricing-price span {
    font-size: 1.5rem;
    color: var(--text-light);
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--light-color);
}

.pricing-features li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.pricing-features li i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--light-color);
    color: var(--text-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-badge.featured-badge {
    background: var(--primary-color);
    color: var(--white);
}

.pricing-desc {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.pricing-card {
    position: relative;
}

/* Toggle Switch */
.toggle-container {
    text-align: center;
    margin: 2rem 0;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: var(--transition);
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: var(--white);
    transition: var(--transition);
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: var(--primary-color);
}

input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

/* FAQ Accordion */
.faq-item {
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--light-color);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-question.active::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
}

/* Forms */
.form-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.form-card {
    background: var(--white);
    border-radius: 15px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.form-card h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-color);
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--light-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(185, 59, 53, 0.1);
}

.form-control.is-valid {
    border-color: #28a745;
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-check {
    margin: 1rem 0;
}

/* Admin Panel */
/* Admin Panel Styles */
.admin-menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.admin-menu-toggle:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.admin-sidebar {
    background: linear-gradient(180deg, var(--dark-color) 0%, #1a1a1a 100%);
    color: var(--white);
    min-height: 100vh;
    padding: 0;
    position: fixed;
    width: 280px;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.admin-sidebar-header {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.admin-avatar {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    flex-shrink: 0;
    overflow: hidden;
}

.admin-user-details {
    flex: 1;
}

.admin-nav {
    padding: 1rem 0;
}

.admin-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 1rem 1.5rem;
    transition: var(--transition);
    border-left: 3px solid transparent;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.25rem 0;
}

.admin-sidebar .nav-link i {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.admin-sidebar .nav-link span {
    flex: 1;
}

.admin-sidebar .nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border-left-color: var(--primary-color);
}

.admin-sidebar .nav-link.active {
    background: rgba(185, 59, 53, 0.2);
    color: var(--white);
    border-left-color: var(--primary-color);
}

.admin-divider {
    margin: 1rem 1.5rem;
    border-color: rgba(255, 255, 255, 0.1);
}

.admin-content {
    margin-left: 280px;
    padding: 2rem;
    min-height: 100vh;
    background: var(--light-color);
}

.admin-section {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
}

.admin-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0;
}

.admin-date {
    color: var(--text-light);
    font-size: 0.95rem;
}

.admin-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
}

.admin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.admin-card-header h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
}

.admin-table {
    margin: 0;
}

.admin-table thead {
    background: var(--light-color);
}

.admin-table thead th {
    font-weight: 600;
    color: var(--dark-color);
    border-bottom: 2px solid #e0e0e0;
    padding: 1rem;
}

.admin-table tbody td {
    padding: 1rem;
    vertical-align: middle;
}

.stats-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 100%;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.stats-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    flex-shrink: 0;
}

.stats-card-primary .stats-icon {
    background: var(--primary-color);
}

.stats-card-success .stats-icon {
    background: #28a745;
}

.stats-card-warning .stats-icon {
    background: #ffc107;
    color: var(--dark-color);
}

.stats-card-info .stats-icon {
    background: #17a2b8;
}

.stats-card-danger .stats-icon {
    background: #dc3545;
}

.stats-content {
    flex: 1;
}

.stats-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.stats-card p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9rem;
}

.stats-card small {
    font-size: 0.85rem;
    display: block;
    margin-top: 0.25rem;
}

/* Top Products */
.top-products-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.top-product-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-color);
    border-radius: 8px;
    transition: var(--transition);
}

.top-product-item:hover {
    background: #f0f0f0;
    transform: translateX(5px);
}

.product-rank {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.product-info {
    flex: 1;
}

.product-info strong {
    display: block;
    color: var(--dark-color);
    font-size: 1rem;
}

.product-info small {
    color: var(--text-light);
    font-size: 0.85rem;
}

.product-stats {
    text-align: right;
}

.product-stats strong {
    display: block;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.product-stats small {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Weekly Stats */
.weekly-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.weekly-stat-item {
    padding: 1.25rem;
    background: var(--light-color);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.stat-change {
    font-size: 0.85rem;
    font-weight: 600;
}

/* Notifications */
.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-color);
    border-radius: 10px;
    transition: var(--transition);
}

.notification-item:hover {
    background: #f0f0f0;
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-content strong {
    display: block;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.notification-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.notification-content small {
    color: var(--text-light);
    font-size: 0.8rem;
}

/* Chart Placeholder */
.chart-placeholder {
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--light-color);
    border-radius: 10px;
    color: var(--text-light);
}

/* Responsive Admin Panel */
@media (max-width: 768px) {
    .admin-menu-toggle {
        display: block;
    }
    
    .admin-sidebar {
        transform: translateX(-100%);
        width: 280px;
    }
    
    .admin-sidebar.sidebar-open {
        transform: translateX(0);
    }
    
    .admin-content {
        margin-left: 0;
        padding: 1rem;
    }
    
    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .stats-card {
        flex-direction: column;
        text-align: center;
    }
    
    .stats-icon {
        margin: 0 auto;
    }
}

.table-responsive {
    background: var(--white);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer h5 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer a:hover {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .navbar-nav {
        text-align: center;
        margin-top: 1rem;
    }
    
    .form-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 80px 0 60px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
    }
    
    .benefit-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
}

/* ============================================
   New RestSoftarion Design Styles
   ============================================ */

/* Top Banner */
.top-banner {
    background: var(--primary-dark);
    color: var(--white);
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.top-banner-text {
    color: var(--white);
}

.btn-top-call {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.btn-top-call:hover {
    background: var(--primary-light);
    color: var(--white);
}

/* New Navbar */
.navbar-brand {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color) !important;
}

.navbar-brand i {
    font-size: 1.2rem;
    margin-right: 0.3rem;
}

.navbar-nav .nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    margin: 0 0.3rem;
    font-size: 0.95rem;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .dropdown-toggle::after {
    display: none;
}

.navbar-nav .bi-chevron-down {
    font-size: 0.7rem;
    margin-left: 0.2rem;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-nav-login {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.btn-nav-login:hover {
    color: var(--primary-color);
}

.btn-nav-primary {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-nav-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
}

/* New Hero Section */
.hero-section-new {
    background: var(--white);
    padding: 80px 0;
}

.hero-title-main {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-title-sub {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons-new {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.btn-hero-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-hero-secondary {
    background: var(--white);
    color: var(--primary-color);
    padding: 1rem 2rem;
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.btn-hero-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.hero-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-stars {
    color: #ffc107;
    font-size: 1.2rem;
}

.rating-text {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Dashboard Mockup */
.hero-image-new {
    position: relative;
}

.dashboard-mockup {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    max-width: 100%;
}

.dashboard-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 1.5rem;
    font-weight: bold;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dashboard-content {
    padding: 1.5rem;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: var(--light-color);
    padding: 1rem;
    border-radius: 8px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--dark-color);
    margin-bottom: 0.3rem;
}

.stat-change {
    font-size: 0.8rem;
    font-weight: 600;
}

.stat-change.positive {
    color: #28a745;
}

.stat-change.negative {
    color: var(--primary-color);
}

.dashboard-activity {
    margin-bottom: 1.5rem;
}

.activity-card {
    background: var(--light-color);
    padding: 1rem;
    border-radius: 8px;
}

.activity-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.activity-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.activity-info {
    display: flex;
    flex-direction: column;
}

.activity-info strong {
    color: var(--dark-color);
    font-size: 0.9rem;
}

.activity-info span {
    color: var(--text-light);
    font-size: 0.8rem;
}

.activity-card p {
    color: var(--text-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.activity-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
}

.dashboard-business {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: var(--light-color);
    border-radius: 8px;
}

.dashboard-business i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.dashboard-business span {
    color: var(--text-color);
    font-weight: 500;
}

/* New Features Section */
.features-section-new {
    background: var(--white);
    padding: 80px 0;
}

.section-title-new {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle-new {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card-new {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.feature-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.feature-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.feature-icon-red {
    background: var(--primary-color);
}

.feature-icon-yellow {
    background: #ffc107;
}

.feature-icon-orange {
    background: #ff9800;
}

.feature-card-new h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.feature-card-new p {
    color: var(--text-light);
    line-height: 1.8;
}

/* New CTA Section */
.cta-section-new {
    background: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cta-section-new h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.cta-section-new p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 0;
}

.whatsapp-text {
    background: #e0e0e0;
    color: var(--text-color);
    padding: 0.6rem 1rem;
    border-radius: 25px 0 0 25px;
    font-weight: 500;
    font-size: 0.9rem;
}

.whatsapp-icon {
    width: 50px;
    height: 50px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.whatsapp-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-title-main,
    .hero-title-sub {
        font-size: 2.2rem;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .navbar-actions {
        margin-top: 1rem;
    }
}

/* Testimonials Section */
.testimonial-cta-section {
    padding: 40px 0;
    background: var(--white);
}

.btn-testimonial-cta {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(185, 59, 53, 0.3);
}

.btn-testimonial-cta:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(185, 59, 53, 0.4);
}

.testimonials-section {
    padding: 60px 0 100px;
    background: var(--white);
}

.testimonial-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 1rem;
}

.testimonial-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-carousel-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.testimonial-nav-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.testimonial-card-wrapper {
    flex: 1;
    min-height: 300px;
}

.testimonial-card {
    background: var(--white);
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    min-height: 300px;
}

.testimonial-quote-mark {
    position: absolute;
    font-size: 4rem;
    font-weight: 300;
    color: #e0e0e0;
    font-family: Georgia, serif;
}

.quote-mark-top {
    top: 20px;
    left: 30px;
}

.quote-mark-bottom {
    bottom: 20px;
    right: 30px;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.testimonial-content p strong {
    color: var(--dark-color);
    font-weight: 700;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 0.3rem;
}

.testimonial-author span {
    font-size: 0.95rem;
    color: var(--text-light);
}

.testimonial-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e0e0e0;
    cursor: pointer;
    transition: var(--transition);
}

.pagination-dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .hero-title-main,
    .hero-title-sub {
        font-size: 1.8rem;
    }
    
    .hero-buttons-new {
        flex-direction: column;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .section-title-new {
        font-size: 2rem;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-text {
        display: none;
    }
    
    .testimonial-main-title {
        font-size: 1.8rem;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
    
    .testimonial-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* Integrations Section */
.integrations-section {
    padding: 80px 0 0;
    background: var(--white);
    min-height: 70vh;
}

.integrations-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 1rem;
}

.integrations-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn-integrations-all {
    background: var(--white);
    color: var(--text-color);
    padding: 0.8rem 2rem;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-integrations-all:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.integration-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-color);
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.logo-circle:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Wavy Footer */
.wavy-footer {
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-top: -100px;
    position: relative;
    z-index: 1;
}

.wavy-footer svg {
    width: 100%;
    height: 100%;
    display: block;
}

@media (max-width: 768px) {
    .integrations-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1.5rem;
    }
    
    .logo-circle {
        width: 120px;
        height: 120px;
        font-size: 0.8rem;
    }
    
    .integrations-title {
        font-size: 2rem;
    }
}

/* Blog Section */
.blog-section {
    padding: 80px 0;
    background: var(--white);
}

.blog-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 3rem;
}

.blog-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.blog-image {
    position: relative;
    overflow: hidden;
}

.blog-placeholder-image {
    width: 100%;
    border-radius: 15px 15px 0 0;
}

.blog-category {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.blog-category-yellow {
    background: #ffc107;
    color: var(--dark-color);
}

.blog-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-author {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.blog-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-excerpt {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    flex: 1;
}

.btn-blog-all {
    background: var(--white);
    color: var(--primary-color);
    padding: 0.8rem 2rem;
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-blog-all:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* FAQ Section New */
.faq-section-new {
    padding: 80px 0;
    background: var(--white);
}

.faq-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 1rem;
}

.faq-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 2rem;
}

.btn-faq-all {
    background: #e0e0e0;
    color: var(--text-color);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-faq-all:hover {
    background: #d0d0d0;
    color: var(--text-color);
}

.faq-list-new {
    max-width: 900px;
    margin: 3rem auto 0;
}

.faq-item-new {
    border-bottom: 1px solid #e0e0e0;
    padding: 1.5rem 0;
}

.faq-question-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-color);
    font-size: 1.1rem;
    transition: var(--transition);
}

.faq-item-new.active .faq-question-new {
    color: var(--primary-color);
    font-weight: 700;
}

.faq-question-new i {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: var(--transition);
}

.faq-answer-new {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-top: 0;
}

.faq-answer-new.active {
    max-height: 500px;
    padding-top: 1rem;
}

.faq-answer-new p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 768px) {
    .blog-section-title,
    .faq-main-title {
        font-size: 2rem;
    }
    
    .blog-title {
        font-size: 1.1rem;
    }
    
    .faq-question-new {
        font-size: 1rem;
    }
}

/* Features Detail Section */
.features-detail-section {
    padding: 80px 0;
    background: var(--light-color);
}

.features-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 1rem;
}

.features-detail-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.feature-highlight-card {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem;
    border-radius: 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.feature-highlight-card h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.feature-highlight-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
}

.btn-feature-more {
    background: var(--white);
    color: var(--text-color);
    padding: 0.8rem 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-feature-more:hover {
    background: #f5f5f5;
    color: var(--text-color);
}

.feature-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.qr-menu-mockup {
    position: relative;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #2c2c2c;
    border-radius: 30px;
    padding: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.qr-code-display {
    text-align: center;
}

.features-list {
    margin-top: 3rem;
}

.feature-list-item {
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    cursor: pointer;
}

.feature-list-item:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feature-list-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
}

@media (max-width: 992px) {
    .phone-mockup {
        width: 250px;
        height: 500px;
    }
    
    .feature-highlight-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .features-detail-title {
        font-size: 2rem;
    }
    
    .feature-highlight-card {
        padding: 2rem;
    }
    
    .feature-highlight-card h2 {
        font-size: 1.5rem;
    }
    
    .phone-mockup {
        width: 200px;
        height: 400px;
    }
}

/* Index - References strip */
.refs-strip {
    background: var(--white);
    padding: 30px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.refs-strip-inner {
    display: flex;
    gap: 48px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.ref-logo {
    height: 34px;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
    filter: grayscale(0.2);
    transition: var(--transition);
}

.ref-logo:hover {
    opacity: 1;
    transform: translateY(-2px);
    filter: grayscale(0);
}

/* Index - Stories cards */
.stories-section {
    background: var(--white);
    padding: 70px 0;
}

.story-card {
    display: block;
    text-decoration: none;
    background: var(--white);
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.story-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.story-thumb {
    height: 150px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.story-thumb-1 { background-image: url("https://images.pexels.com/photos/4109993/pexels-photo-4109993.jpeg?auto=compress&cs=tinysrgb&w=800"); }
.story-thumb-2 { background-image: url("https://images.pexels.com/photos/1639562/pexels-photo-1639562.jpeg?auto=compress&cs=tinysrgb&w=800"); }
.story-thumb-3 { background-image: url("https://images.pexels.com/photos/262978/pexels-photo-262978.jpeg?auto=compress&cs=tinysrgb&w=800"); }
.story-thumb-4 { background-image: url("https://images.pexels.com/photos/1438672/pexels-photo-1438672.jpeg?auto=compress&cs=tinysrgb&w=800"); }

.story-title {
    padding: 16px 16px 18px;
    color: var(--dark-color);
    font-weight: 600;
    font-size: 0.98rem;
    line-height: 1.35;
}

/* Index - Start section */
.start-section {
    padding: 80px 0;
    background: var(--white);
}

.start-card {
    background: var(--primary-color);
    color: var(--white);
    border-radius: 22px;
    padding: 70px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.start-card h2 {
    font-weight: 800;
    margin-bottom: 10px;
    font-size: 2.2rem;
}

.start-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 28px;
}

.start-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 16px;
}

.start-pill {
    background: var(--white);
    color: var(--text-color);
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.start-pill i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #efefef;
    color: var(--text-color);
}

.start-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Index - How section */
.how-section {
    background: var(--white);
    padding: 80px 0;
}

.how-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 12px;
}

.how-subtitle {
    max-width: 920px;
    margin: 0 auto;
    color: var(--text-light);
    line-height: 1.8;
}

.how-video {
    margin: 34px auto 0;
    max-width: 860px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(185, 59, 53, 0.75);
    position: relative;
    box-shadow: 0 14px 50px rgba(0, 0, 0, 0.12);
}

.how-video-inner {
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    color: var(--white);
    position: relative;
}

.how-play {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    border: none;
    background: rgba(185, 59, 53, 0.9);
    color: var(--white);
    font-size: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.how-video-text {
    text-align: left;
}

.how-video-head {
    font-weight: 700;
    text-transform: lowercase;
    opacity: 0.95;
}

.how-video-sub {
    font-weight: 800;
    font-size: 1.4rem;
}

/* Index - Pricing banner */
.pricing-banner {
    padding: 80px 0;
    background: var(--white);
}

.pricing-banner-card {
    background: var(--primary-color);
    border-radius: 22px;
    padding: 46px;
    color: var(--white);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.12);
}

.pb-kicker {
    font-weight: 700;
    opacity: 0.95;
    margin-bottom: 12px;
}

.pb-price {
    font-size: 2.3rem;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 14px;
    color: #ffd25a;
}

.pb-price span {
    font-size: 1.6rem;
    color: #ffd25a;
}

.pb-desc {
    color: rgba(255,255,255,0.92);
    line-height: 1.8;
    margin-bottom: 22px;
}

.pb-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: var(--text-color);
    border-radius: 999px;
    padding: 10px 18px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.pb-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

.pb-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pb-side-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.pb-side-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.pb-side-title {
    font-weight: 900;
    color: #ffd25a;
    line-height: 1.25;
    margin-bottom: 6px;
}

.pb-side-desc {
    color: rgba(255,255,255,0.9);
    margin-bottom: 10px;
}

.pb-side-link {
    color: rgba(255,255,255,0.95);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.pb-side-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .pricing-banner-card {
        padding: 28px;
    }
    .pb-price {
        font-size: 1.9rem;
    }
    .pb-price span {
        font-size: 1.3rem;
    }
    .start-card {
        padding: 46px 18px;
    }
    .how-video-inner {
        height: 260px;
        flex-direction: column;
        text-align: center;
    }
    .how-video-text {
        text-align: center;
    }
}

/* Compact Feature Cards */
.feature-card-compact {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card-compact:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.feature-icon-compact {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.feature-card-compact:hover .feature-icon-compact {
    transform: scale(1.1);
    background: var(--primary-dark);
}

.feature-card-compact h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
}

.feature-card-compact > p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
    flex: 1;
}

.feature-list-compact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list-compact li {
    font-size: 0.9rem;
    color: var(--text-color);
    padding: 0.4rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-list-compact li i {
    color: var(--primary-color);
    font-size: 0.9rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .feature-card-compact {
        padding: 1.25rem;
    }
    
    .feature-icon-compact {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .feature-card-compact h3 {
        font-size: 1.1rem;
    }
}

/* Contact Page Styles */
.contact-form-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.contact-form-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.contact-form-card .form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.contact-form-card .form-control {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.contact-form-card .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(185, 59, 53, 0.1);
}

.contact-info-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.contact-info-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.contact-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-info-item strong {
    display: block;
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.contact-info-item p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.social-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-color);
    color: var(--text-color);
    text-decoration: none;
    margin-right: 0.75rem;
    transition: var(--transition);
}

.social-icon-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
    .contact-form-card,
    .contact-info-card {
        padding: 1.5rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .contact-info-item {
        margin-bottom: 1.25rem;
        padding-bottom: 1.25rem;
    }
}

/* Pricing Page - Integration Cards */
.integration-pricing-card {
    background: var(--white);
    border: 2px solid var(--light-color);
    border-radius: 15px;
    padding: 2rem;
    transition: var(--transition);
    height: 100%;
}

.integration-pricing-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.integration-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.integration-pricing-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.integration-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 1rem;
}

/* Pricing Page - Hardware Section */
.hardware-section {
    background: var(--light-color);
    border-radius: 20px;
    padding: 4rem 3rem;
}

.hardware-icon-large {
    text-align: center;
}

.hardware-icon-large i {
    font-size: 8rem;
    color: var(--primary-color);
    opacity: 0.2;
}

.hardware-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.hardware-list li {
    padding: 0.8rem 0;
    font-size: 1.1rem;
    color: var(--text-color);
}

.hardware-list li i {
    color: var(--primary-color);
    margin-right: 0.8rem;
    font-size: 1.2rem;
}

/* Pricing Page - Comparison Table */
.comparison-table {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.comparison-table thead {
    background: var(--primary-color);
    color: var(--white);
}

.comparison-table thead th {
    padding: 1.5rem;
    font-weight: 700;
    text-align: center;
    border: none;
}

.comparison-table thead th:first-child {
    text-align: left;
}

.comparison-table tbody tr {
    border-bottom: 1px solid var(--light-color);
    transition: var(--transition);
}

.comparison-table tbody tr:hover {
    background: var(--light-color);
}

.comparison-table tbody td {
    padding: 1.2rem 1.5rem;
    text-align: center;
    vertical-align: middle;
}

.comparison-table tbody td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--dark-color);
}

.comparison-table tbody td i {
    font-size: 1.3rem;
}

/* Enhanced Pricing Cards */
.pricing-card {
    padding-top: 3rem;
}

.pricing-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.pricing-price {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin: 1.5rem 0;
    line-height: 1;
}

.pricing-price span {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 500;
}

.pricing-features {
    margin: 2rem 0;
    min-height: 300px;
}

.pricing-features li {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--light-color);
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .hardware-section {
        padding: 2rem 1.5rem;
    }
    
    .hardware-icon-large i {
        font-size: 5rem;
    }
    
    .comparison-table {
        font-size: 0.9rem;
    }
    
    .comparison-table thead th,
    .comparison-table tbody td {
        padding: 0.8rem 0.5rem;
    }
    
    .integration-pricing-card {
        padding: 1.5rem;
    }
}
