/* UNGUESS Design System */
/* Based on https://unguess.io/ branding and visual identity */

/* Font Imports - Montserrat from Google Fonts, Nexa as fallback */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

:root {
  /* Primary Brand Colors - UNGUESS Navy/Green */
  --unguess-primary: #003A57;        /* Navy - main brand color */
  --unguess-primary-dark: #002940;   /* Darker navy for hover states */
  --unguess-primary-light: #004d73;  /* Lighter navy */
  --unguess-accent: #00b27f;         /* Dark green - accent color */
  --unguess-accent-light: #54c38a;   /* Light green */
  
  /* Neutral Colors */
  --unguess-dark: #333333;           /* Black text */
  --unguess-dark-gray: #4b5f5f;      /* Grey */
  --unguess-medium-gray: #7a7a7a;    /* Text grey */
  --unguess-light-gray: #A0A0A0;
  --unguess-background-gray: #F9FAFA; /* Grey background */
  --unguess-white: #FFFFFF;
  
  /* Semantic Colors */
  --unguess-success: #00b27f;        /* Using brand green for success */
  --unguess-warning: #FF9800;
  --unguess-error: #F44336;
  --unguess-info: #003A57;           /* Using navy for info */
  
  /* Typography - Nexa for headings, Montserrat for body */
  --font-family-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-family-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  
  /* Font Sizes */
  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1rem;     /* 16px */
  --font-size-lg: 1.125rem;   /* 18px */
  --font-size-xl: 1.25rem;    /* 20px */
  --font-size-2xl: 1.5rem;    /* 24px */
  --font-size-3xl: 2rem;      /* 32px */
  --font-size-4xl: 2.5rem;    /* 40px */
  --font-size-5xl: 3rem;      /* 48px */
  
  /* Font Weights */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Line Heights */
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;
  
  /* Spacing Scale */
  --space-xs: 0.25rem;   /* 4px */
  --space-sm: 0.5rem;    /* 8px */
  --space-md: 1rem;      /* 16px */
  --space-lg: 1.5rem;    /* 24px */
  --space-xl: 2rem;      /* 32px */
  --space-2xl: 3rem;     /* 48px */
  --space-3xl: 4rem;     /* 64px */
  --space-4xl: 6rem;     /* 96px */
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  
  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 250ms ease-in-out;
  --transition-slow: 350ms ease-in-out;
}

/* Base Styles */
body {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--unguess-dark);
  background: var(--unguess-white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--unguess-dark);
}

h1 {
  font-size: var(--font-size-5xl);
  margin-bottom: var(--space-lg);
}

h2 {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-md);
}

h3 {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-md);
}

h4 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-sm);
}

p {
  margin-bottom: var(--space-md);
  color: var(--unguess-medium-gray);
}

/* Buttons - Unguess Style */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-xl);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.btn-primary {
  background: var(--unguess-primary);
  color: var(--unguess-white);
}

.btn-primary:hover {
  background: var(--unguess-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--unguess-white);
  color: var(--unguess-primary);
  border: 2px solid var(--unguess-primary);
}

.btn-secondary:hover {
  background: var(--unguess-background-gray);
}

/* Cards - Unguess Style */
.card {
  background: var(--unguess-white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* Gradient Background - Unguess Style (Navy to Dark Green) */
.gradient-bg {
  background: linear-gradient(135deg, var(--unguess-primary) 0%, var(--unguess-accent) 100%);
}

/* Typography Classes per Design Spec */
.text-h1 {
  font-family: var(--font-family-heading);
  font-size: 40px;
  line-height: 1.2em;
  font-weight: 500;
  text-transform: uppercase;
}

.text-h2 {
  font-family: var(--font-family-heading);
  font-size: 40px;
  line-height: 1.2em;
  font-weight: 700;
}

.text-h3 {
  font-family: var(--font-family-heading);
  font-size: 25px;
  line-height: 1.2em;
  font-weight: 400;
}

.text-h4 {
  font-family: var(--font-family-heading);
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
}

.text-h5 {
  font-family: var(--font-family-heading);
  font-size: 17px;
  line-height: 20px;
  font-weight: 700;
}

.text-overline {
  font-family: var(--font-family-heading);
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  text-transform: uppercase;
}

.text-paragraph {
  font-family: var(--font-family-primary);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}

.text-paragraph-bold {
  font-family: var(--font-family-primary);
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
}

.text-caption {
  font-family: var(--font-family-primary);
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
}

.text-caption-bold {
  font-family: var(--font-family-primary);
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
}

/* Logo Styles */
.unguess-logo {
  height: 40px;
  width: auto;
}

.unguess-logo-large {
  height: 60px;
  width: auto;
}

/* Status Indicators */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
}

.status-success {
  background: rgba(76, 175, 80, 0.1);
  color: var(--unguess-success);
}

.status-warning {
  background: rgba(255, 152, 0, 0.1);
  color: var(--unguess-warning);
}

.status-error {
  background: rgba(244, 67, 54, 0.1);
  color: var(--unguess-error);
}

.status-info {
  background: rgba(33, 150, 243, 0.1);
  color: var(--unguess-info);
}
