/* ==========================================================================
   Base Styles & Mobile-First Reset — ICOU DIGITAL
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ambient Editorial Background Accents */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: 
    radial-gradient(circle at 50% -10%, rgba(197, 154, 78, 0.09) 0%, transparent 45%),
    radial-gradient(circle at 90% 40%, rgba(197, 154, 78, 0.04) 0%, transparent 35%),
    radial-gradient(circle at 10% 80%, rgba(197, 154, 78, 0.03) 0%, transparent 40%);
  z-index: -1;
}

/* Accessible Focus Outlines */
:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 3px;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

h1 {
  font-size: var(--text-h1);
}

h2 {
  font-size: var(--text-h2);
}

h3 {
  font-size: var(--text-h3);
}

p {
  color: var(--text-secondary);
  font-size: var(--text-body);
  font-weight: 400;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), border-color var(--transition-fast), opacity var(--transition-fast);
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: transparent;
  border: none;
}

button {
  cursor: pointer;
  touch-action: manipulation;
}

/* Base Utility Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.section {
  padding-block: var(--section-spacing);
  position: relative;
  overflow: hidden;
}

/* Section Header Typography */
.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-header.text-center {
  text-align: center;
  max-width: 780px;
  margin-inline: auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-400);
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.section-label::before {
  content: '//';
  opacity: 0.6;
}

.section-title {
  font-size: var(--text-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-secondary);
  font-size: var(--text-lead);
  line-height: 1.6;
  max-width: 680px;
}

.section-header.text-center .section-desc {
  margin-inline: auto;
}

/* Luxury Editorial Accents */
.gold-gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gold-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(197, 154, 78, 0.08);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-full);
  color: var(--gold-300);
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.gold-badge .badge-dot {
  width: 4px;
  height: 4px;
  background: var(--gold-400);
  transform: rotate(45deg);
  opacity: 0.8;
}

/* Screen Reader Only Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Custom Minimal Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(197, 154, 78, 0.25);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(197, 154, 78, 0.5);
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
