/* ==========================================================================
   GLOBAL DESIGN SYSTEM & STYLESHEET — AURALIX MEDIA (PREMIUM LIGHT THEME)
   Brand Color Primary: #D43A2F | Secondary: #656162 | Font: Poppins
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Brand Color Palette */
  --brand-red: #D43A2F;
  --brand-red-light: #e54538;
  --brand-red-dark: #b8281d;
  --brand-grey: #656162;
  --brand-grey-light: #9e9a9b;

  /* Premium Light Theme Colors */
  --bg-dark: #fafafc;            /* Base Page Background */
  --bg-card: #ffffff;            /* Card Background */
  --bg-card-hover: #ffffff;      /* Card Hover Surface */
  --bg-glass: rgba(255, 255, 255, 0.9);
  
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-active: rgba(212, 58, 47, 0.35);
  --border-glow: rgba(212, 58, 47, 0.5);

  --accent-primary: #D43A2F;
  --accent-secondary: #656162;
  --accent-gradient: linear-gradient(135deg, #D43A2F 0%, #e54538 50%, #c82d22 100%);
  --accent-glow: rgba(212, 58, 47, 0.25);

  --text-main: #111318;          /* High contrast primary text */
  --text-muted: #555866;         /* Secondary text */
  --text-dim: #656162;           /* Subdued text */

  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Poppins', sans-serif;

  /* Spacing */
  --container-width: 1280px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: light;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: #dcdce2;
  border-radius: var(--radius-pill);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}

/* Layout Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 7rem 0;
  position: relative;
}

/* Custom anchor scroll offset matching sticky navigation header */
section[id] {
  scroll-margin-top: 95px;
}

/* Typography Elements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
}

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

/* Section Header Utility */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 4.5rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  background: rgba(212, 58, 47, 0.08);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-pill);
  color: var(--brand-red);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 1rem;
  color: var(--text-main);
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition-normal);
  white-space: nowrap;
  user-select: none;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 58, 47, 0.4);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.btn-secondary:hover {
  background: #ffffff;
  border-color: var(--brand-red);
  color: var(--brand-red);
  transform: translateY(-2px);
}

.btn-glow {
  position: relative;
  overflow: hidden;
}
.btn-glow::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 60%);
  transform: rotate(30deg);
  opacity: 0;
  transition: var(--transition-normal);
}
.btn-glow:hover::before {
  opacity: 1;
}

/* Common Card Base */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition-normal);
}

.glass-card:hover {
  border-color: var(--border-active);
  box-shadow: 0 15px 35px rgba(212, 58, 47, 0.12);
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Utilities */
@media (max-width: 768px) {
  .section {
    padding: 4.5rem 0;
  }
  .section-header {
    margin-bottom: 3rem;
  }
}

/* Global Heading Underline (hand-drawn SVG signature path) */
.global-heading-underline {
  margin-top: -6px;
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
}

.global-heading-underline svg {
  width: 100%;
  max-width: 150px; /* Elegant and narrow size */
  height: auto;
}

.global-heading-underline path {
  stroke: var(--brand-red, #D43A2F); /* Pops in red on both light/dark backgrounds */
  stroke-width: 6.5px;
}

