/* ==========================================================================
   PLIX Landing Page - Studio Fullscreen Menu & Centered Interactive Hero
   Color Palette:
   - Primary: #1B4EF5 (Electric Blue)
   - Secondary: #3874FF (Royal Blue)
   - Sky Accent: #5996FF (Sky Blue)
   - Lavender Highlight: #F4CEFF (Soft Pink/Lavender)
   - Backgrounds: #F8FAFC (Base Light), #FFFFFF (Studio Card), #F1F5F9 (Muted Surface)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800;900&family=JetBrains+Mono:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0&display=swap');

:root {
  --c-primary: #1B4EF5;
  --c-royal: #3874FF;
  --c-sky: #5996FF;
  --c-lavender: #F4CEFF;

  --bg-page: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F1F5F9;
  --bg-dark-terminal: #0B0F19;

  --t-main: #0F172A;
  --t-muted: #475569;
  --t-subtle: #94A3B8;

  --border-light: rgba(56, 116, 255, 0.15);
  --border-accent: rgba(244, 206, 255, 0.5);

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(27, 78, 245, 0.08);
  --shadow-lg: 0 16px 40px rgba(27, 78, 245, 0.12);
  --shadow-glow: 0 12px 35px rgba(27, 78, 245, 0.25), 0 0 20px rgba(244, 206, 255, 0.4);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--t-main);
  overflow-x: hidden;
}

body {
  background-color: var(--bg-page);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(27, 78, 245, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 85% 30%, rgba(244, 206, 255, 0.25) 0%, transparent 40%);
  background-attachment: fixed;
  line-height: 1.6;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  display: inline-block;
}

/* ==========================================================================
   HEADER DESIGN: Minimalist Studio Bar + Floating Command Trigger
   ========================================================================== */
.studio-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.studio-header.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-emblem {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--t-main);
}

.emblem-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-royal) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(27, 78, 245, 0.3);
  position: relative;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--c-primary);
  box-shadow: var(--shadow-sm);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #22C55E;
  box-shadow: 0 0 10px #22C55E;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-header-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: rgba(244, 206, 255, 0.35);
  border: 1px solid rgba(27, 78, 245, 0.15);
  color: var(--c-primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  transition: all 0.2s ease;
}

.btn-header-wa:hover {
  background: var(--c-lavender);
  transform: translateY(-1px);
}

/* Command Menu Toggle Trigger (⌘K Button) */
.menu-command-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: var(--c-primary);
  color: #FFFFFF;
  border: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(27, 78, 245, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-command-btn:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.kbd-badge {
  background: rgba(255, 255, 255, 0.25);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

/* ==========================================================================
   FULLSCREEN OVERLAY MENU (#fullscreen-menu)
   ========================================================================== */
.fs-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(11, 15, 25, 0.96);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 2000;
  display: flex;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.fs-menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.fs-menu-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.fs-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fs-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fs-close-btn:hover {
  background: var(--c-primary);
  transform: rotate(90deg);
}

.fs-menu-body {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  margin: 40px 0;
}

.fs-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fs-nav-item a {
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.fs-nav-num {
  font-size: 1.2rem;
  font-family: var(--font-mono);
  color: var(--c-sky);
}

.fs-nav-item a:hover {
  color: #FFFFFF;
  transform: translateX(12px);
}

.fs-nav-item a:hover .fs-nav-num {
  color: var(--c-lavender);
}

.fs-info-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 36px;
  color: #FFFFFF;
}

/* ==========================================================================
   CENTERED MASTER HERO WITH INTEGRATED HUB SWITCHER
   ========================================================================== */
.hero-centered {
  padding: 160px 0 80px;
  text-align: center;
}

.hero-centered-content {
  max-width: 860px;
  margin: 0 auto 48px;
}

.hero-super-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: rgba(244, 206, 255, 0.4);
  border: 1px solid var(--border-light);
  color: var(--c-primary);
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.hero-master-title {
  font-family: var(--font-heading);
  font-size: 4.2rem;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.gradient-text-hero {
  background: linear-gradient(135deg, #1B4EF5 0%, #3874FF 50%, #9D4EDD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-master-sub {
  font-size: 1.2rem;
  color: var(--t-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* Integrated Hero Hub Segmented Switcher */
.hero-hub-wrapper {
  max-width: 1060px;
  margin: 0 auto;
}

.hub-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #FFFFFF;
  padding: 8px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  margin-bottom: 32px;
}

.hub-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--t-muted);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.hub-btn.active, .hub-btn:hover {
  background: var(--c-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(27, 78, 245, 0.3);
}

/* Dynamic Hub Visual Container */
.hub-display-panel {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  padding: 36px;
  min-height: 420px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.hub-tab-content {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.hub-tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Cloud Tab Layout */
.cloud-visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.cloud-metrics-box {
  background: var(--bg-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border-light);
}

/* Terminal Dark Box for AI Tab */
.hub-terminal-box {
  background: var(--bg-dark-terminal);
  border-radius: var(--radius-lg);
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1.7;
  color: #F8FAFC;
  min-height: 320px;
}

/* Stats Bar */
.stats-bar {
  padding: 40px 0;
  background: #FFFFFF;
  border-y: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  margin-top: 60px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-val {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--c-primary);
}

.stat-lbl {
  font-size: 0.9rem;
  color: var(--t-muted);
  font-weight: 600;
}

/* Section Common */
.section {
  padding: 100px 0;
}

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

.section-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--t-muted);
  font-size: 1.05rem;
}

/* Bento Services Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bento-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  padding: 36px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(27, 78, 245, 0.3);
  transform: translateY(-4px);
}

.bento-card.wide {
  grid-column: span 2;
}

.card-icon-badge {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(27, 78, 245, 0.1) 0%, rgba(244, 206, 255, 0.3) 100%);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

/* Calculator & Contact */
.calc-card, .contact-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  padding: 48px;
}

.calc-grid, .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.slider-group, .form-field {
  margin-bottom: 20px;
}

.slider-label, .form-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 0.95rem;
}

input[type=range] {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--bg-subtle);
  accent-color: var(--c-primary);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  color: var(--t-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  background: #FFFFFF;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 4px rgba(27, 78, 245, 0.12);
}

.btn-submit {
  width: 100%;
  padding: 16px;
  border-radius: var(--radius-full);
  background: var(--c-primary);
  color: #FFFFFF;
  border: none;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(27, 78, 245, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Footer */
.footer {
  padding: 60px 0 30px;
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  color: var(--t-muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

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

.footer-links a {
  color: var(--t-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--c-primary);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-master-title { font-size: 3rem; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card.wide { grid-column: span 1; }
  .calc-grid, .contact-grid, .cloud-visual-grid, .fs-menu-body { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero-master-title { font-size: 2.3rem; }
  .hub-switcher { flex-direction: column; border-radius: var(--radius-lg); }
  .hub-btn { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .status-pill { display: none; }
}
