/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');
/* Assuming Cal Sans is available via this URL as per original code, otherwise will fallback */
@import url('https://fonts.googleapis.com/css2?family=Cal+Sans&display=swap');

:root {
    --background: #ffffff;
    --foreground: #000000;
    --font-cal-sans: 'Cal Sans', sans-serif;
    --font-lato: 'Lato', sans-serif;
    --primary: #FEAB00;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
    width: 100%;
    background: var(--background);
    color: var(--foreground);
    font-family: var(--font-lato);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    line-height: 1.5;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6,
.logo,
.button-font {
    font-family: var(--font-cal-sans);
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

a:hover {
    opacity: 0.8;
}

/* Layout Utilities */
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--background);
    overflow-x: hidden;
}

.main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.container {
    max-width: 1440px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    /* px-8 */
    padding-right: 2rem;
}

@media (min-width: 768px) {
    .container {
        padding-left: 4rem;
        /* md:px-16 */
        padding-right: 4rem;
    }
}

.br-desktop {
    display: none;
}

@media (min-width: 768px) {
    .br-desktop {
        display: block;
    }
}

/* Header */
header {
    padding-top: 2rem;
    /* py-8 */
    padding-bottom: 2rem;
    background-color: var(--background);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 32px;
    line-height: 1;
    letter-spacing: -0.025em;
    /* tracking-tight */
    color: var(--foreground);
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .logo {
        font-size: 52px;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-family: var(--font-cal-sans);
    font-weight: 400;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-login-header {
    border: 1px solid var(--foreground);
    padding: 0.75rem 2rem;
    /* px-8 py-3 */
    font-size: 16px;
    color: var(--foreground);
    background: transparent;
}

.btn-login-header:hover {
    background-color: var(--foreground);
    color: var(--background);
}

@media (min-width: 768px) {
    .btn-login-header {
        padding-left: 3rem;
        /* md:px-12 */
        padding-right: 3rem;
        font-size: 18px;
    }
}

/* Hero Section */
.hero-section {
    display: flex;
    flex-direction: column;
    /* flex-col */
    align-items: center;
    padding-top: 2rem;
    /* py-8 */
    padding-bottom: 2rem;
}

@media (min-width: 768px) {
    .hero-section {
        flex-direction: row;
        /* md:flex-row */
        padding-top: 0;
        padding-bottom: 0;
    }
}

.hero-text {
    width: 100%;
    text-align: center;
    margin-bottom: 2rem;
    /* space-y-8 approximation */
}

@media (min-width: 768px) {
    .hero-text {
        width: 50%;
        /* md:w-1/2 */
        padding-right: 3rem;
        /* md:pr-12 */
        text-align: left;
        /* md:text-left */
        margin-bottom: 0;
    }
}

.hero-text>*+* {
    margin-top: 2rem;
    /* space-y-8 */
}

.hero-title {
    font-size: 36px;
    line-height: 1.1;
    color: var(--foreground);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 52px;
    }
}

.hero-description {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.7);
    /* text-black/70 */
    max-width: 32rem;
    /* max-w-lg */
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 18px;
        margin-left: 0;
        margin-right: 0;
    }
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    /* gap-4 */
    padding-top: 1rem;
}

@media (min-width: 640px) {

    /* sm */
    .hero-actions {
        flex-direction: row;
        /* sm:flex-row */
    }
}

@media (min-width: 768px) {
    .hero-actions {
        justify-content: flex-start;
        /* md:justify-start */
        gap: 1.5rem;
        /* md:gap-6 */
    }
}

.btn-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 1px solid var(--foreground);
    color: var(--foreground);
    padding: 1rem 3rem;
    /* px-12 py-4 */
    font-size: 18px;
    border-radius: 4px;
    background: transparent;
}

.btn-hero:hover {
    background: var(--foreground);
    color: var(--background);
}

@media (min-width: 640px) {
    .btn-hero {
        width: 200px;
        /* sm:w-[200px] */
    }
}

/* Hero Image */
.hero-image-container {
    width: 100%;
    margin-top: 3rem;
    /* mt-12 */
    position: relative;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    aspect-ratio: 1/1;
    /* aspect-square */
}

@media (min-width: 768px) {
    .hero-image-container {
        width: 50%;
        /* md:w-1/2 */
        margin-top: 0;
        aspect-ratio: 1.1/1;
        /* md:aspect-[1.1/1] */
        max-width: none;
    }
}

.hero-image-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.hero-image-wrapper img {
    object-fit: contain;
    padding: 1rem;
    width: 100%;
    height: 100%;
    transition: transform 0.5s;
}

.hero-image-wrapper:hover img {
    transform: scale(1.05);
    /* group-hover:scale-105 */
}

@media (min-width: 768px) {
    .hero-image-wrapper img {
        padding: 2rem;
        /* md:p-8 */
    }
}

/* Footer */
footer {
    padding-top: 3rem;
    /* py-12 */
    padding-bottom: 3rem;
    background-color: var(--background);
    margin-top: auto;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-lato);
    font-size: 16px;
    color: rgba(0, 0, 0, 0.8);
    gap: 1.5rem;
    /* gap-6 */
}

@media (min-width: 768px) {
    .footer-inner {
        flex-direction: row;
        /* md:flex-row */
        font-size: 18px;
    }
}

.footer-links {
    display: flex;
    gap: 2rem;
    /* gap-8 */
    order: 2;
    flex-wrap: wrap;
    justify-content: center;
}

@media (min-width: 768px) {
    .footer-links {
        order: 1;
        justify-content: flex-start;
    }
}

.footer-link {
    color: rgba(0, 0, 0, 0.7);
    white-space: nowrap;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-address {
    text-align: center;
    order: 1;
}

@media (min-width: 768px) {
    .footer-address {
        text-align: right;
        order: 2;
    }
}

/* Login Page */
.login-container {
    width: 100%;
    max-width: 24rem;
    /* max-w-sm */
    margin: 0 auto;
}

.login-title {
    font-size: 2.25rem;
    /* text-4xl */
    line-height: 2.5rem;
    color: var(--foreground);
    margin-bottom: 2rem;
    text-align: center;
    font-family: var(--font-cal-sans);
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    /* gap-5 */
    width: 100%;
}

.login-input {
    width: 100%;
    height: 4rem;
    /* h-16 */
    border-radius: 9999px;
    /* rounded-full */
    background-color: #1a1a1a;
    padding-left: 2rem;
    /* px-8 */
    padding-right: 2rem;
    font-size: 1.125rem;
    /* text-lg */
    color: white;
    border: none;
    outline: none;
    font-family: var(--font-lato);
    transition: all 0.2s;
}

.login-input::placeholder {
    color: #6b7280;
    /* placeholder-gray-500 */
}

.login-btn {
    margin-top: 1rem;
    width: 100%;
    height: 4rem;
    /* h-16 */
    border-radius: 9999px;
    background-color: #1a1a1a;
    color: white;
    font-size: 1.25rem;
    /* text-xl */
    text-transform: uppercase;
    letter-spacing: 0.025em;
    /* tracking-wide */
    border: none;
    cursor: pointer;
    font-family: var(--font-cal-sans);
    transition: background-color 0.2s;
}

.login-btn:hover {
    background-color: black;
}

.login-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Info Pages (Terms, Privacy) */
.info-page-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    /* py-10 px-8 */
    color: black;
}

@media (min-width: 768px) {
    .info-page-wrapper {
        padding: 5rem 4rem;
        /* py-20 px-16 */
    }
}

.info-title {
    font-size: 36px;
    line-height: 1;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
    font-weight: 400;
}

@media (min-width: 768px) {
    .info-title {
        font-size: 52px;
    }
}

.info-subtitle {
    font-size: 0.875rem;
    /* text-sm */
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: 3rem;
    /* mb-12 */
}

@media (min-width: 768px) {
    .info-subtitle {
        font-size: 1rem;
        /* text-base */
    }
}

.info-content {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 768px) {
    .info-content {
        font-size: 18px;
    }
}

.info-content h2 {
    font-size: 24px;
    color: black;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .info-content h2 {
        font-size: 32px;
    }
}

.info-content p {
    margin-bottom: 1rem;
}

.info-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.info-content li {
    margin-bottom: 0.5rem;
}

.info-content a {
    color: var(--primary);
    /* #FEAB00 */
}

.info-content a:hover {
    text-decoration: underline;
}

/* Landing Page Two (About Page Design) */
.centered-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 2.5rem;
    /* py-10 */
    padding-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .centered-hero {
        padding-top: 5rem;
        /* md:py-20 */
        padding-bottom: 5rem;
    }
}

.icon-wrapper {
    position: relative;
    width: 6rem;
    /* w-24 */
    height: 6rem;
    /* h-24 */
    margin-bottom: 2rem;
    /* mb-8 */
    padding: 1.5rem;
    /* p-6 */
    /* Center the icon if it's an image block */
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .icon-wrapper {
        width: 8rem;
        /* md:w-32 */
        height: 8rem;
        /* md:h-32 */
    }
}

.icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

.icon-wrapper:hover img {
    transform: scale(1.1);
}

.centered-title {
    font-size: 36px;
    font-family: var(--font-cal-sans);
    font-weight: 400;
    line-height: 1.25;
    color: var(--foreground);
    margin-bottom: 2rem;
    /* mb-8 */
    max-width: 48rem;
    /* max-w-3xl */
}

@media (min-width: 768px) {
    .centered-title {
        font-size: 52px;
    }
}

.centered-text {
    font-size: 16px;
    line-height: 1.6;
    color: #1E1D1D;
    margin-bottom: 3rem;
    /* mb-12 */
    max-width: 48rem;
    /* inferred */
}

@media (min-width: 768px) {
    .centered-text {
        font-size: 18px;
    }
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: black;
    width: 100%;
    padding: 1rem 3rem;
    /* px-12 py-4 */
    font-size: 18px;
    font-family: var(--font-cal-sans);
    border-radius: 4px;
    transition: opacity 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    opacity: 0.9;
}

@media (min-width: 640px) {
    .btn-primary {
        width: 282px;
        /* sm:w-[282px] */
    }
}