/* ==========================================================================
   Advexo Web-Cabinet Landing Page Stylesheet (Awwwards Grade)
   ========================================================================== */

/* 1. Header Navigation for Web Landing */
.header-nav-web {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-web-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.header-web-link:hover {
  color: var(--color-primary);
}

.header-web-link-main {
  color: #4F46E5;
  background: #EEF2FF;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
}

/* 2. Hero Section */
.web-hero-section {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  text-align: center;
}

.web-hero-intro {
  max-width: 820px;
  margin: 0 auto 3rem;
}

.web-hero-title {
  font-family: var(--font-headings);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}

.web-hero-lead {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.65;
  color: #475569;
  max-width: 680px;
  margin: 0 auto 2rem;
}

.web-cta-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.web-trust-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
  color: #64748B;
  font-size: 0.85rem;
  font-weight: 600;
}

.web-trust-badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

/* 3. Interactive Web Cabinet Mockup */
.web-mockup-frame {
  max-width: 1140px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 24px;
  box-shadow: 0 30px 70px -15px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  overflow: hidden;
  text-align: left;
}

.mockup-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.5rem;
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #EF4444; }
.dot-yellow { background: #F59E0B; }
.dot-green { background: #10B981; }

.mockup-nav-switcher {
  display: flex;
  gap: 0.35rem;
  background: #EDF2F7;
  padding: 0.25rem;
  border-radius: 10px;
}

.mockup-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748B;
  background: transparent;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mockup-tab-btn:hover {
  color: #0F172A;
}

.mockup-tab-btn.active {
  background: #FFFFFF;
  color: #4F46E5;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.mockup-account-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
}

.mockup-account-pill .pill-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4F46E5, #3B82F6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
}

.mockup-view-pane {
  display: none;
  padding: 1.75rem 2rem;
  animation: pane-fade 0.25s ease;
}

.mockup-view-pane.active {
  display: block;
}

@keyframes pane-fade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Calendar Grid View */
.cal-top-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.cal-title-box h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0F172A;
}

.cal-title-box small {
  color: #64748B;
  font-size: 0.8rem;
}

.cal-legend {
  display: flex;
  gap: 1.25rem;
  font-size: 0.78rem;
  font-weight: 600;
}

.cal-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.cal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.cal-dot.pub { background: #10B981; }
.cal-dot.pend { background: #F59E0B; }
.cal-dot.plan { background: #6366F1; }

.cal-grid-7col {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.75rem;
}

.cal-col {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 0.75rem;
  min-height: 220px;
  display: flex;
  flex-direction: column;
}

.cal-col.is-today {
  border-color: #818CF8;
  background: #F5F7FF;
}

.cal-col-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748B;
  margin-bottom: 0.65rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid #E2E8F0;
}

.cal-col.is-today .cal-col-head {
  color: #4F46E5;
}

.cal-post-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 0.6rem;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.03);
  font-size: 0.74rem;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.cal-post-card:hover {
  transform: translateY(-2px);
  border-color: #4F46E5;
}

.cal-card-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.12rem 0.35rem;
  border-radius: 4px;
  margin-bottom: 0.3rem;
}

.cal-card-badge.pub { background: #D1FAE5; color: #047857; }
.cal-card-badge.pend { background: #FEF3C7; color: #B45309; }
.cal-card-badge.plan { background: #EEF2FF; color: #4338CA; }

.cal-card-text {
  font-weight: 600;
  color: #1E293B;
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cal-empty-slot {
  font-size: 0.72rem;
  color: #94A3B8;
  text-align: center;
  padding-top: 2rem;
}

/* Editor View */
.editor-split-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: start;
}

.editor-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.editor-btn-row {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.tool-chip {
  padding: 0.3rem 0.6rem;
  font-size: 0.76rem;
  font-weight: 600;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  color: #334155;
  cursor: pointer;
}

.tool-chip.ai-chip {
  background: #EEF2FF;
  border-color: #818CF8;
  color: #4F46E5;
}

.editor-textarea {
  width: 100%;
  height: 200px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 0.85rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #1E293B;
  font-family: inherit;
  resize: none;
}

.editor-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.editor-meta-info {
  font-size: 0.75rem;
  color: #64748B;
}

/* Analytics View */
.analytics-cards-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 1rem;
}

.stat-box-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748B;
  margin-bottom: 0.25rem;
}

.stat-box-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 0.2rem;
}

.stat-box-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #10B981;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.stat-box-badge.purple {
  color: #6366F1;
}

.chart-visual-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 1.25rem;
}

.chart-visual-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.chart-visual-head b {
  font-size: 0.88rem;
  color: #0F172A;
}

.chart-bars-wrap {
  height: 90px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding-bottom: 0.5rem;
}

.chart-bars-wrap > div {
  flex: 1;
  border-radius: 4px;
}

.chart-dates-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: #94A3B8;
}

/* 4. Bento Features Grid */
.web-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.web-feature-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.03);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.web-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -10px rgba(79, 70, 229, 0.08);
  border-color: rgba(99, 102, 241, 0.35);
}

.web-feature-card.col-span-2 {
  grid-column: span 2;
}

.web-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #EEF2FF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4F46E5;
  margin-bottom: 1.25rem;
}

.web-feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 0.65rem;
}

.web-feature-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #64748B;
  margin: 0;
}

/* 5. Minimalist 3-Way Comparison Table (Strict 2-Color Palette) */
.web-comparison-card {
  max-width: 980px;
  margin: 2rem auto 0;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.04);
}

.web-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  text-align: left;
}

.web-table th {
  background: #F8FAFC;
  padding: 1rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0F172A;
  border-bottom: 1px solid #E2E8F0;
}

.web-table th.col-highlight {
  background: #EEF2FF;
  color: #4338CA;
  border-left: 1px solid #E0E7FF;
  border-right: 1px solid #E0E7FF;
}

.web-table td {
  padding: 0.9rem 1.25rem;
  font-size: 0.86rem;
  color: #334155;
  border-bottom: 1px solid #F1F5F9;
  vertical-align: middle;
}

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

.web-table td.col-highlight {
  background: #FAFBFF;
  border-left: 1px solid #E0E7FF;
  border-right: 1px solid #E0E7FF;
}

.t-primary {
  font-weight: 700;
  color: #0F172A;
  display: block;
}

.t-accent {
  font-weight: 700;
  color: #4338CA;
  display: block;
}

.t-desc {
  font-size: 0.76rem;
  color: #64748B;
  margin-top: 0.15rem;
  line-height: 1.35;
}

.tco-summary-row td {
  background: #F8FAFC;
  border-top: 2px solid #E2E8F0;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.tco-summary-row td.col-highlight {
  background: #EEF2FF !important;
}

/* 6. Outro CTA (Clean Matching Project Standards) */
.section-web-outro {
  padding: 4rem 0;
}

/* Responsive Rules */
@media (max-width: 960px) {
  .header-nav-web {
    display: none;
  }
  .cal-grid-7col {
    grid-template-columns: repeat(4, 1fr);
  }
  .editor-split-grid {
    grid-template-columns: 1fr;
  }
  .web-features-grid {
    grid-template-columns: 1fr;
  }
  .web-feature-card.col-span-2 {
    grid-column: span 1;
  }
  .analytics-cards-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .cal-grid-7col {
    grid-template-columns: 1fr;
  }
  .analytics-cards-row {
    grid-template-columns: 1fr;
  }
  .mockup-header-bar {
    flex-direction: column;
    gap: 0.75rem;
  }
  .web-hero-section {
    padding: 3.5rem 0 2rem;
  }
}
