/* Custom CSS for NUVISTA AI Landing Page */

/* Root Variables */
:root {
    --primary-blue: #1a1f36;
    --secondary-blue: #3b82f6;
    --warning-yellow: #fbbf24;
    --dark-bg: #1a1f36;
    --light-bg: #f8fafc;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
}

/* Global Styles */
*{
    box-sizing: border-box;
}

.logo{
    width: auto;
    height: 40px;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    line-height: 1.6;
    color: #1f2937;
}

.text-small{
    font-size: 14px !important;
}


/* Custom Text Colors */
.text-primary {
    color: var(--secondary-blue) !important;
}

.text-warning {
    color: var(--warning-yellow) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

/* Header Styles */
.navbar {
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-blue) !important;
}

/* Hero Section */

.hero-section {
    padding-block: 128px;
}

.how-it-works-section{
    background-color: rgba(236, 236, 240, 0.3);
}

.hero-content h1 {
    font-size: max(2.5rem, 3.123vw);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-image {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

#chatToggle{
    width: 56px; 
    height: 56px; 
    background: linear-gradient(to bottom right, #155dfc, #1a1f36);
}

.floating-badge {
    display: flex; 
    position: absolute; 
    right: -1rem; 
    bottom: -1rem; 
    justify-content: center; 
    align-items: center; 
    border-radius: 9999px; 
    border: 4px solid #1a1f36; 
    width: 6rem; 
    height: 6rem; 
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); 
}

.floating-badge-yellow {
    background: rgba(212, 175, 55, 0.8); 
    color: #1a1f36;
    font-size: 18px;
    font-weight: 600;
    bottom: -1rem;
    right: -1rem;
}


/* How It Works Section */
.step-circle {
    width: 64px;
    height: 64px;
    background: linear-gradient(to right bottom, #1a1f36 0%, rgba(26, 31, 54, 0.8) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.step-line {
    position: absolute;
    top: 2rem;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--border-color);
    transform: translateY(-50%);
    z-index: 1;
}

/* Logo Cloud */
.logo-placeholder {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 24px;
    display: inline-flex;
    transition: color 0.3s ease;
}

.logo-placeholder:hover {
    color: var(--primary-blue);
}
.logo-placeholder:not(:last-child) {
    margin-right: 16px;
}

.aws-pill{
    padding: 0.75rem 1.5rem 0.75rem 1.5rem;
    display: inline-flex;
    margin-inline: auto;
    border-radius: 50px; 
    border: 1px solid rgba(212, 175, 55, 0.2); 
    background: linear-gradient(to bottom right, rgba(59, 130, 246, 0.1), rgba(212, 175, 55, 0.1));
}

/* Feature Cards */
.card {
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb !important;
    gap: 32px !important;
}

.card:hover {
    box-shadow: 0 10px 15px -3px #d4af371a, 0 4px 6px -4px #d4af371a !important;
    border-color: #d4af3766 !important;
    scale: 1.02;
}

.card-name{
    font-size: 14px;
    color: #717182;
}

.feature-icon{
    display: flex; 
    margin-bottom: 18px; 
    justify-content: center; 
    align-items: center; 
    border-radius: 0.5rem; 
    border: 1px solid rgba(212, 175, 55,0.2); 
    width: 3rem; 
    height: 3rem; 
    color: #1a1f36;
    background: linear-gradient(to bottom right, rgba(59, 130, 246, 0.1), rgba(212, 175, 55, 0.1));
}

.btn-how {
    display: inline-flex;
    gap: 8px;
    color: #1a1f36;
    text-decoration: none;
    align-items: center;
}



.video-btn {
    color: #1a1f36;
}

.btn-how svg {
    width: 16px;
    height: 16px;
}

.container-4xl{
    max-width: 56rem;
    margin-inline: auto;
    padding-inline: 15px;
}

/* Dark Sections */
.bg-dark {
    background: #1a1f36 !important;
}

.text-warning svg{
    width: 20px;
    height: 20px;
}

/* Team Section */
.faq-wrapper{
    max-width: 48rem;
}

.bullet-point {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--secondary-blue);
    border-radius: 50%;
    margin-right: 0.75rem;
}

.testimonial-card {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-width: 320px;
    font-size: 0.875rem;
}

.quote-icon {
    color: #1a1f364d;
    width: 48px;
    height: 48px;
}

.testimonial-block {
    max-width: 56rem;
}

.play-icon {
    width: 16px;
    height: 16px;
}


.avatar {
    width: 2rem;
    height: 2rem;
    background: var(--secondary-blue);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Accordion Custom Styles */
.accordion-item {
    border: 1px solid rgba(161, 161, 161, 0.5) !important;
    border-radius: 0.75rem !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    padding: 1rem 1.5rem;
    font-size: 14px;
    background: white;
    border: none;
    border-radius: 0.75rem !important;
}

.accordion-button:not(.collapsed) {
    color: #0a0a0a;
    background: #fff;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25);
}

.accordion-body {
    padding: 0 1.5rem 1.25rem;
    line-height: 1.6;
}
.accordion-button::after {
    width: 16px ;
    height: 16px ;
    background-size: 16px;
}

.final-cta .btn {
    padding: 18px 16px;
    gap: 16px;
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
}

.final-cta .btn svg {
    width: 16px;
    height: 16px;
}

.final-cta .btn-white{
    background-color: #ffffff;
    color: #d4af37;
    border-color: #d4af37;
}

.final-cta .btn-white:hover{
    opacity: 0.9;
}

.count-block{
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Button Styles */
.btn-dark {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-dark:hover {
    background: #fbbf24;
    border-color: #fbbf24;
    color: var(--primary-blue);
}

.btn-warning {
    padding: 19px 32px;
    background-color: #fbbf24;
    color: #1a1f36;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Input Group */
.input-group .form-control {
    border-right: none;
    padding: 0.75rem 1rem;
}

.input-group .form-control:focus {
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25);
}

/* Footer */
footer {
    background: white;
}

footer h5, footer h6 {
    color: #1f2937;
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-blue) !important;
}

.btn-how::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.client-logo img {
    max-width: 100%;
    width: auto;
    height: 50px;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 1360px){
    .client-logo img {
        height: 40px;
    }
}
@media (max-width: 1024px) {

    .hero-section {
        padding-block: 80px;
    }

}
@media (max-width: 991px) {

    .hero-section {
        padding-block: 48px;
    }

}
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    .testimonial-card {
        position: static;
        margin-top: 1rem;
        max-width: 100%;
    }
    
    .step-line {
        display: none !important;
    }

    .card {
        gap: 24px !important;
    }

    .logo-placeholder {
        font-size: 20px;
    }
    .client-logo img {
        height: auto;
        max-height: 50px;
    }
}

.container-xl {
    max-width: 96rem;
}

@media (max-width: 1600px){
    .container-xl {
        padding-inline: 30px;
    }
}

@media (max-width: 600px) {
    .trusted-block{
        justify-content: flex-start !important;
        gap: 0 !important;
    }
    .logo-placeholder{
        width: 45%;
    }
}

@media (max-width: 576px) {
    .container-xl {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .display-3 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .display-6 {
        font-size: 1.5rem;
    }
    .aws-pill{
        font-size: 14px;
        text-align: center;
    }
    .final-cta .btn {
        min-width: 290px;
        font-size: 16px;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .logo-placeholder{
        width: 100%;
    }
    .trusted-container {
        border-top: 1px solid #dddddd;
    }
    .trusted-block{
        padding-left: 48px;
    }
    .logo-placeholder {
        font-size: 18px;
    }
}


/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animations */
.card, .hero-image, .step-circle {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Focus states for accessibility */
.btn:focus,
.form-control:focus,
.accordion-button:focus {
    outline: 0px solid var(--secondary-blue);
    outline-offset: 0px;
    box-shadow: none;
}


/* Print styles */
@media print {
    .navbar,
    .btn,
    .floating-badge {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
}