/* MicroPay Custom Styles */
/* Following brand guidelines: Primary Orange #FF6600, Bright Orange #FF7E1C */

:root {
    --primary-orange: #FF6600;
    --bright-orange: #FF7E1C;
    --dark-gray: #333333;
    --light-gray: #F4F4F4;
    --white: #FFFFFF;
    --black: #000000;

    /* Theme Variables */
    --bg-color: #FFFFFF;
    --text-color: #333333;
    --heading-color: #000000;
    --card-bg: #FFFFFF;
    --card-shadow: rgba(0,0,0,0.08);
    --border-color: rgba(0,0,0,0.1);
    --nav-bg: #FFFFFF;
    --footer-bg: #000000;
    --footer-text: #FFFFFF;
}

[data-theme="dark"] {
    --bg-color: #1a1a1a;
    --text-color: #e0e0e0;
    --heading-color: #FFFFFF;
    --card-bg: #2a2a2a;
    --card-shadow: rgba(0,0,0,0.3);
    --border-color: rgba(255,255,255,0.1);
    --nav-bg: #2a2a2a;
    --footer-bg: #0a0a0a;
    --footer-text: #e0e0e0;
    --light-gray: #2a2a2a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--heading-color);
}

h1 {
    font-size: 48px;
    font-weight: 700;
}

h2 {
    font-size: 36px;
    font-weight: 600;
}

h3 {
    font-size: 28px;
    font-weight: 600;
}

p {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
}

/* Navigation */
.navbar {
    background-color: var(--nav-bg);
    transition: all 0.3s ease;
    padding: 1rem 0;
    box-shadow: 0 2px 4px var(--card-shadow);
}

.navbar-scrolled {
    background-color: var(--nav-bg);
    box-shadow: 0 2px 10px var(--card-shadow);
    padding: 0.5rem 0;
}

.logo-img {
    height: 60px;
    width: auto;
    padding: 5px;
    background: white;
    border: 2px solid var(--primary-orange);
    border-radius: 10px;
    object-fit: contain;
    display: block;
}

.navbar-nav .nav-link {
    color: var(--heading-color) !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-orange) !important;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #E65C00;
    border-color: #E65C00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.3);
}

.btn-outline-primary {
    color: var(--primary-orange);
    border-color: var(--primary-orange);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-color);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.05) 0%, rgba(255, 126, 28, 0.05) 100%),
                url('../images/bg_image1.png');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    animation: backgroundSlide 20s infinite;
    z-index: 0;
}

@keyframes backgroundSlide {
    0%, 100% {
        background-image: linear-gradient(135deg, rgba(255, 102, 0, 0.05) 0%, rgba(255, 126, 28, 0.05) 100%),
                         url('../images/bg_image1.png');
    }
    25% {
        background-image: linear-gradient(135deg, rgba(255, 102, 0, 0.05) 0%, rgba(255, 126, 28, 0.05) 100%),
                         url('../images/bg_image2.png');
    }
    50% {
        background-image: linear-gradient(135deg, rgba(255, 102, 0, 0.05) 0%, rgba(255, 126, 28, 0.05) 100%),
                         url('../images/bg_image3.png');
    }
    75% {
        background-image: linear-gradient(135deg, rgba(255, 102, 0, 0.05) 0%, rgba(255, 126, 28, 0.05) 100%),
                         url('../images/bg_image4.png');
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .hero-content {
    background: rgba(42, 42, 42, 0.95);
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--heading-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-title .text-primary {
    color: var(--primary-orange);
    text-shadow: 2px 2px 4px rgba(255, 102, 0, 0.2);
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

.hero-buttons {
    margin-bottom: 3rem;
}

.hero-stats {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 2rem;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 14px;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-animation img {
    animation: float 6s ease-in-out infinite;
    border-radius: 15px;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Section Styles */
.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--heading-color);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 3rem;
}

/* Solutions Section */
.solutions {
    background-color: var(--bg-color);
}

.solution-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 5px 20px var(--card-shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--border-color);
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(255, 102, 0, 0.15);
}

.solution-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-orange), var(--bright-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.solution-icon i {
    color: var(--white);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.feature-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.feature-list li i {
    margin-right: 0.5rem;
}

/* Features Section */
.features {
    background-color: var(--light-gray);
}

.feature-item {
    padding: 2rem;
}

.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(255, 102, 0, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon-wrapper {
    background: rgba(255, 102, 0, 0.2);
    transform: scale(1.1);
}

/* About Section */
.about {
    background: var(--bg-color);
    position: relative;
}

.about .container {
    position: relative;
    z-index: 1;
}

.about h2,
.about p,
.about .lead {
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .about h2,
[data-theme="dark"] .about p,
[data-theme="dark"] .about .lead {
    background: rgba(42, 42, 42, 0.95);
}

.about-stat {
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 1rem;
}

[data-theme="dark"] .about-stat {
    background: rgba(42, 42, 42, 0.95);
}

.about-stat h3 {
    font-size: 42px;
    margin-bottom: 0.5rem;
}

/* Team Section */
.team {
    background: linear-gradient(135deg, var(--bg-color) 0%, rgba(255, 102, 0, 0.02) 100%);
}

.team-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 20px var(--card-shadow);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-color);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(255, 102, 0, 0.15);
}

.team-image-wrapper {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-orange);
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.1), rgba(255, 126, 28, 0.1));
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card:hover .team-image {
    transform: scale(1.1);
}

.team-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--heading-color);
}

.team-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-bio {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 102, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary-orange);
    color: white;
    transform: translateY(-3px);
}

/* Pricing Section */
.pricing {
    background: var(--bg-color);
}

.pricing-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 20px var(--card-shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(255, 102, 0, 0.15);
}

.pricing-card.featured {
    border: 2px solid var(--primary-orange);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--primary-orange);
    color: white;
    padding: 5px 40px;
    font-size: 12px;
    font-weight: 600;
    transform: rotate(45deg);
    letter-spacing: 1px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}

.pricing-subtitle {
    color: var(--text-color);
    font-size: 14px;
    margin-bottom: 1.5rem;
}

.pricing-price {
    margin-bottom: 1rem;
}

.price-currency {
    font-size: 24px;
    color: var(--primary-orange);
    font-weight: 600;
    vertical-align: top;
}

.price-amount {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-orange);
    line-height: 1;
}

.price-period {
    font-size: 14px;
    color: var(--text-color);
    display: block;
    margin-top: 0.5rem;
}

.price-custom {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-orange);
    display: block;
    text-align: center;
}

.pricing-features {
    margin-bottom: 2rem;
}

.pricing-features .feature-list {
    list-style: none;
    padding: 0;
}

.pricing-features .feature-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    font-size: 14px;
}

.pricing-features .feature-list li:last-child {
    border-bottom: none;
}

.pricing-features .feature-list li i {
    margin-right: 0.75rem;
    width: 16px;
    text-align: center;
}

.pricing-footer {
    text-align: center;
}

/* Agentic AI Section */
.agentic-ai {
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.ai-content {
    position: relative;
    z-index: 1;
}

.ai-feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    transition: all 0.3s ease;
}

[data-theme="dark"] .ai-feature-item {
    background: rgba(42, 42, 42, 0.8);
}

.ai-feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 102, 0, 0.1);
}

.ai-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 102, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.ai-icon i {
    font-size: 20px;
}

.ai-text h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--heading-color);
}

.ai-text p {
    font-size: 14px;
    color: var(--text-color);
    margin: 0;
}

.ai-stat {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    margin-bottom: 1rem;
}

[data-theme="dark"] .ai-stat {
    background: rgba(42, 42, 42, 0.9);
}

.ai-stat h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.ai-stat p {
    font-size: 14px;
    color: var(--text-color);
    margin: 0;
}

/* AI Visualization */
.ai-visualization {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-animation-container {
    position: relative;
    width: 400px;
    height: 400px;
}

.ai-center-brain {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-orange), var(--bright-orange));
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(255, 102, 0, 0.3);
    animation: pulse 2s infinite;
}

.ai-center-brain i {
    font-size: 36px;
    margin-bottom: 0.5rem;
}

.ai-center-brain span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.05); }
}

.ai-node {
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--card-bg);
    border: 3px solid var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: float 6s ease-in-out infinite;
}

.ai-node:hover,
.ai-node.active {
    background: var(--primary-orange);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(255, 102, 0, 0.3);
}

.ai-node:nth-child(1) {
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.ai-node:nth-child(2) {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    animation-delay: 1s;
}

.ai-node:nth-child(3) {
    bottom: 20px;
    right: 30%;
    animation-delay: 2s;
}

.ai-node:nth-child(4) {
    bottom: 20px;
    left: 30%;
    animation-delay: 3s;
}

.ai-node:nth-child(5) {
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Logo Animation Section */
.logo-animation {
    background-color: var(--light-gray);
}

.logo-animation img {
    max-height: 150px;
    object-fit: contain;
}

/* Contact Section */
.contact-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--card-shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 102, 0, 0.1);
}

.demo-form {
    box-shadow: 0 10px 40px var(--card-shadow);
    background: var(--card-bg) !important;
}

.form-control {
    border-radius: 10px;
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    font-family: 'Open Sans', sans-serif;
    background: var(--card-bg);
    color: var(--text-color);
}

.form-control:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 0.2rem rgba(255, 102, 0, 0.25);
}

/* Footer */
.footer {
    background-color: var(--footer-bg) !important;
    color: var(--footer-text);
}

.footer-logo {
    height: 50px;
    width: auto;
    padding: 8px;
    background: white;
    border: 2px solid var(--primary-orange);
    border-radius: 12px;
    object-fit: contain;
    display: inline-block;
}

.footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-orange) !important;
}

.social-links a {
    font-size: 20px;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-orange) !important;
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 32px;
    }

    .stat-number {
        font-size: 28px;
    }

    .solution-card {
        margin-bottom: 2rem;
    }
}

/* Smooth Curves */
.solution-card,
.contact-card,
.demo-form,
.btn {
    border-radius: 20px;
}

.form-control {
    border-radius: 10px;
}

/* Remove the white curve at bottom - was causing the strip */

/* Theme Toggle Button */
.theme-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-orange);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    box-shadow: 0 5px 20px rgba(255, 102, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(255, 102, 0, 0.4);
}

.theme-toggle i {
    color: white;
    font-size: 24px;
}

/* Dark mode specific styles */
[data-theme="dark"] .hero {
    background-blend-mode: multiply;
}

[data-theme="dark"] .navbar-toggler {
    filter: invert(1);
}

/* Logo stays in original colors in both light and dark mode */

/* Footer logo keeps white background with orange border in both themes */

[data-theme="dark"] .bg-light {
    background-color: var(--card-bg) !important;
}

[data-theme="dark"] .text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-orange);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--bright-orange);
}