/* ==========================================================================
   KTrackTech | Minimalist Static Theme
   ========================================================================== */

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

/* --------------------------------------------------------------------------
   1. Design Tokens & Variables
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette */
  --bg-page: #FFFFFF;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  
  --color-blue-dark: #0A366B;
  --color-blue-light: #0080FF;
  --color-orange: #FF6B00;
  
  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* --------------------------------------------------------------------------
   2. Base Reset & Layout
   -------------------------------------------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 2rem 1.5rem;
  -webkit-font-smoothing: antialiased;
}

/* --------------------------------------------------------------------------
   3. Architectural Background Pattern
   -------------------------------------------------------------------------- */
.background-grid {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 36px 36px;
  z-index: 0;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   4. Centered Branding Container
   -------------------------------------------------------------------------- */
.center-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 600px;
  width: 100%;
}

.logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.logo-icon-svg {
  width: 80px;
  height: 80px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-icon-svg:hover {
  transform: scale(1.04);
}

.company-name {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-blue-dark);
  line-height: 1.1;
}

.name-highlight {
  color: var(--color-blue-light);
}

/* --------------------------------------------------------------------------
   5. Rotating Subtitle Display
   -------------------------------------------------------------------------- */
.rotating-container {
  min-height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
}

.rotating-text {
  font-size: clamp(0.95rem, 3vw, 1.15rem);
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 1;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.rotating-text.fade-out {
  opacity: 0;
  transform: translateY(6px);
}

/* --------------------------------------------------------------------------
   6. Minimalist Footer
   -------------------------------------------------------------------------- */
.bottom-note {
  position: absolute;
  bottom: 2rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   7. Mobile & Tablet Responsiveness
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  body {
    padding: 1.5rem 1rem;
  }

  .logo-icon-svg {
    width: 64px;
    height: 64px;
  }

  .logo-wrapper {
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .rotating-text {
    letter-spacing: 0.04em;
  }

  .bottom-note {
    bottom: 1.25rem;
  }
}
