@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    color: #334155;
}

/* HERO SECTION + GRADIENT ANIMATION */
.hero-section {
    background-image: linear-gradient(130deg, #fdf7f7, #f2dbff 30%, #f4d2e4 63%, #e8f0ff 81%);
    background-size: 400% 400%;
    animation: gradientMove 15s ease infinite;
    padding-top: 100px;
    padding-bottom: 100px;
    display: flex;
    align-items: center;
    text-align: center;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* NAVBAR OVER HERO */
.main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Rounded Navbar Container */
.custom-navbar {
    max-width: 1280px;
    padding-left: 8px;
    padding-right: 8px;
}

/* Dot after AI-Query brand */
.dot-brand {
    color: #d63384;
}

/* HERO SUBTEXT */
.hero-subtext {
    max-width: 800px;
    font-size: 1.125rem;
    color: #475569;
}

/* SECTION HEADINGS */
.section-heading {
    font-size: 40px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 32px;
    text-align: center;
}

/* PRIMARY BUTTON STYLING */
.btn-primary {
    background-color: #4f46e5;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: #4338ca;
    color: white;
}

/* CODE BLOCK SECTION */
.code-block {
    background-color: #1e293b;
    color: #f8fafc;
    padding: 24px;
    border-radius: 12px;
    overflow-x: auto;
    font-family: monospace;
    line-height: 1.5;
}

/* FEATURE CARDS */
.feature-card {
    background-color: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* ICONS INSIDE FEATURE CARDS */
.feature-icon {
    margin-bottom: 16px;
    width: 48px;
    height: 48px;
}

/* ANIMATED ENTRANCE */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: 0.1s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* TEXT COLOR UTILITY */
.text-indigo {
    color: #4338ca !important;
}

/* DEMO SECTION GRADIENT (if needed elsewhere) */
.gradient-demo-section {
    background: linear-gradient(to right, #6366f1, #8b5cf6);
}

.material-symbols-outlined {
    vertical-align: middle;
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24;
}

.gradient-text {
    background: linear-gradient(90deg, #5b5df5, #a148e6, #dc37c3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.btn-gradient {
    background: linear-gradient(90deg, #5b5df5, #a148e6, #f65c35);
    color: #fff !important;
    border: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.btn-hover {
    background-color: #eef2ff;
    /* soft indigo tint */
    color: #4338ca !important;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.nav-hover {
    transition: color 0.3s ease;
}

.nav-hover:hover {
    color: #4338ca !important;
    /* Indigo */
}

.navbar-toggler:focus {
    box-shadow: none !important;
    outline: none;
}

.glassmorphic {
    background-color: rgba(255, 255, 255, 0.6);
    /* transparent white */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    /* Safari */
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.floating-whatsapp-btn {
    position: fixed;
    bottom: 24px;
    /* distance from bottom */
    right: 24px;
    /* distance from right */
    z-index: 1050;
    /* higher than most elements */
    background-color: white;
    border-radius: 50%;
    padding: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-whatsapp-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.floating-whatsapp-btn img {
    width: 32px;
    height: 32px;
}