body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    scroll-behavior: smooth;
}
.header-nav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #4b5563;
    transition: color 0.2s;
}
.header-nav-item:hover {
    color: #111827;
}
.scribble-underline {
    position: relative;
    display: inline-block;
}
.scribble-underline::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 120%;
    height: 8px;
    background-image: url("data:image/svg+xml,%3Csvg width='336' height='10' viewBox='0 0 336 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 8C50.5 4.5 150 -1.5 334 4.5' stroke='%23f59e0b' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}
.search-container {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.audit-card-preview {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}
.feature-card {
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    background-color: #f8fafc;
}

.step-line {
    position: absolute;
    top: 40px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6 0%, #a855f7 50%, #ec4899 100%);
    z-index: 0;
}
.step-number {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 24px;
    height: 24px;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    border: 2px solid white;
}

/* --- Updated Circular Animation Styles --- */
.circle-container {
    position: relative;
    width: 440px;
    height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes rotateOrbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes counterRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

.orbit-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotateOrbit 20s linear infinite;
}

.orbit-item {
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 8px;
    font-weight: bold;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    cursor: pointer;
    /* Keeps the icons upright as the parent rotates */
    animation: counterRotate 20s linear infinite;
}

.center-circle-text {
    position: absolute;
    z-index: 10;
    text-align: center;
    width: 220px;
    pointer-events: none;
}

.orbit-dashed-line {
    position: absolute;
    width: 340px;
    height: 340px;
    border: 2px dashed #e2e8f0;
    border-radius: 50%;
}

/* Infinite Slider Animation */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.logo-slider {
    display: flex;
    width: fit-content;
    animation: scroll 40s linear infinite;
}
.logo-slider:hover {
    animation-play-state: paused;
}
.slider-container {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
/* Mega menu visibility logic */
.mega-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

/* Show menu on hover of the 'group' div */
.group:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Grid separator styling to match the thin line aesthetic */
.tool-grid-item {
    border-color: #f1f5f9;
    transition: background-color 0.2s;
}

.tool-grid-item:hover {
    background-color: #fffbeb; /* Subtle amber hover highlight */
}

 /* Modal Styles */
.modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 37, 64, 0.4);
    backdrop-filter: blur(8px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}
.modal-content {
    background: white;
    width: 100%;
    max-width: 480px;
    border-radius: 32px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
}
.auth-input {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    width: 100%;
    outline: none;
    transition: all 0.2s;
}
.auth-input:focus {
    border-color: #f59e0b;
    background-color: white;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
}