:root {
    --bg-color: #111111;
    --accent-color: #00BFA5;
    /* Bright Teal */
    --text-white: #FFFFFF;
    --text-grey: #A0A0A0;
    --font-family: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-white);
    font-family: var(--font-family);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

/* Background Pattern (Subtle grid/cubes hint) */
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    opacity: 0.5;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 90vh;
    /* Ensure full viewport feel */
}

/* Left Column: Content */
.content-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    animation: fadeInUp 0.8s ease-out forwards;
}

.tag {
    color: var(--accent-color);
    font-weight: 900;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

h1 {
    font-size: 5rem;
    /* Large Headline */
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}

p {
    color: var(--text-grey);
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 500px;
    margin-bottom: 3rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 2rem;
    border: 1px solid var(--accent-color);
    border-radius: 50px;
    /* Pill shape */
    color: var(--text-white);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
    box-shadow: 0 0 15px rgba(0, 191, 165, 0.4);
}

.arrow {
    margin-left: 0.5rem;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.cta-button:hover .arrow {
    transform: translateX(5px);
}

/* Right Column: Image */
.image-col {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 1s ease-out forwards;
}

.image-frame {
    width: 100%;
    max-width: 450px;
    height: 600px;
    border: 1px solid var(--accent-color);
    border-radius: 60px;
    /* Super rounded corners */
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 191, 165, 0.1);
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding-top: 2rem;
        padding-bottom: 8rem;
        /* Increased to prevent footer overlap */
        min-height: 100vh;
        /* Ensure full height */
    }

    /* Only apply the hero backdrop to the home page on mobile */
    body.home-page {
        background-image:
            linear-gradient(rgba(10, 10, 10, 0.85), rgba(10, 10, 10, 0.9)),
            url('hero-image.png');
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
    }

    .content-col {
        align-items: center;
        order: 1;
        z-index: 2;
        /* Ensure content is above background */
    }

    h1 {
        font-size: 3.5rem;
    }

    p {
        margin-left: auto;
        margin-right: auto;
    }

    /* Hide the image column on mobile as it's now the background */
    .image-col {
        display: none;
    }
}

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

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


/* Document Page Overrides */
/* Add class="document-page" to body in legal/privacy html */
body.document-page {
    display: block;
    height: auto;
    min-height: 100vh;
    padding: 0;
    overflow-y: auto;
}

body.document-page::before {
    /* Ensure background covers full scrollable height */
    position: fixed;
}

/* Legal & Text Content Pages */
.page-container {
    width: 100%;
    max-width: 800px;
    padding: 4rem 2rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.page-container header {
    padding-bottom: 4rem;
    text-align: center;
}

.legal-content {
    flex: 1;
    animation: fadeInUp 0.5s ease-out forwards;
}

.legal-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.legal-content h2 {
    font-size: 1.5rem;
    color: var(--text-white);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.legal-content p,
.legal-content li {
    font-size: 1.05rem;
    color: var(--text-grey);
    line-height: 1.8;
    margin-bottom: 1.2rem;
    max-width: 100%;
}

.legal-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-block {
    margin-bottom: 2rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
}

.last-updated {
    font-size: 0.9rem !important;
    opacity: 0.6;
    margin-bottom: 3rem;
}

/* Unified Footer Style */
footer,
.home-footer {
    width: 100%;
    padding: 2rem 0 4rem 0;
    margin-top: auto;
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.9rem;
    border-top: none;
    /* Removed border to match home style */
}

/* Home footer specific positioning overrides */
.home-footer {
    position: absolute;
    bottom: 0;
    padding-bottom: 2rem;
    margin-top: 0;
    animation: fadeInUp 1.2s ease-out forwards;
}

footer a,
.home-footer a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover,
.home-footer a:hover {
    color: var(--accent-color);
}