/**
 * Landing Page Premium Redesign
 * Organic, flowing layouts - not boxy AI-generated rectangles
 */

/* ========================================
   COMPARE BLOCK - Asymmetric Flow
   ======================================== */
.compare-block {
  display: flex;
  gap: 0;
  margin: 60px 0;
  position: relative;
}

.compare-col {
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  backdrop-filter: none;
  flex: 1;
}

.compare-col:first-child {
  padding-right: 60px;
  border-right: 1px solid rgba(0,0,0,0.06);
}

.compare-col:last-child {
  padding-left: 60px;
}

.compare-col h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 20px;
}

.compare-col:first-child h3 {
  color: #10b981;
}

.compare-col:last-child h3 {
  color: #94a3b8;
}

.compare-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.compare-col ul li {
  position: relative;
  padding: 12px 0 12px 32px;
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.compare-col ul li:last-child {
  border-bottom: none;
}

.compare-col ul.tick li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 12px;
  color: #10b981;
  font-weight: 700;
  font-size: 18px;
}

.compare-col ul.cross li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 12px;
  color: #cbd5e1;
  font-weight: 400;
}

.compare-col.muted-col {
  background: transparent;
  opacity: 0.7;
}

.compare-col.muted-col ul li {
  color: var(--muted);
}

/* ========================================
   EXAMPLES - Staggered Masonry
   ======================================== */
.examples {
  margin: 80px 0 60px;
  overflow: visible;
}

.examples .tools-head {
  margin-bottom: 40px;
}

.examples .tools-head h2 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.examples-grid {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  align-items: flex-start;
}

.ex-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  flex: 1;
  max-width: 380px;
}

.ex-card-link:nth-child(2) {
  transform: translateY(40px);
}

.ex-card-link:nth-child(3) {
  transform: translateY(20px);
}

.ex-card {
  border-radius: 15px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.landing-trust-icon svg {
    width: 70px;
    height: 70px;
}

.ex-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.ex-img {
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
}

.ex-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, #fff, transparent);
  pointer-events: none;
}

.ex-img iframe {
  width: 1200px;
  height: 800px;
  border: 0;
  pointer-events: none;
  transform: scale(0.32);
  transform-origin: top left;
}

.ex-body {
  padding: 24px;
}

.ex-body h3 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
}

.ex-body .ex-role {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 16px;
}

.ex-body ul.tick.small {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ex-body ul.tick.small li {
  padding: 6px 12px;
  background: #f1f5f9;
  border-radius: 20px;
  font-size: 12px;
  color: #64748b;
  margin: 0;
}

.ex-body ul.tick.small li::before {
  display: none;
}

/* ========================================
   PROFILES - Organic Split
   ======================================== */
.profiles {
  display: flex;
  align-items: center;
  gap: 80px;
  padding: 80px 60px;
  margin: 40px 0;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
}

.profiles::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.profiles-left {
  flex: 1;
  max-width: 480px;
}

.profiles-left h2 {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}

.profiles-left > p {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.profiles-left ul.tick {
  padding: 0;
  margin: 0;
}

.profiles-left ul.tick li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 15px;
  color: var(--text);
}

.profiles-left ul.tick li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  position: static;
  padding: 0;
}

.profiles-right {
  flex: 1;
  display: flex;
  justify-content: center;
}

.profiles-right .ui-card {
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.4s ease;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}

.profiles:hover .profiles-right .ui-card {
  transform: perspective(1000px) rotateY(0) rotateX(0);
}

.profiles-right .ui-card img {
  border-radius: 20px;
  max-width: 100%;
  height: auto;
}

/* ========================================
   THEME SECTION - Interactive Demo
   ======================================== */


.theme-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.theme-swatch {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 3px solid transparent;
  position: relative;
}

.theme-swatch:hover {
  transform: scale(1.1);
}

.theme-swatch.active,
.theme-swatch:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.theme-picker small {
  width: 100%;
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.profiles-right .card-right {
  padding: 40px;
  text-align: center;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.06);
}

.profiles-right .card-right h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

/* ========================================
   TOOLS - Feature Highlights
   ======================================== */
.tools {
  margin: 80px 0;
}

.tools-head {
  display: block;
  text-align: center;
  margin-bottom: 48px;
}

.tools-head h2 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.tools-head p {
  color: var(--muted);
  font-size: 17px;
  margin: 0;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}

.tool {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  border-right: 1px solid rgba(0,0,0,0.04);
  border-bottom: none;
  background: #fff;
  transition: background 0.2s ease;
}

.tool:last-child {
  border-right: none;
}

.tool:hover {
  background: #fafafa;
}

.tool-ic {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.tool:nth-child(1) .tool-ic,
.tool:nth-child(1) .ic-placeholder {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.tool:nth-child(2) .tool-ic,
.tool:nth-child(2) .ic-placeholder {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
}

.tool:nth-child(3) .tool-ic,
.tool:nth-child(3) .ic-placeholder {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.ic-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  border: none;
}

.tool-body {
  flex: 1;
}

.tool-body h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.tool-body p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ========================================
   HERO REFINEMENTS + MOCKUP
   ======================================== */
.hero {
  /* min-height: 85vh; */
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 60px 0;
}

.hero-left {
  flex: 1;
  max-width: 560px;
}

.hero-left h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 520px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.hero-badges .pill-soft {
  background: rgba(59, 130, 246, 0.08);
  color: #3b82f6;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(59, 130, 246, 0.12);
}

.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.wl-avatars {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 32px;
}

.wl-avatars img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid #fff;
  margin-left: -10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.wl-avatars img:first-child {
  margin-left: 0;
}

.wl-avatars-note {
  margin-left: 16px;
  font-size: 14px;
}

/* Hero right - Browser Mockup */
.hero-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-mockup {
  width: 480px;
  max-width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(0, 0, 0, 0.05);
  transform: perspective(1200px) rotateY(-8deg) rotateX(3deg);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  background: #fff;
}

.hero-right:hover .hero-mockup {
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #f5f5f4;
  border-bottom: 1px solid #e5e5e5;
}

.mockup-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e4e4e7;
}

.mockup-dot:nth-child(1) { background: #fca5a5; }
.mockup-dot:nth-child(2) { background: #fcd34d; }
.mockup-dot:nth-child(3) { background: #86efac; }

.mockup-url {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: #71717a;
  background: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  margin-left: 12px;
  font-family: monospace;
  border: 1px solid #e5e5e5;
}

.mockup-frame {
  height: 380px;
  overflow: hidden;
  background: #fff;
}

.mockup-frame iframe {
  width: 1200px;
  height: 900px;
  border: 0;
  pointer-events: none;
  transform: scale(0.40);
  transform-origin: top left;
}

/* ========================================
   EXAMPLES - Premium Section
   ======================================== */
.examples {
  margin: 80px -40px 60px;
  padding: 60px 40px 100px;
  /* background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%); */
  border-radius: 48px;
  overflow: visible;
}

.examples .tools-head {
  margin-bottom: 48px;
  text-align: center;
}

.examples .tools-head h2 {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.examples .tools-head p {
  font-size: 17px;
}

.examples-grid {
  display: flex;
  gap: 28px;
  margin-top: 24px;
  align-items: flex-start;
  justify-content: center;
}

.ex-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  flex: 0 1 340px;
  max-width: 340px;
}

.ex-card-link:nth-child(1) {
  transform: translateY(0);
}

.ex-card-link:nth-child(2) {
  transform: translateY(30px);
}

.ex-card-link:nth-child(3) {
  transform: translateY(10px);
}

.ex-card {
  border-radius: 15px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 10px 15px -3px rgba(0, 0, 0, 0.08),
    0 20px 25px -5px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ex-card:hover {
  transform: translateY(-10px);
  box-shadow: 
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 40px 50px -12px rgba(0, 0, 0, 0.15);
}

.ex-img {
  height: 210px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
}

.ex-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(to top, #fff, transparent);
  pointer-events: none;
}

.ex-img iframe {
  width: 1200px;
  height: 800px;
  border: 0;
  pointer-events: none;
  transform: scale(0.285);
  transform-origin: top left;
}

.ex-body {
  padding: 24px;
}

.ex-body h3 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
}

.ex-body .ex-role {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 14px;
}

.ex-body ul.tick.small {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ex-body ul.tick.small li {
  padding: 5px 12px;
  background: #f1f5f9;
  border-radius: 16px;
  font-size: 12px;
  color: #64748b;
  margin: 0;
  border: 1px solid rgba(0,0,0,0.04);
}

.ex-body ul.tick.small li::before {
  display: none;
}

/* ========================================
   MOBILE RESPONSIVE
   ======================================== */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    min-height: auto;
    padding: 40px 0;
  }
  
  .hero-left {
    max-width: 100%;
  }
  
  .hero-sub {
    max-width: 100%;
  }
  
  .cta-row {
    justify-content: center;
  }
  
  .hero-badges {
    justify-content: center;
  }
  
  .wl-avatars {
    justify-content: center;
  }
  
  .hero-mockup {
    transform: none;
    width: 100%;
  }
  
  .hero-right:hover .hero-mockup {
    transform: none;
  }
  
  .examples {
    margin: 60px -20px;
    padding: 40px 20px 80px;
    border-radius: 32px;
  }
  
  .examples-grid {
    flex-direction: column;
    align-items: center;
  }
  
  .ex-card-link {
    max-width: 100%;
    width: 100%;
    flex: 1;
  }
  
  .ex-card-link:nth-child(1),
  .ex-card-link:nth-child(2),
  .ex-card-link:nth-child(3) {
    transform: none;
  }
  
  .compare-block {
    flex-direction: column;
    gap: 40px;
  }
  
  .compare-col:first-child {
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding-bottom: 40px;
  }
  
  .compare-col:last-child {
    padding-left: 0;
  }
  
  .profiles {
    flex-direction: column;
    padding: 40px 24px;
    gap: 40px;
    text-align: center;
  }
  
  .profiles-left {
    max-width: 100%;
  }
  
  .profiles-left h2 {
    font-size: 1.8rem;
  }
  
  .profiles-left ul.tick li {
    justify-content: center;
  }
  
  .profiles-right .ui-card {
    transform: none;
  }
  
  .tools-grid {
    grid-template-columns: 1fr;
  }
  
  .tool {
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.04);
  }
  
  .tool:last-child {
    border-bottom: none;
  }
}
