/* ====================================
   AgentApiary Landing Page Styles
   Built on Bootstrap 5.3+ Foundation
   ==================================== */

:root {
    /* NetFusion-inspired Color Palette */
    --bs-primary: #02c173;
    --bs-primary-rgb: 2, 193, 115;
    --bs-secondary: #02c173;
    --bs-dark: #0a0a0a;
    --bs-dark-rgb: 10, 10, 10;
    --bs-body-bg: #0f0f0f;
    --bs-body-color: #e5e5e5;
    
    /* Custom Colors */
    --accent-primary: #02c173;
    --accent-secondary: #02c173;
    --bg-dark: #0a0a0a;
    --bg-darker: #0f0f0f;
    --bg-card: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-muted: #737373;
    
    /* Typography */
    --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    
    /* Transitions */
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-family-base);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

.display-2, .display-4 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.lead {
    color: var(--text-secondary);
    font-size: 1.125rem;
    font-weight: 400;
}

/* Navbar */
.navbar {
    background-color: rgba(10, 10, 10, 0.95) !important;
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: var(--transition-base);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary) !important;
}

.navbar-brand i {
    color: var(--accent-primary);
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: var(--transition-base);
    position: relative;
}

.nav-link:hover {
    color: var(--accent-primary) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 30%;
    height: 2px;
    background-color: var(--accent-primary);
    transition: var(--transition-base);
}

.nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: var(--transition-base);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(2, 193, 115, 0.3);
    background: linear-gradient(135deg, #02c173, #02c173);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-outline-primary {
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
}

.btn-outline-primary:hover {
    background-color: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-background-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/hero1.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.7) 0%, rgba(10, 10, 10, 0.5) 50%, rgba(15, 15, 15, 0.6) 100%);
    z-index: -1;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
}

.hero-content .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-features .feature-item {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(26, 26, 26, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: var(--transition-base);
}

.hero-features .feature-item:hover {
    background: rgba(26, 26, 26, 0.8);
    transform: translateX(5px);
    border-color: rgba(2, 193, 115, 0.3);
}

.hero-features .feature-item h5 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.hero-features .feature-item p {
    color: var(--text-secondary);
    margin: 0;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Cards */
.card {
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: var(--transition-base);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: rgba(2, 193, 115, 0.3);
}

.service-card {
    text-align: center;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(2, 193, 115, 0.2), rgba(2, 193, 115, 0.2));
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--accent-primary);
}

.service-card .card-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-card .card-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* About Section */
.about-section {
    padding: var(--section-padding);
    background-color: var(--bg-darker);
}

.about-feature {
    padding: 1.5rem;
}

.about-feature i {
    display: block;
    margin-bottom: 1rem;
}

.about-feature h5 {
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.about-feature p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.about-image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, rgba(2, 193, 115, 0.1), rgba(2, 193, 115, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.about-image-placeholder i {
    font-size: 8rem;
    color: var(--accent-primary);
    opacity: 0.3;
}

/* Portfolio Section */
.portfolio-section {
    padding: var(--section-padding);
}

.portfolio-card {
    overflow: hidden;
}

.portfolio-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(2, 193, 115, 0.15), rgba(2, 193, 115, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.portfolio-card:hover .portfolio-image-placeholder {
    transform: scale(1.05);
}

.portfolio-image-placeholder i {
    font-size: 4rem;
    color: var(--accent-primary);
    opacity: 0.5;
}

.portfolio-card .card-title {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.portfolio-card .card-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Process Section */
.process-section {
    padding: var(--section-padding);
    background-color: var(--bg-darker);
}

.process-card {
    position: relative;
    padding: 2rem;
}

.process-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(2, 193, 115, 0.2), rgba(2, 193, 115, 0.2));
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

.process-icon i {
    font-size: 2.5rem;
    color: var(--accent-primary);
}

.process-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(2, 193, 115, 0.1), transparent);
    border-radius: 50%;
    z-index: 1;
}

.process-card h5 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.process-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: var(--section-padding);
}

.testimonial-card {
    padding: 1.5rem;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(2, 193, 115, 0.2), rgba(2, 193, 115, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-avatar i {
    color: var(--accent-primary);
    font-size: 1.25rem;
}

.user-info h5 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.user-info small {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.testimonial-card p {
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.6;
}

/* Pricing Section */
.pricing-section {
    padding: var(--section-padding);
    background-color: var(--bg-darker);
    overflow: visible;
}

.pricing-section .row {
    overflow: visible;
}

.pricing-card {
    max-width: 400px;
    margin: 0 auto;
    overflow: visible;
    transition: var(--transition-base);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: rgba(2, 193, 115, 0.3);
}

.pricing-header {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-header h3 {
    color: var(--accent-primary);
}

.pricing-card .list-unstyled {
    text-align: left;
}

.pricing-card .list-unstyled li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.pricing-card .list-unstyled i {
    color: var(--accent-primary);
}

/* FAQ Section */
.faq-section {
    padding: var(--section-padding);
}

.accordion {
    --bs-accordion-bg: var(--bg-card);
    --bs-accordion-border-color: rgba(255, 255, 255, 0.05);
    --bs-accordion-btn-color: var(--text-primary);
    --bs-accordion-btn-bg: var(--bg-card);
    --bs-accordion-active-bg: rgba(2, 193, 115, 0.1);
    --bs-accordion-active-color: var(--text-primary);
}

.accordion-button {
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    background-color: var(--bg-card);
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.accordion-button:not(.collapsed) {
    background-color: rgba(2, 193, 115, 0.1);
    color: var(--text-primary);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(2, 193, 115, 0.3);
}

.accordion-body {
    padding: 1.5rem;
    color: var(--text-secondary);
    background-color: rgba(26, 26, 26, 0.5);
}

.faq-number {
    font-weight: 700;
    color: var(--accent-primary);
    font-size: 1.125rem;
    min-width: 30px;
}

/* Get Started Section */
.get-started-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, rgba(2, 193, 115, 0.1), rgba(2, 193, 115, 0.1));
}

/* Footer */
.footer-section {
    padding: var(--section-padding);
    background-color: var(--bg-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-section .text-muted {
    color: var(--text-secondary) !important;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-brand i {
    color: var(--accent-primary);
}

.footer-section h5 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-section a {
    transition: var(--transition-base);
    color: var(--text-secondary);
}

.footer-section a:hover {
    color: var(--accent-primary) !important;
}

.footer-section p {
    color: var(--text-secondary);
}

.footer-section hr {
    border-color: rgba(255, 255, 255, 0.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .display-2 {
        font-size: 2.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-features .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-features .feature-item i {
        margin-bottom: 1rem;
    }
    
    :root {
        --section-padding: 60px 0;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Section Spacing */
section {
    position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: rgba(2, 193, 115, 0.5);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(2, 193, 115, 0.7);
}
