/* ==========================================================================
   Efthygram Splash Page
   Aesthetic: "Graphic Realism" (Marathon, 2025)
   - Clean geometric forms
   - Stark color accents on restrained palette
   - Intentional negative space
   - Graphic hierarchy
   - Product-like precision
   ========================================================================== */

@font-face {
    font-family: 'Lane E';
    src: url('../fonts/lane.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* --- Tokens --- */
:root {
    --color-primary: #99CB38;
    --color-text: #E8E8E8;
    --color-text-dim: #A0A0A0;
    --color-bg-start: #000000;
    --color-bg-end: #354A3F;
    --color-surface: rgba(153, 203, 56, 0.04);

    --font-display: 'Lane E', 'Rajdhani', 'Orbitron', 'Inter', sans-serif;
    --font-heading: 'Merriweather Sans', 'Inter', sans-serif;
    --font-body: 'Inter', 'Calibre', -apple-system, BlinkMacSystemFont, sans-serif;

    --space-unit: 1rem;
    --border-thin: 1px solid var(--color-primary);
}

/* --- Reset --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --- Base --- */
html, body {
    height: 100%;
    overflow: hidden;
}

html {
    background: var(--color-bg-end);
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--color-text);
    background: linear-gradient(135deg, var(--color-bg-start) 0%, var(--color-bg-end) 100%);
    background-attachment: fixed;
    min-height: 100%;
    min-height: -webkit-fill-available;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-user-select: none;
    user-select: none;
}

/* --- Layout --- */
.container {
    width: 100%;
    max-width: 720px;
    padding: calc(var(--space-unit) * 3);
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: calc(var(--space-unit) * 1.5);
}

/* --- Logo Placeholder --- */
.logo-placeholder {
    width: 80px;
    height: 80px;
    border: var(--border-thin);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: calc(var(--space-unit) * 0.5);
    position: relative;
}

.logo-placeholder::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 1px solid rgba(153, 203, 56, 0.15);
}

.logo-placeholder__label {
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--color-primary);
    opacity: 0.5;
}

.logo-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    padding: 8px;
    box-sizing: border-box;
}

.logo-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* --- Typography --- */
.company-name {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 6vw, 3.6rem);
    font-weight: 400;
    letter-spacing: 0.35em;
    color: var(--color-text);
    line-height: 1;
    margin-right: -0.35em; /* Optical alignment for tracked text */
    white-space: nowrap;
}

.tagline {
    font-family: var(--font-heading);
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 300;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    text-transform: uppercase;
}

.value-prop {
    font-family: var(--font-body);
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
    font-weight: 300;
    line-height: 1.7;
    color: var(--color-text-dim);
    max-width: 480px;
}

/* --- Divider --- */
.divider {
    width: 48px;
    height: 1px;
    background: var(--color-primary);
    opacity: 0.6;
    margin: calc(var(--space-unit) * 0.5) 0;
}

/* --- CTA --- */
.cta {
    display: inline-block;
    margin-top: calc(var(--space-unit) * 1);
    padding: 0.7em 2.2em;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--color-bg-start);
    background: var(--color-primary);
    border: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.cta:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.cta:active {
    transform: translateY(0);
    opacity: 1;
}

/* --- Geometric Accents --- */
.accent-line {
    position: fixed;
    background: var(--color-primary);
    opacity: 0.08;
    z-index: 0;
}

.accent-line--top-left {
    top: 0;
    left: 12%;
    width: 1px;
    height: 35%;
}

.accent-line--bottom-right {
    bottom: 0;
    right: 18%;
    width: 1px;
    height: 25%;
}

/* --- Corner Marks --- */
.corner-mark {
    position: fixed;
    width: 24px;
    height: 24px;
    z-index: 0;
}

.corner-mark--tl {
    top: 32px;
    left: 32px;
    border-top: 1px solid var(--color-primary);
    border-left: 1px solid var(--color-primary);
    opacity: 0.25;
}

.corner-mark--br {
    bottom: 32px;
    right: 32px;
    border-bottom: 1px solid var(--color-primary);
    border-right: 1px solid var(--color-primary);
    opacity: 0.25;
}

/* --- Responsive --- */
@media (max-width: 600px) {
    .container {
        padding: calc(var(--space-unit) * 2);
    }

    .logo-placeholder {
        width: 64px;
        height: 64px;
    }

    .corner-mark--tl {
        top: 16px;
        left: 16px;
    }

    .corner-mark--br {
        bottom: 16px;
        right: 16px;
    }

    .accent-line {
        display: none;
    }
}

/* --- Context Menu Tooltip --- */
.ctx-tooltip {
    position: fixed;
    padding: 0.5em 1em;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    background: var(--color-bg-start);
    border: 1px solid var(--color-primary);
    pointer-events: none;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 9999;
    white-space: nowrap;
}

.ctx-tooltip--visible {
    opacity: 1;
    transform: translateY(0);
}
