/* ==========================================================================
   MIRADIYA TECHNOLOGIES - APPLE MINIMALIST LIGHT DESIGN SYSTEM
   Ultra-Clean, Crisp White & Soft Zinc, Bold Typography, Subtle Shadows, Electric Yellow Accents
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  /* Apple-Grade Minimalist Light Palette */
  --bg-app: #FFFFFF;
  --bg-primary: #FFFFFF;
  --bg-surface: #F8F9FA;
  --bg-surface-secondary: #F1F3F5;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FCFCFD;
  
  /* Text Colors */
  --text-main: #111827;
  --text-muted: #6B7280;
  --text-subtle: #9CA3AF;
  
  /* Accent Colors (Electric Yellow & Warm Gold) */
  --accent-yellow: #EAB308;
  --accent-yellow-bright: #FACC15;
  --accent-yellow-dark: #CA8A04;
  --accent-yellow-bg: rgba(234, 179, 8, 0.10);
  --accent-yellow-border: rgba(234, 179, 8, 0.30);
  --accent-yellow-glow: rgba(234, 179, 8, 0.28);
  
  /* Borders & Dividers */
  --border-light: #E5E7EB;
  --border-subtle: #F3F4F6;
  --border-card: rgba(0, 0, 0, 0.07);
  
  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  /* Elevation & Shadows */
  --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.04), 0 4px 10px -2px rgba(0, 0, 0, 0.02);
  --shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.08), 0 0 25px rgba(234, 179, 8, 0.12);
  --shadow-float: 0 30px 60px -12px rgba(0, 0, 0, 0.10);

  /* Radius */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  
  --header-height: 76px;
  --container-max: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-app);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

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

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

button {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

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

/* Sections */
.section {
  padding: 100px 0;
  position: relative;
}

.section-surface {
  background-color: var(--bg-surface);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px auto;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

/* Apple-Style Pill Badges */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-main);
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.section-badge .badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-yellow);
  box-shadow: 0 0 8px var(--accent-yellow);
}

/* Apple Bold Typography */
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--text-main);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Gradient Text */
.text-gradient {
  background: linear-gradient(135deg, #111827 0%, #374151 50%, #CA8A04 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-yellow-highlight {
  color: #CA8A04;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-smooth);
}

.btn-primary {
  background-color: var(--accent-yellow);
  color: #000000;
  font-weight: 700;
  box-shadow: 0 4px 14px var(--accent-yellow-glow);
}

.btn-primary:hover {
  background-color: var(--accent-yellow-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(234, 179, 8, 0.40);
}

.btn-secondary {
  background-color: #FFFFFF;
  color: var(--text-main);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
}

.btn-secondary:hover {
  border-color: var(--accent-yellow);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.btn-dark {
  background-color: var(--text-main);
  color: #FFFFFF;
}

.btn-dark:hover {
  background-color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}

.btn-icon {
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* ==========================================================================
   NAVIGATION BAR (Apple Floating Frosted Style)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: all var(--transition-smooth);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.brand-logo-text {
  display: flex;
  flex-direction: column;
}

.brand-logo-title {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.brand-logo-subtitle {
  font-size: 0.62rem;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #CA8A04;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-yellow);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: #FFFFFF;
}

.hamburger-line {
  width: 18px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.hamburger-line:nth-child(1) { margin-bottom: 4px; }
.hamburger-line:nth-child(2) { margin-bottom: 4px; }

.mobile-nav-toggle.open .hamburger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.mobile-nav-toggle.open .hamburger-line:nth-child(2) {
  opacity: 0;
}
.mobile-nav-toggle.open .hamburger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 340px;
  height: 100vh;
  background: #FFFFFF;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  padding: 90px 28px 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right var(--transition-smooth);
}

.mobile-drawer.open { right: 0; }

.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.mobile-drawer-overlay.open { opacity: 1; pointer-events: auto; }

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
}

/* ==========================================================================
   HERO SECTION (Apple Daylight Elegance + 3D Sculpture)
   ========================================================================== */
.hero-section {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 90px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(250, 204, 21, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(243, 244, 246, 0.8) 0%, transparent 60%);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(0,0,0,0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 600px;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5.2vw, 4.3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--text-main);
  margin-bottom: 22px;
}

.hero-lead {
  font-size: 1.18rem;
  color: var(--text-muted);
  line-height: 1.68;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid var(--border-light);
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.hero-stat-value {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
}

.hero-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* 3D Hero Canvas Container */
.hero-canvas-wrap {
  position: relative;
  width: 100%;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#hero-canvas {
  width: 100% !important;
  height: 100% !important;
  cursor: grab;
}

.canvas-badge-floating {
  position: absolute;
  bottom: 16px;
  right: 16px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: var(--shadow-subtle);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-yellow);
  box-shadow: 0 0 8px var(--accent-yellow);
  animation: pulseAnimation 2s infinite ease-in-out;
}

@keyframes pulseAnimation {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

/* ==========================================================================
   ABOUT SECTION & BENTO HIGHLIGHTS
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-text {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 14px;
}

.highlight-box {
  padding: 24px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-smooth);
}

.highlight-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: var(--accent-yellow-border);
}

.highlight-box-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-yellow-bg);
  color: var(--accent-yellow-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.highlight-box-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-main);
}

.highlight-box-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* About Visual Bento Card */
.about-visual-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about-visual-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-yellow-dark);
  background: var(--accent-yellow-bg);
  border: 1px solid var(--accent-yellow-border);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.about-visual-caption {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-style: italic;
}

/* ==========================================================================
   LEADERSHIP SECTION (Apple Executive Cards)
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-yellow-border);
}

.team-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--bg-surface);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 2px solid var(--border-light);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  position: relative;
}

.team-avatar::after {
  content: '';
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background: var(--accent-yellow);
  border: 2px solid #FFFFFF;
  border-radius: 50%;
}

.team-role {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #CA8A04;
  margin-bottom: 6px;
}

.team-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
}

.team-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   PRODUCTS SECTION (Apple-Style Bento Showcase)
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.product-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 420px;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-yellow-border);
}

.product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.product-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: transform var(--transition-fast);
}

.product-card:hover .product-icon-wrap {
  transform: scale(1.06);
  background: var(--accent-yellow-bg);
  color: #CA8A04;
}

.product-status-pill {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent-yellow-bg);
  color: #CA8A04;
  border: 1px solid var(--accent-yellow-border);
}

.product-category {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.product-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 32px;
}

.product-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.product-features-tag {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   TECHNOLOGY MATRIX (Daylight Minimalist Canvas)
   ========================================================================== */
.tech-container-box {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.tech-graph-canvas-wrap {
  width: 100%;
  height: 460px;
  position: relative;
  border-radius: var(--radius-md);
  background: radial-gradient(circle at center, #FFFFFF 0%, #F8F9FA 100%);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

#tech-canvas {
  width: 100% !important;
  height: 100% !important;
  cursor: pointer;
}

.tech-node-tooltip {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  max-width: 480px;
  text-align: center;
  box-shadow: var(--shadow-card);
  pointer-events: none;
  z-index: 10;
}

.tech-tooltip-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #CA8A04;
  margin-bottom: 4px;
}

.tech-tooltip-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.tech-pills-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.tech-pill {
  padding: 8px 18px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-fast);
}

.tech-pill:hover,
.tech-pill.active {
  border-color: var(--accent-yellow);
  color: var(--text-main);
  background: var(--accent-yellow-bg);
  transform: translateY(-2px);
}

/* ==========================================================================
   3D ECOSYSTEM (Light Mode Viewport)
   ========================================================================== */
.ecosystem-section {
  padding: 90px 0;
  background: var(--bg-surface);
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 48px;
}

.ecosystem-canvas-wrap {
  width: 100%;
  height: 460px;
  position: relative;
  background: radial-gradient(circle at center, #FFFFFF 0%, #F1F3F5 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

#ecosystem-canvas {
  width: 100% !important;
  height: 100% !important;
  cursor: grab;
}

.ecosystem-nodes-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.eco-node-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  color: var(--text-main);
  box-shadow: var(--shadow-subtle);
}

.eco-node-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-yellow);
  box-shadow: 0 0 8px var(--accent-yellow);
}

/* ==========================================================================
   PHILOSOPHY SECTION (Apple High-Contrast Minimalist Box)
   ========================================================================== */
.philosophy-section {
  background-color: #111827;
  color: #FFFFFF;
  padding: 120px 0;
  position: relative;
  text-align: center;
}

.philosophy-content {
  max-width: 820px;
  margin: 0 auto;
}

.philosophy-tagline {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-yellow);
  margin-bottom: 20px;
  font-weight: 700;
}

.philosophy-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.philosophy-text {
  font-size: 1.3rem;
  color: #9CA3AF;
  line-height: 1.8;
  font-weight: 300;
}

/* ==========================================================================
   WHY MIRADIYA (4 Bento Feature Cards)
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-yellow-border);
  box-shadow: var(--shadow-hover);
}

.why-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--bg-surface);
  color: #CA8A04;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: all var(--transition-fast);
}

.why-card:hover .why-card-icon {
  background: var(--accent-yellow);
  color: #000000;
}

.why-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-main);
}

.why-card-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   CONTACT SECTION (Apple-Style Direct Redirect Bento)
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: start;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #FFFFFF;
  padding: 20px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-yellow-bg);
  color: #CA8A04;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-label {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
  margin-bottom: 2px;
  font-weight: 700;
}

.contact-detail-val {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.5;
}

.direct-contact-channels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.contact-redirect-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
}

.contact-redirect-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-yellow-border);
  box-shadow: var(--shadow-hover);
}

.contact-redirect-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--bg-surface);
  color: #CA8A04;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-redirect-card:hover .contact-redirect-icon {
  background: var(--accent-yellow-bg);
}

.contact-redirect-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.contact-redirect-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.contact-redirect-action {
  font-size: 0.88rem;
  font-weight: 700;
  color: #CA8A04;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   PRODUCT DETAIL MODAL
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.4);
  backdrop-filter: blur(12px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-backdrop.open { opacity: 1; pointer-events: auto; }

.modal-window {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  max-width: 640px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: var(--shadow-float);
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform var(--transition-smooth);
  padding: 44px;
  border: 1px solid var(--border-light);
}

.modal-backdrop.open .modal-window {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--border-light);
  color: var(--text-main);
}

/* ==========================================================================
   FOOTER (Apple Minimalist Light)
   ========================================================================== */
.site-footer {
  background-color: var(--bg-surface);
  color: var(--text-muted);
  padding: 80px 0 32px 0;
  border-top: 1px solid var(--border-light);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-brand-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
}

.footer-brand-tagline {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 18px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-link:hover {
  color: var(--text-main);
  font-weight: 600;
}

.footer-contact-item {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.footer-bottom-bar {
  padding-top: 28px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-subtle);
}

.back-to-top-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-weight: 600;
}

.back-to-top-btn:hover {
  color: var(--text-main);
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS & TOUCH OPTIMIZATION (ALL DEVICES)
   ========================================================================== */

/* 2K / 4K Ultra-Wide Displays (1600px+) */
@media (min-width: 1600px) {
  :root {
    --container-max: 1380px;
  }
  .hero-headline {
    font-size: 4.8rem;
  }
}

/* Laptops & Desktops (1025px - 1440px) */
@media (max-width: 1200px) {
  .hero-grid {
    gap: 32px;
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablets Landscape & Small Laptops (900px - 1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats-row {
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
  }
  .hero-canvas-wrap {
    height: 420px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .ecosystem-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

/* Tablets Portrait (769px - 899px) */
@media (max-width: 899px) {
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile Devices (320px - 768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 68px;
  }
  .container {
    padding: 0 20px;
  }
  .section {
    padding: 60px 0;
  }
  .nav-links, .nav-actions .btn {
    display: none;
  }
  .mobile-nav-toggle {
    display: flex;
  }
  .hero-section {
    padding-top: calc(var(--header-height) + 20px);
    padding-bottom: 50px;
    min-height: auto;
  }
  .hero-headline {
    font-size: 2.35rem;
  }
  .hero-lead {
    font-size: 1.05rem;
  }
  .hero-stats-row {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }
  .hero-canvas-wrap {
    height: 340px;
  }
  .about-highlights {
    grid-template-columns: 1fr;
  }
  .direct-contact-channels {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom-bar {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
  .modal-window {
    padding: 28px 20px;
  }
  .tech-container-box {
    padding: 20px 16px;
  }
  .tech-graph-canvas-wrap {
    height: 380px;
  }
  .ecosystem-canvas-wrap {
    height: 360px;
  }
  .ecosystem-nodes-legend {
    grid-template-columns: 1fr;
  }
}

/* Small Mobile Phones (320px - 380px) */
@media (max-width: 380px) {
  .hero-headline {
    font-size: 2rem;
  }
  .btn {
    width: 100%;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .section-badge {
    font-size: 0.68rem;
    padding: 5px 12px;
  }
}

/* Touch Friendly Tap Targets */
@media (hover: none) and (pointer: coarse) {
  .btn, .nav-link, .contact-redirect-card, .tech-pill {
    min-height: 44px;
  }
}

