/* ============================================
   TIPPEM - GENERIC / BASE STYLES
   Global variables, resets, utilities
   ============================================ */

/* Google Font Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   ============================================ */
:root {
  /* --- Brand Colors --- */
  --color-primary:        #19acb2;
  --color-primary-dark:   #02636a;
  --color-primary-light:  #a5e2d1;
  --color-primary-xlight: #e6f9f8;

  --color-accent:         #ffbe49;
  --color-accent-dark:    #e6a200;
  --color-accent-light:   #ffe866;

  /* --- Gradient Presets --- */
  --gradient-primary:     linear-gradient(135deg, #19acb2 0%, #02636a 100%);
  --gradient-accent:      linear-gradient(135deg, #ffbe49 0%, #e6a200 100%);
  --gradient-hero:        linear-gradient(135deg, #02636a 0%, #19acb2 50%, #a5e2d1 100%);
  --gradient-brand:       linear-gradient(90deg, #19acb2 0%, #62c89b 50%, #ffbe49 100%);
  --gradient-card:        linear-gradient(135deg, #19acb2 0%, #02636a 100%);
  --gradient-glass:       linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 100%);

  /* --- Neutral / Background Colors --- */
  --color-white:          #ffffff;
  --color-bg:             #ffffff;
  --color-bg-gray:        #F9FAFB;
  --color-bg-dark:        #0a1628;
  --color-bg-darker:      #060e1a;

  /* --- Text Colors --- */
  --color-text:           #111827;
  --color-text-secondary: #6B7280;
  --color-text-light:     #9CA3AF;
  --color-text-white:     #ffffff;

  /* --- Border & UI Colors --- */
  --color-border:         #E5E7EB;
  --color-border-light:   #F3F4F6;
  --color-shadow:         rgba(0, 0, 0, 0.08);
  --color-shadow-md:      rgba(0, 0, 0, 0.14);
  --color-shadow-lg:      rgba(25, 172, 178, 0.25);

  /* --- Status Colors --- */
  --color-success:        #10B981;
  --color-error:          #EF4444;
  --color-warning:        #F59E0B;
  --color-info:           #3B82F6;

  /* ============================================
     TYPOGRAPHY
     ============================================ */
  --font-family:          'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Font Sizes */
  --fs-xs:    0.75rem;    /* 12px */
  --fs-sm:    0.875rem;   /* 14px */
  --fs-base:  1rem;       /* 16px */
  --fs-lg:    1.125rem;   /* 18px */
  --fs-xl:    1.25rem;    /* 20px */
  --fs-2xl:   1.5rem;     /* 24px */
  --fs-3xl:   1.875rem;   /* 30px */
  --fs-4xl:   2.25rem;    /* 36px */
  --fs-5xl:   3rem;       /* 48px */
  --fs-6xl:   3.75rem;    /* 60px */
  --fs-7xl:   4.5rem;     /* 72px */

  /* Font Weights */
  --fw-light:     300;
  --fw-regular:   400;
  --fw-medium:    500;
  --fw-semibold:  600;
  --fw-bold:      700;
  --fw-extrabold: 800;
  --fw-black:     900;

  /* Line Heights */
  --lh-tight:   1.2;
  --lh-snug:    1.375;
  --lh-normal:  1.5;
  --lh-relaxed: 1.625;
  --lh-loose:   2;

  /* Letter Spacing */
  --ls-tight:   -0.025em;
  --ls-normal:  0;
  --ls-wide:    0.025em;
  --ls-wider:   0.05em;
  --ls-widest:  0.1em;

  /* ============================================
     SPACING
     ============================================ */
  --space-1:   0.25rem;   /* 4px */
  --space-2:   0.5rem;    /* 8px */
  --space-3:   0.75rem;   /* 12px */
  --space-4:   1rem;      /* 16px */
  --space-5:   1.25rem;   /* 20px */
  --space-6:   1.5rem;    /* 24px */
  --space-8:   2rem;      /* 32px */
  --space-10:  2.5rem;    /* 40px */
  --space-12:  3rem;      /* 48px */
  --space-16:  4rem;      /* 64px */
  --space-20:  5rem;      /* 80px */
  --space-24:  6rem;      /* 96px */
  --space-32:  8rem;      /* 128px */

  /* ============================================
     BORDER RADIUS
     ============================================ */
  --radius-sm:   0.375rem;  /* 6px */
  --radius-md:   0.5rem;    /* 8px */
  --radius-lg:   0.75rem;   /* 12px */
  --radius-xl:   1rem;      /* 16px */
  --radius-2xl:  1.5rem;    /* 24px */
  --radius-3xl:  2rem;      /* 32px */
  --radius-full: 9999px;

  /* ============================================
     TRANSITIONS
     ============================================ */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;
  --transition-spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ============================================
     LAYOUT
     ============================================ */
  --container-max:  1200px;
  --container-wide: 1400px;
  --nav-height:     72px;

  /* ============================================
     SHADOWS
     ============================================ */
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg:   0 10px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-xl:   0 20px 60px rgba(0,0,0,0.16);
  --shadow-teal: 0 8px 32px rgba(25, 172, 178, 0.3);
  --shadow-gold: 0 8px 32px rgba(255, 190, 73, 0.35);
}

/* ============================================
   CSS RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font-family: var(--font-family);
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: var(--font-family);
  font-size: var(--fs-base);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

/* Text utilities */
.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-center  { text-align: center; }
.text-primary { color: var(--color-primary); }
.text-accent  { color: var(--color-accent); }
.text-white   { color: var(--color-white); }
.text-muted   { color: var(--color-text-secondary); }

/* Flex utilities */
.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col     { display: flex; flex-direction: column; }
.gap-2        { gap: var(--space-2); }
.gap-4        { gap: var(--space-4); }
.gap-6        { gap: var(--space-6); }
.gap-8        { gap: var(--space-8); }

/* Grid utilities */
.grid { display: grid; }

/* Visibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* Section spacing */
.section-padding {
  padding-block: var(--space-24);
}

/* Decorative divider */
.divider {
  width: 60px;
  height: 4px;
  background: var(--gradient-brand);
  border-radius: var(--radius-full);
  margin: var(--space-4) auto;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
}

.badge-teal {
  background: rgba(25, 172, 178, 0.12);
  color: var(--color-primary);
  border: 1px solid rgba(25, 172, 178, 0.25);
}

.badge-gold {
  background: rgba(255, 190, 73, 0.15);
  color: var(--color-accent-dark);
  border: 1px solid rgba(255, 190, 73, 0.3);
}

/* Responsive breakpoints */
@media (max-width: 1024px) {
  :root { --container-max: 960px; }
}
@media (max-width: 768px) {
  :root {
    --fs-5xl: 2.25rem;
    --fs-6xl: 2.75rem;
    --fs-7xl: 3rem;
  }
  .container { padding-inline: var(--space-5); }
  .section-padding { padding-block: var(--space-16); }
}
@media (max-width: 480px) {
  .container { padding-inline: var(--space-4); }
}
