/* RCP Pay - Main Stylesheet */

:root {
    --primary: #00897B;
    --primary-dark: #00695C;
    --primary-light: #4DB6AC;
    --accent: #26A69A;
    --dark: #1a1a2e;
    --light: #f5f6fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background: rgba(26, 26, 46, 0.95) !important;
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: all 0.3s;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: white !important;
}

.navbar-brand i {
    color: var(--primary);
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    margin: 0 5px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-light) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--dark) 0%, #16213e 50%, #0f3460 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 137, 123, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

/* Notification Demo */
.notification-demo {
    max-width: 350px;
    margin: 0 auto;
}

.notif-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: #333;
}

.notif-header {
    background: #f8f9fa;
    padding: 10px 15px;
    font-weight: bold;
    border-bottom: 1px solid #eee;
}

.notif-body {
    padding: 15px;
}

.notif-status {
    padding: 10px 15px;
    text-align: center;
    color: white;
    font-size: 0.9rem;
}

/* Features Section */
.features-section {
    background: white;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 15px;
    transition: all 0.3s;
    height: 100%;
    border: 1px solid #eee;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: white;
}

.feature-card h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.feature-card p {
    color: #666;
    font-size: 0.9rem;
}

/* How It Works */
.how-it-works {
    background: var(--light) !important;
}

.step-card {
    padding: 30px 20px;
    border-radius: 15px;
    background: white;
    position: relative;
    height: 100%;
    transition: all 0.3s;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    font-size: 1.5rem;
}

/* Pricing */
.pricing-section {
    background: white;
}

.pricing-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular {
    border: 2px solid var(--primary);
}

.popular-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--primary);
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
}

.pricing-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
    padding: 30px 20px;
    text-align: center;
}

.pricing-header h4 {
    margin-bottom: 10px;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
}

.price .currency {
    font-size: 1.2rem;
    vertical-align: super;
}

.price .amount {
    font-size: 2.5rem;
}

.price .period {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.pricing-body {
    padding: 30px 20px;
}

.pricing-body ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.pricing-body ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-body ul li i {
    margin-right: 10px;
}

/* FAQ */
.faq-section {
    background: var(--light) !important;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(0, 137, 123, 0.1);
    color: var(--primary-dark);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-light);
}

/* Contact */
.contact-section {
    background: white;
}

.contact-info i {
    transition: transform 0.3s;
}

.contact-info i:hover {
    transform: scale(1.2);
}

/* Footer */
.footer {
    background: var(--dark) !important;
}

.footer h5 {
    color: var(--primary-light);
}

.footer a {
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--primary-light) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }
    
    .hero-stats .stat-item {
        justify-content: center;
    }
    
    .hero-image {
        margin-top: 30px;
    }
    
    .pricing-card {
        margin-bottom: 20px;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1,
.hero-content p,
.hero-content .d-flex {
    animation: fadeInUp 0.6s ease-out;
}