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

/* ============================================
   PrintCloud — Landing Page Styles
   Separate from dashboard to avoid conflicts
   ============================================ */

.landing-body {
  background: #FFFFFF;
  margin: 0;
  padding: 0;
}

/* === Nav === */
.l-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #E5E7EB;
  padding: 0 24px;
}
.l-container {
  max-width: 1140px;
  margin: 0 auto;
}
.l-nav .l-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.l-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 700;
  color: #111827;
  text-decoration: none;
}
.l-nav-center {
  display: flex;
  align-items: center;
  gap: 36px;
}
.l-nav-center a {
  font-size: 14px;
  font-weight: 500;
  color: #6B7280;
  text-decoration: none;
  transition: color 0.2s;
}
.l-nav-center a:hover { color: #111827; }
.l-nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.l-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.l-btn-primary {
  background: #111827;
  color: #fff;
}
.l-btn-primary:hover {
  background: #000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.l-btn-ghost {
  background: transparent;
  color: #6B7280;
}
.l-btn-ghost:hover { color: #111827; }
.l-btn-outline {
  background: #fff;
  color: #111827;
  border: 1px solid #E5E7EB;
}
.l-btn-outline:hover { border-color: #D1D5DB; background: #F9FAFB; }
.l-btn-lg { padding: 14px 28px; font-size: 15px; border-radius: 10px; }
.l-btn-white { background: #fff; color: #111827; }
.l-btn-white:hover { background: #F3F4F6; }

/* === Language Dropdown === */
.lang-dropdown {
  position: relative;
}
.lang-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid #E5E7EB;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}
.lang-dropdown-btn:hover { border-color: #D1D5DB; }
.lang-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  min-width: 160px;
  padding: 6px;
  z-index: 200;
}
[dir="rtl"] .lang-dropdown-menu { right: auto; left: 0; }
.lang-dropdown.open .lang-dropdown-menu { display: block; }
.lang-dropdown-menu a {
  display: block;
  padding: 9px 14px;
  font-size: 14px;
  color: #374151;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.15s;
}
.lang-dropdown-menu a:hover { background: #F3F4F6; }
.lang-dropdown-menu a.active { background: #F3F4F6; font-weight: 600; }

/* === Hero === */
.l-hero {
  padding: 80px 24px 60px;
  text-align: center;
  background: linear-gradient(180deg, #F9FAFB 0%, #FFFFFF 60%);
  position: relative;
  overflow: hidden;
}
.l-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.l-hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: #fff;
  border: 1px solid #E5E7EB;
  font-size: 13px;
  font-weight: 500;
  color: #6B7280;
  margin-bottom: 28px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.l-hero h1 {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #111827;
  max-width: 680px;
  margin: 0 auto 20px;
}
.l-hero-desc {
  font-size: 18px;
  color: #6B7280;
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.65;
}
.l-hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 56px;
}

/* Code Window */
.l-code-window {
  max-width: 640px;
  margin: 0 auto;
  background: #0F172A;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0,0,0,0.12), 0 0 0 1px rgba(255,255,255,0.05) inset;
  text-align: left;
}
.l-code-dots {
  padding: 14px 18px;
  display: flex;
  gap: 8px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.l-code-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.l-code-dots span:nth-child(1) { background: #EF4444; }
.l-code-dots span:nth-child(2) { background: #F59E0B; }
.l-code-dots span:nth-child(3) { background: #10B981; }
.l-code-window pre {
  padding: 20px 24px 24px;
  margin: 0;
  overflow-x: auto;
}
.l-code-window code {
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 13px;
  line-height: 1.75;
  color: #CBD5E1;
  white-space: pre;
}
.l-code-response { color: #4ADE80; }

/* === Stats === */
.l-stats {
  padding: 52px 24px;
  border-bottom: 1px solid #E5E7EB;
}
.l-stats-grid {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.l-stats-value {
  font-size: 32px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
}
.l-stats-label {
  font-size: 14px;
  color: #9CA3AF;
  margin-top: 4px;
}

/* === Features === */
.l-features {
  padding: 100px 24px;
  background: #F9FAFB;
}
.l-section-header {
  text-align: center;
  margin-bottom: 56px;
}
.l-section-header h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111827;
  margin-bottom: 12px;
}
.l-section-header p {
  font-size: 17px;
  color: #6B7280;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}
.l-features-grid {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.l-feature-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  padding: 28px;
  transition: all 0.25s ease;
}
.l-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
  border-color: transparent;
}
.l-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.l-feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 8px;
}
.l-feature-card p {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.65;
}

/* === How It Works === */
.l-how {
  padding: 100px 24px;
  background: #fff;
}
.l-how-grid {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
}
.l-how-step {
  text-align: center;
  flex: 1;
  padding: 24px 16px;
}
.l-how-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #111827;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  margin: 0 auto 14px;
}
.l-how-step h3 {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 8px;
}
.l-how-step p {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.6;
}
.l-how-arrow {
  display: flex;
  align-items: center;
  padding-top: 30px;
  color: #D1D5DB;
}

/* === Pricing === */
.l-pricing {
  padding: 100px 24px;
  background: #F9FAFB;
}
.l-pricing-grid {
  max-width: 940px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.l-pricing-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: box-shadow 0.25s;
}
.l-pricing-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.l-pricing-card.l-featured {
  border: 2px solid #111827;
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
  position: relative;
}
.l-pricing-card.l-featured::before {
  content: 'Popular';
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: #111827;
  color: #fff;
  padding: 4px 18px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}
.l-pricing-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #6B7280;
  margin-bottom: 4px;
}
.l-pricing-price {
  font-size: 44px;
  font-weight: 800;
  color: #111827;
  margin: 14px 0;
  letter-spacing: -0.03em;
}
.l-pricing-price span {
  font-size: 16px;
  font-weight: 400;
  color: #9CA3AF;
}
.l-pricing-card ul {
  list-style: none;
  text-align: left;
  margin: 24px 0 28px;
  padding: 0;
}
.l-pricing-card ul li {
  padding: 10px 0;
  font-size: 14px;
  color: #4B5563;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #F3F4F6;
}
.l-pricing-card ul li:last-child { border-bottom: none; }
.l-pricing-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #D1FAE5;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.l-pricing-check svg { width: 10px; height: 10px; }

/* === CTA === */
.l-cta {
  padding: 80px 24px;
  background: #fff;
}
.l-cta-box {
  max-width: 1140px;
  margin: 0 auto;
  background: #111827;
  border-radius: 20px;
  padding: 64px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.l-cta-box::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(99,102,241,0.12);
}
.l-cta-box::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(16,185,129,0.08);
}
.l-cta-box h2 {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  position: relative;
}
.l-cta-box p {
  font-size: 17px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 32px;
  position: relative;
}
.l-cta-box .l-btn { position: relative; }

/* === Footer === */
.l-footer {
  padding: 64px 24px 28px;
  background: #111827;
  color: rgba(255,255,255,0.6);
}
.l-footer .l-container { max-width: 1140px; margin: 0 auto; }
.l-footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.l-footer-logo strong { color: #fff; font-size: 17px; }
.l-footer > .l-container > div > p { font-size: 14px; line-height: 1.6; max-width: 280px; }
.l-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.l-footer-grid h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.l-footer-grid a {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}
.l-footer-grid a:hover { color: #fff; }
.l-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.25);
}

/* === Responsive === */
@media (max-width: 900px) {
  .l-features-grid { grid-template-columns: repeat(2, 1fr); }
  .l-pricing-grid { grid-template-columns: 1fr; max-width: 380px; }
}
@media (max-width: 768px) {
  .l-nav-center { display: none; }
  .l-hero h1 { font-size: 32px; }
  .l-hero-desc { font-size: 16px; }
  .l-code-window { display: none; }
  .l-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .l-features-grid { grid-template-columns: 1fr; }
  .l-how-grid { flex-direction: column; align-items: center; }
  .l-how-arrow { transform: rotate(90deg); padding: 0; }
  .l-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .l-cta-box { padding: 40px 24px; }
  .l-cta-box h2 { font-size: 24px; }
  .l-section-header h2 { font-size: 28px; }
  .l-hero-actions { flex-direction: column; align-items: center; }
}
