/* Base Design Tokens & Reset */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    /* Colors - Brand */
    --primary: #007AFF;
    --primary-dark: #0056b3;
    --primary-light: #4da3ff;
    --accent: #5856D6;
    
    /* Colors - Status */
    --danger: #FF3B30;
    --success: #34C759;
    --warning: #FFcc00;

    /* Colors - Surfaces */
    --bg-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --bg-main: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.3);
    
    /* Colors - Text */
    --text-main: #1d1d1f;
    --text-muted: #86868b;
    --text-on-primary: #ffffff;

    /* Spacing & Layout */
    --nav-height: 70px;
    --container-width: 1100px;
    
    /* Shadows */
    --shadow-sm: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Base Resets */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

::selection {
    background: rgba(0, 122, 255, 0.2);
    color: var(--text-main);
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 0;
    padding: 0;
    background: var(--bg-gradient);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    color: var(--text-main);
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

p {
    line-height: 1.6;
    font-size: 1.1rem;
    color: var(--text-main);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--primary-dark);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.hidden { display: none !important; }

/* Navbar Offset */
body.has-navbar {
    padding-top: var(--nav-height);
}

/* Store Badge Sizing (Rule 18: 1:1 Parity) */
.store-badge {
    width: auto;
    object-fit: contain;
    vertical-align: middle;
}
.store-badge.apple-badge-hero {
    height: 54px;
}
.store-badge.google-badge-hero {
    height: 54px;
}
.store-badge.apple-badge-footer,
.store-badge.apple-badge {
    height: 40px;
}
.store-badge.google-badge-footer,
.store-badge.google-badge {
    height: 40px;
}
