/* Custom Styles for Qunvert Landing Page */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    overflow-x: hidden;
}

/* Gradient Text */
.text-gradient {
    background: linear-gradient(135deg, #3bbdb5 0%, #2dd4cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Gradient Background */
.hero-gradient {
    background: radial-gradient(circle at 30% 50%, rgba(59, 189, 181, 0.3) 0%, transparent 60%),
                radial-gradient(circle at 70% 30%, rgba(59, 189, 181, 0.2) 0%, transparent 50%);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3bbdb5 0%, #2dd4cc 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(59, 189, 181, 0.3);
    border: none;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(59, 189, 181, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 189, 181, 0.1);
    color: #3bbdb5;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 189, 181, 0.3);
    backdrop-filter: blur(10px);
    text-decoration: none;
}

.btn-secondary:hover {
    background: rgba(59, 189, 181, 0.2);
    border-color: #3bbdb5;
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #3bbdb5;
    padding: 0.875rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(59, 189, 181, 0.3);
    text-decoration: none;
}

.btn-outline:hover {
    background: rgba(59, 189, 181, 0.1);
    border-color: #3bbdb5;
    transform: translateY(-2px);
}

/* Feature Cards */
.feature-card {
    background: linear-gradient(135deg, rgba(22, 27, 34, 0.8) 0%, rgba(22, 27, 34, 0.4) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 189, 181, 0.3);
    box-shadow: 0 20px 60px rgba(59, 189, 181, 0.2);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, rgba(59, 189, 181, 0.2) 0%, rgba(59, 189, 181, 0.1) 100%);
    border: 1px solid rgba(59, 189, 181, 0.2);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #3bbdb5;
}

/* Pricing Grid */
.pricing-grid {
    align-items: stretch;
}

.pricing-grid > * {
    display: flex;
}

/* Pricing Cards */
.pricing-card {
    background: linear-gradient(135deg, rgba(22, 27, 34, 0.8) 0%, rgba(22, 27, 34, 0.4) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    padding: 2.5rem;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-header {
    flex-shrink: 0;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

@media (min-width: 768px) {
    .pricing-header {
        min-height: 130px;
    }
}

.pricing-features {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
    min-height: 280px;
}

.pricing-features li {
    align-items: flex-start;
}

.pricing-card > a {
    margin-top: auto;
    flex-shrink: 0;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 189, 181, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.pricing-card-recommended {
    border: 2px solid #3bbdb5;
    box-shadow: 0 0 60px rgba(59, 189, 181, 0.3);
}

@media (min-width: 1024px) {
    .pricing-card-recommended {
        transform: scale(1.05);
    }
    
    .pricing-card-recommended:hover {
        transform: scale(1.05) translateY(-8px);
    }
}

.pricing-card-recommended:hover {
    box-shadow: 0 0 80px rgba(59, 189, 181, 0.4);
}

.recommended-badge {
    position: absolute;
    top: -12px;
    right: 2rem;
    background: linear-gradient(135deg, #3bbdb5 0%, #2dd4cc 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(59, 189, 181, 0.4);
    flex-shrink: 0;
}

/* Integration Logos */
.integration-logo {
    background: linear-gradient(135deg, rgba(22, 27, 34, 0.8) 0%, rgba(22, 27, 34, 0.4) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    aspect-ratio: 1;
}

.integration-logo:hover {
    border-color: rgba(59, 189, 181, 0.3);
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(59, 189, 181, 0.2);
}

.integration-logo img,
.integration-logo svg {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.8);
    transition: filter 0.3s ease;
}

.integration-logo:hover img,
.integration-logo:hover svg {
    filter: grayscale(0%) brightness(1);
}

/* How It Works Flow Section */
.flow-card {
    background: linear-gradient(135deg, rgba(22, 27, 34, 0.8) 0%, rgba(22, 27, 34, 0.4) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    padding: 2.5rem;
    position: relative;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.flow-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 189, 181, 0.3);
    box-shadow: 0 20px 60px rgba(59, 189, 181, 0.2);
}

.flow-number {
    position: absolute;
    top: -15px;
    left: 2rem;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3bbdb5 0%, #2dd4cc 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
    box-shadow: 0 4px 15px rgba(59, 189, 181, 0.4);
}

.flow-icon {
    width: 5rem;
    height: 5rem;
    background: linear-gradient(135deg, rgba(59, 189, 181, 0.15) 0%, rgba(59, 189, 181, 0.05) 100%);
    border: 2px solid rgba(59, 189, 181, 0.2);
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.flow-card:hover .flow-icon {
    background: linear-gradient(135deg, rgba(59, 189, 181, 0.25) 0%, rgba(59, 189, 181, 0.1) 100%);
    border-color: #3bbdb5;
    transform: scale(1.1);
}

.flow-icon-pulse {
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(59, 189, 181, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(59, 189, 181, 0.6);
    }
}

.flow-example {
    background: rgba(13, 17, 23, 0.6);
    border-radius: 0.75rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.chat-bubble {
    background: rgba(59, 189, 181, 0.1);
    border-left: 3px solid #3bbdb5;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #94a3b8;
    font-style: italic;
}

.chat-bubble-reply {
    background: rgba(59, 189, 181, 0.15);
    border-left-color: #2dd4cc;
}

.flow-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.flow-badge {
    background: rgba(59, 189, 181, 0.1);
    border: 1px solid rgba(59, 189, 181, 0.2);
    color: #3bbdb5;
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.flow-badge:hover {
    background: rgba(59, 189, 181, 0.2);
    border-color: #3bbdb5;
}

.flow-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(59, 189, 181, 0.3) 20%, rgba(59, 189, 181, 0.3) 80%, transparent);
    position: relative;
}

.flow-line::before,
.flow-line::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #3bbdb5;
    border-radius: 50%;
}

.flow-line::before {
    left: 33.33%;
}

.flow-line::after {
    right: 33.33%;
}

/* CTA Card */
.cta-card {
    background: linear-gradient(135deg, rgba(59, 189, 181, 0.1) 0%, rgba(59, 189, 181, 0.05) 100%);
    border: 1px solid rgba(59, 189, 181, 0.2);
    border-radius: 2rem;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.cta-card > * {
    position: relative;
    z-index: 1;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 189, 181, 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Navbar blur effect on scroll */
nav {
    transition: all 0.3s ease;
}

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0d1117;
}

::-webkit-scrollbar-thumb {
    background: #3bbdb5;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2dd4cc;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pricing-card-recommended {
        transform: scale(1);
    }
    
    .pricing-card-recommended:hover {
        transform: translateY(-8px);
    }
}

/* Loading animation for images */
img {
    transition: opacity 0.3s ease;
}

img:not([src]) {
    opacity: 0;
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, rgba(22, 27, 34, 0.95) 0%, rgba(13, 17, 23, 0.98) 100%);
    border-top: 1px solid rgba(59, 189, 181, 0.1);
    padding: 4rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #3bbdb5, transparent);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 1.5fr 1fr;
    }
}

.footer-brand h3 {
    font-size: 1.875rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3bbdb5 0%, #2dd4cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 500px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(59, 189, 181, 0.1);
    border: 1px solid rgba(59, 189, 181, 0.2);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3bbdb5;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(59, 189, 181, 0.2);
    border-color: #3bbdb5;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(59, 189, 181, 0.2);
}

.footer-sections-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-sections-row {
        justify-self: end;
        min-width: 300px;
    }
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #3bbdb5;
    transform: translateX(4px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    color: #64748b;
    font-size: 0.875rem;
}

/* Selection color */
::selection {
    background: rgba(59, 189, 181, 0.3);
    color: white;
}

::-moz-selection {
    background: rgba(59, 189, 181, 0.3);
    color: white;
}

