/**
 * Envelark Landing Page Styles
 * Warm editorial luxury meets modern productivity software.
 */

.landing-body {
  background-color: var(--brand-background);
  background-image: radial-gradient(rgba(215, 195, 165, 0.25) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(247, 241, 232, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--brand-border);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand-logo {
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-item {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--brand-text);
  transition: color var(--transition-fast);
}

.nav-item:hover {
  color: var(--brand-accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Hero Section */
.hero-section {
  padding: 5rem 0 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-accent);
  background: var(--brand-accent-light);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(196, 111, 78, 0.2);
}

.hero-title {
  font-size: 4rem;
  max-width: 840px;
  margin: 0 auto 1.5rem;
  color: var(--brand-primary);
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--brand-muted);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-benefits {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  font-size: 0.88rem;
  color: var(--brand-muted);
  margin-bottom: 3.5rem;
}

.hero-benefit-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-benefit-item svg {
  color: var(--brand-success);
}

/* Realistic Hero Desktop Inbox Preview Showcase */
.hero-showcase {
  max-width: 1140px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-modal);
  overflow: hidden;
  text-align: left;
}

.showcase-window-bar {
  background: #F4ECE1;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--brand-border);
}

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

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #D7C3A5;
}

.window-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-earth);
  letter-spacing: 0.04em;
}

.showcase-layout {
  display: grid;
  grid-template-columns: 220px 340px 1fr;
  height: 520px;
  background: #FFFFFF;
}

/* Showcase Sidebar */
.showcase-sidebar {
  background: #FAF6F0;
  border-right: 1px solid var(--brand-border);
  padding: 1.25rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.showcase-nav-group-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-muted);
  padding: 0 0.5rem;
  margin-bottom: 0.3rem;
}

.showcase-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--brand-text);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.showcase-nav-item.active {
  background: var(--brand-primary);
  color: #FFFFFF;
}

.showcase-nav-item:hover:not(.active) {
  background: rgba(31, 61, 46, 0.06);
}

/* Showcase List */
.showcase-list {
  border-right: 1px solid var(--brand-border);
  overflow-y: auto;
}

.showcase-row {
  padding: 1rem;
  border-bottom: 1px solid var(--brand-border-subtle);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.showcase-row:hover {
  background: #FDFBF8;
}

.showcase-row.active {
  background: #F7F1E8;
  border-left: 3px solid var(--brand-primary);
}

.showcase-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

.showcase-sender {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--brand-primary);
}

.showcase-time {
  font-size: 0.75rem;
  color: var(--brand-muted);
}

.showcase-subject {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--brand-text);
  margin-bottom: 0.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.showcase-snippet {
  font-size: 0.78rem;
  color: var(--brand-muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Showcase Pane */
.showcase-pane {
  padding: 1.75rem;
  overflow-y: auto;
  background: #FFFFFF;
}

.pane-header {
  border-bottom: 1px solid var(--brand-border-subtle);
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
}

.pane-subject {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--brand-primary);
}

.pane-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pane-sender-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.avatar-bubble {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
}

.pane-body {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--brand-text);
}

/* Section Pillars */
.pillars-section {
  padding: 6rem 0;
  border-top: 1px solid var(--brand-border);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-head h2 {
  font-size: 2.6rem;
  margin-bottom: 1rem;
}

.section-head p {
  font-size: 1.1rem;
  color: var(--brand-muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--brand-surface);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-secondary);
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--brand-background);
  color: var(--brand-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--brand-muted);
  line-height: 1.6;
}

/* Callout Banner */
.callout-banner {
  background: var(--brand-primary);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  margin: 4rem auto;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.callout-banner h2 {
  color: #FFFFFF;
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.callout-banner p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.15rem;
}

/* Footer */
.site-footer {
  background: #F2EBE0;
  border-top: 1px solid var(--brand-border);
  padding: 4.5rem 0 2.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 4rem;
  margin-bottom: 3.5rem;
}

.footer-tagline {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: var(--brand-text);
  line-height: 1.6;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  color: var(--brand-primary);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.6rem;
}

.footer-col a {
  font-size: 0.88rem;
  color: var(--brand-muted);
}

.footer-col a:hover {
  color: var(--brand-accent);
}

.footer-bottom {
  border-top: 1px solid var(--brand-border);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--brand-muted);
}

@media (max-width: 960px) {
  .hero-title { font-size: 2.8rem; }
  .showcase-layout { grid-template-columns: 1fr; height: auto; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}
