/* ============================================
   BASE STYLES - Variables, Reset, Base
   ============================================ */

:root {
    /* Colors - Primary Palette */
    --color-primary: #357AD7;
    --color-primary-dark: #03110E;
    --color-primary-light: #ECF4FE;
    --color-accent-blue: #139DFF;
    --color-accent-light: #E4F1F8;
    
    /* Colors - Background */
    --color-bg-primary: #FAF8F5;
    --color-bg-white: #FFFFFF;
    --color-bg-overlay: rgba(0, 0, 0, 0.1);
    
    /* Colors - Text */
    --color-text-primary: #000000;
    --color-text-secondary: #999E9D;
    --color-text-tertiary: #676F6D;
    --color-text-dark: #03110E;
    --color-text-white: #FFFFFF;
    --color-text-placeholder: rgba(0, 0, 0, 0.3);
    
    /* Colors - Borders */
    --color-border-primary: #D4CFC4;
    --color-border-light: #F2F2F2;
    --color-border-dark: #30302F;
    
    /* Typography */
    --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-ios: 'SF Pro', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Font Weights */
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Font Sizes */
    --font-size-xs: 12px;
    --font-size-sm: 15px;
    --font-size-base: 17px;
    --font-size-lg: 22px;
    --font-size-xl: 28px;
    
    /* Line Heights */
    --line-height-tight: 1.2;
    --line-height-normal: 1.3;
    --line-height-relaxed: 1.5;
    
    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-button: 113px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.4s ease;
}

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

body {
    font-family: var(--font-primary);
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Screen Management */
.screen {
    display: none;
    min-height: 100vh;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.screen.active {
    display: block;
}

/* Invite Visitor Page - ensure scrolling works */
#invite-visitor-page {
    position: relative;
    height: 100vh;
    overflow-y: auto;
}

