/* Basic Reset */
body, html {
    margin: 0;
    padding: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    box-sizing: border-box;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
    box-sizing: inherit;
}
a {
    color: inherit;
    text-decoration: inherit;
}
button {
    font-family: inherit;
    font-size: 100%;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
}
pre {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* App Container */
.app-container {
    width: 100%;
    min-height: 100vh;
    background-color: #ffffff; /* bg-white */
}

/* Navbar */
.navbar {
    background-color: #ffffff; /* bg-white */
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* shadow-sm */
    padding-top: 1rem; /* py-4 */
    padding-bottom: 1rem; /* py-4 */
    padding-left: 1.5rem; /* px-6 */
    padding-right: 1.5rem; /* px-6 */
    position: sticky; /* sticky */
    top: 0; /* top-0 */
    z-index: 50; /* z-50 */
}
.navbar-content {
    max-width: 80rem; /* max-w-7xl */
    margin-left: auto; /* mx-auto */
    margin-right: auto; /* mx-auto */
    display: flex; /* flex */
    justify-content: space-between; /* justify-between */
    align-items: center; /* items-center */
}
.navbar-brand {
    display: flex; /* flex */
    align-items: center; /* items-center */
}
.navbar-brand-text {
    font-weight: 700; /* font-bold */
    font-size: 2.3rem; /* text-xl */
    line-height: 1.75rem;
    color: #4f46e5; /* text-indigo-600 */
}
.navbar-links {
    display: flex; /* flex */
    align-items: center; /* items-center */
}
.navbar-links > *:not(:first-child) {
    margin-left: 2rem; /* space-x-8 */
}
.navbar-link {
    color: #374151; /* text-gray-700 */
    transition: color 0.15s ease-in-out; /* transition-colors */
}
.navbar-link:hover {
    color: #4f46e5; /* hover:text-indigo-600 */
}
.navbar-button {
    background-color: #4f46e5; /* bg-indigo-600 */
    color: #ffffff; /* text-white */
    padding-left: 1.25rem; /* px-5 */
    padding-right: 1.25rem; /* px-5 */
    padding-top: 0.5rem; /* py-2 */
    padding-bottom: 0.5rem; /* py-2 */
    border-radius: 0.375rem; /* rounded-md */
    transition: background-color 0.15s ease-in-out; /* transition-colors */
}
.navbar-button:hover {
    background-color: #4338ca; /* hover:bg-indigo-700 */
}
.navbar-logout-button {
    background-color: #dc2626; /* bg-red-600 */
    color: #ffffff; /* text-white */
    padding-left: 1.25rem; /* px-5 */
    padding-right: 1.25rem; /* px-5 */
    padding-top: 0.5rem; /* py-2 */
    padding-bottom: 0.5rem; /* py-2 */
    border-radius: 0.375rem; /* rounded-md */
    transition: background-color 0.15s ease-in-out; /* transition-colors */
}
.navbar-logout-button:hover {
    background-color: #b91c1c; /* hover:bg-red-700 */
}

/* Hero Section */
.hero-section {
    background-image: linear-gradient(to bottom, #ffffff, #eef2ff); /* bg-gradient-to-b from-white to-indigo-50 */
    padding-top: 5rem; /* py-20 */
    padding-bottom: 5rem; /* py-20 */
    padding-left: 1.5rem; /* px-6 */
    padding-right: 1.5rem; /* px-6 */
}
.hero-content {
    max-width: 80rem; /* max-w-7xl */
    margin-left: auto; /* mx-auto */
    margin-right: auto; /* mx-auto */
}
.hero-grid {
    display: grid; /* grid */
    gap: 3rem; /* gap-12 */
    align-items: center; /* items-center */
}
.hero-title {
    font-size: 2.25rem; /* text-4xl */
    line-height: 2.5rem;
    font-weight: 700; /* font-bold */
    color: #111827; /* text-gray-900 */
    line-height: 1.25; /* leading-tight */
    margin-bottom: 1.5rem; /* mb-6 */
}
.hero-title-highlight {
    color: #4f46e5; /* text-indigo-600 */
}
.hero-description {
    font-size: 1.25rem; /* text-xl */
    line-height: 1.75rem;
    color: #4b5563; /* text-gray-600 */
    margin-bottom: 2rem; /* mb-8 */
}
.hero-buttons-container {
    display: flex; /* Arrange buttons in a row */
    gap: 1rem; /* Space between buttons */
    align-items: center; /* Align items vertically */
}
.hero-button {
    background-color: #4f46e5; /* bg-indigo-600 */
    color: #ffffff; /* text-white */
    padding-left: 1.5rem; /* px-6 */
    padding-right: 1.5rem; /* px-6 */
    padding-top: 0.75rem; /* py-3 */
    padding-bottom: 0.75rem; /* py-3 */
    border-radius: 0.375rem; /* rounded-md */
    font-size: 1.125rem; /* text-lg */
    line-height: 1.75rem;
    font-weight: 500; /* font-medium */
    transition: background-color 0.15s ease-in-out; /* transition-colors */
    display: inline-flex; /* flex */
    align-items: center; /* items-center */
    justify-content: center; /* justify-center */
}
.hero-button:hover {
    background-color: #4338ca; /* hover:bg-indigo-700 */
}
.hero-button-secondary {
    background-color: transparent;
    color: #4f46e5; /* text-indigo-600 */
    border: 2px solid #4f46e5; /* border-indigo-600 */
    padding-left: 1.5rem; /* px-6 */
    padding-right: 1.5rem; /* px-6 */
    padding-top: 0.75rem; /* py-3 */
    padding-bottom: 0.75rem; /* py-3 */
    border-radius: 0.375rem; /* rounded-md */
    font-size: 1.125rem; /* text-lg */
    line-height: 1.75rem;
    font-weight: 500; /* font-medium */
    transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out, border-color 0.15s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-button-secondary:hover {
    background-color: #eef2ff; /* hover:bg-indigo-50 */
    color: #4338ca; /* hover:text-indigo-700 */
    border-color: #4338ca; /* hover:border-indigo-700 */
}
.hero-button-icon {
    margin-left: 0.5rem; /* ml-2 */
}
.hero-code-example {
    background-color: #ffffff; /* bg-white */
    padding: 1.5rem; /* p-6 */
    border-radius: 0.75rem; /* rounded-xl */
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05); /* shadow-lg */
}
.hero-code-block {
    background-color: #111827; /* bg-gray-900 */
    border-radius: 0.5rem; /* rounded-lg */
    padding: 1rem; /* p-4 */
    font-size: 0.875rem; /* text-sm */
    line-height: 1.25rem;
    color: #34d399; /* text-green-400 */
    overflow-x: auto;
}
.hero-code-block pre {
    margin: 0;
    white-space: pre-wrap; /* Preserve whitespace and wrap */
}

/* Features Section */
.features-section {
    padding-top: 5rem; /* py-20 */
    padding-bottom: 5rem; /* py-20 */
    padding-left: 1.5rem; /* px-6 */
    padding-right: 1.5rem; /* px-6 */
    background-color: #ffffff; /* bg-white */
}
.features-content {
    max-width: 80rem; /* max-w-7xl */
    margin-left: auto; /* mx-auto */
    margin-right: auto; /* mx-auto */
}
.features-title {
    font-size: 1.875rem; /* text-3xl */
    line-height: 2.25rem;
    font-weight: 700; /* font-bold */
    color: #111827; /* text-gray-900 */
    margin-bottom: 3rem; /* mb-12 */
    text-align: center; /* text-center */
}
.features-grid {
    display: grid; /* grid */
    gap: 2rem; /* gap-8 */
}
.feature-item {
    background-color: #f9fafb; /* bg-gray-50 */
    padding: 1.5rem; /* p-6 */
    border-radius: 0.75rem; /* rounded-xl */
}
.feature-icon-wrapper {
    margin-bottom: 1rem; /* mb-4 */
    background-color: #e0e7ff; /* bg-indigo-100 */
    width: 3rem; /* w-12 */
    height: 3rem; /* h-12 */
    border-radius: 0.5rem; /* rounded-lg */
    display: flex; /* flex */
    align-items: center; /* items-center */
    justify-content: center; /* justify-center */
}
.feature-icon {
    color: #4f46e5; /* text-indigo-600 */
}
.feature-item-title {
    font-size: 1.25rem; /* text-xl */
    line-height: 1.75rem;
    font-weight: 600; /* font-semibold */
    color: #111827; /* text-gray-900 */
    margin-bottom: 0.5rem; /* mb-2 */
}
.feature-item-description {
    color: #4b5563; /* text-gray-600 */
    font-size: 1rem; /* Base size, assuming 16px */
    line-height: 1.5rem;
}

/* Footer */
.footer {
    background-color: #111827; /* bg-gray-900 */
    color: #ffffff; /* text-white */
    padding-top: 2rem; /* py-8 */
    padding-bottom: 2rem; /* py-8 */
    padding-left: 1.5rem; /* px-6 */
    padding-right: 1.5rem; /* px-6 */
}
.footer-content {
    max-width: 80rem; /* max-w-7xl */
    margin-left: auto; /* mx-auto */
    margin-right: auto; /* mx-auto */
    display: flex; /* flex */
    justify-content: space-between; /* justify-between */
    align-items: center; /* items-center */
}
.footer-copyright {
    color: #9ca3af; /* text-gray-400 */
}
.footer-social-links {
    display: flex; /* flex */
}
.footer-social-links > *:not(:first-child) {
    margin-left: 1rem; /* space-x-4 */
}
.footer-social-link {
    color: #9ca3af; /* text-gray-400 */
    transition: color 0.15s ease-in-out; /* transition-colors */
}
.footer-social-link:hover {
    color: #ffffff; /* hover:text-white */
}
.footer-social-link svg {
    display: block; /* Helps with alignment */
}

/* Responsive Styles */
@media (min-width: 768px) { /* md breakpoint */
    .hero-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)); /* md:grid-cols-2 */
    }
    .hero-title {
        font-size: 3rem; /* md:text-5xl */
        line-height: 1.25;
    }
    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)); /* md:grid-cols-2 */
    }
    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)); /* md:grid-cols-2 */
    }
}
@media (min-width: 1024px) { /* lg breakpoint */
    .features-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)); /* lg:grid-cols-4 */
    }
    .pricing-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)); /* lg:grid-cols-4 */
    }
}

/* Pricing Section */
.pricing-section {
    padding-top: 5rem; /* py-20 */
    padding-bottom: 5rem; /* py-20 */
    padding-left: 1.5rem; /* px-6 */
    padding-right: 1.5rem; /* px-6 */
    background-color: #f9fafb; /* bg-gray-50 */
}
.pricing-content {
    max-width: 80rem; /* max-w-7xl */
    margin-left: auto; /* mx-auto */
    margin-right: auto; /* mx-auto */
}
.pricing-title {
    font-size: 1.875rem; /* text-3xl */
    line-height: 2.25rem;
    font-weight: 700; /* font-bold */
    color: #111827; /* text-gray-900 */
    margin-bottom: 3rem; /* mb-12 */
    text-align: center; /* text-center */
}
.pricing-grid {
    display: grid; /* grid */
    gap: 2rem; /* gap-8 */
    /* grid-template-columns: repeat(1, minmax(0, 1fr)); Implicit for mobile */
}
.pricing-tier {
    background-color: #ffffff; /* bg-white */
    padding: 2rem; /* p-8 */
    border-radius: 0.75rem; /* rounded-xl */
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06); /* shadow-md */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.pricing-tier-name {
    font-size: 1.5rem; /* text-2xl */
    font-weight: 600; /* font-semibold */
    color: #111827; /* text-gray-900 */
    margin-bottom: 0.5rem; /* mb-2 */
}
.pricing-tier-price {
    font-size: 2.25rem; /* text-4xl */
    font-weight: 700; /* font-bold */
    color: #4f46e5; /* text-indigo-600 */
    margin-bottom: 1.5rem; /* mb-6 */
}
.pricing-tier-price .pricing-tier-interval {
    font-size: 1rem; /* text-base */
    font-weight: 500; /* font-medium */
    color: #6b7280; /* text-gray-500 */
}
.pricing-tier-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem; /* mb-8 */
    flex-grow: 1; 
}
.pricing-tier-features li {
    color: #4b5563; /* text-gray-600 */
    margin-bottom: 0.75rem; /* mb-3 */
    display: flex;
    align-items: center;
    font-size: 1rem; /* Base size, assuming 16px */
    line-height: 1.5rem;
}
.pricing-tier-features li::before {
    content: '✓'; 
    color: #34d399; /* text-green-400 */
    margin-right: 0.5rem; /* mr-2 */
    font-weight: bold;
}
.search-token-tooltip {
    cursor: help;
    font-size: 0.9em;
    color: #4f46e5; /* text-indigo-600 */
    margin-left: 0.25rem; /* ml-1 */
    border-bottom: 1px dotted #4f46e5;
}
.pricing-tier-button {
    background-color: #4f46e5; /* bg-indigo-600 */
    color: #ffffff; /* text-white */
    padding: 0.75rem 1.5rem; /* py-3 px-6 */
    border-radius: 0.375rem; /* rounded-md */
    text-align: center;
    font-weight: 500; /* font-medium */
    transition: background-color 0.15s ease-in-out; /* transition-colors */
    display: block; 
    margin-top: auto; 
}
.pricing-tier-button:hover {
    background-color: #4338ca; /* hover:bg-indigo-700 */
}

/* Form Section Styles */
.form-section {
    padding-top: 4rem; /* py-16 */
    padding-bottom: 4rem; /* py-16 */
    padding-left: 1.5rem; /* px-6 */
    padding-right: 1.5rem; /* px-6 */
    background-color: #f9fafb; /* bg-gray-50 */
    min-height: calc(100vh - 4.5rem); /* Adjust 4.5rem based on actual navbar height */
    display: flex;
    justify-content: center;
}

.form-container {
    max-width: 28rem; /* max-w-md */
    max-height: 20rem; /* max-w-md */
    width: 100%;
    padding: 2rem; /* p-8 */
    background-color: #ffffff; /* bg-white */
    border-radius: 0.75rem; /* rounded-xl */
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05); /* shadow-lg */
}

.form-container h1 {
    font-size: 1.5rem; /* text-2xl */
    line-height: 2rem;
    font-weight: 700; /* font-bold */
    color: #111827; /* text-gray-900 */
    margin-bottom: 1.5rem; /* mb-6 */
    text-align: center;
}

.form-field {
    margin-bottom: 1.5rem; /* mb-6 */
}

.form-field label {
    display: block;
    margin-bottom: 0.5rem; /* mb-2 */
    font-size: 0.875rem; /* text-sm */
    line-height: 1.25rem;
    font-weight: 500; /* font-medium */
    color: #374151; /* text-gray-700 */
}

.form-field input[type="email"],
.form-field input[type="password"],
.form-field input[type="text"] {
    width: 100%;
    padding: 0.75rem; /* py-3 px-4, adjust as needed */
    border: 1px solid #D1D5DB; /* border-gray-300 */
    border-radius: 0.375rem; /* rounded-md */
    font-size: 1rem; /* text-base */
    line-height: 1.5rem;
    color: #111827; /* text-gray-900 */
}
.form-field input[type="email"]:focus,
.form-field input[type="password"]:focus,
.form-field input[type="text"]:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    border-color: #4f46e5; /* focus:border-indigo-500 */
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.3); /* focus:ring-indigo-500 */
}


.form-button {
    width: 100%;
    background-color: #4f46e5; /* bg-indigo-600 */
    color: #ffffff; /* text-white */
    padding: 0.75rem 1rem; /* py-3 px-4 */
    border-radius: 0.375rem; /* rounded-md */
    font-size: 1rem; /* text-base */
    line-height: 1.5rem;
    font-weight: 500; /* font-medium */
    transition: background-color 0.15s ease-in-out; /* transition-colors */
    border: none;
    cursor: pointer;
}

.form-button:hover {
    background-color: #4338ca; /* hover:bg-indigo-700 */
}

/* Message Section Styles */
.message-section {
    padding-top: 4rem; /* py-16 */
    padding-bottom: 4rem; /* py-16 */
    padding-left: 1.5rem; /* px-6 */
    padding-right: 1.5rem; /* px-6 */
    background-color: #f9fafb; /* bg-gray-50 */
    min-height: calc(100vh - 4.5rem); /* Adjust 4.5rem based on actual navbar height */
    display: flex;
    justify-content: center;
}

.message-container {
    max-width: 36rem;
    max-height: 13rem;
    width: 100%;
    padding: 2.5rem; /* p-10 */
    background-color: #ffffff; /* bg-white */
    border-radius: 0.75rem; /* rounded-xl */
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05); /* shadow-lg */
    text-align: center;
}

.message-container h1 {
    font-size: 1.875rem; /* text-3xl */
    line-height: 2.25rem;
    font-weight: 700; /* font-bold */
    color: #111827; /* text-gray-900 */
    margin-bottom: 1rem; /* mb-4 */
}

.message-container p {
    font-size: 1.125rem; /* text-lg */
    line-height: 1.75rem;
    color: #4b5563; /* text-gray-600 */
}
