/* ====================================
   Modern Landing Page Design
   Field Service Management Platform
   ==================================== */

/* ====== Root Variables ====== */
:root {
    --primary-color: #4F46E5;
    --primary-dark: #4338CA;
    --primary-light: #818CF8;
    --secondary-color: #10B981;
    --secondary-dark: #059669;
    --accent-color: #F59E0B;
    --dark-bg: #0F172A;
    --dark-card: #1E293B;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --text-white: #F9FAFB;
    --border-color: #E5E7EB;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-hero: linear-gradient(135deg, #4F46E5 0%, #7C3AED 50%, #EC4899 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ====== Global Styles ====== */
.landing-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* ====== Modern Navigation ====== */
.modern-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(79, 70, 229, 0.1);
    transition: var(--transition-base);
    padding: 1.25rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.modern-nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(79, 70, 229, 0.15);
}

.modern-nav .navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modern-nav .navbar-brand img {
    transition: var(--transition-base);
    filter: drop-shadow(0 2px 8px rgba(79, 70, 229, 0.2));
}

.modern-nav .navbar-brand:hover {
    color: var(--primary-dark);
}

.modern-nav .navbar-brand:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(79, 70, 229, 0.3));
}

.modern-nav .navbar-toggler {
    border: 2px solid var(--primary-color);
    border-radius: 0.75rem;
    padding: 0.5rem 0.75rem;
    transition: var(--transition-base);
}

.modern-nav .navbar-toggler:hover {
    background: rgba(79, 70, 229, 0.1);
    border-color: var(--primary-dark);
}

.modern-nav .navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(79, 70, 229, 0.25);
}

.modern-nav .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%234F46E5' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.modern-nav .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 1rem;
    margin-top: 1rem;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
}

@media (min-width: 992px) {
    .modern-nav .navbar-collapse {
        background: transparent;
        backdrop-filter: none;
        border-radius: 0;
        margin-top: 0;
        padding: 0;
        box-shadow: none;
    }
}

.modern-nav .nav-link {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.25rem !important;
    border-radius: 0.75rem;
    transition: var(--transition-base);
    position: relative;
    margin: 0.25rem 0;
}

.modern-nav .nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    border-radius: 0.75rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.modern-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: width 0.3s ease;
}

@media (min-width: 992px) {
    .modern-nav .nav-link::after {
        bottom: 0.25rem;
    }
}

.modern-nav .nav-link:hover {
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.08) 0%, rgba(124, 58, 237, 0.08) 100%);
    transform: translateY(-2px);
}

.modern-nav .nav-link:hover::after {
    width: 70%;
}

.modern-nav .nav-link.active {
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
}

.modern-nav .nav-link.active::after {
    width: 70%;
}

.modern-nav .btn-get-started {
    background: var(--gradient-hero);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
    transition: var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.modern-nav .btn-get-started::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-nav .btn-get-started:hover::before {
    opacity: 1;
}

.modern-nav .btn-get-started:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(79, 70, 229, 0.45);
    color: white;
}

.modern-nav .btn-get-started:active {
    transform: translateY(-1px);
}

@media (max-width: 991px) {
    .modern-nav .btn-get-started {
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
    }
}

/* ====== Hero Section ====== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
    padding-top: 100px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-content h1 .gradient-text {
    background: linear-gradient(90deg, #fff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 600px;
}

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

.btn-hero-primary {
    background: white;
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    box-shadow: var(--shadow-xl);
    transition: var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: var(--transition-base);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    color: white;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: left;
}

.stat-item .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    display: block;
    line-height: 1;
}

.stat-item .stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ====== Feature Cards Section ====== */
.features-section {
    padding: 5rem 0;
    background: #f9fafb;
}

.feature-card-modern {
    background: white;
    border-radius: 1.5rem;
    padding: 2.5rem;
    transition: var(--transition-base);
    border: 1px solid var(--border-color);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-hero);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card-modern:hover::before {
    transform: scaleX(1);
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 1rem;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 2rem;
}

.feature-card-modern h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-card-modern p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* ====== Stats Section ====== */
.stats-section {
    background: var(--gradient-hero);
    padding: 4rem 0;
}

.stat-box {
    text-align: center;
    padding: 2rem;
}

.stat-box .number {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-box .label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* ====== Services Grid ====== */
.services-section {
    padding: 6rem 0;
    background: white;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2.5rem;
    border: 2px solid var(--border-color);
    transition: var(--transition-base);
    text-align: center;
    height: 100%;
}

.service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-card .service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card .service-icon img {
    max-width: 50px;
    height: auto;
}

.service-card h4 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ====== How It Works Section ====== */
.how-it-works-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}

.timeline-step {
    position: relative;
    padding-left: 5rem;
    margin-bottom: 4rem;
}

.timeline-step::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 4rem;
    width: 2px;
    height: calc(100% + 2rem);
    background: linear-gradient(180deg, var(--primary-color) 0%, transparent 100%);
}

.timeline-step:last-child::before {
    display: none;
}

.timeline-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: var(--gradient-hero);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
}

.timeline-step h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.timeline-step p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* ====== Pricing Section ====== */
.pricing-section {
    padding: 6rem 0;
    background: white;
}

.pricing-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2.5rem;
    border: 2px solid var(--border-color);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
    transform: scale(1.05);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-hero);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.pricing-badge {
    display: inline-block;
    background: var(--gradient-hero);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.pricing-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.pricing-price {
    margin-bottom: 2rem;
}

.pricing-price .currency {
    font-size: 1.5rem;
    color: var(--text-light);
    vertical-align: super;
}

.pricing-price .amount {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-dark);
}

.pricing-price .period {
    font-size: 1.1rem;
    color: var(--text-light);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features li i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.pricing-features li.disabled {
    color: var(--text-light);
    opacity: 0.5;
}

.pricing-features li.disabled i {
    color: var(--text-light);
}

.btn-pricing {
    width: 100%;
    padding: 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    transition: var(--transition-base);
}

.btn-pricing:hover {
    background: var(--gradient-hero);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.pricing-card.featured .btn-pricing {
    background: var(--gradient-hero);
    color: white;
    border-color: transparent;
}

/* ====== Testimonials Section ====== */
.testimonials-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.testimonials-section .section-title h2,
.testimonials-section .section-title p {
    color: white;
}

.testimonial-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
    height: 100%;
    transition: var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl);
}

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

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.testimonial-info h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.testimonial-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.testimonial-rating {
    color: #FBBF24;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* ====== FAQ Section ====== */
.faq-section {
    padding: 6rem 0;
    background: white;
}

.accordion-item {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 1rem !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    background: white;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1.5rem;
    border: none;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    color: var(--primary-color);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234F46E5'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ====== CTA Section ====== */
.cta-section {
    padding: 5rem 0;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ====== Footer ====== */
.modern-footer {
    background: linear-gradient(180deg, #0F172A 0%, #1E293B 100%);
    color: rgba(255, 255, 255, 0.8);
    padding: 5rem 0 0;
    position: relative;
    overflow: hidden;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(79, 70, 229, 0.5) 50%, transparent 100%);
}

.modern-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234F46E5' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
}

.modern-footer .container {
    position: relative;
    z-index: 1;
}

.footer-brand {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.footer-brand img {
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(79, 70, 229, 0.3));
    transition: var(--transition-base);
}

.footer-brand img:hover {
    filter: drop-shadow(0 6px 16px rgba(79, 70, 229, 0.4));
    transform: scale(1.02);
}

.footer-description {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1rem;
    max-width: 400px;
}

.footer-social {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(79, 70, 229, 0.1);
    border: 2px solid rgba(79, 70, 229, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link i {
    position: relative;
    z-index: 1;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover {
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4);
    color: white;
}

.footer-title {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.75rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-hero);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a,
.footer-link li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    position: relative;
    padding-left: 0;
}

.footer-links a i {
    font-size: 0.75rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition-base);
}

.footer-links a:hover,
.footer-link li a:hover {
    color: white;
    padding-left: 8px;
}

.footer-links a:hover i {
    opacity: 1;
    transform: translateX(0);
}

.footer-link {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-link li {
    margin-bottom: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 4rem;
    padding: 2rem 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin: 0;
}

.footer-bottom a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition-base);
}

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

/* Footer Responsive */
@media (max-width: 991px) {
    .modern-footer {
        padding: 4rem 0 0;
    }

    .footer-title {
        margin-top: 2rem;
    }

    .footer-title:first-child {
        margin-top: 0;
    }
}

/* ====== Responsive Design ====== */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .section-title h2 {
        font-size: 2.25rem;
    }

    .cta-content h2 {
        font-size: 2.25rem;
    }

    .timeline-step {
        padding-left: 4rem;
    }
}

@media (max-width: 767px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.05rem;
    }

    .section-title h2 {
        font-size: 1.875rem;
    }

    .cta-content h2 {
        font-size: 1.875rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        gap: 1rem;
    }

    .stat-item .stat-number {
        font-size: 2rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }
}

/* ====== Utility Classes ====== */
.gradient-bg {
    background: var(--gradient-hero);
}

.text-gradient {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-custom {
    box-shadow: var(--shadow-xl);
}

.hover-lift {
    transition: var(--transition-base);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ====== Scroll Animations ====== */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* ====== Scroll Progress Indicator ====== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-hero);
    z-index: 9999;
    transition: width 0.1s ease-out;
    box-shadow: 0 2px 10px rgba(79, 70, 229, 0.5);
}

/* ====== Back to Top Button ====== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-hero);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-base);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4);
    border: none;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(79, 70, 229, 0.5);
}

/* ====== Enhanced Mobile Menu ====== */
@media (max-width: 991px) {
    .modern-nav .navbar-collapse.show {
        animation: slideDown 0.3s ease-out;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .modern-nav .nav-item {
        border-bottom: 1px solid rgba(79, 70, 229, 0.1);
    }

    .modern-nav .nav-item:last-child {
        border-bottom: none;
    }
}

/* ====== Newsletter Section Enhancement ====== */
.newsletter-input-group {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.newsletter-input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: var(--transition-base);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
}

.newsletter-btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    background: white;
    color: var(--primary-color);
    font-weight: 700;
    border: none;
    transition: var(--transition-base);
    white-space: nowrap;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* ====== Feature Badge ====== */
.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    color: var(--primary-color);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(79, 70, 229, 0.2);
}

/* ====== Loading State ====== */
.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ====== Improved Focus States ====== */
*:focus-visible {
    outline: 3px solid rgba(79, 70, 229, 0.5);
    outline-offset: 2px;
}

/* ====== Enhanced Transitions ====== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
