/* AppMyWeb Documentation - Modern Premium Design */

/* ===== DESIGN TOKENS ===== */
:root {
  /* Primary Colors - AppMyWeb Brand */
  --primary: #184BFC;
  --primary-light: #3B6FFF;
  --primary-dark: #0A0226;
  --primary-darker: #0A0226;
  --primary-gradient: linear-gradient(135deg, #0A0226 0%, #184BFC 100%);
  
  /* Text Colors */
  --text: #4B5563;
  --text-light: #9CA3AF;
  --text-dark: #111827;
  --text-muted: #6B7280;
  
  /* Background Colors */
  --background: #FFFFFF;
  --page-bg: #F8FAFC;
  --sidebar-bg: #FFFFFF;
  --card-bg: #FFFFFF;
  --code-bg: #F1F5F9;
  --icon-bg: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  --icon-bg-hover: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%);
  
  /* Border */
  --border: #E2E8F0;
  --border-light: #F1F5F9;
  
  /* Status Colors */
  --success: #10B981;
  --success-bg: #ECFDF5;
  --success-border: #A7F3D0;
  --warning: #F59E0B;
  --warning-bg: #FFFBEB;
  --warning-border: #FDE68A;
  --danger: #EF4444;
  --danger-bg: #FEF2F2;
  --danger-border: #FECACA;
  --info: #3B82F6;
  --info-bg: #EFF6FF;
  --info-border: #BFDBFE;
  
  /* Shadows - Premium depth */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.06), 0 2px 4px -1px rgba(0,0,0,0.03);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --shadow-primary: 0 8px 30px rgba(24, 75, 252, 0.18);
  
  /* Border Radius */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== ICON STYLING ===== */
.nav-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-section-title .icon {
  width: 18px;
  height: 18px;
  stroke: var(--primary);
  flex-shrink: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-badge .icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.quick-action-btn .icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.guide-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--primary);
  flex-shrink: 0;
}

.note-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.note-icon svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.note-danger .note-icon svg {
  stroke: #EF4444;
}

.note-warning .note-icon svg {
  stroke: #F59E0B;
}

.note-info .note-icon svg {
  stroke: #3B82F6;
}

.note-success .note-icon svg {
  stroke: #10B981;
}

.quick-link-item .icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.95); }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== BASE STYLES ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Be Vietnam Pro', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
  background: #F5F5FF;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== SITE HEADER (Main Navigation) ===== */
.site-header {
  background: #0A0226;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.header-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.header-logo img {
  height: 36px;
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
  padding: 8px 0;
  position: relative;
}

.header-nav a:hover {
  color: #FFFFFF;
  text-decoration: none;
}

.header-nav a.active {
  color: #FFFFFF;
}

.header-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #184BFC;
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-login {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  transition: color 0.2s ease;
}

.btn-login:hover {
  color: #FFFFFF;
  text-decoration: none;
}

.btn-start {
  background: #184BFC;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(24, 75, 252, 0.3);
}

.btn-start:hover {
  background: #0A0226;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(24, 75, 252, 0.4);
  text-decoration: none;
  color: #FFFFFF;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
}

@media (max-width: 900px) {
  .header-nav,
  .header-actions {
    display: none;
  }
  
  .mobile-nav-toggle {
    display: block;
  }
}

/* ===== MOBILE NAVIGATION MENU ===== */
.mobile-overlay { 
  display: none; 
  position: fixed; 
  inset: 0; 
  background: rgba(0,0,0,0.5); 
  z-index: 9998;
}
.mobile-overlay.active { 
  display: block; 
}

.mobile-toggle { 
  display: none; 
  flex-direction: column; 
  justify-content: center;
  align-items: center;
  gap: 5px; 
  background: transparent; 
  border: none;
  padding: 8px; 
  cursor: pointer;
  z-index: 10001;
}
.mobile-toggle span { 
  display: block;
  width: 24px; 
  height: 2px; 
  background: #FFFFFF; 
  border-radius: 2px;
}

.mobile-nav { 
  display: none;
  position: fixed; 
  top: 0;
  right: 0;
  width: 280px;
  height: 100vh;
  background: #0A0226; 
  z-index: 9999; 
  flex-direction: column; 
  transition: transform 0.3s ease;
  transform: translateX(100%);
  overflow-y: auto;
  box-shadow: -5px 0 30px rgba(0,0,0,0.3);
  box-sizing: border-box;
}
.mobile-nav.open { 
  display: flex !important;
  transform: translateX(0);
}

.mobile-nav-header { 
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  flex-shrink: 0;
  background: rgba(0,0,0,0.2);
  width: 100%;
  box-sizing: border-box;
}
.mobile-nav-header .nav-logo {
  display: flex;
  align-items: center;
}
.mobile-nav-header .nav-logo img {
  height: 24px;
  filter: brightness(0) invert(1);
}
.mobile-nav-header .nav-close {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  line-height: 1;
  border-radius: 6px;
  transition: background 0.2s;
  flex-shrink: 0;
}
.mobile-nav-header .nav-close:hover {
  background: rgba(255,255,255,0.2);
}

.mobile-nav-links { 
  display: flex; 
  flex-direction: column; 
  padding: 8px 0;
  flex: 1;
  width: 100%;
  box-sizing: border-box;
}
.mobile-nav-links .nav-item { 
  display: block;
  padding: 14px 16px; 
  color: rgba(255,255,255,0.9); 
  font-size: 15px; 
  font-weight: 500; 
  text-decoration: none; 
  transition: background 0.2s; 
  border-bottom: 1px solid rgba(255,255,255,0.08);
  width: 100%;
  box-sizing: border-box;
}
.mobile-nav-links .nav-item:hover { 
  background: rgba(255,255,255,0.08); 
  color: #fff; 
}

/* Mobile Nav Buttons */
.mobile-nav-buttons { 
  display: flex; 
  flex-direction: column;
  gap: 10px; 
  padding: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: #0A0226;
  margin-top: auto;
  flex-shrink: 0;
}
.btn-ghost-mobile { 
  display: block; 
  text-align: center; 
  padding: 14px 20px; 
  color: #fff; 
  font-size: 15px; 
  font-weight: 600; 
  border: 1px solid rgba(255,255,255,0.25); 
  border-radius: 10px; 
  text-decoration: none; 
  transition: all 0.2s; 
  background: transparent;
}
.btn-ghost-mobile:hover { 
  background: rgba(255,255,255,0.08); 
  border-color: rgba(255,255,255,0.4); 
}
.btn-primary-mobile { 
  display: block; 
  text-align: center; 
  padding: 14px 20px; 
  background: linear-gradient(135deg, #184BFC 0%, #3B7DFC 100%); 
  color: #fff; 
  font-size: 15px; 
  font-weight: 600; 
  border-radius: 10px; 
  text-decoration: none; 
  transition: all 0.2s; 
  box-shadow: 0 4px 15px rgba(24, 75, 252, 0.35);
  border: none;
}
.btn-primary-mobile:hover { 
  box-shadow: 0 6px 20px rgba(24, 75, 252, 0.5); 
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: flex !important;
  }
  /* Header - mobile layout with hamburger on right side */
  .header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

/* ===== LAYOUT ===== */
.docs-container {
  display: flex;
  flex: 1;
  background: transparent;
  margin: 0 auto;
  width: 100%;
  gap: 32px;
  padding: 0 40px;
  max-width: 100%;
}

/* ===== LEFT SIDEBAR ===== */
.sidebar {
  width: 280px;
  min-width: 280px;
  background: #0A0226;
  border-right: none;
  position: sticky;
  top: 94px;
  height: calc(100vh - 118px);
  overflow-y: auto;
  padding: 0;
  animation: fadeIn 0.3s ease;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.sidebar-logo {
  padding: 24px;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 8px;
}

.sidebar-logo a {
  display: block;
  text-decoration: none;
}

.sidebar-logo img {
  max-width: 180px;
  height: auto;
  display: block;
}

.sidebar-logo h2 {
  display: none;
}

.nav-section {
  margin-bottom: 6px;
}

.nav-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.5);
  padding: 16px 24px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-section-title .icon {
  font-size: 13px;
}

/* Current section indicator */
.nav-section.current .nav-section-title {
  color: #184BFC;
}

.nav-section.current .nav-section-title::after {
  content: '';
  width: 6px;
  height: 6px;
  background: #184BFC;
  border-radius: 50%;
  margin-left: auto;
  animation: pulse 2s infinite;
}

.nav-items {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-item {
  display: flex;
  align-items: center;
  padding: 10px 24px 10px 36px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  border-left: 3px solid transparent;
  position: relative;
}

.nav-item:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
}

.nav-item.active {
  color: #184BFC;
  font-weight: 600;
  background: rgba(24, 75, 252, 0.1);
  border-left-color: #184BFC;
}

.nav-item.active::before {
  content: '';
  position: absolute;
  left: -3px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #184BFC, #0A0226);
}

.badge {
  font-size: 10px;
  padding: 3px 10px;
  background: var(--primary-gradient);
  color: white;
  border-radius: var(--radius-full);
  margin-left: auto;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* ===== CONTENT AREA ===== */
.content-wrapper {
  flex: 1;
  display: flex;
  min-width: 0;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
}

.main-content {
  flex: 1;
  padding: 48px 64px;
  max-width: none;
  animation: fadeInUp 0.4s ease-out;
  color: #1E293B;
}

/* ===== RIGHT SIDEBAR ===== */
.right-sidebar {
  width: 260px;
  min-width: 260px;
  padding: 48px 28px;
  border-left: 1px solid #E2E8F0;
  background: #F8FAFC;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.right-sidebar-section {
  margin-bottom: 32px;
}

.right-sidebar-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #64748B;
  margin-bottom: 14px;
  padding-left: 12px;
}

.right-sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.right-sidebar-links li {
  margin-bottom: 4px;
}

.right-sidebar-links a {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  color: #64748B;
  text-decoration: none;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.right-sidebar-links a:hover {
  color: #184BFC;
  background: rgba(24, 75, 252, 0.06);
  text-decoration: none;
}

.right-sidebar-links a.active {
  color: #184BFC;
  font-weight: 600;
  background: rgba(24, 75, 252, 0.08);
}

.right-sidebar-links a.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 16px;
  background: linear-gradient(180deg, #0A0226, #184BFC);
  border-radius: 2px;
}

.quick-links-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius);
  padding: 18px;
}

.quick-links-card h4 {
  font-size: 12px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #1E293B;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.quick-link-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 13px;
  color: #64748B;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  border-bottom: 1px solid #F1F5F9;
}

.quick-link-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.quick-link-item:hover {
  color: var(--primary);
  text-decoration: none;
}

.quick-link-item .icon {
  font-size: 16px;
}

/* ===== TYPOGRAPHY ===== */
.breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

.breadcrumb a {
  color: #64748B;
  text-decoration: none;
  transition: var(--transition-fast);
}

.breadcrumb a:hover {
  color: #184BFC;
  text-decoration: none;
}

.breadcrumb .separator {
  margin: 0 6px;
  color: #CBD5E1;
}

/* Page Header Container */
.page-header {
  margin-bottom: 40px;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  color: #1E293B;
  margin: 0 0 12px;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.page-description {
  font-size: 16px;
  color: #64748B;
  margin: 0;
  line-height: 1.6;
  font-weight: 400;
}

/* ===== FLOW BANNER ===== */
.flow-banner {
  margin: 20px 0 32px;
  padding: 16px 20px;
  border-radius: var(--radius);
  border: 1px solid #E2E8F0;
  background: #F8FAFC;
}

.flow-banner .flow-title {
  font-size: 14px;
  font-weight: 600;
  color: #1E293B;
  margin-bottom: 10px;
}

.flow-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.flow-step {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  background: white;
  border: 1px solid #E2E8F0;
  text-decoration: none;
}

.flow-step:hover {
  color: #184BFC;
  border-color: #184BFC;
}

.flow-step.active {
  color: white;
  background: linear-gradient(135deg, #0A0226, #184BFC);
  border-color: transparent;
}

/* ===== SECTION INTRO TEXT ===== */
.section-intro {
  font-size: 15px;
  line-height: 1.75;
  color: #64748B;
  margin: 8px 0 28px;
  max-width: 850px;
}

.section-intro a {
  color: #184BFC;
  text-decoration: underline;
}

.section-intro a:hover {
  color: #0A0226;
}

h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1E293B;
  margin: 48px 0 18px;
  letter-spacing: -0.4px;
  display: flex;
  align-items: center;
  gap: 10px;
}

h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 24px;
  background: linear-gradient(180deg, #0A0226, #184BFC);
  border-radius: 2px;
}

h2:first-of-type {
  margin-top: 0;
}

h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1E293B;
  margin: 32px 0 14px;
}

h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1E293B;
  margin: 24px 0 10px;
}

p {
  margin-bottom: 16px;
  line-height: 1.75;
  color: #475569;
}

a {
  color: #184BFC;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-fast);
}

a:hover {
  color: #0A0226;
  text-decoration: underline;
}

/* Lists */
ul, ol {
  margin: 16px 0;
  padding-left: 24px;
}

li {
  margin-bottom: 10px;
  line-height: 1.65;
  color: #475569;
}

li strong {
  color: #1E293B;
  font-weight: 600;
}

/* ===== IMAGES ===== */
.doc-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  margin: 28px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: block;
  transition: var(--transition);
}

.doc-image:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: scale(1.01);
}

/* Image with caption */
.image-container {
  margin: 28px 0;
}

.image-container .doc-image {
  margin: 0;
}

.image-caption {
  text-align: center;
  font-size: 13px;
  color: #94A3B8;
  margin-top: 12px;
  font-style: italic;
}

/* ===== CARDS - Premium Modern Style ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 28px 0;
}

.card {
  padding: 28px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, #0A0226, #184BFC);
  opacity: 0;
  transition: var(--transition);
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card-link:hover {
  border-color: #184BFC;
  box-shadow: 0 8px 24px rgba(24, 75, 252, 0.15);
  transform: translateY(-4px);
  text-decoration: none;
}

.card-link:hover::before {
  opacity: 1;
}

.card-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
  transition: var(--transition);
}

.card-link:hover .card-icon {
  background: linear-gradient(135deg, #DBEAFE, #BFDBFE);
  transform: scale(1.05);
}

.card h3 {
  font-size: 17px;
  margin: 0 0 10px;
  color: #1E293B;
  font-weight: 600;
}

.card h3::before {
  display: none;
}

.card p {
  font-size: 14px;
  color: #64748B;
  margin: 0;
  line-height: 1.65;
  font-weight: 400;
}

/* Card Arrow */
.card-link::after {
  content: '→';
  position: absolute;
  bottom: 24px;
  right: 24px;
  font-size: 18px;
  color: var(--primary);
  opacity: 0;
  transform: translateX(-8px);
  transition: var(--transition);
}

.card-link:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* ===== STEPS - With Connecting Line ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 28px 0;
  position: relative;
}

.step {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
  position: relative;
}

.step:hover {
  box-shadow: 0 8px 24px rgba(24, 75, 252, 0.12);
  border-color: #184BFC;
}

.step-number {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: linear-gradient(135deg, #0A0226, #184BFC);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(24, 75, 252, 0.25);
  transition: var(--transition);
}

.step:hover .step-number {
  transform: scale(1.1);
}

.step-content {
  flex: 1;
  padding-top: 2px;
}

.step-content h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: #1E293B;
}

.step-content h4::before {
  display: none;
}

.step-content p {
  margin: 0;
  font-size: 14px;
  color: #64748B;
  line-height: 1.6;
}

.step-content ul {
  margin: 10px 0 0;
  padding-left: 18px;
  font-size: 13px;
}

.step-content li {
  margin-bottom: 4px;
}

/* Vertical Steps Layout */
.steps-vertical {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 48px;
}

.steps-vertical::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--border));
  z-index: 0;
}

.steps-vertical .step {
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 20px 0;
}

.steps-vertical .step-number {
  position: absolute;
  left: -48px;
  z-index: 1;
}

/* ===== ALERTS - Modern Style ===== */
.alert {
  padding: 20px 24px;
  border-radius: var(--radius);
  margin: 24px 0;
  border-left: 4px solid;
  display: flex;
  gap: 16px;
  align-items: center;
  transition: var(--transition);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.alert:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.alert-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.alert-info {
  background: var(--info-bg);
  border-left-color: var(--info);
  border: 1px solid var(--info-border);
  border-left-width: 4px;
}

.alert-info .alert-icon {
  background: rgba(59, 130, 246, 0.15);
}

.alert-warning {
  background: var(--warning-bg);
  border-left-color: var(--warning);
  border: 1px solid var(--warning-border);
  border-left-width: 4px;
}

.alert-warning .alert-icon {
  background: rgba(245, 158, 11, 0.15);
}

.alert-danger {
  background: var(--danger-bg);
  border-left-color: var(--danger);
  border: 1px solid var(--danger-border);
  border-left-width: 4px;
}

.alert-danger .alert-icon {
  background: rgba(239, 68, 68, 0.15);
}

.alert-success {
  background: var(--success-bg);
  border-left-color: var(--success);
  border: 1px solid var(--success-border);
  border-left-width: 4px;
}

.alert-success .alert-icon {
  background: rgba(16, 185, 129, 0.15);
}

.alert strong {
  color: #1E293B;
  font-size: 15px;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.alert p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
}

/* ===== TIP BOX - Blue Theme ===== */
.tip-box {
  background: linear-gradient(135deg, rgba(24, 75, 252, 0.06), rgba(24, 75, 252, 0.02));
  border: 1px solid rgba(24, 75, 252, 0.2);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  margin: 24px 0;
  position: relative;
  overflow: hidden;
}

.tip-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #0A0226, #184BFC);
}

.tip-box strong {
  color: #184BFC;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 600;
}

.tip-box p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  padding-left: 2px;
}

/* ===== COMPACT TIP BOX (for use within text-side) ===== */
.tip-box-compact {
  background: linear-gradient(135deg, rgba(24, 75, 252, 0.05), rgba(24, 75, 252, 0.02));
  border: 1px solid rgba(24, 75, 252, 0.15);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin: 20px 0 0;
  font-size: 12px;
}

.tip-box-compact strong {
  color: var(--primary);
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
}

.tip-box-compact p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text);
}

/* ===== COMPACT ALERT (for use inside text-side) ===== */
.alert-compact {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.alert-compact.alert-warning {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-left: 4px solid var(--warning);
  color: #92400e;
}

.alert-compact.alert-danger {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-left: 4px solid var(--danger);
  color: #991b1b;
}

.alert-compact.alert-info {
  background: rgba(24, 75, 252, 0.1);
  border: 1px solid rgba(24, 75, 252, 0.3);
  border-left: 4px solid var(--info);
  color: #0A0226;
}

.alert-compact .alert-icon {
  font-size: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.alert-compact span:last-child,
.alert-compact div:last-child {
  flex: 1;
}

.alert-compact strong {
  font-weight: 600;
}

/* ===== TABLES - Modern Style ===== */
.table-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #E2E8F0;
  margin: 24px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-size: 14px;
  background: #FFFFFF;
}

th, td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid #E2E8F0;
  color: #475569;
}

th {
  background: #F8FAFC;
  font-weight: 600;
  color: #1E293B;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: rgba(24, 75, 252, 0.02);
}

td a {
  font-weight: 500;
}

/* Check/X indicators */
.check-yes {
  color: #10B981;
  font-weight: 600;
}

.check-no {
  color: #EF4444;
  font-weight: 600;
}

/* ===== CODE ===== */
code {
  font-family: 'SF Mono', 'Menlo', 'Monaco', monospace;
  font-size: 13px;
  background: #F1F5F9;
  padding: 3px 8px;
  border-radius: 6px;
  color: #0A0226;
  font-weight: 500;
}

pre {
  background: #1E293B;
  color: #E5E7EB;
  padding: 20px;
  border-radius: var(--radius);
  overflow-x: auto;
  margin: 20px 0;
  font-size: 13px;
  line-height: 1.6;
}

pre code {
  background: none;
  padding: 0;
  color: inherit;
  font-weight: 400;
}

/* ===== NAVIGATION FOOTER ===== */
.nav-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid #E2E8F0;
  gap: 24px;
}

.nav-footer a {
  text-decoration: none;
  color: #475569;
  padding: 20px 24px;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid #E2E8F0;
  flex: 1;
  max-width: 48%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.nav-footer a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, #0A0226, #184BFC);
  opacity: 0;
  transition: var(--transition);
}

.nav-footer a:hover {
  border-color: #184BFC;
  background: #FFFFFF;
  box-shadow: 0 8px 24px rgba(24, 75, 252, 0.12);
  transform: translateY(-2px);
  text-decoration: none;
}

.nav-footer a:hover::before {
  opacity: 1;
}

.nav-footer .label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #94A3B8;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 600;
}

.nav-footer .title {
  font-size: 16px;
  font-weight: 600;
  color: #184BFC;
}

.nav-footer a:first-child .label::before {
  content: '←';
}

.nav-footer a:last-child .label::after {
  content: '→';
}

/* Button styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
  text-decoration: none;
  color: white;
}

.btn-secondary {
  background: var(--page-bg);
  color: var(--text-dark);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--card-bg);
  border-color: var(--primary-light);
  text-decoration: none;
}

/* ===== TABS ===== */
.tabs {
  display: flex;
  gap: 6px;
  margin: 20px 0;
  padding: 0;
  background: transparent;
  border: none;
  flex-wrap: wrap;
}

.tab {
  flex: 0 0 auto;
  min-width: fit-content;
  padding: 6px 12px;
  border: 1px solid var(--border);
  background: #FFFFFF;
  font-size: 11px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.tab:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: rgba(24, 75, 252, 0.05);
}

.tab.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(24, 75, 252, 0.2);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* ===== SETTINGS GRID - Two Column Layout ===== */
.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.setting-card {
  padding: 20px 24px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.setting-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}

.setting-card h4 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
}

.setting-card h4::before {
  display: none;
}

.setting-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}

/* ===== LAYOUT TEMPLATES ===== */
.templates-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 24px 0;
  align-items: start;
}

.templates-text {
  padding-right: 20px;
}

.templates-text .lead-text {
  margin-bottom: 20px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
}

.template-description {
  margin-bottom: 16px;
  padding: 14px 16px;
  background: var(--card-bg);
  border-radius: var(--radius);
  border-left: 3px solid var(--primary);
  transition: var(--transition);
}

.template-description:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transform: translateX(2px);
}

.template-description h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.template-description h4::before {
  display: none;
}

.template-badge {
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, rgba(24, 75, 252, 0.08), rgba(24, 75, 252, 0.03));
  border-radius: 8px;
  flex-shrink: 0;
}

.template-tag {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #1e5fcc);
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: auto;
}

.template-description p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text);
  margin: 0;
}

.template-use-case {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 10px;
  background: linear-gradient(135deg, rgba(24, 75, 252, 0.1), rgba(24, 75, 252, 0.05));
  border-radius: 6px;
  font-size: 12px;
  color: var(--primary);
  font-weight: 500;
  border: 1px solid rgba(24, 75, 252, 0.15);
}

.template-use-case::before {
  content: "✓ ";
  opacity: 0.7;
}

.templates-preview {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.layout-templates {
  display: flex;
  gap: 18px;
  margin: 0;
  width: 100%;
}

.template-option {
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  flex: 1;
}

.template-option:hover {
  transform: translateY(-2px);
}

.template-option:hover .template-name {
  color: var(--primary);
}

.phone-preview {
  width: 100%;
  height: 340px;
  aspect-ratio: 1 / 2;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  background: white;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

@supports (aspect-ratio: 1 / 2) {
  .phone-preview {
    height: auto;
  }
}

.template-option:hover .phone-preview {
  border-color: #c0c0c0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.phone-drawer {
  position: absolute;
  left: 0;
  top: 0;
  width: 30%;
  height: 100%;
  background: #f5f5f5;
  padding: 20px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-right: 1px solid #e0e0e0;
}

.drawer-line {
  height: 8px;
  background: #d0d0d0;
  border-radius: 2px;
  margin: 0 4px;
}

.phone-content {
  flex: 1;
  background: white;
  margin-left: 30%;
  min-height: 0;
}

.phone-content-full {
  flex: 1;
  background: white;
  min-height: 0;
}

.phone-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
  box-shadow: none;
}

.tab-dot {
  width: 10px;
  height: 10px;
  background: #c0c0c0;
  border-radius: 50%;
  box-shadow: none;
}

.tab-line {
  flex: 1;
  height: 5px;
  background: #d5d5d5;
  border-radius: 2px;
}

.phone-bar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 14px 12px;
  background: #f5f5f5;
  border-top: 1px solid #e0e0e0;
  box-shadow: none;
}

.bar-icon {
  font-size: 16px;
  color: #999;
  opacity: 1;
}

.phone-blank {
  background: white;
  border: 2px solid #d0d0d0 !important;
  box-shadow: none !important;
}

/* Drawer + Bar specific */
.drawer-bar-preview {
  flex-direction: column;
}

.drawer-bar-preview .phone-drawer {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  border-right: 1px solid #e0e0e0;
}

.drawer-bar-preview .phone-content {
  flex: 1;
  margin-left: 30%;
}

.drawer-bar-preview .phone-bar {
  width: 100%;
  border-top: 1px solid #e0e0e0;
}

/* Tabs + Bar specific */
.tabs-bar-preview {
  display: flex;
  flex-direction: column;
}

.tabs-bar-preview .phone-tabs {
  background: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
  flex-shrink: 0;
}

.tabs-bar-preview .phone-content-full {
  flex: 1;
  min-height: 0;
}

.tabs-bar-preview .phone-bar {
  flex-shrink: 0;
}

/* Bar only specific */
.bar-preview {
  display: flex;
  flex-direction: column;
}

.bar-preview .phone-content-full {
  flex: 1;
  background: white;
  min-height: 0;
}

.bar-preview .phone-bar {
  width: 100%;
  flex-shrink: 0;
}

.template-name {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
}

/* ===== IMAGE ROW ===== */
.image-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 20px 0;
}

/* ===== HERO SECTION ===== */
.hero-section {
  text-align: left;
  padding: 56px 48px;
  margin: 0 0 48px 0;
  background: linear-gradient(135deg, #0A0226 0%, #184BFC 100%);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(10, 2, 38, 0.25);
}

.hero-title {
  font-size: 38px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 16px;
  letter-spacing: -0.5px;
}

.hero-description {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 28px;
  line-height: 1.7;
  max-width: 600px;
}

.hero-section .btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: #FFFFFF;
  color: #0A0226;
  border-radius: var(--radius-full);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.hero-section .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  color: #0A0226;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  color: var(--primary-dark);
  background: #FFFFFF;
}

/* ===== HORIZONTAL STEPS ===== */
.steps-horizontal {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 32px 0;
}

.step-h {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 20px;
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-radius: var(--radius);
  position: relative;
  transition: all 0.3s ease;
}

.step-h:hover {
  border-color: #184BFC;
  box-shadow: 0 4px 16px rgba(24, 75, 252, 0.12);
  transform: translateY(-4px);
}

.step-h::after {
  content: '→';
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  color: #184BFC;
  font-weight: 700;
  font-size: 20px;
  z-index: 1;
}

.step-h:last-child::after {
  display: none;
}

.step-h-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #0A0226, #184BFC);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(24, 75, 252, 0.3);
}

.step-h-content h4 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
  color: #1E293B;
}

.step-h-content h4::before {
  display: none;
}

.step-h-content p {
  margin: 0;
  font-size: 13px;
  color: #64748B;
  color: var(--text);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .steps-horizontal {
    grid-template-columns: repeat(2, 1fr);
  }
  .step-h:nth-child(2)::after,
  .step-h:last-child::after {
    display: none;
  }
}

@media (max-width: 600px) {
  .steps-horizontal {
    grid-template-columns: 1fr;
  }
  .step-h::after {
    display: none;
  }
}

/* ===== GUIDE GRID ===== */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
}

.guide-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 24px;
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.3s ease;
}

.guide-card:hover {
  border-color: #184BFC;
  box-shadow: 0 6px 20px rgba(24, 75, 252, 0.15);
  transform: translateY(-3px);
}

.guide-icon {
  font-size: 32px;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(24, 75, 252, 0.1) 0%, rgba(24, 75, 252, 0.05) 100%);
  border-radius: var(--radius-sm);
}

.guide-content h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
  color: #1E293B;
}

.guide-content h3::before {
  display: none;
}

.guide-content p {
  margin: 0;
  font-size: 13px;
  color: #64748B;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ===== NOTES GRID ===== */
.notes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 32px 0;
}

.note-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid;
  transition: all 0.3s ease;
}

.note-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.note-card.note-danger {
  background: #FEF2F2;
  border-color: #FCA5A5;
}

.note-card.note-warning {
  background: #FFFBEB;
  border-color: #FCD34D;
}

.note-card.note-info {
  background: #EFF6FF;
  border-color: #93C5FD;
}

.note-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.note-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.note-header h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
}

.note-header h4::before {
  display: none;
}

.note-body {
  flex: 1;
}

.note-body p {
  margin: 0;
  font-size: 13px;
  color: var(--text);
  line-height: 1.6;
}

.note-body p code {
  background: rgba(0, 0, 0, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
}

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

/* ===== IMAGE TEXT ROW ===== */
.image-text-row {
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: 48px;
  align-items: center;
  margin: 48px 0;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}

.image-text-row:last-of-type {
  border-bottom: none;
}

.image-text-row .text-side {
  order: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
  padding: 0;
}

.image-text-row .image-side {
  order: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* ===== SUB TABS (NESTED) ===== */
.sub-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0 24px;
}

.sub-tab {
  border: 1px solid var(--border);
  background: white;
  color: var(--text);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.sub-tab:hover {
  border-color: rgba(24, 75, 252, 0.3);
  color: var(--primary);
}

.sub-tab.active {
  background: var(--primary-gradient);
  color: white;
  border-color: transparent;
}

.sub-tab-content {
  display: none;
}

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

.image-text-row .image-side img {
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: contain;
  display: block;
  margin: 0;
  padding: 0;
}

.image-text-row .text-side .settings-grid {
  margin: 0;
  gap: 14px;
  grid-template-columns: repeat(2, 1fr);
}

.image-text-row .text-side .setting-card {
  padding: 16px 18px;
}

.image-text-row .text-side .setting-card h4 {
  font-size: 14px;
  margin-bottom: 4px;
}

.image-text-row .text-side .setting-card p {
  font-size: 13px;
  line-height: 1.5;
}

.image-text-row .text-side .alert-compact {
  margin-bottom: 20px;
}

.image-text-row .text-side .alert-compact:first-child {
  margin-top: 0;
}

.image-text-row .text-side h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 16px;
}

/* Ensure first element aligns with image top */
.image-text-row .text-side > *:first-child {
  margin-top: 0 !important;
}

.image-text-row .text-side p:first-child,
.image-text-row .text-side .lead-text:first-child {
  margin-top: 0;
}

.image-text-row .text-side .compact-list:first-child {
  margin-top: 0;
}

.image-text-row .text-side .settings-grid:first-child {
  margin-top: 0;
}

.image-text-row .text-side .alert:first-child {
  margin-top: 0;
}

.image-text-row .text-side .tip-box-compact {
  margin-top: 16px;
  font-size: 11px;
}

.image-text-row .text-side .tip-box-compact strong {
  font-size: 12px;
}

.image-text-row .text-side .tip-box-compact p {
  font-size: 11px;
}

@media (max-width: 900px) {
  .image-text-row {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 0;
  }
  .image-text-row .text-side {
    order: 2;
  }
  .image-text-row .image-side {
    order: 1;
  }
  .image-text-row .text-side .tip-box-compact {
    font-size: 12px;
  }
  .image-text-row .text-side .tip-box-compact strong {
    font-size: 13px;
  }
  .image-text-row .text-side .tip-box-compact p {
    font-size: 12px;
  }
}

/* ===== COMPACT LIST ===== */
.compact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
}

.compact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.6;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.compact-item:hover {
  border-left-color: var(--primary);
  box-shadow: 0 6px 16px rgba(24, 75, 252, 0.12);
  transform: translateX(6px);
}

.compact-item .item-icon {
  font-size: 24px;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(24, 75, 252, 0.12) 0%, rgba(24, 75, 252, 0.06) 100%);
  border-radius: var(--radius);
}

.compact-item .item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.compact-item .item-content strong {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 15px;
  display: block;
}

.compact-item .item-content span {
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
}

.lead-text {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 16px;
  margin-top: 0;
}

.image-text-row .text-side .lead-text {
  line-height: 1.65;
}

/* ===== NEXT STEPS ===== */
.next-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.next-step-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.next-step-card:hover {
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(24, 75, 252, 0.15);
  transform: translateY(-4px);
}

.next-step-icon {
  font-size: 36px;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(24, 75, 252, 0.1) 0%, rgba(24, 75, 252, 0.05) 100%);
  border-radius: var(--radius);
}

.next-step-content {
  flex: 1;
}

.next-step-content h4 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
}

.next-step-content h4::before {
  display: none;
}

.next-step-content p {
  margin: 0;
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
}

.next-step-arrow {
  font-size: 24px;
  color: var(--primary);
  font-weight: 700;
  opacity: 0;
  transition: all 0.3s ease;
  transform: translateX(-8px);
}

.next-step-card:hover .next-step-arrow {
  opacity: 1;
  transform: translateX(0);
}

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

/* ===== HELP GRID ===== */
.help-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 32px 0;
}

.help-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.3s ease;
}

.help-card:hover {
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(24, 75, 252, 0.15);
  transform: translateY(-3px);
}

.help-icon {
  font-size: 40px;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(24, 75, 252, 0.1) 0%, rgba(24, 75, 252, 0.05) 100%);
  border-radius: var(--radius);
}

.help-content h4 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
}

.help-content h4::before {
  display: none;
}

.help-content p {
  margin: 0;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}

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

/* ===== PROCESS FLOW ===== */
.process-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 32px 0;
  padding: 32px;
  background: linear-gradient(135deg, var(--page-bg), var(--background));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  flex-wrap: wrap;
}

.process-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  min-width: 180px;
}

.process-number {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: var(--primary-gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.process-content h4 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
}

.process-content h4::before {
  display: none;
}

.process-content p {
  margin: 0;
  font-size: 13px;
  color: var(--text);
}

.process-arrow {
  font-size: 24px;
  color: var(--primary);
  font-weight: 700;
}

/* ===== MOBILE MENU BUTTON ===== */
.mobile-menu-btn {
  display: none;
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 101;
  width: 48px;
  height: 48px;
  background: var(--primary-gradient);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 22px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-primary);
  transition: var(--transition);
}

.mobile-menu-btn:hover {
  transform: scale(1.05);
}

/* Overlay for mobile menu */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 99;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
  display: block;
  opacity: 1;
}

/* ===== RESPONSIVE ===== */

/* Extra Large Desktop */
@media (min-width: 1600px) {
  .main-content {
    padding: 56px 80px;
  }
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

/* Large Desktop */
@media (min-width: 1400px) and (max-width: 1599px) {
  .main-content {
    padding: 56px 72px;
  }
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

/* Hide right sidebar */
@media (max-width: 1200px) {
  .right-sidebar {
    display: none;
  }
  .main-content {
    max-width: 100%;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .docs-container {
    margin: 0;
  }
  .main-content {
    padding: 36px 48px;
  }
  .card-grid {
    gap: 20px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .docs-container {
    margin: 0;
    padding: 0;
    gap: 0;
  }
  .content-wrapper {
    border-radius: 0;
    border: none;
    box-shadow: none;
  }
  
  .mobile-menu-btn {
    display: none !important;
  }
  
  .sidebar {
    position: fixed;
    left: -280px;
    top: 0;
    height: 100vh;
    z-index: 100;
    transition: left 0.3s ease;
    box-shadow: var(--shadow-lg);
    border-radius: 0;
  }
  
  .sidebar.open {
    left: 0;
  }
  
  .main-content {
    padding: 28px 24px;
    padding-top: 28px;
  }
  
  .page-title {
    font-size: 28px;
  }
  
  .page-description {
    font-size: 15px;
    margin-bottom: 28px;
  }
  
  h2 {
    font-size: 20px;
    margin: 36px 0 16px;
  }
  
  h2::before {
    width: 3px;
    height: 20px;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .card {
    padding: 22px;
  }
  
  .card-link::after {
    display: none;
  }
  
  .steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .step {
    padding: 20px;
  }
  
  .nav-footer {
    flex-direction: column;
    gap: 16px;
  }
  
  .nav-footer a {
    max-width: 100%;
  }
  
  .alert {
    padding: 18px 20px;
  }
  
  .alert-compact {
    padding: 12px 14px;
    font-size: 12px;
    gap: 10px;
  }
  
  .alert-compact .alert-icon {
    font-size: 16px;
  }
  
  .settings-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .image-text-row .text-side .settings-grid {
    grid-template-columns: 1fr;
  }
  
  .templates-section {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .templates-text {
    padding-right: 0;
  }
  
  .layout-templates {
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .template-option {
    flex: 0 0 calc(50% - 6px);
  }
  
  .template-name {
    font-size: 12px;
    margin-top: 12px;
  }
  
  .template-description {
    margin-bottom: 14px;
    padding: 12px 14px;
  }
  
  .template-description h4 {
    font-size: 14px;
  }
  
  .template-badge {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }
  
  .template-tag {
    font-size: 10px;
    padding: 2px 8px;
  }
  
  .template-description p {
    font-size: 13px;
    line-height: 1.6;
  }
  
  .template-use-case {
    font-size: 11px;
    padding: 3px 8px;
    margin-top: 6px;
  }
  
  .tabs {
    flex-wrap: wrap;
    gap: 6px;
  }
  
  .tab {
    padding: 5px 10px;
    font-size: 10px;
    flex: 0 0 auto;
  }
  
  .image-row {
    grid-template-columns: 1fr;
  }

  .section-intro {
    font-size: 14px;
    line-height: 1.7;
    margin: 6px 0 24px;
  }

  .compact-item {
    padding: 14px 16px;
    font-size: 13px;
    gap: 10px;
  }

  .compact-item .item-icon {
    font-size: 24px;
    width: 36px;
    height: 36px;
  }

  .compact-item .item-content strong {
    font-size: 14px;
  }

  .compact-item .item-content span {
    font-size: 12px;
  }

  .next-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .next-step-card {
    padding: 16px;
  }

  .lead-text {
    font-size: 14px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .main-content {
    padding: 24px 20px;
    padding-top: 24px;
  }
  
  .page-title {
    font-size: 26px;
  }
  
  .card {
    padding: 20px;
  }
  
  .card-icon {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }
  
  .step {
    padding: 18px;
    gap: 12px;
  }
  
  .step-number {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 14px;
  }
  
  .tip-box {
    padding: 18px 20px;
  }

  .compact-item {
    padding: 12px 14px;
    font-size: 12px;
    gap: 8px;
  }

  .compact-item .item-icon {
    font-size: 22px;
    width: 32px;
    height: 32px;
  }

  .compact-item .item-content strong {
    font-size: 13px;
  }

  .compact-item .item-content span {
    font-size: 11px;
  }

  .next-step-card {
    padding: 14px;
    gap: 10px;
  }

  .next-step-icon {
    font-size: 26px;
  }

  .next-step-content h4 {
    font-size: 13px;
  }

  .lead-text {
    font-size: 13px;
  }
  
  .section-intro {
    font-size: 13px;
    line-height: 1.65;
    margin: 4px 0 20px;
  }
  
  .alert-compact {
    padding: 10px 12px;
    font-size: 11px;
    gap: 8px;
    flex-direction: row;
  }
  
  .alert-compact .alert-icon {
    font-size: 14px;
  }
  
  .tip-box-compact {
    padding: 10px 12px;
    font-size: 10px;
  }
  
  .tip-box-compact strong {
    font-size: 11px;
  }
  
  .tip-box-compact p {
    font-size: 10px;
  }
  
  .templates-section {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .layout-templates {
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .template-option {
    flex: 0 0 calc(50% - 5px);
  }
  
  .template-name {
    font-size: 11px;
    margin-top: 10px;
  }
  
  .template-description {
    margin-bottom: 12px;
    padding: 10px 12px;
  }
  
  .template-description h4 {
    font-size: 13px;
  }
  
  .template-badge {
    width: 26px;
    height: 26px;
    font-size: 14px;
  }
  
  .template-tag {
    font-size: 9px;
    padding: 2px 6px;
  }
  
  .template-description p {
    font-size: 12px;
    line-height: 1.6;
  }
  
  .template-use-case {
    font-size: 10px;
    padding: 2px 6px;
    margin-top: 6px;
  }
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #F1F5F9;
}

::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Sidebar scrollbar - darker for dark sidebar */
.sidebar::-webkit-scrollbar-track {
  background: #0A0226;
}

.sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Selection */
::selection {
  background: rgba(24, 75, 252, 0.2);
  color: #0A0226;
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ===== SITE FOOTER ===== */
/* Footer - Matching Live Site */
.footer-new { 
  padding: 0 0 30px; 
  background: #0D0520;
  position: relative;
  margin-top: auto;
}
.footer-new .container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  box-sizing: border-box;
}
.footer-gradient-line {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), #8B5CF6, var(--primary), transparent);
  margin-bottom: 60px;
}
.footer-top { 
  display: grid; 
  grid-template-columns: 1.2fr 2fr; 
  gap: 60px; 
  margin-bottom: 40px; 
}
.footer-brand-new img { 
  height: 32px; 
  margin-bottom: 18px; 
  filter: brightness(0) invert(1); 
}
.footer-brand-new p { 
  font-size: 15px; 
  color: rgba(255,255,255,0.6); 
  line-height: 1.7; 
  margin-bottom: 24px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}
.footer-links-new { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 32px; 
}
.footer-col-new h4 { 
  font-size: 13px; 
  font-weight: 600; 
  color: #fff; 
  text-transform: uppercase; 
  letter-spacing: 0.5px; 
  margin-bottom: 20px; 
}
.footer-col-new a { 
  display: block; 
  font-size: 14px; 
  color: rgba(255,255,255,0.55); 
  padding: 8px 0; 
  transition: var(--transition); 
}
.footer-col-new a:hover { 
  color: #fff; 
  padding-left: 6px;
}
.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  margin-bottom: 24px;
}
.footer-bottom-new { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
}
.footer-bottom-new p { 
  font-size: 13px; 
  color: rgba(255,255,255,0.4); 
}
.footer-badges-new { 
  display: flex; 
  gap: 24px; 
}
.footer-badges-new span { 
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px; 
  color: rgba(255,255,255,0.5);
}
.footer-badges-new svg {
  opacity: 0.6;
}

@media (max-width: 1279px) {
  .footer-new .container {
    padding: 0 32px;
  }
  .footer-top {
    gap: 60px;
  }
}

@media (max-width: 767px) {
  .footer-new .container {
    padding: 0 16px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .footer-links-new {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom-new {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .footer-badges-new {
    flex-direction: column;
    gap: 12px;
  }
  .footer-gradient-line {
    margin-bottom: 40px;
  }
}

/* ===== PROGRESS INDICATOR ===== */
.build-progress {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #EFF6FF 0%, #F5F5FF 100%);
  border: 1px solid rgba(24, 75, 252, 0.15);
  border-radius: var(--radius);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.build-progress::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #0A0226, #184BFC);
}

.progress-track {
  flex: 1;
  height: 8px;
  background: rgba(24, 75, 252, 0.1);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #0A0226, #184BFC);
  border-radius: 4px;
  transition: width 0.5s ease;
  position: relative;
}

.progress-bar::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 20px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4));
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}

.progress-text {
  font-size: 13px;
  font-weight: 600;
  color: #184BFC;
  white-space: nowrap;
}

.progress-text .step-current {
  color: #0A0226;
}

/* ===== STICKY FLOW BANNER ===== */
.flow-banner {
  margin: 20px 0 32px;
  padding: 16px 20px;
  border-radius: var(--radius);
  border: 2px solid #E2E8F0;
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
  position: sticky;
  top: 80px;
  z-index: 50;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.flow-banner:hover {
  border-color: rgba(24, 75, 252, 0.3);
  box-shadow: 0 8px 24px rgba(24, 75, 252, 0.1);
}

.flow-banner .flow-title {
  font-size: 14px;
  font-weight: 600;
  color: #1E293B;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.flow-banner .flow-title::before {
  content: '🚀';
}

.flow-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.flow-step {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: #475569;
  background: white;
  border: 1px solid #E2E8F0;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}

.flow-step:hover {
  color: #184BFC;
  border-color: #184BFC;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(24, 75, 252, 0.15);
}

.flow-step.active {
  color: white;
  background: linear-gradient(135deg, #0A0226, #184BFC);
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(24, 75, 252, 0.3);
}

.flow-step.completed {
  color: var(--success);
  border-color: var(--success);
  background: var(--success-bg);
}

.flow-step.completed::before {
  content: '✓';
  font-weight: 700;
  margin-right: 2px;
}

/* ===== UPGRADED HERO SECTION ===== */
.hero-section {
  text-align: left;
  padding: 56px 48px;
  margin: 0 0 48px 0;
  background: linear-gradient(135deg, #0A0226 0%, #184BFC 100%);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(10, 2, 38, 0.25);
  position: relative;
  overflow: hidden;
}

/* Animated background shapes */
.hero-section::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(99, 102, 241, 0.2);
  border-radius: 50%;
  filter: blur(80px);
  top: -150px;
  right: -100px;
  animation: floatShape 8s ease-in-out infinite;
}

.hero-section::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(59, 130, 246, 0.15);
  border-radius: 50%;
  filter: blur(60px);
  bottom: -100px;
  left: -50px;
  animation: floatShape 6s ease-in-out infinite reverse;
}

@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -20px) scale(1.1); }
}

/* Grid pattern overlay */
.hero-section .hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  opacity: 0.5;
}

.hero-section .hero-content {
  position: relative;
  z-index: 2;
}

.hero-section .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 38px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 16px;
  letter-spacing: -0.5px;
  line-height: 1.2;
  position: relative;
  z-index: 2;
}

.hero-description {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 28px;
  line-height: 1.7;
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.hero-section .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  background: #FFFFFF;
  color: #0A0226;
  border-radius: var(--radius-full);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 2;
}

.hero-section .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  color: #0A0226;
}

/* ===== QUICK ACTIONS BAR ===== */
.quick-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.quick-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 500;
  color: #64748B;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.quick-action-btn:hover {
  color: #184BFC;
  border-color: #184BFC;
  background: #EFF6FF;
  transform: translateY(-1px);
}

.quick-action-btn .icon {
  font-size: 12px;
  flex-shrink: 0;
}

.quick-action-btn.primary {
  background: linear-gradient(135deg, #0A0226, #184BFC);
  color: #FFFFFF;
  border-color: transparent;
}

.quick-action-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(24, 75, 252, 0.3);
  color: #FFFFFF;
}

/* ===== IMPROVED SIDEBAR HOVER ===== */
.sidebar .nav-item {
  display: flex;
  align-items: center;
  padding: 10px 24px 10px 36px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.25s ease;
  border-left: 3px solid transparent;
  position: relative;
}

.sidebar .nav-item:hover {
  color: #FFFFFF;
  background: linear-gradient(90deg, rgba(24, 75, 252, 0.15), transparent);
  transform: translateX(4px);
  text-decoration: none;
}

.sidebar .nav-item.active {
  color: #184BFC;
  font-weight: 600;
  background: linear-gradient(90deg, rgba(24, 75, 252, 0.2), transparent);
  border-left-color: #184BFC;
  transform: translateX(0);
}

.sidebar .nav-item.active::before {
  content: '';
  position: absolute;
  left: -3px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #184BFC, #0A0226);
}

/* ===== TIME ESTIMATE & DIFFICULTY ===== */
.step-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.time-estimate,
.difficulty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 500;
  color: #64748B;
}

.time-estimate .icon,
.difficulty .icon {
  font-size: 14px;
}

.difficulty.easy {
  color: var(--success);
  background: var(--success-bg);
  border-color: var(--success-border);
}

.difficulty.medium {
  color: var(--warning);
  background: var(--warning-bg);
  border-color: var(--warning-border);
}

/* ===== VIDEO/GIF TUTORIAL PLACEHOLDER ===== */
.video-tutorial {
  margin: 24px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid #E2E8F0;
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  transition: var(--transition);
}

.video-tutorial:hover {
  border-color: #184BFC;
  box-shadow: 0 8px 24px rgba(24, 75, 252, 0.15);
}

.video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  cursor: pointer;
  transition: var(--transition);
}

.video-placeholder:hover {
  background: rgba(24, 75, 252, 0.1);
}

.video-placeholder .play-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #184BFC, #6366F1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #FFFFFF;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(24, 75, 252, 0.4);
  transition: var(--transition);
}

.video-placeholder:hover .play-icon {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(24, 75, 252, 0.5);
}

.video-placeholder .video-title {
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.video-placeholder .video-duration {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

/* ===== COMMON ISSUES LINK ===== */
.common-issues-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: #92400E;
  margin-top: 16px;
}

.common-issues-link a {
  color: #184BFC;
  font-weight: 600;
  text-decoration: underline;
}

.common-issues-link a:hover {
  color: #0A0226;
}

/* ===== MOBILE BOTTOM NAVIGATION - Native App Style ===== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  margin: 0;
  width: 100vw;
  max-width: 100%;
  box-sizing: border-box;
  /* Dark background matching site theme */
  background: linear-gradient(180deg, rgba(10, 2, 38, 0.95) 0%, rgba(10, 2, 38, 0.98) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 
    0 -8px 32px rgba(0, 0, 0, 0.4),
    0 -2px 8px rgba(24, 75, 252, 0.1);
  /* Rounded top corners for modern look */
  border-radius: 20px 20px 0 0;
  overflow: visible;
}

/* Safe area for iPhone X+ */
.mobile-bottom-nav::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: env(safe-area-inset-bottom, 0);
  background: rgba(10, 2, 38, 0.98);
  z-index: 0;
  pointer-events: none;
}

.mobile-bottom-nav .nav-items {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between;
  align-items: stretch;
  margin: 0;
  padding: 10px 8px calc(12px + env(safe-area-inset-bottom, 0));
  gap: 2px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}


.mobile-bottom-nav .nav-items .nav-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center;
  gap: 4px;
  padding: 8px 4px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-decoration: none !important;
  border: none !important;
  border-left: none !important;
  background: transparent !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  transform: none !important;
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
  border-radius: 12px;
  position: relative;
  box-sizing: border-box;
}


/* Icon container for better visual - SVG icons */
.mobile-bottom-nav .nav-items .nav-item .icon {
  width: 22px;
  height: 22px;
  stroke-width: 2;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.mobile-bottom-nav .nav-items .nav-item .icon path,
.mobile-bottom-nav .nav-items .nav-item .icon circle,
.mobile-bottom-nav .nav-items .nav-item .icon polygon,
.mobile-bottom-nav .nav-items .nav-item .icon line {
  transition: stroke 0.25s ease;
}

/* Hover state */
.mobile-bottom-nav .nav-items .nav-item:hover {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.05) !important;
  transform: none !important;
}

.mobile-bottom-nav .nav-items .nav-item:hover .icon {
  transform: scale(1.05);
}

.mobile-bottom-nav .nav-items .nav-item:hover .icon path,
.mobile-bottom-nav .nav-items .nav-item:hover .icon circle,
.mobile-bottom-nav .nav-items .nav-item:hover .icon polygon,
.mobile-bottom-nav .nav-items .nav-item:hover .icon line {
  stroke: rgba(255, 255, 255, 0.9);
}

/* Active state - Native app style */
.mobile-bottom-nav .nav-items .nav-item.active {
  color: #FFFFFF;
  background: rgba(24, 75, 252, 0.15) !important;
  transform: none !important;
}

.mobile-bottom-nav .nav-items .nav-item.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 3px;
  background: linear-gradient(90deg, #184BFC 0%, #6366F1 100%);
  border-radius: 0 0 3px 3px;
}


.mobile-bottom-nav .nav-items .nav-item.active .icon {
  transform: scale(1.05);
}

.mobile-bottom-nav .nav-items .nav-item.active .icon path,
.mobile-bottom-nav .nav-items .nav-item.active .icon circle,
.mobile-bottom-nav .nav-items .nav-item.active .icon polygon,
.mobile-bottom-nav .nav-items .nav-item.active .icon line {
  stroke: #FFFFFF;
}

/* Ripple effect on tap */
.mobile-bottom-nav .nav-items .nav-item:active {
  background: rgba(24, 75, 252, 0.12) !important;
}

.mobile-bottom-nav .nav-items .nav-item:active .icon {
  transform: scale(0.95);
}

@media (max-width: 768px) {
  /* Hide mobile bottom nav - using header mobile menu instead */
  .mobile-bottom-nav {
    display: none !important;
  }
  
  /* Hide entire site header on mobile */
  .site-header {
    display: none !important;
  }
  
  .main-content {
    padding-top: 28px;
    padding-bottom: 100px;
  }
  
  /* Ensure body doesn't overflow */
  body {
    overflow-x: hidden;
    max-width: 100vw;
  }
  
  .flow-banner {
    position: relative;
    top: 0;
    padding: 12px 16px;
    margin: 16px 0 24px;
  }
  
  .flow-banner .flow-title {
    font-size: 12px;
    margin-bottom: 8px;
  }
  
  .flow-steps {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }
  
  .flow-step {
    flex: 0 0 auto;
    padding: 6px 10px;
    font-size: 11px;
    white-space: nowrap;
  }
  
  .quick-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  
  .quick-action-btn {
    flex: 0 0 auto;
    min-width: auto;
    padding: 10px 16px;
    font-size: 11px;
    white-space: nowrap;
  }
  
  .step-meta {
    flex-wrap: wrap;
  }
  
  .hero-section {
    padding: 32px 24px;
  }
  
  .hero-title {
    font-size: 28px;
  }
  
  .hero-description {
    font-size: 15px;
  }
  
  .build-progress {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  
  .progress-text {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 24px 20px;
  }
  
  .hero-title {
    font-size: 24px;
  }
  
  .hero-section .btn-primary {
    padding: 12px 24px;
    font-size: 14px;
  }
  
  .flow-steps {
    gap: 6px;
  }
  
  .flow-step {
    padding: 6px 10px;
    font-size: 11px;
  }
  
  .build-progress {
    padding: 10px 14px;
  }
  
  .progress-text {
    font-size: 11px;
  }
  
  .quick-actions {
    gap: 6px;
  }
  
  .quick-action-btn {
    padding: 8px 12px;
    font-size: 10px;
  }
  
  .step-meta {
    gap: 8px;
  }
  
  .time-estimate,
  .difficulty {
    padding: 4px 8px;
    font-size: 10px;
  }
  
  .mobile-bottom-nav .nav-items {
    padding: 8px 8px calc(10px + env(safe-area-inset-bottom, 0));
    gap: 2px;
  }
  
  .mobile-bottom-nav .nav-items .nav-item {
    padding: 6px 2px;
    font-size: 9px;
    min-width: 0;
    border-radius: 10px;
  }
  
  
  .mobile-bottom-nav .nav-items .nav-item .icon {
    width: 18px;
    height: 18px;
  }
  
  .mobile-bottom-nav .nav-items .nav-item.active::before {
    width: 20px;
    height: 2px;
  }
}

/* iPhone SE and very small screens */
@media (max-width: 375px) {
  .hero-section {
    padding: 20px 16px;
  }
  
  .hero-title {
    font-size: 22px;
  }
  
  .hero-description {
    font-size: 13px;
  }
  
  .hero-section .hero-badge {
    padding: 6px 12px;
    font-size: 10px;
  }
  
  .hero-section .btn-primary {
    padding: 10px 20px;
    font-size: 13px;
  }
  
  .flow-banner {
    padding: 10px 12px;
  }
  
  .flow-banner .flow-title {
    font-size: 11px;
  }
  
  .flow-step {
    padding: 5px 8px;
    font-size: 10px;
  }
  
  .quick-action-btn {
    padding: 6px 10px;
    font-size: 9px;
  }
  
  .build-progress {
    padding: 8px 12px;
  }
  
  .progress-text {
    font-size: 10px;
  }
  
  .main-content {
    padding: 20px 16px;
    padding-top: 20px;
    padding-bottom: 90px;
  }
  
  .page-title {
    font-size: 22px;
  }
  
  .page-description {
    font-size: 13px;
  }
  
  h2 {
    font-size: 18px;
  }
  
  /* Compact mobile bottom nav for small screens */
  .mobile-bottom-nav .nav-items {
    padding: 6px 4px calc(8px + env(safe-area-inset-bottom, 0));
    gap: 1px;
  }
  
  .mobile-bottom-nav .nav-items .nav-item {
    padding: 5px 1px;
    font-size: 8px;
    min-width: 0;
    gap: 3px;
    border-radius: 8px;
  }
  
  
  .mobile-bottom-nav .nav-items .nav-item .icon {
    width: 16px;
    height: 16px;
  }
  
  .mobile-bottom-nav .nav-items .nav-item.active::before {
    width: 16px;
    height: 2px;
  }
  
  .site-header .header-container {
    height: 50px;
  }
  
  .site-header .header-logo img {
    height: 24px;
  }
}

/* Print styles */
@media print {
  .sidebar,
  .right-sidebar,
  .mobile-menu-btn,
  .nav-footer,
  .mobile-bottom-nav,
  .quick-actions,
  .build-progress,
  .video-tutorial {
    display: none !important;
  }
  
  .main-content {
    max-width: 100%;
    padding: 0;
  }
  
  .docs-container {
    margin: 0;
  }
  
  .flow-banner {
    position: relative;
    top: 0;
  }
}
