/* Custom CSS for RPA Customer Service Landing Page */

/* Reset and Base Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #374151;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Custom Color Variables */
:root {
    --primary-green: #1A584F;
    --primary-light: #E8EBE5;
    --gradient-yellow-start: #FEF3C7;
    --gradient-yellow-mid: #FDE68A;
    --gradient-yellow-end: #F59E0B;
    --gradient-green-start: #D1FAE5;
    --gradient-green-mid: #6EE7B7;
    --gradient-green-end: #059669;
    --text-gray: #6B7280;
    --text-dark: #111827;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

/* Utility Classes */
.pointer-events-none {
    pointer-events: none;
}

.position-fixed {
    position: fixed !important;
}

.z-index-low {
    z-index: -1;
}

.z-index-high {
    z-index: 10;
}

/* Custom Gradients */
.gradient-text-orange {
    background: linear-gradient(to right, var(--gradient-yellow-start), var(--gradient-yellow-mid), var(--gradient-yellow-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.gradient-text-orange:hover {
    transform: scale(1.05);
}

.gradient-text-green {
    background: var(--primary-green);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.gradient-text-green:hover {
    transform: scale(1.05);
}

/* Decorative Background Elements */
.decorative-bg-1 {
    position: absolute;
    top: 5rem;
    right: 2.5rem;
    width: 16rem;
    height: 16rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26, 88, 79, 0.05) 0%, transparent 70%);
}

.decorative-bg-2 {
    position: absolute;
    bottom: 5rem;
    left: 2.5rem;
    width: 24rem;
    height: 24rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 235, 229, 0.05) 0%, transparent 70%);
}

/* Hero Section */
.hero-section {
    background-color: var(--primary-green);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.geometric-decor-1 {
    position: absolute;
    top: 2.5rem;
    left: 2.5rem;
    width: 5rem;
    height: 5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transform: rotate(45deg);
}

.geometric-decor-2 {
    position: absolute;
    bottom: 2.5rem;
    right: 2.5rem;
    width: 4rem;
    height: 4rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.badge-container {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
}

.lucide-icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
}

.hero-title {
    color: white;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 2rem;
}

.hero-title-line {
    display: block;
    margin-bottom: 0.5rem;
}

.hero-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 32rem;
}

.btn-hero {
    background-color: white;
    color: black;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border-radius: 0.5rem;
    border: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-weight: 600;
}

.btn-hero:hover {
    background-color: #f3f4f6;
    color: black;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-hero .lucide-icon {
    transition: transform 0.3s ease;
}

.btn-hero:hover .lucide-icon {
    transform: translateX(0.25rem);
}

.btn-cta {
    background-color: white;
    color: black;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border-radius: 0.5rem;
    border: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-weight: 600;
}

.btn-cta:hover {
    background-color: #f3f4f6;
    color: black;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    text-decoration: none;
}

.hero-image-container {
    position: relative;
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1));
    border-radius: 1rem;
    backdrop-filter: blur(8px);
}

.hero-image {
    width: 100%;
    height: 24rem;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 10;
}

.hero-image-decoration {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 6rem;
    height: 6rem;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Section Styling */
.section-primary-light {
    background-color: var(--primary-light);
    padding: 6rem 0;
    position: relative;
}

.section-white {
    background-color: white;
    padding: 6rem 0;
    position: relative;
}

/* Section Container Widths */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-divider {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 4rem;
    background: linear-gradient(to bottom, transparent, #d1d5db, transparent);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--primary-green);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.section-badge.white-bg {
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
}

.section-title {
    color: var(--primary-green);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.section-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-gray);
    max-width: 64rem;
    margin: 0 auto 3rem;
}

/* Card Styles */
.custom-card {
    background-color: white;
    border: none;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.custom-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(-0.5rem);
}

.custom-card.light-bg {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
}

.card-icon-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: var(--primary-green);
    color: white;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.card-title {
    color: var(--primary-green);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-description {
    color: var(--text-gray);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-green);
    padding: 4rem 0;
    position: relative;
}

.cta-section .geometric-decor-1 {
    top: 2.5rem;
    right: 2.5rem;
    width: 4rem;
    height: 4rem;
    transform: rotate(12deg);
}

.cta-section .geometric-decor-2 {
    bottom: 2.5rem;
    left: 2.5rem;
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    transform: rotate(45deg);
}

.cta-title {
    color: white;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.cta-title .gradient-text-yellow {
    background: linear-gradient(to right, var(--gradient-yellow-start), var(--gradient-yellow-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Image Containers */
.content-image-container {
    position: relative;
}

.content-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1));
    border-radius: 1rem;
    backdrop-filter: blur(8px);
}

.content-image {
    width: 100%;
    height: 24rem;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 10;
}

.content-image-decoration {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(26, 88, 79, 0.2);
    background-color: var(--primary-light);
}

/* Process Steps */
.process-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.process-step-number {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: var(--primary-green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
}

.process-step-text {
    font-size: 1.125rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Comparison Table */
.comparison-table {
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.comparison-table table {
    width: 100%;
    margin-bottom: 0;
}

.comparison-table thead {
    background-color: var(--primary-green);
}

.comparison-table thead th {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    padding: 1.5rem;
    border: none;
}

.comparison-table tbody tr {
    border-bottom: 1px solid #e5e7eb;
}

.comparison-table tbody tr:nth-child(even) {
    background-color: #f9fafb;
}

.comparison-table tbody td {
    padding: 1.5rem;
    color: var(--text-dark);
    vertical-align: top;
}

/* FAQ Section */
.faq-item {
    background-color: white;
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.faq-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
}

.faq-question {
    color: var(--primary-green);
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}

.faq-chevron {
    color: var(--primary-green);
    transition: transform 0.2s ease;
}

.faq-chevron.rotated {
    transform: rotate(90deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
}

.faq-answer.expanded {
    max-height: 24rem;
    opacity: 1;
    padding: 0 2rem 2rem;
}

.faq-answer-text {
    color: var(--text-gray);
    line-height: 1.6;
}

.faq-answer-text .answer-prefix {
    color: var(--primary-green);
    font-weight: 600;
}

/* Final CTA Section */
.final-cta-section {
    background-color: var(--primary-green);
    padding: 6rem 0;
    position: relative;
}

.final-cta-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.final-cta-title {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.final-cta-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 48rem;
    margin: 0 auto 3rem;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .cta-title, .final-cta-title {
        font-size: 2rem;
    }
    
    .hero-section, .section-primary-light, .section-white {
        padding: 4rem 0;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .decorative-bg-1, .decorative-bg-2 {
        display: none;
    }
    
    .geometric-decor-1, .geometric-decor-2 {
        display: none;
    }
    
    .hero-description, .section-subtitle, .final-cta-description {
        font-size: 1.125rem;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
