/* Base styles */
body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    color: #1A202C;
    /* Deep slate for text */
    line-height: 1.6;
    background-color: #FAFAFA;
    /* Off-white premium background */
}

/* Structural Glass Navbar */
.glass-nav {
    transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid transparent;
}

.glass-nav.scrolled {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    /* Soft, premium shadow */
}

/* Premium Buttons - Pill shaped, soft glows */
.bg-gradient-btn {
    background-color: theme('colors.brandBlue');
    border: 1px solid transparent;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px 0 rgba(11, 61, 66, 0.39);
    /* Deep teal shadow */
    border-radius: 9999px !important;
    /* Force pill shape */
}

.bg-gradient-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 61, 66, 0.23);
    background-color: #0F4C53;
    /* Slightly lighter shade for hover */
}

.bg-gradient-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 14px 0 rgba(11, 61, 66, 0.39);
}

/* Secondary Button - Pill Pill */
.bg-outline-btn {
    border: 1px solid #E2E8F0;
    color: #1A202C;
    background: #FFFFFF;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 9999px !important;
    /* Force pill shape */
}

.bg-outline-btn:hover {
    border-color: theme('colors.brandBlue');
    color: theme('colors.brandBlue');
    background: #F8FAFC;
    box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.05);
}

.bg-outline-btn:active {
    background: #F1F5F9;
}

/* Soft Premium Glow Effects */
.hero-glow {
    position: absolute;
    top: 30%;
    right: 5%;
    transform: translateY(-50%);
    width: 70vw;
    height: 70vw;
    max-width: 900px;
    max-height: 900px;
    background: radial-gradient(circle, rgba(11, 61, 66, 0.04) 0%, rgba(250, 250, 250, 0) 70%);
    z-index: -1;
    pointer-events: none;
    filter: blur(80px);
}

/* Floating Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(0.5deg);
    }
}

@keyframes float-reverse {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(10px) rotate(-0.5deg);
    }
}

.animate-float {
    animation: float 8s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-reverse 8s ease-in-out infinite;
    animation-delay: 2s;
}

/* Feature Cards - Large border radius, soft shadows */
.feature-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.03);
    transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 24px !important;
    /* Large soft corners */
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
    /* Deep soft hover */
}

.illustration-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.03);
    transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 24px !important;
}

.illustration-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
}

/* FAQ Accordion */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 400ms cubic-bezier(0.4, 0, 0.2, 1), padding 400ms cubic-bezier(0.4, 0, 0.2, 1), opacity 400ms cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.accordion-item.active .accordion-content {
    opacity: 1;
    padding-top: 1rem;
    padding-bottom: 1.5rem;
}

.accordion-icon {
    transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: border-color 300ms ease;
}

.accordion-item:hover {
    border-color: theme('colors.brandBlue');
}

/* Footer Interactions */
.footer-link {
    transition: color 300ms ease, transform 300ms ease;
    display: inline-block;
}

.footer-link:hover {
    color: #FFFFFF;
    transform: translateX(4px);
}

.social-link {
    transition: all 300ms ease;
}

.social-link:hover {
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* Scroll Reveal Animation - Smooth & Flowing */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 800ms cubic-bezier(0.4, 0, 0.2, 1), transform 800ms cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Premium Heading Animations - Vibrant Accent & Slide right-to-left */
.premium-heading {
    position: relative;
    display: inline-block;
    padding-bottom: 0.25rem;
    opacity: 0;
    transform: translateX(40px);
    /* Start slightly to the right */
    transition: opacity 800ms cubic-bezier(0.16, 1, 0.3, 1), transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

.visible .premium-heading,
.fade-up.visible .premium-heading {
    opacity: 1;
    transform: translateX(0);
    /* Slide left into original position */
}

/* The Underline Animation on Hover/Visible */
.premium-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: theme('colors.brandAccent');
    /* Using the new vibrant accent */
    transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.5s;
    /* Wait for sliding to finish */
    border-radius: 4px;
}

.fade-up.visible .premium-heading::after,
.premium-heading:hover::after {
    width: 80px;
}

/* Premium Verified Badge Bullet Points */
.verified-bullet::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m512 268c0 17.9-4.3 34.5-12.9 49.7l8.7 51-50.6 12.3c-7.9 16.4-18.4 31.1-31.5 44.1s-27.7 23.6-44.1 31.5l-12.3 50.6-51-8.7c-15.2 8.6-31.8 12.9-49.7 12.9h-25.2c-17.9 0-34.5-4.3-49.7-12.9l-51 8.7-12.3-50.6c-16.4-7.9-31.1-18.4-44.1-31.5s-23.6-27.7-31.5-44.1l-50.6-12.3 8.7-51c-8.6-15.2-12.9-31.8-12.9-49.7v-25.2c0-17.9 4.3-34.5 12.9-49.7l-8.7-51 50.6-12.3c7.9-16.4 18.4-31.1 31.5-44.1s27.7-23.6 44.1-31.5l12.3-50.6 51 8.7c15.2-8.6 31.8-12.9 49.7-12.9h25.2c17.9 0 34.5 4.3 49.7 12.9l51-8.7 12.3 50.6c16.4 7.9 31.1 18.4 44.1 31.5s23.6 27.7 31.5 44.1l50.6 12.3-8.7 51c8.6 15.2 12.9 31.8 12.9 49.7z' fill='%23135860'/%3E%3Cpath d='M164 260 L221 323 L350 174' fill='none' stroke='%23fff' stroke-width='48' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* Premium Glow Accents */
.premium-glow-bg {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
    /* Softer, wider diffusion */
}