/* Cashless Home / Public layout - Landing page & navbar */

:root {
    --primary-red: #c53030;
    --primary-red-hover: #b91c1c;
    --primary-black: #222328;
    --primary-yellow: #f4ce2f;
    --primary-green: #009443;
    --primary-green-hover: #00823a;
}

body {
    font-family: 'Fredoka', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Navbar - public layout */
.navbar-cashless {
    background: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-cashless .navbar-brand {
    font-weight: 600;
    color: var(--primary-red) !important;
    font-size: 1.5rem;
}

.navbar-cashless .nav-link {
    color: var(--primary-black) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.navbar-cashless .nav-link:hover,
.navbar-cashless .nav-link:focus {
    color: var(--primary-red) !important;
    background: rgba(197, 48, 48, 0.1);
    transform: translateY(-1px);
}

.btn-primary-cashless {
    background: var(--primary-red);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
}

.btn-primary-cashless:hover {
    background: var(--primary-red-hover);
    color: white;
}

.btn-success-cashless {
    background: var(--primary-green);
    color: white;
    border: none;
}

.btn-success-cashless:hover {
    background: var(--primary-green-hover);
    color: white;
}

/* Hero section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-red) 0%, #b91c1c 100%);
    color: white;
    padding: 100px 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 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;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn-hero {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-hero-primary {
    background: var(--primary-yellow);
    color: var(--primary-black);
    border: none;
}

.btn-hero-primary:hover {
    background: #e6c029;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: var(--primary-black);
}

.btn-hero-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-hero-outline:hover {
    background: white;
    color: var(--primary-red);
    transform: translateY(-2px);
}

/* Features section */
.features-section {
    padding: 80px 0;
    background: #f8fafc;
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-icon-red {
    background: rgba(197, 48, 48, 0.1);
    color: var(--primary-red);
}

.feature-icon-green {
    background: rgba(0, 148, 67, 0.1);
    color: var(--primary-green);
}

.feature-icon-yellow {
    background: rgba(244, 206, 47, 0.1);
    color: #d4a81a;
}

.feature-icon-black {
    background: rgba(34, 35, 40, 0.1);
    color: var(--primary-black);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 3rem;
}

/* How it works */
.how-it-works-section {
    padding: 80px 0;
    background: white;
}

.step-card {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-red);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 1.5rem;
}

/* CTA section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-black) 0%, #1a1b20 100%);
    color: white;
    padding: 80px 0;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
}

/* ===== FOOTER (home / public layout) ===== */
.footer-enhanced {
    background: #1b232f;
    color: white;
    margin-top: auto;
}

.footer-main {
    padding: 3rem 0 1.5rem;
    background: #1b232f;
    position: relative;
}

.footer-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-red) 50%, transparent 100%);
}

.footer-brand .footer-logo:hover {
    opacity: 0.9;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.footer-title {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-red);
    border-radius: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-enhanced .footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.footer-enhanced .footer-links a:hover {
    color: var(--primary-yellow);
}

.footer-enhanced .footer-links a i {
    font-size: 1rem;
}

/* Social links */
.footer-social {
    margin-top: 1.5rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.25s ease;
    font-size: 1.2rem;
}

.social-link-facebook {
    background: white;
    color: #1877F2;
}

.social-link-instagram {
    background: white;
    color: #E4405F;
}

.social-link-whatsapp {
    background: white;
    color: #25D366;
}

.social-link-email {
    background: white;
    color: var(--primary-red);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    text-decoration: none;
}

.social-link-facebook:hover { color: #1877F2; }
.social-link-instagram:hover { color: #E4405F; }
.social-link-whatsapp:hover { color: #25D366; }
.social-link-email:hover { color: var(--primary-red); }

/* Footer contact */
.footer-contact {
    margin-top: 0.5rem;
}

.footer-contact .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.footer-contact .contact-item i {
    color: var(--primary-red);
    font-size: 1rem;
    flex-shrink: 0;
}

/* Footer bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.9);
}

.footer-partner a:hover {
    color: var(--primary-yellow) !important;
}

@media (max-width: 768px) {
    .footer-main {
        padding: 2rem 0 1rem;
    }
    .footer-social .social-links {
        justify-content: flex-start;
    }
}
