/* SmartReports POS Frontend Redesign - Custom Styles */

/* Typography & Colors */
:root {
    --primary-color: #4CAF50;
    --secondary-color: #2196F3;
    --accent-color: #FF9800;
    --success-color: #4CAF50;
    --info-color: #00BCD4;
    --warning-color: #FFC107;
    --danger-color: #F44336;
    --dark-color: #212121;
    --light-bg: #F5F5F5;
    --white: #FFFFFF;
}

/* Global Utilities */
.max-w-600 {
    max-width: 600px;
}

.max-w-700 {
    max-width: 700px;
}

.text-white-70 {
    color: rgba(255, 255, 255, 0.7);
}

/* Platform Section */
.platforms-section {
    background: var(--light-bg);
}

.platform-card {
    background: var(--white);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.platform-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.platform-card i {
    transition: transform 0.3s ease;
}

.platform-card:hover i {
    transform: scale(1.1);
}

/* Enhanced Feature Cards */
.service-card {
    border-radius: 16px;
    padding: 25px 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.service-card .image {
    margin-bottom: 15px;
}

.service-card h6 {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1rem;
}

.service-card .small {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

/* Why SmartReports Section */
.why-smartreports-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.why-smartreports-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.why-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    transition: all 0.3s ease;
    height: 100%;
}

.why-card:hover {
    background: var(--white);
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.why-card h5 {
    font-weight: 600;
    margin: 15px 0 10px;
    color: var(--dark-color);
}

.why-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Business Management Section */
.business-management-section {
    background: var(--white);
}

.management-features .feature-item h5 {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1.1rem;
    color: var(--dark-color);
}

.management-features .feature-item p {
    color: #666;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.management-visual img {
    max-width: 100%;
    height: auto;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

.cta-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
}

.custom-white-btn {
    background: var(--white);
    color: var(--dark-color);
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid var(--white);
}

.custom-white-btn:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.custom-outline-white-btn {
    background: transparent;
    color: var(--white);
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid var(--white);
}

.custom-outline-white-btn:hover {
    background: var(--white);
    color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Hero Section Enhancements */
.home-banner-section h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.home-banner-section .lead {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
}

/* Button Enhancements */
.custom-outline-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.custom-outline-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
}

/* Color Utility Classes for Icons */
.text-purple {
    color: #9C27B0;
}

.text-amber {
    color: #FFC107;
}

.text-brown {
    color: #795548;
}

.text-cyan {
    color: #00BCD4;
}

.text-pink {
    color: #E91E63;
}

.text-deep-purple {
    color: #673AB7;
}

.text-light-green {
    color: #8BC34A;
}

.text-indigo {
    color: #3F51B5;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .home-banner-section h1 {
        font-size: 2rem;
    }

    .home-banner-section .lead {
        font-size: 1rem;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .service-card {
        padding: 20px 12px;
    }

    .service-card h6 {
        font-size: 0.9rem;
    }

    .service-card .small {
        font-size: 0.8rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    animation: fadeInUp 0.8s ease-out;
}

/* Background Gradient Utility */
.bg-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Additional Spacing */
.py-5 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

.my-5 {
    margin-top: 4rem !important;
    margin-bottom: 4rem !important;
}

/* Testimonials Section */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
}

.testimonial-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}

.testimonial-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-rating .fa-star {
    font-size: 0.9rem;
}

.testimonial-body p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

@media (max-width: 768px) {
    .testimonial-image-wrapper {
        height: 180px;
    }
}
