/* Google Labs Components */

/* Navbar: Floating Pill */
.navbar {
    position: sticky;
    top: 2rem;
    z-index: 1000;
    width: 90%;
    max-width: 1440px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid var(--labs-border);
    border-radius: var(--radius-pill);
    padding: 2rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--labs-black);
    text-decoration: none;
}

.logo img {
    height: 48px !important;

}

.logo span {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    background: var(--labs-off-white);
    border: 1px solid var(--labs-border);
    padding: 0.2rem 0.6rem;
    border-radius: 99px;
    color: var(--labs-grey);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--labs-grey);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--labs-black);
}

/* Calls to Action */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 2.8rem;
    /* Larger touch targets */
    border-radius: var(--radius-pill);
    font-weight: 500;
    font-size: 1.25rem;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--labs-black);
    color: var(--labs-white);
}

.btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--labs-border);
    color: var(--labs-black);
}

.btn-outline:hover {
    background-color: var(--labs-off-white);
}

/* Cards: Large Radius, Minimalist */
.card {
    background: var(--labs-off-white);
    border-radius: var(--radius-card);
    padding: var(--space-card);
    transition: background 0.3s ease;
    border: 1px solid transparent;
}

.card:hover {
    background: var(--labs-white);
    border-color: var(--labs-border);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    border-radius: 50%;
    background: var(--labs-white);
    border: 1px solid var(--labs-border);
}

/* Hero Section */
.hero-section {
    padding: 10rem 0 18rem;
    text-align: center;
}

.hero-title {
    font-size: 5rem;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
}

@media(max-width: 768px) {
    .navbar {
        width: 95%;
        padding: 0.75rem 1.5rem;
        top: 1rem;
    }

    .hero-title {
        font-size: 3rem;
    }
}

/* --- Expanded Components --- */

/* Footer */
footer {
    border-top: 1px solid var(--labs-border);
    padding: 10rem 0;
    margin-top: 5rem;
    background: var(--labs-off-white);
    color: var(--labs-grey);
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
}

.footer-col h4 {
    color: var(--labs-black);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a:hover {
    color: var(--labs-black);
    text-decoration: underline;
}

.footer-copyright {
    margin-top: 8rem;
    padding-top: 3rem;
    color: var(--labs-grey);
    font-size: 0.9rem;
    text-align: center;
}

/* Accordion (Details/Summary) */
details {
    border-bottom: 1px solid var(--labs-border);
    padding: 1.5rem 0;
}

details[open] {
    padding-bottom: 2rem;
}

summary {
    list-style: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 1.2rem;
    color: var(--labs-black);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
}

details[open] summary::after {
    content: '-';
}

details p {
    margin-top: 1rem;
    max-width: 90%;
}

/* Comparison Table */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.data-table th,
.data-table td {
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--labs-border);
}

.data-table th {
    text-align: left;
    font-weight: 500;
    color: var(--labs-grey);
}

.data-table th:first-child {
    width: 40%;
}

.data-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--labs-black);
}

.check-icon {
    color: var(--labs-blue);
    font-size: 1.2rem;
}

.dash-icon {
    color: var(--labs-border);
}

/* Trusted By Logos */
.logo-cloud {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    opacity: 0.4;
    filter: grayscale(100%);
    margin-bottom: 4rem;
}

.logo-cloud img {
    height: 32px;
}

/* --- Animations --- */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Initial state for scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Triggered state */
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero specific animations (auto-run) */
.hero-animate {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}