/* Custom CSS for Opencash */

:root {
    --primary: #1e70d6; /* Blue from logo */
    --primary-light: #4794fa;
    --primary-dark: #0f4b96;
    
    --success: #1cb854; /* Green */
    --success-light: #42d174;
    --success-dark: #12873c;
    
    --warning: #f59e0b; /* Orange */
    
    --purple: #6226c6; /* Purple for enterprise */
    --purple-light: #8b53e8;
    
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --text-light: #f9fafb;
    
    --bg-main: #ffffff;
    --bg-alt: #f3f4f6;
    --bg-blue: #f0f7ff;
    
    --border-color: #e5e7eb;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography Utilities */
.text-primary { color: var(--primary) !important; }
.text-success { color: var(--success) !important; }
.text-warning { color: var(--warning) !important; }
.text-purple { color: var(--purple) !important; }
.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

.btn-success {
    background-color: var(--success);
    color: white;
}

.btn-success:hover {
    background-color: var(--success-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-purple {
    background-color: transparent;
    color: var(--purple);
    border-color: var(--purple);
}

.btn-outline-purple:hover {
    background-color: var(--purple);
    color: white;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--bg-blue) 0%, #ffffff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 48px;
}

.hero-content {
    flex: 1;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background-color: rgba(30, 112, 214, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-image {
    flex: 1;
    position: relative;
    perspective: 1000px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    padding: 24px;
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.glass-card:hover {
    transform: rotateY(0) rotateX(0);
}

.mockup-header {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background-color: #ff5f56; }
.dot.yellow { background-color: #ffbd2e; }
.dot.green { background-color: #27c93f; }

.stat-row {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.stat-box {
    flex: 1;
    background: white;
    padding: 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-sm);
}

.stat-box i {
    font-size: 2rem;
    color: var(--primary);
    background: var(--bg-blue);
    padding: 12px;
    border-radius: 12px;
}

.stat-box h4 {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.stat-box h2 {
    font-size: 1.25rem;
    color: var(--text-main);
}

.chart-placeholder {
    height: 200px;
    background: white;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.bar {
    flex: 1;
    background: linear-gradient(to top, var(--primary), var(--primary-light));
    border-radius: 4px 4px 0 0;
    opacity: 0.8;
    transition: height 1s ease-out;
}

/* Value Props */
.value-props {
    padding: 60px 0;
    background-color: white;
    border-top: 1px solid var(--border-color);
}

.props-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.prop-item {
    flex: 1;
    min-width: 250px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: 16px;
    background-color: var(--bg-alt);
    transition: transform 0.3s ease;
}

.prop-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.prop-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.prop-text h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.prop-text p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background-color: var(--bg-alt);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    font-weight: 800;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 60px;
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.price-card {
    background: white;
    border-radius: 24px;
    padding: 40px 32px;
    width: calc(33.333% - 16px);
    min-width: 300px;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.price-card.popular {
    border: 2px solid var(--success);
    transform: scale(1.05);
    z-index: 2;
}

.price-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--success);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.card-header {
    text-align: center;
    margin-bottom: 24px;
}

.card-header i {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.lite-header i { color: var(--primary); }
.plus-header i { color: var(--success); }
.enterprise-header i { color: var(--purple); }

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.lite-header h3 { color: var(--primary); }
.plus-header h3 { color: var(--success); }
.enterprise-header h3 { color: var(--purple); }

.card-header p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 24px;
    min-height: 42px;
}

.price {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
}

.currency {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.amount {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.period {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.outlet-badge {
    text-align: center;
    padding: 8px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 24px;
}

.lite-badge { background-color: var(--primary); color: white; }
.plus-badge { background-color: var(--success); color: white; }
.enterprise-badge { background-color: var(--purple); color: white; }

.features-list {
    margin-bottom: 32px;
    flex: 1;
}

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    font-size: 0.875rem;
    font-weight: 500;
}

.features-list li i {
    width: 24px;
    font-size: 1.1rem;
    margin-right: 8px;
}

.features-list li.disabled {
    color: var(--text-muted);
    opacity: 0.6;
}

.features-list li.disabled i {
    color: var(--text-muted);
}

.feature-name {
    flex: 1;
}

.feature-val {
    font-weight: 700;
}

/* Footer (CRITICAL REQUIREMENTS) */
.footer {
    background-color: var(--text-main);
    color: var(--text-light);
    padding: 60px 0 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
}

.footer-brand .logo-text {
    color: white;
}

.footer-brand .tagline {
    color: var(--text-muted);
    margin-top: 8px;
    font-size: 1.1rem;
}

.footer-info h4 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    color: white;
}

.contact-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #d1d5db;
}

.contact-list i {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.contact-link {
    color: #d1d5db;
}

.contact-link:hover {
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 0;
    gap: 16px;
    text-align: center;
}

.footer-links {
    color: #9ca3af;
    font-size: 0.95rem;
}

.footer-links a {
    color: #9ca3af;
    margin: 0 10px;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    color: #9ca3af;
    font-size: 0.875rem;
    max-width: 800px;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero p {
        margin: 0 auto 32px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        width: 100%;
        max-width: 600px;
        margin-top: 40px;
    }
    
    .price-card.popular {
        transform: scale(1);
    }
    
    .price-card.popular:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .price-card {
        width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
    }
}
