/**
 * BLISSEN Landing Page - Sleep Technology 2.0
 * Forest Night Theme with Therapeutic Design
 */

@font-face {
    font-family: 'Berkeley Mono';
    src: url('mono.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Forest Night Theme Colors (GREEN from Blissen app) */
    --color-bg: #000000;
    --color-bg-secondary: #0a0f0a;
    --color-text: #f5faf8;
    --color-text-muted: #a8d4c4;
    --color-primary: #4ade80;        /* Bright green */
    --color-primary-light: #86efac;  /* Light green */
    --color-primary-warm: #22c55e;   /* Warm green */
    --color-accent: #5bf57d;         /* Forest accent */
    --color-accent-soft: rgba(74, 222, 128, 0.12);
    --color-border: rgba(74, 222, 128, 0.25);
    
    /* Typography */
    --font-main: 'Berkeley Mono', 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    
    /* Font Sizes */
    --text-sm: 14px;
    --text-base: 16px;
    --text-lg: 18px;
    --text-xl: 20px;
    --text-2xl: 24px;
    --text-3xl: 32px;
    --text-4xl: 48px;
    --text-5xl: 64px;
    --text-6xl: 80px;
    
    /* Spacing */
    --space-2: 16px;
    --space-4: 32px;
    --space-6: 48px;
    --space-8: 64px;
    --space-12: 96px;
    --space-16: 128px;
    
    /* Animation */
    --duration-slow: 500ms;
    --duration-slower: 800ms;
    --ease-therapeutic: cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Global Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: var(--font-main);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Artwork Canvas Container - TOP LAYER */
.background-canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    overflow: hidden;
    pointer-events: none; /* Allow clicking through to content below */
}

#artwork-canvas {
    display: block;
    width: 100%;
    height: 100%;
    background: transparent;
}

/* Bottom Text Section */
.bottom-text {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 33.33vh; /* Bottom third */
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
    text-align: center;
    gap: var(--space-4); /* Larger spacing between elements */
}

/* Logo Typography - Green Forest Night Theme */
.logo {
    font-family: var(--font-main);
    font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl)); /* Responsive like app */
    font-weight: normal; /* Normal weight like app */
    color: var(--color-primary); /* Forest night green */
    letter-spacing: 0.1em; /* App uses 0.1em for titles */
    margin: 0;
    line-height: 1.2; /* App uses tight line height */
}

.subtitle {
    font-family: var(--font-main);
    font-size: 14px; /* App uses 14px for descriptions */
    color: var(--color-text); /* Main white text like app */
    font-weight: normal;
    margin: 0;
    letter-spacing: 0.05em;
    line-height: 18px; /* App uses tight line height (14px + 4px) */
}

.status {
    font-family: var(--font-main);
    font-size: 12px; /* App uses 12px for smallest text */
    color: var(--color-text-muted); /* Muted for hierarchy */
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.08em; /* App uses 0.08em for small text */
    margin: 0;
    line-height: 16px; /* App tight line height (12px + 4px) */
    opacity: 0.8; /* Slightly more visible */
}

/* Animations removed - using clean, minimal design */

/* Responsive Design - Matches App Breakpoints */
@media (max-width: 768px) {
    .logo {
        font-size: clamp(var(--text-lg), 4vw, var(--text-2xl)); /* App tablet size */
        letter-spacing: 0.1em;
    }
    
    .subtitle {
        font-size: 13px; /* App mobile description size */
        line-height: 17px; /* App mobile line height */
    }
    
    .status {
        font-size: 11px;
        line-height: 15px;
    }
    
    .bottom-text {
        padding: var(--space-2);
        gap: var(--space-3); /* Good spacing on tablet */
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: var(--text-lg); /* App small mobile size (16px) */
        letter-spacing: 0.08em;
    }
    
    .subtitle {
        font-size: 12px; /* App small mobile description */
        line-height: 16px;
    }
    
    .status {
        font-size: 10px;
        line-height: 14px;
    }
    
    .bottom-text {
        gap: var(--space-2); /* Decent spacing on mobile too */
    }
}

/* High contrast mode accessibility */
@media (prefers-contrast: high) {
    .logo {
        text-shadow: none;
        border: 2px solid var(--color-primary);
        padding: var(--space-2);
    }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
    .logo-container {
        animation: none;
    }
    
    .logo {
        animation: none;
        text-shadow: 0 0 20px rgba(74, 222, 128, 0.3);
    }
}