/**
 * Traq Money - Theme Variables
 * Modern, clean design system
 */

:root {
    /* Primary Colors - Navy Blue (matching logo) */
    --primary: #1A2852;
    --primary-dark: #0F1A3D;

    /* Accent Colors - Bright Blue for CTA */
    --accent: #3B82F6;
    --accent-hover: #2563EB;
    --accent-light: rgba(59, 130, 246, 0.1);

    /* Neutral Colors */
    --dark: #0A0F1C;
    --gray-900: #1A1F2E;
    --gray-800: #2A3142;
    --gray-600: #6B7280;
    --gray-400: #9CA3AF;
    --gray-100: #F3F4F6;
    --white: #FFFFFF;

    /* Typography */
    --font-display: 'Fraunces', serif;
    --font-body: 'DM Sans', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;

    /* Shadows */
    --shadow-sm: 0 4px 12px rgba(10, 15, 28, 0.06);
    --shadow-md: 0 20px 60px rgba(10, 15, 28, 0.12);
    --shadow-border: 0 0 0 1px rgba(10, 15, 28, 0.08);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Navigation Transitions */
    --nav-transition-duration: 350ms;
    --nav-transition-easing: cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Body Base Styles */
html {
    /* Prevent horizontal scroll globally */
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Prevent horizontal scroll */
    overflow-x: hidden;
    /* Prevent body from being wider than viewport */
    max-width: 100vw;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    color: var(--dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-base);
}

button {
    font-family: var(--font-body);
    cursor: pointer;
    border: none;
    background: none;
}

/* Utility Classes */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* Dark Theme */
[data-theme="dark"] {
    --dark: #FFFFFF;
    --white: #0A0F1C;
    --gray-900: #F3F4F6;
    --gray-800: #E5E7EB;
    --gray-600: #9CA3AF;
    --gray-400: #6B7280;
    --gray-100: #1A1F2E;
}

[data-theme="dark"] body {
    background: var(--white);
    color: var(--dark);
}

[data-theme="dark"] .logo-img {
    /* Slight shadow for better visibility on dark background */
    filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.1));
}
