@font-face {
    font-family: 'Gelion';
    src: url('gelion/Gelion Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Gelion';
    src: url('gelion/Gelion Regular Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Gelion';
    src: url('gelion/Gelion Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Gelion';
    src: url('gelion/Gelion SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Gelion';
    src: url('gelion/Gelion Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Gelion';
    src: url('gelion/Gelion Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Gelion';
    src: url('gelion/Gelion Black Italic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
}

:root {
    --bg-dark: #171212;
    /* Coffee Bean */
    --text-light: #F0E7D8;
    /* Antique White */
    --text-dim: rgba(240, 231, 216, 0.6);
    --accent-primary: #86A475;
    /* Sage Green */
    --accent-secondary: #1A3822;
    /* Evergreen */

    --font-heading: 'Gelion', sans-serif;
    --font-body: 'Gelion', sans-serif;
    --font-serif: 'Gelion', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    overflow: auto;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.app-container {
    display: flex;
    min-height: 100vh;
    width: 100vw;
    align-items: flex-start;
}

/* LEFT PANEL */
.left-panel {
    --bg-dark: #F4F0E6;
    /* Light cream */
    --text-light: #111111;
    /* Black */
    --text-dim: rgba(17, 17, 17, 0.7);
    /* Dark grey */
    flex: 0 0 35%;
    width: 35%;
    min-width: 400px;
    height: 100vh;
    padding: 3vw 2vw 3vw 3vw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: var(--bg-dark);
    color: var(--text-light);
    position: sticky;
    top: 0;
    z-index: 10;
    overflow: hidden;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-heading);
    color: var(--text-light);
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 6px;
    /* Rounded rectangle */
    border: 1px solid rgba(17, 17, 17, 0.15);
    background: rgba(255, 255, 255, 0.3);
    /* Slight glass fill */
    font-size: 0.85rem;
    font-weight: 500;
}

.status-badge .dot {
    width: 10px;
    height: 10px;
    background: radial-gradient(circle at 35% 35%, #7abf88, #2a5a36);
    border-radius: 50%;
    animation: blinkGlow 3s ease-in-out infinite;
}

@keyframes blinkGlow {

    0%,
    100% {
        opacity: 0.7;
        box-shadow: 0 0 4px rgba(122, 191, 136, 0.3);
    }

    50% {
        opacity: 1;
        box-shadow: 0 0 14px rgba(122, 191, 136, 0.7), 0 0 6px rgba(122, 191, 136, 0.5);
    }
}

.content-body {
    display: flex;
    flex-direction: column;
    margin: auto 0;
}

.eyebrow-text {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: var(--text-light);
}

.large-title {
    font-family: var(--font-body);
    /* More geometric like the reference */
    font-size: clamp(2.2rem, 2.8vw, 2.8rem);
    line-height: 1.20;
    font-weight: 400;
    letter-spacing: -0.03em;
}

.large-title .serif-italic {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 600;
    color: var(--text-light);
    /* Or slightly different shade if preferred, sticking to palette */
}

.large-title .line-2-bold {
    font-family: var(--font-body);
    font-weight: 400;
}

.hero-subtitle {
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    color: var(--text-dim);
    line-height: 1.6;
    max-width: 100%;
    font-weight: 400;
    white-space: normal;
    margin-top: 1.25rem;
}

.cta-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    gap: 24px;
    margin-top: auto;
}

.cta-button {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-transform: none;
    white-space: nowrap;
}

.cta-secondary {
    background-color: transparent;
    color: var(--accent-secondary);
    /* Dark Green */
    border: 1px solid var(--accent-secondary);
}

.cta-secondary:hover {
    background-color: rgba(26, 56, 34, 0.05);
    /* Soft dark green tint */
}

.cta-primary {
    background: linear-gradient(135deg, #2A4832 0%, #1A3822 50%, #112817 100%);
    color: #F4F0E6;
    /* Cream color */
}

.cta-primary:hover {
    background: linear-gradient(135deg, #32563D 0%, #24422D 50%, #1A3822 100%);
    transform: translateY(-2px);
}


/* RIGHT PANEL */
.right-panel {
    flex: 0 0 65%;
    width: 65%;
    position: relative;
    background-color: var(--accent-secondary);
    display: block;
    overflow: hidden;
    border-left: 1px solid rgba(240, 231, 216, 0.05);
    cursor: none;
}

.ambient-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70vh;
    height: 70vh;
    background: radial-gradient(circle, rgba(134, 164, 117, 0.3) 0%, rgba(26, 56, 34, 0) 70%);
    filter: blur(60px);
    z-index: 1;
    animation: pulseGlow 5s ease-in-out infinite alternate;
}

#pixel-canvas,
#left-pixel-canvas,
#footer-pixel-canvas,
#cal-pixel-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.screens-showcase {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    padding: 3vw 3vw 100px 3vw;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    cursor: none;
}

.screens-showcase::-webkit-scrollbar {
    display: none;
}

.showcase-img {
    width: 100%;
    max-width: 1040px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Optional: can leave subtle border for definition */
    height: auto;
    flex-shrink: 0;
    cursor: none;
}

/* CUSTOM SCROLL CURSOR */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 76px;
    height: 32px;
    background: rgba(60, 60, 60, 0.4);
    /* Lighter grey for glossy effect */
    backdrop-filter: blur(16px) saturate(180%);
    /* Stronger Glass effect */
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    /* More visible border for glass look */
    border-radius: 30px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 0.05em;
    pointer-events: none;
    /* Ignore clicks so underlying scroll works */
    z-index: 9999;
    opacity: 0;
    /* Hidden initially */
    transform: translate(-50%, -50%) scale(0.8);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cal-footer {
    width: 100%;
    min-height: 100vh;
    height: auto;
    background-color: var(--bg-dark);
    border-top: 1px solid rgba(240, 231, 216, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 20;
    padding: 80px 40px 20px;
    overflow: hidden;
}

.cal-header {
    text-align: center;
    margin-bottom: 40px;
    width: 100%;
}

.cal-header h2 {
    font-size: clamp(1.5rem, 2.5vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.cal-header p {
    font-size: 1.1rem;
    color: var(--text-dim);
    font-weight: 400;
}

@keyframes pulseGlow {
    0% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

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

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

/* SITE FOOTER */
.site-footer {
    width: 100%;
    background-color: var(--bg-dark);
    /* Keep consistent very dark background */
    color: var(--text-dim);
    padding: 30px 4vw 0;
    /* padding side to match left-panel */
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 20;
    font-size: 0.9rem;
    overflow: hidden;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 2rem;
    position: relative;
}

/* Fix flex layout for small screens without breaking grid */
@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        text-align: center;
    }
}

/* Left Section */
.footer-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: #222;
    border-radius: 4px;
    color: var(--text-light);
    transition: background-color 0.2s;
}

.social-icon:hover {
    background-color: #333;
}

.legal-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.legal-links a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s;
}

.legal-links a:hover {
    color: var(--text-light);
}

.divider {
    color: rgba(255, 255, 255, 0.2);
}



/* Right Section */
.footer-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.copyright {
    color: var(--text-dim);
}

.current-date {
    color: var(--text-dim);
}

/* Bottom Section */
.footer-bottom {
    width: 100%;
    display: flex;
    justify-content: center;
    line-height: 0.8;
    margin-top: 40px;
}

.massive-text {
    font-family: var(--font-body);
    font-size: clamp(3rem, 8.4vw, 12rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    /* Adjusted to fit the width perfectly without overflowing */
    color: #222;
    margin: 0;
    padding: 0;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    line-height: 0.75;
    position: relative;
    top: 0.1em;
}

.large-title,
.hero-subtitle,
.cta-row {
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}

.eyebrow-text {
    animation-delay: 0.05s;
}

.large-title {
    animation-delay: 0.15s;
}

.hero-subtitle {
    animation-delay: 0.3s;
}

.cta-row {
    animation-delay: 0.45s;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    body {
        overflow: auto;
    }

    .app-container {
        flex-direction: column;
        height: auto;
    }

    .left-panel {
        flex: none;
        width: 100%;
        max-width: 100%;
        min-height: 100vh;
        padding: 40px 24px;
    }

    .right-panel {
        min-height: 60vh;
        border-left: none;
        border-top: 1px solid rgba(240, 231, 216, 0.05);
    }

    .hero-subtitle {
        white-space: normal;
    }
}