/*
 * MobDigits Vanilla CSS Stylesheet v1.0
 */

:root {
  --bg: #050811;
  --card: #0D1122;
  --card-border: rgba(255, 255, 255, 0.06);
  --text: #F3F4F6;
  --text-muted: #9CA3AF;
  
  --primary: #0EA5E9;      /* Cyan */
  --secondary: #8B5CF6;    /* Violet */
  --teal: #10B981;         /* Emerald */
  --dark-slate: #1E293B;
  --dark-gray: #090D16;
}

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

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  padding-bottom: 80px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--card-border);
  margin-bottom: 40px;
}

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

.brand-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #FFFFFF;
}

.brand-title span {
  color: var(--primary);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(14, 165, 233, 0.08));
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.hero h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #38BDF8, #818CF8, #C084FC);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 20px auto;
  font-size: 1.05rem;
}

.analyst-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid rgba(14, 165, 233, 0.3);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.9rem;
}

.analyst-badge strong {
  color: #FFFFFF;
}

.analyst-badge span {
  color: var(--primary);
}

/* Input Form */
.input-section {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}

.input-container {
  display: flex;
  width: 100%;
  max-width: 500px;
  background: var(--card);
  border: 1px solid var(--card-border);
  padding: 8px;
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input-container:focus-within {
  border-color: var(--primary);
  box-shadow: 0 10px 25px rgba(14, 165, 233, 0.15);
}

.input-container input {
  flex-grow: 1;
  background: transparent;
  border: none;
  color: #FFFFFF;
  padding: 10px 20px;
  font-size: 1.1rem;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.05em;
  outline: none;
}

.input-container button {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  color: white;
  padding: 12px 28px;
  border-radius: 30px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s;
}

.input-container button:hover {
  transform: translateY(-1px);
}

/* Main Dashboard Layout */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  gap: 30px;
  margin-bottom: 60px;
}

@media (max-width: 900px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

.dashboard-card {
  background-color: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.card-title {
  font-size: 1.3rem;
  margin-bottom: 20px;
  border-left: 4px solid var(--primary);
  padding-left: 12px;
  color: #FFFFFF;
}

/* Keypad Path Visual */
.keypad-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background-color: var(--dark-gray);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

/* Metric Display Cards */
.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.metric-item {
  background-color: rgba(255,255,255,0.02);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 16px;
}

.metric-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.metric-value {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #FFFFFF;
}

.metric-value.highlight {
  color: var(--primary);
}

/* Modifiers list */
.modifiers-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modifier-card {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background-color: rgba(255,255,255,0.02);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 16px;
  transition: border-color 0.2s;
}

.modifier-card.active-synergy {
  border-color: rgba(14, 165, 233, 0.3);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.04), rgba(255,255,255,0.01));
}

.modifier-card.active-alignment {
  border-color: rgba(139, 92, 246, 0.3);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.04), rgba(255,255,255,0.01));
}

.modifier-icon {
  background-color: rgba(255,255,255,0.05);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.modifier-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.modifier-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* 5-PAGE REPORT PROTOTYPE VISUALS */
.report-prototype-section {
  margin-top: 60px;
}

.report-header-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.print-btn {
  background-color: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  padding: 10px 24px;
  border-radius: 30px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.2s, color 0.2s;
}

.print-btn:hover {
  background-color: var(--primary);
  color: #FFFFFF;
}

.report-viewport {
  background-color: #02040a;
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 40px;
  overflow-x: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

/* A4 Sheet Mockup Style */
.report-sheet {
  background-color: #FFFFFF;
  color: #0F172A;
  width: 680px;
  height: 960px;
  padding: 60px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

/* Page 1 (Cover Page) details */
.cover-layout {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.cover-header {
  border-bottom: 2px solid #E2E8F0;
  padding-bottom: 20px;
}

.cover-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 0;
}

.cover-subtitle {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #64748B;
  margin-bottom: 15px;
}

.cover-mobile-number {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: 0.05em;
  margin: 10px 0 20px 0;
  line-height: 1.1;
}

.cover-border-line {
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  border-radius: 2px;
}

.cover-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid #E2E8F0;
  padding-top: 20px;
}

.analyst-signature-block {
  text-align: right;
}

.analyst-signature-block .name {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #0F172A;
}

.analyst-signature-block .title {
  font-size: 0.75rem;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Report Standard Layouts */
.report-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #E2E8F0;
  padding-bottom: 15px;
}

.report-page-title {
  font-size: 1.25rem;
  color: #0F172A;
}

.report-page-number {
  font-size: 0.8rem;
  color: #64748B;
}

.report-page-footer {
  border-top: 1px solid #E2E8F0;
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #64748B;
}

.report-content {
  flex-grow: 1;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
}

/* Block structures in reports */
.report-sub-title {
  font-size: 1.1rem;
  color: #0F172A;
  margin-bottom: 15px;
  font-weight: 600;
}

.report-paragraph {
  font-size: 0.95rem;
  color: #334155;
  margin-bottom: 20px;
  line-height: 1.6;
}

.report-data-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 25px;
  font-size: 0.9rem;
}

.report-data-table th, .report-data-table td {
  border-bottom: 1px solid #E2E8F0;
  padding: 10px 12px;
  text-align: left;
}

.report-data-table th {
  background-color: #F8FAFC;
  font-weight: 600;
  color: #475569;
}

.report-data-table td {
  color: #0F172A;
}

.report-data-table td.bold {
  font-weight: 700;
  font-family: 'Outfit';
}

/* Report Section Boxes */
.report-section-box {
  background-color: #F8FAFC;
  border-left: 4px solid var(--primary);
  padding: 18px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.report-section-box.synergy-theme {
  border-left-color: var(--primary);
  background-color: rgba(14, 165, 233, 0.03);
}

.report-section-box.alignment-theme {
  border-left-color: var(--secondary);
  background-color: rgba(139, 92, 246, 0.03);
}

.report-section-box .title {
  font-family: 'Outfit';
  font-weight: 700;
  font-size: 1rem;
  color: #0F172A;
  margin-bottom: 6px;
}

.report-section-box .body {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.5;
}

/* Grid drawing inside report A4 */
.report-keypad-preview {
  display: flex;
  justify-content: center;
  margin: 15px 0;
  background-color: #F8FAFC;
  border-radius: 8px;
  padding: 15px;
}

/* PRINT MEDIA OVERLAY */
@media print {
  body {
    background-color: #FFFFFF;
    color: #000000;
    padding: 0;
    margin: 0;
  }
  .no-print {
    display: none !important;
  }
  .report-viewport {
    background-color: transparent;
    padding: 0;
    margin: 0;
    display: block;
  }
  .report-sheet {
    width: 100%;
    height: 100%;
    page-break-after: always;
    box-shadow: none;
    border: none;
    margin: 0;
    padding: 40px;
  }
}
