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

:root {
  --aws-navy: #232f3e;
  --aws-orange: #ff9900;
  --aws-blue: #0073bb;
  --aws-light-blue: #eef7fc;
  --aws-dark-blue: #161e2d;
  --text-dark: #16191f;
  --text-body: #333e48;
  --text-muted: #5f6b7c;
  --bg-light: #f4f6f8;
  --bg-card: #ffffff;
  --border-color: #eaeded;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.05), 0 1px 3px rgba(0,0,0,0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.02);
}

/* Global Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-body);
  background-color: var(--bg-light);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--aws-navy);
  font-weight: 700;
}

/* Screen Preview Shell */
#app-shell {
  display: flex;
  min-height: 100vh;
}

#sidebar {
  width: 320px;
  background-color: var(--aws-navy);
  color: white;
  padding: 30px 20px;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 4px 0 10px rgba(0,0,0,0.1);
  z-index: 100;
}

#sidebar-header h2 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 5px;
}

#sidebar-header p {
  color: #aab7c4;
  font-size: 0.85rem;
  margin-bottom: 25px;
}

.sidebar-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 18px;
  background-color: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  color: white;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 15px;
}

.sidebar-btn:hover {
  background-color: var(--aws-orange);
  border-color: var(--aws-orange);
  transform: translateY(-2px);
}

.sidebar-btn.primary {
  background-color: var(--aws-orange);
  border-color: var(--aws-orange);
}

.sidebar-btn.primary:hover {
  background-color: #e08800;
}

#page-nav {
  list-style: none;
  overflow-y: auto;
  max-height: calc(100vh - 350px);
  margin-top: 10px;
}

#page-nav li {
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  color: #aab7c4;
  transition: all 0.15s ease;
  display: flex;
  justify-content: space-between;
}

#page-nav li:hover {
  background-color: rgba(255,255,255,0.05);
  color: white;
}

#page-nav li.active {
  background-color: rgba(255,255,255,0.1);
  color: var(--aws-orange);
  font-weight: 600;
}

#sidebar-footer {
  font-size: 0.75rem;
  color: #8c9fae;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 15px;
}

#document-container {
  margin-left: 320px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
}

/* Page Sizing & Structure for Screen Preview */
.page {
  background-color: var(--bg-card);
  width: 8.5in;
  height: 11in;
  margin-bottom: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  box-sizing: border-box;
  padding: 0.75in 0.75in 0.85in 0.75in;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 4px;
}

/* Header & Footer Layouts */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px solid var(--aws-orange);
  padding-bottom: 10px;
  margin-bottom: 25px;
}

.page-header-logo {
  height: 24px;
}

.page-header-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  font-weight: 600;
}

.page-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
  margin-top: 25px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.page-number {
  font-weight: 600;
  color: var(--aws-navy);
}

/* Decorative Accents */
.page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--aws-navy) 0%, var(--aws-navy) 70%, var(--aws-orange) 70%, var(--aws-orange) 100%);
  z-index: 10;
}

/* Styling Specific Pages */

/* Page 1: Cover Page */
.page-cover {
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1.2in 0.8in 1in 0.8in;
  background-color: var(--aws-dark-blue);
  color: white;
}

.page-cover::before {
  height: 8px;
}

.cover-badge {
  background-color: var(--aws-orange);
  color: var(--aws-dark-blue);
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 25px;
}

.cover-title {
  font-size: 2.7rem;
  line-height: 1.15;
  color: white;
  margin-bottom: 20px;
  font-weight: 800;
}

.cover-divider {
  width: 80px;
  height: 4px;
  background-color: var(--aws-orange);
  margin: 25px auto;
  border-radius: 2px;
}

.cover-subtitle {
  font-size: 1.15rem;
  color: #aab7c4;
  max-width: 550px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
  font-weight: 400;
}

.cover-meta {
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  width: 100%;
}

.cover-author {
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 4px;
}

.cover-author-title {
  font-size: 0.8rem;
  color: #aab7c4;
  margin-bottom: 20px;
}

.cover-company-logo {
  height: 45px;
  margin-top: 10px;
}

/* Page 2: Welcome Page */
.author-profile-row {
  display: flex;
  gap: 25px;
  margin-bottom: 20px;
}

.author-image-placeholder {
  width: 110px;
  height: 110px;
  background-color: #eaeded;
  border-radius: 50%;
  flex-shrink: 0;
  border: 3px solid var(--aws-orange);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.author-credentials-list {
  list-style: none;
  font-size: 0.8rem;
}

.author-credentials-list li {
  margin-bottom: 4px;
  position: relative;
  padding-left: 14px;
  color: var(--text-muted);
}

.author-credentials-list li::before {
  content: '■';
  position: absolute;
  left: 0;
  color: var(--aws-orange);
  font-size: 0.65rem;
  top: 1px;
}

/* Typography Utilities & Layout Elements */
.section-title {
  font-size: 1.6rem;
  color: var(--aws-navy);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-intro {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.page-section {
  margin-bottom: 20px;
}

.page-section:last-child {
  margin-bottom: 0;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--aws-orange);
  margin-bottom: 8px;
  font-weight: 600;
}

p {
  font-size: 0.88rem;
  color: var(--text-body);
  margin-bottom: 10px;
  line-height: 1.5;
}

p:last-of-type {
  margin-bottom: 0;
}

/* Columns Grid */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

/* Custom Cards styling */
.card {
  background-color: var(--aws-light-blue);
  border-left: 3.5px solid var(--aws-blue);
  border-radius: 0 6px 6px 0;
  padding: 12px 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}

.card:last-child {
  margin-bottom: 0;
}

.card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--aws-navy);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-desc {
  font-size: 0.8rem;
  color: var(--text-body);
}

/* Highlights & Callouts */
.callout-box {
  background-color: #fff9e6;
  border: 1px dashed var(--aws-orange);
  border-left: 4px solid var(--aws-orange);
  border-radius: 4px;
  padding: 12px 18px;
  margin: 15px 0;
}

.callout-box p {
  color: #7d4f00;
  font-size: 0.82rem;
  margin: 0;
}

.alert-box {
  background-color: #fff0f0;
  border-left: 4px solid #d13212;
  padding: 12px 18px;
  border-radius: 4px;
  margin: 12px 0;
}

.alert-box-title {
  color: #d13212;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 4px;
}

.alert-box p {
  color: #781c0b;
  font-size: 0.8rem;
  margin: 0;
}

/* Vector SVG Graphics Container */
.svg-diagram-container {
  width: 100%;
  margin: 15px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 10px;
}

.svg-diagram {
  max-width: 100%;
  height: auto;
}

/* Lists styling */
.bullet-list {
  list-style: none;
  margin-bottom: 12px;
}

.bullet-list li {
  font-size: 0.82rem;
  margin-bottom: 6px;
  position: relative;
  padding-left: 15px;
  color: var(--text-body);
}

.bullet-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--aws-orange);
  font-weight: bold;
}

.checked-list {
  list-style: none;
  margin-bottom: 12px;
}

.checked-list li {
  font-size: 0.82rem;
  margin-bottom: 6px;
  position: relative;
  padding-left: 18px;
  color: var(--text-body);
}

.checked-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--aws-blue);
  font-weight: bold;
}

/* Tables */
.roadmap-table {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0;
  font-size: 0.8rem;
}

.roadmap-table th {
  background-color: var(--aws-navy);
  color: white;
  text-align: left;
  padding: 8px 12px;
  font-weight: 600;
}

.roadmap-table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--border-color);
}

.roadmap-table tr:nth-child(even) {
  background-color: var(--bg-light);
}

/* Interactive Action Checklist (Page 13) */
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 0.8rem;
}

.checklist-checkbox {
  width: 14px;
  height: 14px;
  border: 1px solid var(--aws-navy);
  border-radius: 3px;
  flex-shrink: 0;
  margin-top: 3px;
  position: relative;
}

.checklist-checkbox.checked::after {
  content: '✓';
  position: absolute;
  top: -3px;
  left: 1px;
  color: var(--aws-blue);
  font-size: 0.75rem;
  font-weight: bold;
}

/* Page 15: Pitch Page */
.page-pitch {
  background-color: var(--aws-dark-blue);
  color: white;
  padding: 0.6in 0.6in 0.8in 0.6in;
}

.page-pitch .section-title, 
.page-pitch h1, 
.page-pitch h2, 
.page-pitch h3, 
.page-pitch p, 
.page-pitch li {
  color: white;
}

.pitch-badge {
  background-color: var(--aws-orange);
  color: var(--aws-dark-blue);
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 12px;
}

.pitch-title {
  font-size: 1.8rem;
  margin-bottom: 8px;
  color: var(--aws-orange) !important;
}

.pitch-intro {
  color: #aab7c4 !important;
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.pitch-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 15px 0;
}

.pitch-feature-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 14px;
  border-radius: 6px;
}

.pitch-feature-title {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--aws-orange) !important;
  margin-bottom: 3px;
}

.pitch-feature-desc {
  font-size: 0.75rem;
  color: #aab7c4 !important;
}

.pitch-cta-btn {
  display: block;
  text-align: center;
  background-color: var(--aws-orange);
  color: var(--aws-dark-blue) !important;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  margin: 25px 0 10px 0;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
}

.pitch-cta-btn:hover {
  background-color: #e08800;
  transform: translateY(-2px);
}

.pitch-footer-note {
  text-align: center;
  font-size: 0.75rem;
  color: #8c9fae !important;
}

/* Print Overrides */
@media print {
  * {
    transition: none !important;
    transform: none !important;
    box-shadow: none !important;
  }

  body {
    background-color: white;
    color: var(--text-body);
    font-size: 12pt;
    margin: 0;
  }
  
  #sidebar {
    display: none !important;
  }
  
  #document-container {
    margin-left: 0 !important;
    padding: 0 !important;
  }
  
  .page {
    width: 8.5in !important;
    height: 11in !important;
    margin: 0 !important;
    box-shadow: none !important;
    page-break-after: always !important;
    page-break-inside: avoid !important;
    border-radius: 0 !important;
    background-color: white !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  
  .page-pitch {
    background-color: var(--aws-dark-blue) !important;
    color: white !important;
  }
  
  .page-cover {
    background-color: var(--aws-dark-blue) !important;
    color: white !important;
  }
  
  .pitch-feature-card {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
  }
  
  .checklist-checkbox.checked::after {
    color: var(--aws-blue) !important;
  }
}
