/* ==========================================================================
   Reeltonicfeedbt - Global Stylesheet
   ========================================================================== */

/* --- Custom Properties / Theme Variables --- */
:root {
  --color-ocean-50: #f0f9ff;
  --color-ocean-100: #e0f2fe;
  --color-ocean-500: #0284c7;
  --color-ocean-700: #0369a1;
  --color-ocean-900: #0c4a6e;

  --color-sand-50: #fdfbf7;
  --color-sand-100: #f7f4ef;
  --color-sand-200: #ece5d8;
  --color-sand-300: #dcd0b9;

  --color-coral-400: #ff8a75;
  --color-coral-500: #ff6f59;
  --color-coral-600: #e6533c;

  --color-slate-500: #64748b;
  --color-slate-600: #475569;
  --color-slate-700: #334155;
  --color-slate-800: #1e293b;

  --color-red-100: #fee2e2;
  --color-red-700: #b91c1c;
  --color-red-800: #991b1b;

  --color-purple-100: #f3e8ff;
  --color-purple-800: #6b21a8;

  --color-green-50: #f0fdf4;
  --color-green-200: #bbf7d0;
  --color-green-800: #166534;

  --font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* --- Base Resets & Typography --- */
*, ::before, ::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-width: 0;
  border-style: solid;
  border-color: currentColor;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  font-family: var(--font-sans);
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-sand-50);
  color: var(--color-slate-800);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

img, svg, video, canvas, audio, iframe, embed, object {
  display: block;
  vertical-align: middle;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: inherit;
}

button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: inherit;
  color: inherit;
  background-color: transparent;
}

button, [type='button'], [type='reset'], [type='submit'] {
  cursor: pointer;
  -webkit-appearance: button;
}

/* --- Utility Layout Classes --- */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-grow { flex-grow: 1; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }

.min-h-screen { min-height: 100vh; }
.max-w-7xl { max-width: 80rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-2xl { max-width: 42rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.inset-x-0 { left: 0; right: 0; }
.bottom-0 { bottom: 0; }
.top-4 { top: 1rem; }
.left-4 { left: 1rem; }
.z-50 { z-index: 50; }

.hidden { display: none !important; }
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }

/* --- Sizing & Spacing --- */
.w-full { width: 100%; }
.w-6 { width: 1.5rem; }
.h-6 { height: 1.5rem; }
.w-7 { width: 1.75rem; }
.h-7 { height: 1.75rem; }
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }

.h-14 { height: 3.5rem; }
.h-48 { height: 12rem; }
.h-60 { height: 15rem; }
.h-64 { height: 16rem; }
.h-72 { height: 18rem; }
.h-80 { height: 20rem; }

.p-1\.5 { padding: 0.375rem; }
.p-2\.5 { padding: 0.625rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }

.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }

.pt-0 { padding-top: 0; }
.pt-2 { padding-top: 0.5rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }
.pb-4 { padding-bottom: 1rem; }

.m-0 { margin: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.ml-1 { margin-left: 0.25rem; }
.my-8 { margin-top: 2rem; margin-bottom: 2rem; }

.-mx-6 { margin-left: -1.5rem; margin-right: -1.5rem; }
.-mt-6 { margin-top: -1.5rem; }

/* --- Color & Background Utilities --- */
.bg-sand-50 { background-color: var(--color-sand-50); }
.bg-sand-100 { background-color: var(--color-sand-100); }
.bg-sand-200 { background-color: var(--color-sand-200); }
.bg-ocean-700 { background-color: var(--color-ocean-700); }
.bg-ocean-900 { background-color: var(--color-ocean-900); }
.bg-ocean-900\/80 { background-color: rgba(12, 74, 110, 0.8); }
.bg-ocean-900\/90 { background-color: rgba(12, 74, 110, 0.9); }
.bg-coral-500 { background-color: var(--color-coral-500); }
.bg-coral-500\/20 { background-color: rgba(255, 111, 89, 0.2); }
.bg-white { background-color: #ffffff; }
.bg-white\/10 { background-color: rgba(255, 255, 255, 0.1); }
.bg-red-100 { background-color: var(--color-red-100); }
.bg-purple-100 { background-color: var(--color-purple-100); }
.bg-green-50 { background-color: var(--color-green-50); }

.text-white { color: #ffffff; }
.text-slate-500 { color: var(--color-slate-500); }
.text-slate-600 { color: var(--color-slate-600); }
.text-slate-700 { color: var(--color-slate-700); }
.text-slate-800 { color: var(--color-slate-800); }
.text-ocean-100 { color: var(--color-ocean-100); }
.text-ocean-100\/70 { color: rgba(224, 242, 254, 0.7); }
.text-ocean-700 { color: var(--color-ocean-700); }
.text-ocean-900 { color: var(--color-ocean-900); }
.text-coral-400 { color: var(--color-coral-400); }
.text-coral-500 { color: var(--color-coral-500); }
.text-red-700 { color: var(--color-red-700); }
.text-red-800 { color: var(--color-red-800); }
.text-purple-800 { color: var(--color-purple-800); }
.text-green-800 { color: var(--color-green-800); }

/* --- Borders --- */
.border { border-width: 1px; }
.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-sand-100 { border-color: var(--color-sand-100); }
.border-sand-200 { border-color: var(--color-sand-200); }
.border-sand-300 { border-color: var(--color-sand-300); }
.border-ocean-700 { border-color: var(--color-ocean-700); }
.border-ocean-700\/60 { border-color: rgba(3, 105, 161, 0.6); }
.border-coral-500\/30 { border-color: rgba(255, 111, 89, 0.3); }
.border-white\/20 { border-color: rgba(255, 255, 255, 0.2); }
.border-white\/40 { border-color: rgba(255, 255, 255, 0.4); }
.border-green-200 { border-color: var(--color-green-200); }

.rounded { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }
.rounded-full { border-radius: var(--radius-full); }

/* --- Typography Utilities --- */
.font-sans { font-family: var(--font-sans); }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }

.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }

.text-center { text-align: center; }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.tracking-tight { letter-spacing: -0.025em; }
.leading-relaxed { line-height: 1.625; }

.underline { text-decoration: underline; }
.object-cover { object-fit: cover; }
.overflow-hidden { overflow: hidden; }
.opacity-40 { opacity: 0.4; }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* --- Interactive Effects & Transitions --- */
.transition-colors { transition-property: background-color, border-color, color, fill, stroke; transition-duration: 150ms; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.transition-all { transition-property: all; transition-duration: 150ms; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.transition-transform { transition-property: transform; transition-duration: 300ms; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.duration-300 { transition-duration: 300ms; }

.hover\:bg-sand-200:hover { background-color: var(--color-sand-200); }
.hover\:bg-ocean-900:hover { background-color: var(--color-ocean-900); }
.hover\:bg-coral-600:hover { background-color: var(--color-coral-600); }
.hover\:bg-white\/10:hover { background-color: rgba(255, 255, 255, 0.1); }
.hover\:text-ocean-700:hover { color: var(--color-ocean-700); }
.hover\:text-ocean-900:hover { color: var(--color-ocean-900); }
.hover\:text-coral-400:hover { color: var(--color-coral-400); }
.hover\:text-coral-600:hover { color: var(--color-coral-600); }
.hover\:underline:hover { text-decoration: underline; }
.hover\:shadow:hover { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); }
.hover\:shadow-md:hover { box-shadow: var(--shadow-md); }

.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:border-ocean-700:focus { border-color: var(--color-ocean-700); }

.transform { transform: translate(0, 0); }
.translate-y-full { transform: translateY(100%); }

/* --- Specific Components --- */

/* Line Clamping */
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;  
  overflow: hidden;
}

/* Form Styles */
input[type="text"],
input[type="email"],
textarea {
  background-color: #ffffff;
  transition: border-color 0.15s ease-in-out;
}

/* Article Typography (Prose) */
.prose p {
  margin-bottom: 1.25rem;
}
.prose h2 {
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}
.prose ul {
  margin-bottom: 1.25rem;
}

/* Cookie Banner Animation Override */
#cookie-consent {
  will-change: transform;
}

/* --- Responsive Media Queries --- */

/* Small Screens (640px and up) */
@media (min-width: 640px) {
  .sm\:text-left { text-align: left; }
  .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .sm\:text-5xl { font-size: 3rem; line-height: 1; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sm\:w-auto { width: auto; }
  .sm\:w-2\/5 { width: 40%; }
  .sm\:w-3\/5 { width: 60%; }
  .sm\:h-auto { height: auto; }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:p-10 { padding: 2.5rem; }
  .sm\:-mx-10 { margin-left: -2.5rem; margin-right: -2.5rem; }
  .sm\:-mt-10 { margin-top: -2.5rem; }
  .sm\:left-10 { left: 2.5rem; }
}

/* Medium Screens (768px and up) */
@media (min-width: 768px) {
  .md\:flex { display: flex !important; }
  .md\:hidden { display: none !important; }
  .md\:flex-row { flex-direction: row; }
  .md\:items-end { align-items: flex-end; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .md\:col-span-2 { grid-column: span 2 / span 2; }
  .md\:col-span-3 { grid-column: span 3 / span 3; }
  .md\:mt-0 { margin-top: 0; }
}

/* Large Screens (1024px and up) */
@media (min-width: 1024px) {
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .lg\:py-28 { padding-top: 7rem; padding-bottom: 7rem; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:text-6xl { font-size: 3.75rem; line-height: 1; }
}