/* ==========================================================================
   MMTC MEDIA - STYLE.CSS
   Global Styles, CSS Reset, Design Tokens & Base Utilities
   ========================================================================== */

/* --------------------------------------------------------------------------
   Design Tokens & CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
  /* Brand Palette - MEDIA by Laxsa Corp */
  --color-base:       #0069AA;
  --color-primary:    #02D4D3;
  --color-secondary:  #2BBC77;
  --color-black:      #000000;
  --color-white:      #FFFFFF;

  /* Gradients */
  --gradient-blue:    linear-gradient(135deg, #0059E5, #003895);
  --gradient-cyan:    linear-gradient(135deg, #00D8D3, #019CA4);
  --gradient-green:   linear-gradient(135deg, #2EBE76, #0F623C);
  --gradient-brand:   linear-gradient(135deg, #0059E5 0%, #00D8D3 52%, #2EBE76 100%);
  --brand-gradient:   linear-gradient(135deg, #0059E5 0%, #00D8D3 52%, #2EBE76 100%);
  --gradient-hover:   linear-gradient(135deg, #0069AA 0%, #02D4D3 100%);

  /* Dark Theme Surfaces (Apple HIG Liquid Glass & Deep Space Obsidian) */
  --bg-primary:    #080B11;
  --bg-secondary:  #0E1520;
  --bg-elevated:   #162030;
  --bg-hover:      #1E2B40;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(2, 212, 211, 0.18);
  --border-hover:  rgba(2, 212, 211, 0.45);

  --text-primary:   #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted:     #64748B;

  --accent:     #02D4D3;
  --accent-dim: #0069AA;
  --live-red:   #FF3B3B;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Border Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 35px rgba(2, 212, 211, 0.2);
  --shadow-brand: 0 4px 20px rgba(2, 212, 211, 0.35);

  /* Transitions */
  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

img,
picture,
video,
canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

svg {
  display: inline-block;
  vertical-align: middle;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

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

ul,
ol {
  list-style: none;
}

/* --------------------------------------------------------------------------
   Selection & Custom Scrollbar
   -------------------------------------------------------------------------- */
::selection {
  background-color: var(--accent);
  color: var(--bg-primary);
}

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

::-webkit-scrollbar-track {
  background-color: #0A0A0A;
}

::-webkit-scrollbar-thumb {
  background-color: #2A2A2A;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--text-muted);
}

/* Firefox Scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: #2A2A2A #0A0A0A;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.25;
}

h1 {
  font-size: 48px;
  font-weight: 700;
}

h2 {
  font-size: 32px;
  font-weight: 600;
}

h3 {
  font-size: 20px;
  font-weight: 600;
}

h4 {
  font-size: 18px;
  font-weight: 600;
}

h5 {
  font-size: 16px;
  font-weight: 600;
}

h6 {
  font-size: 14px;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.text-muted {
  color: var(--text-muted) !important;
}

/* --------------------------------------------------------------------------
   Layout Containers & Section Spacing
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 1px;
  background-color: var(--accent);
  opacity: 0.3;
}

.text-center .section-title::after,
.section-title.text-center::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 640px;
  line-height: 1.6;
}

.text-center .section-subtitle,
.section-subtitle.text-center {
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   Utility Classes
   -------------------------------------------------------------------------- */
/* Alignment */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

/* Flexbox Utilities */
.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.flex-wrap {
  flex-wrap: wrap;
}

/* Gap Utilities */
.gap-1 {
  gap: 8px;
}

.gap-2 {
  gap: 16px;
}

.gap-3 {
  gap: 24px;
}

.gap-4 {
  gap: 32px;
}

/* Width & Display Helpers */
.w-full {
  width: 100%;
}

.hidden {
  display: none !important;
}

/* Lucide Icon */
.icon,
svg.icon,
svg.lucide {
  width: 18px;
  height: 18px;
  display: inline-block !important;
  vertical-align: -2px;
  stroke: currentColor;
  flex-shrink: 0;
}

/* Link More & Section Footer Helpers */
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: var(--transition);
}

.link-more:hover {
  color: var(--color-primary);
  transform: translateX(4px);
}

.section-footer {
  margin-top: 32px;
  display: flex;
  justify-content: flex-end;
}
