/* Hailey AI - Visual Enhancement Styles */
/* Cohesive minimalist design with interactive elements */

/* ===== GLOBAL ENHANCEMENTS ===== */

/* Improved gradient text styling */
.mil-gradient-text {
    background: linear-gradient(90deg, #2e3192, #393191, #54308d, #bc2c81, #b62c82);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    position: relative;
}

/* Enhanced text sizing and spacing */
.mil-text-lg {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(0, 0, 0, 0.7);
}

/* Soft background sections with subtle gradient */
.mil-soft-bg {
    background: linear-gradient(180deg, #fafbfc 0%, #f5f7fa 100%);
}

/* ===== CARD ENHANCEMENTS ===== */

/* Pricing cards with hover effects */
.mil-pricing-card {
    background: white;
    border-radius: 12px;
    padding: 50px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.mil-pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2e3192, #393191, #54308d, #bc2c81, #b62c82);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mil-pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(46, 49, 146, 0.15);
    border-color: rgba(46, 49, 146, 0.2);
}

.mil-pricing-card:hover::before {
    opacity: 1;
}

/* Featured pricing card */
.mil-pricing-card.mil-featured {
    border: 2px solid #2e3192;
    box-shadow: 0 8px 30px rgba(46, 49, 146, 0.2);
}

.mil-pricing-card.mil-featured::before {
    opacity: 1;
}

.mil-pricing-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #2e3192, #bc2c81);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Price display */
.mil-price-tag {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 30px 0 10px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.mil-currency {
    font-size: 2rem;
    margin-right: 5px;
    margin-top: 8px;
}

/* Feature list styling */
.mil-feature-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: left;
}

.mil-feature-list li {
    padding: 12px 0 12px 35px;
    position: relative;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.7);
    transition: color 0.3s ease;
}

.mil-feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 12px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #2e3192, #bc2c81);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.mil-pricing-card:hover .mil-feature-list li {
    color: rgba(0, 0, 0, 0.85);
}

/* Service cards with hover effects */
.mil-service-card-sm {
    background: #000;
    color: #fff;
    border-radius: 8px;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.mil-service-card-sm::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #2e3192, #393191, #54308d, #bc2c81, #b62c82);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mil-service-card-sm:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 30px rgba(188, 44, 129, 0.3);
    border-color: rgba(188, 44, 129, 0.5);
    background: #ffffff;
}

.mil-service-card-sm:hover::after {
    opacity: 1;
}

.mil-card-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    opacity: 0.15;
    transition: opacity 0.3s ease;
}

.mil-service-card-sm:hover .mil-card-number {
    opacity: 0.4;
}

.mil-service-card-sm h5 {
    color: #ffffff;
    margin-bottom: 15px;
}

.mil-service-card-sm p {
    color: rgba(255, 255, 255, 0.85);
}

/* Phase cards from getting-started page */
.mil-phase-card {
    background: white;
    border-radius: 12px;
    padding: 45px 35px;
    border: 2px solid rgba(74, 144, 226, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.mil-phase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #2e3192, #393191, #54308d, #bc2c81, #b62c82);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.mil-phase-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(46, 49, 146, 0.15);
    border-color: rgba(46, 49, 146, 0.3);
}

.mil-phase-card:hover::before {
    transform: scaleX(1);
}

/* ===== BUTTON ENHANCEMENTS ===== */

.mil-cta-button {
    display: inline-block;
    padding: 18px 40px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    width: 100%;
}

.mil-cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.mil-cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.mil-cta-primary {
    background: linear-gradient(90deg, #2e3192, #bc2c81);
    color: white;
}

.mil-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 49, 146, 0.35);
}

.mil-cta-secondary {
    background: white;
    color: #2e3192;
    border: 2px solid #2e3192;
}

.mil-cta-secondary:hover {
    background: #2e3192;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 49, 146, 0.25);
}

/* ===== BANNER ENHANCEMENTS ===== */

.mil-inner-banner {
    padding: 140px 0;
    position: relative;
    margin-bottom: 60px;
}

.mil-banner-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: 800;
}

@media (max-width: 768px) {
    .mil-banner-content h1 {
        font-size: 2.5rem;
    }
}

/* ===== FORM ENHANCEMENTS ===== */

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    background: white;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: #2e3192;
    box-shadow: 0 0 0 3px rgba(46, 49, 146, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== ANIMATION ENHANCEMENTS ===== */

/* Smooth fade-in for elements with mil-up class */
.mil-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation delays for sequential elements */
.mil-up:nth-child(1) { animation-delay: 0.1s; }
.mil-up:nth-child(2) { animation-delay: 0.2s; }
.mil-up:nth-child(3) { animation-delay: 0.3s; }
.mil-up:nth-child(4) { animation-delay: 0.4s; }
.mil-up:nth-child(5) { animation-delay: 0.5s; }
.mil-up:nth-child(6) { animation-delay: 0.6s; }

/* ===== RESPONSIVE ADJUSTMENTS ===== */

@media (max-width: 992px) {
    .mil-pricing-card,
    .mil-service-card-sm,
    .mil-phase-card {
        margin-bottom: 30px;
    }
    
    .mil-price-tag {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .mil-text-lg {
        font-size: 1rem;
    }
    
    .mil-banner-content p {
        font-size: 1rem;
    }
    
    .mil-cta-button {
        padding: 16px 30px;
        font-size: 13px;
    }
}

/* ===== UTILITY CLASSES ===== */

.mil-mb-90 {
    margin-bottom: 90px;
}

.mil-p-90-60 {
    padding: 90px 0 60px;
}

.mil-p-120-90 {
    padding: 140px 0 110px !important;
}

.mil-p-120-60 {
    padding: 140px 0 80px !important;
}

.mil-p-0-120 {
    padding: 0 0 140px !important;
}

.mil-mb-30 {
    margin-bottom: 40px;
}

.mil-mb-60 {
    margin-bottom: 80px;
}

.mil-mb-90 {
    margin-bottom: 110px;
}

.mil-mb-120 {
    margin-bottom: 140px;
}

/* Improved spacing for cleaner layouts */
section {
    position: relative;
    padding: 100px 0;
}

section + section {
    margin-top: 60px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Fix row spacing */
.row {
    margin-left: -15px;
    margin-right: -15px;
}

.row > [class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
}

/* ===== ICON ENHANCEMENTS ===== */

/* Add these styles for icon support in differentiators */
.mil-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2e3192, #bc2c81);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.mil-service-card-sm:hover .mil-icon-wrapper,
.mil-phase-card:hover .mil-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.mil-icon-wrapper svg,
.mil-icon-wrapper i {
    color: white;
    font-size: 24px;
}
