/* Assistance Page Styles - AI-First Design */
/* Clean, minimal design inspired by OpenAI's approach */

/* Reset and base styles */
* {
  box-sizing: border-box;
}

/* Paragraph styles - cleaner typography */
p {
  overflow-wrap: anywhere;
  margin-top: 0;
  margin-bottom: 0.75rem;
  line-height: 1.6;
  color: #374151;
}

/* Hero text - OpenAI style */
.text-lg.md\:text-xl.text-gray-600.max-w-2xl.mx-auto.mb-12.leading-relaxed {
  margin-bottom: 2rem;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.5;
}

/* AI icon - subtle and clean */
img[src="/images/ai-headline.png"] {
  transition: opacity 0.2s ease-in-out;
  opacity: 0.8;
  filter: none;
}

img[src="/images/ai-headline.png"]:hover {
  opacity: 1;
  transform: none;
}

/* Card grid - minimal shadows, clean design */
.grid {
  gap: 1.5rem;
}

/* Individual cards - OpenAI style minimalism */
.bg-white.rounded-lg.shadow-sm.border.border-gray-200 {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease-in-out;
  padding: 1.5rem;
}

.bg-white.rounded-lg.shadow-sm.border.border-gray-200:hover {
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.08);
  border-color: #d1d5db;
  transform: translateY(-1px);
}

/* Card tags - minimal styling */
.inline-block.px-2.py-1.text-xs.font-medium.rounded-full {
  background: #f3f4f6;
  color: #6b7280;
  border: none;
  font-weight: 500;
  letter-spacing: 0.025em;
}

/* Card titles - clean typography */
.text-lg.font-semibold.text-gray-900 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin: 0.75rem 0 0.5rem 0;
  line-height: 1.4;
}

/* Card descriptions - readable text */
.text-sm.text-gray-600 {
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

/* Schedule buttons - OpenAI style */
.bg-blue-600.hover\:bg-blue-700.text-white.font-medium.py-2.px-4.rounded-lg.transition-colors {
  background: #5062ff;
  border: none;
  border-radius: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.75rem 1.5rem;
  transition: all 0.2s ease-in-out;
  box-shadow: none;
}

.bg-blue-600.hover\:bg-blue-700.text-white.font-medium.py-2.px-4.rounded-lg.transition-colors:hover {
  background: #3b4cf5;
  transform: none;
  box-shadow: 0 2px 8px 0 rgba(80, 98, 255, 0.3);
}

/* Container spacing */
.div-block-382 {
  padding-bottom: 3rem;
  margin-top: 1.5rem;
}

/* Override swot.css padding-top for assistance section */
.div-block-358.assistance {
  padding-top: 0 !important;
}


/* Override grid padding on medium screens and up */
.grid.p-6.md\:p-8 {
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .grid.p-6.md\:p-8 {
    padding: 0;
  }
}

/* Grid layout override - 3 columns on large screens */
.grid.grid-cols-1.md\:grid-cols-2.lg\:grid-cols-3 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .grid.grid-cols-1.md\:grid-cols-2.lg\:grid-cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .grid.grid-cols-1.md\:grid-cols-2.lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Modal overrides */
.modal-overlay {
  display: none !important;
  padding-top: 2rem;
  padding-bottom: 2rem;
  z-index: 9999 !important;
}

.modal-overlay.flex {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.modal-overlay.hidden {
  display: none !important;
}

.modal-content {
  margin: auto;
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
}

/* Modal close button positioning */
.modal-close {
  position: absolute !important;
  top: 1.5rem !important;
  right: 1.5rem !important;
  z-index: 10 !important;
  font-size: 1.5rem !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

/* Mobile modal positioning fix */
@media (max-width: 768px) {
  .modal-overlay.flex {
    align-items: flex-start !important;
    padding-top: 4rem !important;
    padding-bottom: 1rem !important;
  }
  
  .modal-content {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    max-height: calc(100vh - 5rem) !important;
    overflow-y: auto !important;
    padding-top: 35px !important;
  }
}

.calendly-widget {
  min-height: 650px;
}

.calendly-inline-widget {
  min-width: 100% !important;
  width: 100% !important;
  height: 650px !important;
  border: none !important;
}

/* Remove Calendly brand color borders */
.calendly-inline-widget > div,
.calendly-inline-widget iframe,
.calendly-inline-widget iframe > div {
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  border-left: none !important;
  border-right: none !important;
}

/* Desktop specific - landscape orientation */
@media (min-width: 769px) {
  .calendly-inline-widget {
    height: 650px !important;
    min-height: 650px !important;
    max-height: 650px !important;
  }
}

/* Mobile responsive Calendly widget */
@media (max-width: 768px) {
  .calendly-inline-widget {
    height: 600px !important;
    min-height: 600px !important;
  }
  
  /* Ensure proper mobile layout */
  .flex.flex-col.lg\:flex-row {
    flex-direction: column !important;
  }
  
  .flex.flex-col.lg\:flex-row > div {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Modal width override */
.modal-content.max-w-6xl {
  max-width: 72rem !important;
}

/* Modal body styling */
.modal-body {
  z-index: 9999999;
  border: 0px solid #ffffff;
  background-color: var(--align-white);
  border-radius: 8px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 40px 15px 40px 25px;
  position: relative;
  box-shadow: 0 2px 52px #0000000d;
}

/* Modal scrolling fixes */
.modal-overlay.flex {
  overflow-y: auto !important;
}

.modal-overlay.flex body {
  overflow: hidden !important;
}

/* Prevent body scroll when modal is open */
body.modal-open {
  overflow: hidden !important;
}

/* ======================================
   Coaching Command Center Styles
   ====================================== */

/* Page header styling */
.db-header h1.db-headline.db {
  font-size: 18px;
}

/* Brand colors */
.text-brand-primary {
  color: #5062ff !important;
}

.border-l-brand {
  border-left-color: #5062ff !important;
}

.border-l-3 {
  border-left-width: 3px !important;
}

.bg-brand-primary {
  background-color: #5062ff !important;
}

.bg-brand-primary-hover:hover {
  background-color: #3b4cf5 !important;
}

/* Three column flex row responsive */
.flex.flex-col.lg\:flex-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .flex.flex-col.lg\:flex-row {
    flex-direction: row !important;
  }
  
  .flex.flex-col.lg\:flex-row > div {
    flex: 1;
    min-width: 0;
  }
}

/* Column cards - crisp and modern */
.bg-white.rounded-xl.border.border-gray-200.shadow-sm {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.bg-white.rounded-xl.border.border-gray-200.shadow-sm:hover {
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  border-color: #d1d5db;
}

/* Icon containers - brand colors */
.w-10.h-10.rounded-lg {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-blue-100 {
  background-color: rgba(80, 98, 255, 0.1);
}

.bg-green-100 {
  background-color: rgba(74, 222, 128, 0.15);
}

.bg-orange-100 {
  background-color: rgba(251, 191, 36, 0.15);
}

.text-amber-600 {
  color: #d97706;
}

/* Gradient backgrounds for methods */
.bg-gradient-to-br {
  transition: all 0.2s ease-in-out;
}

.from-blue-50.to-indigo-50 {
  background: linear-gradient(to bottom right, #eff6ff 0%, #eef2ff 100%);
}

.from-purple-50.to-pink-50 {
  background: linear-gradient(to bottom right, #faf5ff 0%, #fdf2f8 100%);
}

.from-green-50.to-teal-50 {
  background: linear-gradient(to bottom right, #f0fdf4 0%, #f0fdfa 100%);
}

.from-orange-50.to-amber-50 {
  background: linear-gradient(to bottom right, #fff7ed 0%, #fffbeb 100%);
}

.from-amber-50.to-yellow-50 {
  background: linear-gradient(to bottom right, #fffbeb 0%, #fefce8 100%);
}

.border-amber-100 {
  border-color: #fef3c7;
}

/* Method/coaching cards inside columns */
.p-4.bg-gradient-to-br.rounded-lg.border {
  padding: 1rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease-in-out;
}

.p-3.bg-gradient-to-br.rounded-lg.border {
  padding: 0.75rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

.p-3.bg-gradient-to-br.rounded-lg.border:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.08);
}

/* Backdrop blur effects */
.bg-white\/60.backdrop-blur-sm {
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
}

/* Schedule buttons */
.book-now-btn {
  transition: all 0.2s ease-in-out;
  font-weight: 500;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.book-now-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.15);
}

/* Button hover effects are now handled by bg-brand-primary and bg-brand-primary-hover classes */

/* Benefits checkmarks */
.flex.items-start.gap-2 svg {
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* Typography hierarchy */
.text-lg.font-bold {
  font-size: 1.125rem;
  line-height: 1.3;
  font-weight: 700;
}

.font-semibold.text-gray-900.text-sm {
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.25;
}

/* Monospace code elements */
.font-mono {
  font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Monaco, 'Cascadia Mono', 'Segoe UI Mono', 'Roboto Mono', 'Oxygen Mono', 'Ubuntu Monospace', 'Source Code Pro', 'Fira Mono', 'Droid Sans Mono', 'Courier New', monospace;
}

/* Badge for @ai mentions */
span.px-1\.5.py-0\.5.bg-white.rounded.font-mono {
  padding: 0.25rem 0.375rem;
  background-color: #ffffff;
  border-radius: 0.25rem;
  font-family: ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid #e5e7eb;
}

/* Chat message example */
.text-xs.text-gray-500.font-mono.p-2.bg-white.rounded.border {
  font-size: 0.75rem;
  line-height: 1.5;
  font-family: ui-monospace, monospace;
  padding: 0.5rem;
  background-color: #ffffff;
  border-radius: 0.375rem;
  border: 1px solid #e5e7eb;
}

/* Avatar circles in chat examples */
.w-5.h-5.rounded-full {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 600;
}

/* Limit ai-1.png image width */
img[src="/images/ai-1.png"] {
  max-width: 240px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}

/* Limit context-ai.png image width */
img[src="/images/context-ai.png"] {
  max-width: 290px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}

/* Limit ai-p2p.png image width */
img[src="/images/ai-p2p.png"] {
  max-width: 290px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}

/* Smooth scrolling and animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bg-white.rounded-xl.border.border-gray-200.shadow-sm {
  animation: fadeInUp 0.5s ease-out both;
}

.bg-white.rounded-xl.border.border-gray-200.shadow-sm:nth-child(1) {
  animation-delay: 0.1s;
}

.bg-white.rounded-xl.border.border-gray-200.shadow-sm:nth-child(2) {
  animation-delay: 0.2s;
}

.bg-white.rounded-xl.border.border-gray-200.shadow-sm:nth-child(3) {
  animation-delay: 0.3s;
}

/* Mobile responsive adjustments */
@media (max-width: 1023px) {
  .flex.flex-col.lg\:flex-row {
    gap: 1rem;
  }
  
  .bg-white.rounded-xl.border.border-gray-200.shadow-sm {
    margin-bottom: 0;
  }
  
  /* Stack images vertically on mobile */
  .bg-white\/60.backdrop-blur-sm img {
    max-height: 200px;
    object-fit: cover;
  }
}

@media (max-width: 640px) {
  .p-6 {
    padding: 1rem;
  }
}
